Skip to main content

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 add "title" "content"             # Add knowledge
sibyl capture "content"                 # Quick capture from the CLI
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
add Add knowledge
capture Quick capture from CLI arguments or stdin
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 capture "Redis TTL mismatch caused the stale auth token bug"
sibyl archive list --surface cli
sibyl archive show <capture_id>

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    # Pyright
moon run cli:test         # Tests

SilkCircuit Colors

Terminal output uses the SilkCircuit palette:

  • #e135ff Electric Purple: Headers
  • #80ffea Neon Cyan: Interactions
  • #ff6ac1 Coral: Data/IDs
  • #50fa7b Success Green
  • #ff6363 Error Red

Dependencies

Depends on sibyl-core for shared models.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sibyl_dev-0.4.0.tar.gz (109.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sibyl_dev-0.4.0-py3-none-any.whl (116.5 kB view details)

Uploaded Python 3

File details

Details for the file sibyl_dev-0.4.0.tar.gz.

File metadata

  • Download URL: sibyl_dev-0.4.0.tar.gz
  • Upload date:
  • Size: 109.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sibyl_dev-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d4c06062f2ffe3c1b530a016bdc10566e3df9ab1d25d897b587a9b7f3465cc1b
MD5 2335cfafc58740be936868927044ecf1
BLAKE2b-256 4f5067912271b006110d0ac2468e3862eee3f66c9dddb6783f9fb11dd32844b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sibyl_dev-0.4.0.tar.gz:

Publisher: publish.yml on hyperb1iss/sibyl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sibyl_dev-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: sibyl_dev-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 116.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sibyl_dev-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 712d1c7d6597ee9f504b06d298f00e0375205ae198a4acf7a0c879502325577f
MD5 c69f3e183c4543d19a245df923ad9c05
BLAKE2b-256 e43bde84764ecd8c115629e7969a7fb04c7b7d7f88120db271b88f6d7727dfde

See more details on using hashes here.

Provenance

The following attestation bundles were made for sibyl_dev-0.4.0-py3-none-any.whl:

Publisher: publish.yml on hyperb1iss/sibyl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page