Skip to content

Introduction

Welcome to Sibyl—the Collective Intelligence Runtime that transforms your AI agents from brilliant amnesiacs into knowledge-building collaborators.

What You'll Learn

This guide teaches you how to:

  1. Work with AI agents — The human guide to agent collaboration
  2. Set up your prompts — Configure CLAUDE.md for effective workflows
  3. Use skills and hooks — Automatic context injection
  4. Build a conventions repo — Centralize team patterns
  5. Manage knowledge — Through the web UI and CLI
  6. Orchestrate agents — Spawn autonomous agents with the harness
  7. Coordinate teams — Multi-agent patterns with shared memory

The Philosophy

Sibyl is built on a simple insight: AI agents are only as good as the context they have.

Most AI coding assistants start every session from scratch. They can't remember the OAuth gotcha you figured out yesterday. They don't know about the pattern that finally made your tests pass. They're brilliant, but amnesiac.

Sibyl fixes this by providing:

  • Persistent Memory: Knowledge stored in a graph database survives forever
  • Semantic Search: Find relevant patterns by meaning, not keywords
  • Automatic Context: Hooks inject knowledge without manual prompting
  • Structured Workflows: Skills teach agents the Research → Do → Reflect cycle

The Architecture

Sibyl Dashboard

Sibyl consists of three main components:

1. Skills (For Agents)

Skills are documents that teach your AI agents how to work with Sibyl. When you invoke /sibyl in Claude Code, the agent receives:

  • Command reference for all CLI operations
  • Workflow patterns (when to search, when to capture)
  • Best practices for knowledge quality

Agents don't need to figure out HOW to use Sibyl—skills teach them.

2. Hooks (Automatic Context)

Hooks are the magic that makes Sibyl invisible. They run automatically:

  • SessionStart: Loads your active tasks when you begin a session
  • UserPromptSubmit: Searches for relevant knowledge on every prompt

Your agent doesn't need to remember to search—relevant patterns appear automatically in their context.

3. Web UI (For Humans)

The web interface gives you visibility and control:

Knowledge Graph Visualization

Graph Explorer: Visualize connections between entities, patterns, and learnings. See how knowledge clusters and relates.

Task Management

Task Management: Track work across projects with full lifecycle support. Filter by status, priority, assignee, and more.

Entity Browser

Entity Browser: Browse all knowledge types—patterns, episodes, conventions, rules. Search and filter to find what you need.

Semantic Search

Semantic Search: Find knowledge by meaning across all entity types, documentation, and code.

The Workflow

Every effective Sibyl workflow follows the same cycle:

┌─────────────────────────────────────────────────────────┐
│  RESEARCH                                               │
│  Before implementing anything, search for existing      │
│  patterns. Your past self (or other agents) may have    │
│  already solved this problem.                           │
│                                                         │
│  sibyl search "what you're about to implement"          │
└─────────────────────────┬───────────────────────────────┘

┌─────────────────────────────────────────────────────────┐
│  DO                                                     │
│  Work on your task with the context you found.          │
│  Track progress with task lifecycle commands.           │
│                                                         │
│  sibyl task start task_xyz                              │
└─────────────────────────┬───────────────────────────────┘

┌─────────────────────────────────────────────────────────┐
│  REFLECT                                                │
│  When you finish, capture what you learned.             │
│  Future agents will thank you.                          │
│                                                         │
│  sibyl task complete task_xyz --learnings "..."         │
│  sibyl add "Pattern Title" "What you discovered..."     │
└─────────────────────────────────────────────────────────┘

What to Capture

Not everything belongs in the knowledge graph. Focus on:

Always Capture

  • Non-obvious solutions: If it took time to figure out, save it
  • Gotchas and quirks: Configuration issues, platform differences
  • Architectural decisions: Why you chose approach A over B
  • Error patterns: Problems and their root causes

Consider Capturing

  • Useful patterns: Reusable code structures
  • Performance findings: What made things faster
  • Integration approaches: How to connect systems

Skip

  • Trivial info: Things obvious from documentation
  • Temporary hacks: Quick fixes that should be replaced
  • Well-documented basics: Standard library usage

Quality Bar

The knowledge graph gets smarter with every entry—but only if entries are high quality.

Bad entry:

"Fixed the auth bug"

Good entry:

"JWT refresh tokens fail silently when Redis TTL expires. Root cause: token service doesn't handle WRONGTYPE error. Fix: Add try/except with token regeneration fallback. Prevention: Always handle Redis type mismatches in token renewal logic."

The good entry includes:

  • What happened
  • Root cause
  • How to fix it
  • How to prevent it

CLI vs MCP vs Web UI

Sibyl offers three interfaces, each suited to different users:

InterfaceBest ForToken Usage
CLIAgents doing scripted workLow—text output only
MCPDirect tool invocationHigher—full JSON schemas
Web UIHumans managing projectsN/A—visual interface

For AI agents, prefer the CLI for routine operations. It's more expressive, enables scripting, and uses fewer tokens than MCP tool calls.

Next Steps

Getting Started

  1. Installation — Get Sibyl running locally
  2. Quick Start — Create your first knowledge entries

Working with Agents

  1. The Human Guide — How YOU work with AI agents
  2. Setting Up Prompts — Configure your CLAUDE.md
  3. Skills & Hooks — Automatic context injection
  4. Conventions Repository — Centralize team patterns

Core Concepts

  1. Knowledge Graph — Understand the data model
  2. Task Management — Track work across sessions
  3. Agent Harness — Autonomous agent orchestration
  4. Sources — Ingest external documentation

Released under the MIT License.