CLI for Sibyl knowledge graph and task workflow
Project description
Sibyl CLI
Command-line interface for Sibyl. REST API client with Rich terminal output, designed for humans, external assistants, and scripts.
Quick Reference
# Install
uv tool install sibyl-dev # or: moon run cli:install
# Configure
sibyl config set server.url http://localhost:3334/api
sibyl auth login
# Link to project (scopes all commands)
sibyl project link <project_id>
Core Commands
sibyl search "query" # Semantic search
sibyl recall "goal" # Agent-ready context before work
sibyl add "title" "content" # Add knowledge
sibyl capture "content" # Quick capture from the CLI
sibyl remember "title" "content" --kind decision # Agent memory capture
sibyl reflect "raw notes" --persist --review # Store source/candidates for promotion review
sibyl session bundle # Wake up with active context
sibyl task list --status todo,doing # List tasks
sibyl task start <id> # Start task
sibyl task complete <id> --learnings "..." # Complete with learnings
All Commands
| Command | Purpose |
|---|---|
health |
Check API connectivity and health |
search |
Semantic search |
recall |
Agent-ready Markdown or JSON context before work |
add |
Add knowledge |
capture |
Quick capture from CLI arguments or stdin |
remember |
Capture decisions, plans, ideas, claims, artifacts, and session memory |
reflect |
Extract reviewable candidates from raw notes, optionally preserving the raw session source |
stats |
Show knowledge graph statistics |
version |
Show CLI version information |
task |
Task lifecycle (list, show, create, start, block, unblock, review, complete, archive, update, note) |
epic |
Epic management (list, start, complete, roadmap) |
project |
Project management (list, link, create) |
archive |
Browse archived raw captures |
session |
Package wake-up context for a session or agent |
entity |
Entity CRUD |
explore |
Graph navigation (related, traverse, dependencies, path) |
crawl |
Documentation sources, crawling, and graph linking |
debug |
Debug tools for development |
dev |
Devcontainer shell and lifecycle commands |
auth |
Login, logout, API keys |
org |
Organization switching, member management |
config |
Configuration |
context |
Multi-server context management |
local |
Manage a local Docker-based Sibyl instance |
logs |
Tail server logs |
update |
Update Sibyl components |
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.
Capture And Archive
sibyl recall "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 --surface cli
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.
Persisted reflect output prints the source ID when one is stored, the candidate count, and each persisted candidate or review-capture ID:
cat session-notes.md | sibyl reflect --title "Build checkpoint" --intent build --persist --review
cat session-notes.md | sibyl reflect --title "Private checkpoint" --persist --no-source
Context System
# Override for single command
sibyl --context myproject task list
SIBYL_CONTEXT=myproject sibyl task list
# Priority: --context flag > SIBYL_CONTEXT env > active context > path link
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:
#e135ffElectric Purple: Headers#80ffeaNeon Cyan: Interactions#ff6ac1Coral: Data/IDs#50fa7bSuccess Green#ff6363Error Red
Dependencies
Depends on sibyl-core for shared models.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sibyl_dev-0.8.1.tar.gz.
File metadata
- Download URL: sibyl_dev-0.8.1.tar.gz
- Upload date:
- Size: 130.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf8fb9a9e069a086e8c45f10475aeb9fb2ab223d69614516e4229b336d152ec6
|
|
| MD5 |
003a928e80faa748fbf43325620f1a40
|
|
| BLAKE2b-256 |
19b72e67b02f273e877bdf2e97d06f1c6bda89e4ddaae4ce738b028dd3c07340
|
Provenance
The following attestation bundles were made for sibyl_dev-0.8.1.tar.gz:
Publisher:
publish.yml on hyperb1iss/sibyl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sibyl_dev-0.8.1.tar.gz -
Subject digest:
cf8fb9a9e069a086e8c45f10475aeb9fb2ab223d69614516e4229b336d152ec6 - Sigstore transparency entry: 1542608333
- Sigstore integration time:
-
Permalink:
hyperb1iss/sibyl@f11bfede36b4a02df2b4a514bd2ffb2be555ebb2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hyperb1iss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f11bfede36b4a02df2b4a514bd2ffb2be555ebb2 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file sibyl_dev-0.8.1-py3-none-any.whl.
File metadata
- Download URL: sibyl_dev-0.8.1-py3-none-any.whl
- Upload date:
- Size: 129.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a7836575f2f62036f77621613e502655e2358777f6525824b969d87a48ab884
|
|
| MD5 |
da0c6df0c4bfa09cfaa4df36bc87f816
|
|
| BLAKE2b-256 |
a9c6009869f3ad37e6e2a8e018b69e213eb1fd1bbb735f0bc8512f86af92523b
|
Provenance
The following attestation bundles were made for sibyl_dev-0.8.1-py3-none-any.whl:
Publisher:
publish.yml on hyperb1iss/sibyl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sibyl_dev-0.8.1-py3-none-any.whl -
Subject digest:
2a7836575f2f62036f77621613e502655e2358777f6525824b969d87a48ab884 - Sigstore transparency entry: 1542608433
- Sigstore integration time:
-
Permalink:
hyperb1iss/sibyl@f11bfede36b4a02df2b4a514bd2ffb2be555ebb2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/hyperb1iss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f11bfede36b4a02df2b4a514bd2ffb2be555ebb2 -
Trigger Event:
workflow_dispatch
-
Statement type: