Skip to main content

Sibyl CLI

Command-line interface for Sibyl. A REST API client with Rich terminal output, designed for humans, external assistants, and scripts. The package is published as sibyl-dev; the executable is sibyl.

Quick Reference

# Install
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --remote

# Develop this package
moon run cli:install-dev

# Configure
sibyl init --remote https://sibyl.example.com
sibyl auth login

# Link to project (scopes all commands)
sibyl project link <project_id>

The Memory Loop

sibyl context "goal"                          # Agent-ready context before work
sibyl remember "title" "content" --kind decision  # Capture durable memory
sibyl reflect "raw notes" --persist          # Distill notes into candidates
sibyl capture "content"                      # Fast verbatim capture
sibyl correct <raw_memory_id>                 # Inspect or correct source memory
sibyl session bundle                         # Wake up with active context

Task Workflow

sibyl task list --status todo,doing          # List tasks
sibyl task start <id>                        # Start a task
sibyl task complete <id> --learnings "..."   # Complete with learnings

All Commands

Memory loop

Command Purpose
context Recall agent-ready working context
brief One-shot lean context brief for a subagent
remember Store raw-first durable knowledge
correct Inspect or correct source memory
reflect Distill raw notes into reviewable memory candidates
cite Record citation or misleading-usage feedback for memories
capture Fast verbatim capture from arguments or stdin
note Add a task note or capture a free note memory
session Package wake-up context for a session or agent

Work tracking

Command Purpose
task Task lifecycle (list, show, create, start, block, unblock, review, complete, archive, update, note, notes)
epic Deprecated sugar over the task tree; prefer task create --epic <id>
project Projects and directory linking (list, show, create, progress, link, relink, unlink, links)
entity Generic entity CRUD and bi-temporal history
explore Graph navigation (related, traverse, dependencies, path)
stats Knowledge graph statistics

Sources & synthesis

Command Purpose
crawl Documentation sources, crawling, document browsing, graph linking
ingest Import local source archives (Claude Code transcripts) into memory
docs Import and list document collections
synthesis Source-grounded synthesis (plan, draft, verify, remember)
archive Browse archived raw quick captures

Memory governance

Command Purpose
admin memory audit Inspect memory audit receipts
admin memory inspect Inspect a memory source and its audit trail
admin memory import-status Inspect source import receipts
admin memory promote Preview or auto-review reflection candidate promotion
admin memory share Preview or apply promotion-backed memory sharing
admin memory space Memory-space inspection and agent-recall preview
admin memory review Reflection review queue automation (drain, dream, status)

System

Command Purpose
show Resolve any entity or raw memory by ID
health Check API connectivity and health
doctor Diagnose CLI/server/auth/agent setup
auth Login, logout, tokens, API keys
org Organization switching and member management
team Teams, membership, and team project access
config context Multi-server context bundles
config CLI configuration
serve / stop Start or stop the local embedded daemon
docker Manage a self-hosted Docker deployment
local Legacy local Docker stack commands
pending-writes Inspect and replay locally buffered writes
logs Tail server logs (requires OWNER role)
debug Debug tools for development (requires OWNER role)
dev Devcontainer shell and lifecycle commands
skill Print or install the canonical Sibyl skill
update Update Sibyl components
version Show CLI version information

Output Formats

sibyl task list              # Table output (default)
sibyl task list --json       # JSON for scripts
sibyl task list --csv        # Spreadsheets

Source Ingestion

sibyl crawl list
sibyl crawl add "https://nextjs.org/docs" --include "docs/**"
sibyl crawl ingest <source_id>
sibyl crawl documents list --source <source_id>

--include is the preferred spelling for crawl filters. --pattern still works for backward compatibility.

Capturing Memory

sibyl context "ship the SurrealDB-native memory path" --intent build
sibyl capture "Redis TTL mismatch caused the stale auth token bug"
sibyl remember "Token TTL decision" \
  "Keep refresh token TTL longer than access token TTL." --kind decision --domain auth
sibyl remember "Worker routing decision" \
  "Verifier agents run after non-trivial patches." --kind decision --task task_abc
echo "Raw planning notes..." | sibyl reflect --title "Planning session" --persist --review --task task_abc
sibyl archive list
sibyl archive show <capture_id>

In a linked project, sibyl remember also links to the single active doing task when exactly one exists. Use --task for explicit links or --no-active-task to capture project memory without a task edge. Persisted sibyl reflect output follows the same task-linking rules for its raw session source and extracted candidates.

sibyl reflect accepts either an argument or stdin. With --persist --review, Sibyl stores the raw notes and extracted candidates in the review queue with source IDs, confidence, extraction metadata, and suggested memory scope. Without --review, persisted reflection follows the server's active write mode. Add --no-source when the raw transcript is too noisy or sensitive but the extracted candidates should still be saved.

Context System

A context is a named bundle of {server_url, org, default_project} with its own stored credentials, so you can keep separate Sibyl instances (e.g. a personal server and a local work server) cleanly isolated: memories only ever go to the server of the context in effect.

# Define two servers as contexts (auth login creates + activates one in one step)
sibyl auth login https://sibyl.hyperbliss.tech -c personal
sibyl auth login http://localhost:3334 -c work

# Switch the global default
sibyl config context use work

# Override for a single command
sibyl --context work task list
SIBYL_CONTEXT=work sibyl task list

Routing by directory

You don't have to switch contexts by hand. Pin a directory to a context and every command run there routes to that context's server automatically:

# Pin a whole tree to a context (new repos under it route correctly before linking)
cd ~/work && sibyl config context link work

# Linking a project pins the project AND the context it lives on, together
cd ~/dev/sibyl && sibyl project link project_sibyl   # records the active context too

sibyl config context --quick  # shows the effective context and directory pin
sibyl project links   # lists every directory pin (project and/or context)

This is what keeps work memory out of your personal instance: a work repo is pinned to the work context, so sibyl remember there writes only to the work server. The only way to reach another instance from a pinned directory is to ask for it explicitly with --context or SIBYL_CONTEXT.

Resolution priority: --context flag → SIBYL_CONTEXT env → directory pin → active context → legacy server.url. Pins are stored in ~/.sibyl/config.toml and are git-worktree aware (a worktree inherits its main repo's pin).

Development

moon run cli:lint         # Ruff check
moon run cli:typecheck    # ty
moon run cli:test         # Tests

SilkCircuit Colors

Terminal output uses the SilkCircuit palette:

  • #e135ff Electric Purple: headers
  • #80ffea Neon Cyan: interactions
  • #ff6ac1 Coral: data and IDs
  • #f1fa8c Electric Yellow: warnings and timestamps
  • #50fa7b Success Green
  • #ff6363 Error Red

Dependencies

Depends on sibyl-core for shared models.

Release files for sibyl-dev 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sibyl-dev 1.3.2
File Size Uploaded
sibyl_dev-1.3.2.tar.gz 284.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sibyl-dev 1.3.2
File Interpreter ABI Platform
sibyl_dev-1.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 529.5 kB

Release files / sibyl_dev-1.3.2.tar.gz

Download URL sibyl_dev-1.3.2.tar.gz
Size 284.1 kB
Tags Source
SHA-256 checksum
How to use checksums
919e2f16eea39b5babcf3720714b42b79d08d1f49b59da1283d77abc3d0b0dd4
BLAKE2b-256 checksum
How to use checksums
bb6a5e928a850080e8757af966199049d33b36edc5974be18a17d045b66dc560
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / sibyl_dev-1.3.2-py3-none-any.whl

Download URL sibyl_dev-1.3.2-py3-none-any.whl
Size 245.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d00f572d3152c0d0b19ed0ad0b6ee9ef7a925c851252a5f52dc33c97f129a279
BLAKE2b-256 checksum
How to use checksums
035498232bb11a43d0e422addf38ccc8ed05fd9a3d6cd1fe6809bcf023f89d41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page