BrainRouter is a cognitive memory and multi-agent orchestration platform for AI coding agents. It provides a first-party terminal CLI, MCP-based memory tools, layered recall, context compaction, graph memory, and dashboard inspection workflows to help agents preserve long-running task continuity while reducing prompt size and inference cost.
README
A cognitive memory engine for LLM agents.
Captures dialogue, classifies it, decays unused facts over time, reinforces the ones the agent actually uses, and surfaces the right memories on the next prompt — so your agent stops re-learning the same things every session.
<a href="https://www.star-history.com/?repos=kinqsradiollc%2FBrainRouter&type=date&legend=top-left"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=kinqsradiollc/BrainRouter&type=date&theme=dark&legend=top-left" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=kinqsradiollc/BrainRouter&type=date&legend=top-left" /> <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=kinqsradiollc/BrainRouter&type=date&legend=top-left" /> </picture> </a>brainrouter-mcp) — drop-in memory + skills + federation tools for any MCP-speaking client. API reference.brainrouter) — memory-native coding agent: slash commands, hookify guardrails, multi-agent orchestration (packs + worker threads), deterministic multi-phase workflows (run_workflow with compare/review-wide/research templates — durable, resumable, with a live run viewer), Codex-grade execution safety (fail-closed sandbox, command-segment approval, atomic patches, worktree isolation), cross-vendor federation, and a /goal autonomy loop.brainrouter-dashboard) — Next.js web UI for browsing captured memories, focus scenes, contradictions, recall traces, working memor