Sprawl
Documentation for the Sprawl monorepo: five apps, two shared packages, one memory pipeline. Everything converges in SQLite.
- Construct — Personal AI braindump companion. Telegram + CLI + scheduler, LLM agent with tools, three-layer memory, self-modification, extensions.
- Cortex — Crypto market intelligence daemon. Prices + news through Cairn’s memory pipeline, LLM-grounded trading signals.
- Synapse — Paper trading daemon. Reads Cortex signals, sizes positions by confidence, manages risk.
- Deck — Memory graph explorer. Hono REST API + React SPA with D3-force graph, memory browser, observation timeline.
- Loom — Interactive rulebook companion with TTS audio generation.
- Optic — Terminal trading dashboard. Ratatui TUI reading Cortex + Synapse DBs.
Packages
Section titled “Packages”- Cairn — Memory substrate. Observer/reflector pipeline, embeddings, graph extraction, context building.
- DB — Shared Kysely database factory with node:sqlite dialect.
Guides
Section titled “Guides”- Deployment — Docker and systemd deployment
- Security — Self-modification safety, secrets, trust boundaries
- Environment — Environment variables and configuration
- Development — Just commands, testing, logging