Skip to content

SibylCross-agent memory for AI coding tools

One self-hostable knowledge graph, shared across Claude Code, Codex, OpenCode, Cursor, and the agents you build. If it runs a shell command, it speaks Sibyl.

The Problem

Every time you start a new coding session, critical context slips away. That OAuth gotcha you debugged for two hours? Gone. The pattern that finally made your tests pass? Vanished. The configuration quirk that took forever to figure out? Lost to the void.

The Solution

Sibyl is cross-agent memory. A knowledge graph, memory loop, and task workflow shared across every coding agent you use:

  • Memory: Store patterns, decisions, and solutions that persist across sessions
  • The Memory Loop: recall → act → remember → reflect, built into every surface
  • Task Tracking: Manage work across sessions with full lifecycle support
  • Semantic Search: Find knowledge by meaning, not exact keywords
  • Synthesis: Generate verified documents grounded in your own memory
  • Source Ingestion: Crawl external docs and import sources into one graph

How It Works

mermaid
flowchart TD
    W["Your Actual Workflow<br/>Claude Code · Editors · Scripts · Teammates"]
    S["Skills<br/>Teach the workflow"]
    H["Hooks<br/>Inject context"]
    C["CLI<br/>Express power"]
    SRV{{"Sibyl Server<br/>SurrealDB graph · Semantic search · Memory loop · Tasks"}}
    UI["Web UI<br/>Human collaboration · Memory workspace · Graph explorer"]
    W --> S & H & C
    S & H & C --> SRV
    SRV --> UI

Skills + Hooks

Skills teach your tools and teammates structured workflows:

bash
# Recall context before implementing
sibyl recall "authentication work" --intent build

# Track work with full lifecycle
sibyl task start task_xyz

# Capture learnings when done
sibyl task complete task_xyz --learnings "OAuth tokens need refresh..."

Hooks automatically inject relevant knowledge into every prompt so useful context shows up before you have to go looking for it.

For Humans: Web UI + CLI

Web UI for collaboration and oversight:

  • Visual knowledge graph exploration
  • Project and task management
  • The memory workspace: captures, imports, and synthesis
  • Document source configuration
  • Team-wide dashboards

CLI for power users and scripting:

  • The full memory loop from the terminal
  • Semantic search and graph navigation
  • Task lifecycle management
  • Source crawling and ingestion

Quick Start

bash
# Start a local daemon
sibyl init --local
sibyl serve

# Capture a learning
sibyl remember "Redis insight" "Pool size must be >= concurrent requests" --kind pattern

# Recall it as working context
sibyl recall "redis connection pool"

# Manage tasks
sibyl task list --status doing
sibyl task complete <task_id> --learnings "OAuth tokens expire after 1 hour"

The Memory Loop

Sibyl is built around a durable cycle that both humans and agents follow:

mermaid
flowchart LR
    R(["RECALL<br/>Pull working context before you act"])
    A(["ACT<br/>Do the work with context in hand"])
    M(["REMEMBER + REFLECT<br/>Capture learnings, distill session notes"])
    R --> A --> M
    M -.->|the graph gets smarter| R

Every completed task makes your knowledge graph smarter. Every pattern discovered helps future sessions move faster. The system learns as you work.

Why Sibyl?

Without SibylWith Sibyl
Agent rediscovers same solutionsAgent recalls existing patterns instantly
Context lost between sessionsKnowledge persists in a graph
Manual prompting requiredHooks inject context automatically
No task trackingFull lifecycle with learnings capture
Scattered documentationSearchable, connected knowledge graph

Get Started

  1. Installation Set up Sibyl in five minutes
  2. Quick Start Your first knowledge graph session
  3. Skills & Hooks Teach your tools and teammates the workflow
  4. Capturing Knowledge Use the memory loop well

Built for projects that deserve to remember.

Released under the Apache-2.0 License.