Back to Projects

Dreamcontext

Persistent brain for AI coding agents β€” remembers what you built, knows how your project works.

CLITypescriptnpmAi AgentsClaude CodeCodexAI ToolsDeveloper ExperienceSolopreneurshipAI NativeContext EngineeringMulti Agent OrchestrationSystem EngineeringNode JsReactLLM
Dreamcontext

Dreamcontext is a TypeScript CLI, published to npm, that gives AI coding agents a structured, persistent brain across sessions.

The real problem isn't that agents "forget" β€” it's the token-burning search spiral: every new session, the agent reads a flat memory file, finds it insufficient for a real codebase, and burns 20K+ tokens re-exploring structure it already knew.

Dreamcontext kills that spiral by pre-loading curated context through a SessionStart hook β€” zero agent tool calls β€” and organizing knowledge across purpose-built files that mirror the brain's regions:

  • Soul β€” identity & principles
  • Memory β€” semantic knowledge
  • Knowledge β€” procedural how-tos
  • State β€” working memory / active tasks
  • User β€” episodic history

Highlights

  • 🧠 RemSleep consolidation β€” a sleep-cycle that distills and compresses knowledge the way the brain processes memory during sleep, keeping context sharp instead of bloated.
  • ⚑ Zero-token context loading β€” structured brain injected at session start via hook.
  • πŸ—‚οΈ Task, feature & knowledge lifecycle β€” full CRUD with statuses, versions, and PRDs.
  • πŸ”— Cross-project federation β€” connected vaults share consent-gated digests.
  • πŸ“Š Local dashboard β€” browse the brain, roadmap, and agent sessions in a web UI.
  • πŸ”„ ClickUp / GitHub sync and cross-session continuity.

Built for the agentic era: instead of re-teaching your AI the same project every session, you build a brain once and it compounds.