Local-first continuity, memory, and governance for AI coding agents. One thread across every agent.
Sila is a single static Go binary that reads the session stores of the AI coding tools you already use, normalizes them into one local SQLite store, grounds claims against the files they cite, and serves the result back through a CLI and a native Model Context Protocol (MCP) Server (90 Tools). No cloud account, no telemetry, no CGO.
AI coding agents are amnesiac by default. Switching from Claude Code to Codex to OpenCode on the same repository means rediscovering the same decisions, bugs, and failed approaches. Sila gives every harness one local, inspectable memory:
- Cross-session continuity — handoffs, active goals, and prior decisions.
- Cross-harness ingestion — read-only loaders for 12 session sources.
- Grounded recall — claims cite files; drift is surfaced, not hidden.
- Native MCP — 90 tools in the full profile, 10 in the default continuity profile and 13 in the graph profile. The full profile exposes all 90 tools; see the 90-tool MCP reference.
- Governance — goals, leases, gates, audits, and task contracts.
- Safe restart —
sila restartrestarts only the local daemon through its Unix socket and pid file. - Local custody — SQLite on your disk; network commands are opt-in.
Recall packs carry a bounded task and context into one result:
sila recall --task "..." --context-file pathassembles arecall-pack/v1.- The same pack is available over MCP as
prime_context.
Packs are tiered, budgeted, and marked with an empty reason when no candidates fit.
# 1. Install the standalone binary (SHA-256 verified)
curl -fsSL https://raw.githubusercontent.com/jadmadi/sila/main/install.sh | sh
# 2. See what Sila can read on this machine (probe only)
sila sources
# 3. Explore a throwaway sandbox before indexing your own data
sila demo
# 4. Read every supported AI tool's session logs into one local store
sila sync
# 5. Search everything you and your agents have done
sila search "the race condition in the payment worker"
# 6. Brief the next agent session
sila primesila sources and sila demo need no store and write nothing. sila sync
opens every external source read-only and never modifies another tool's data.
| Method | Command |
|---|---|
| Linux & macOS | curl -fsSL https://raw.githubusercontent.com/jadmadi/sila/main/install.sh | sh |
| Windows (PowerShell) | irm https://raw.githubusercontent.com/jadmadi/sila/main/install.ps1 | iex |
| Go toolchain | go install github.com/jadmadi/sila/cmd/[email protected] |
| From source | git clone https://github.com/jadmadi/sila.git && cd sila && ./build.sh |
| Release assets | GitHub Releases |
The installer verifies the release metadata and SHA-256 checksum before
replacing the binary. SILA_NO_VERIFY=1 exists for local debugging only.
Sila exposes a native JSON-RPC 2.0 server over stdio:
claude mcp add sila -- sila mcp
# or, for the full 90-tool surface:
sila mcp --profile=fullThe default continuity profile keeps the agent-facing surface small:
orientation, search, recall, memory writes, handoffs, goals, gates, skills, and
activity. The full profile adds administrative, external-network, and
swarm-spawning tools. Client setup and the complete catalog live in
docs/mcp.md.
- Continuity —
sila prime,sila handoff,sila recall,sila salam. - Memory —
sila memo,sila lesson,sila case,sila search claims. - Archaeology —
sila search,sila search expand,sila digest. - Governance —
sila goals,sila gate,sila audit,sila hire. - Rules —
sila agents sync,sila agents check,sila install. - Skills —
sila skill assess|preview|apply|remove, on-demand MCP loading. - Hygiene —
sila doctor,sila backup,sila clean,sila storage. - Optional edge —
sila clouddrains a Cloudflare D1 mailbox when enabled.
The complete command reference is docs/reference.md.
Sila supports two first-class syntaxes backed by the same execution contracts,
JSON envelopes, exit codes, and stream discipline (catalog version 1.0.0):
- Canonical syntax —
sila <command> [subcommand] [flags]. Stable for scripts, CI, hooks, and agent tool calls. Canonical commands always win (canonical-first). - Conversational phrase syntax —
sila <phrase...>orsila do "<phrase>". Deterministic grammar-lowered phrases with zero LLM calls.
| Syntax | Recommended use |
|---|---|
sila memo "<directive>" |
Scripts, hooks, CI, documentation |
sila save memo "<directive>" |
Interactive convenience |
sila do "sync rules" |
Explicit phrase when the first word overlaps a command |
sila ccli explain <phrase...> |
Inspect token classes, tier, safety, canonical argv |
Disable auto-rewrite per command with --no-ccli, globally with
SILA_CCLI=off, or for specific leading verbs with
SILA_CCLI_DENYLIST="save,drop".
Sila ingests 12 sources and detects additional tools without indexing them:
| Ingested | Detected only |
|---|---|
| Claude Code, Codex, OpenCode, MiMoCode, Devin, Command Code, Codewhale, Antigravity, ZCode, Muse, Zed, Git | Cursor, Grok CLI, Droid |
Session formats are reverse-engineered and can change without notice. Run
sila sources for the live status on your machine, and see
docs/harness-capability-matrix.md for
lifecycle hooks and trust rules.
Sila separates implementation from verification. The local suite is the release gate; hosted model quality, live harness behavior, and production-scale performance are not claimed unless separately measured.
- Source tool databases are opened read-only (
mode=ro). - The store is a
0600SQLite file you own. - Core commands make no network request.
- Optional assistance and web commands require explicit configuration/consent.
- Report vulnerabilities privately via SECURITY.md.
Read the full privacy and security boundaries.
| Document | Purpose |
|---|---|
| docs/reference.md | Command and feature reference |
| docs/mcp.md | MCP client setup and tool catalog |
| docs/architecture.md | Architecture and decisions |
| docs/verification.md | What is and is not verified |
| docs/roadmap.md | Public roadmap |
| docs/harness-capability-matrix.md | Harness support matrix |
| CONTRIBUTING.md | Development and review workflow |
| SUPPORT.md | Where to ask for help |
Contributions are welcome. Start with CONTRIBUTING.md, run
go test -race ./..., and read CODE_OF_CONDUCT.md.
Security reports should follow SECURITY.md, not public issues.
MIT License — Copyright (c) 2026 Jad Madi. See LICENSE.
Conceived and built by Jad Madi.
- Blog: jadmadi.net
- X: @jadmadi
- Support: paypal.me/madise