Sessions that remember
/cs starts a session, recalls the team's knowledge and your own memory, and shows who else is editing. /ce closes it with a summary the next session picks up.
Sessions and recall
Self-hosted memory, code intelligence, quality gates and multi-agent orchestration, over one MCP endpoint.
Why
Switch IDE, machine or project and a plain coding agent forgets what it learned. Cortex Hub is a backend you host yourself. Every agent on the team talks to it through one MCP endpoint, so decisions, fixes and the code graph outlive the chat they came from.
| Plain coding agent | With Cortex Hub | |
|---|---|---|
| A new session | Starts empty | /cs recalls the last session's summary, team knowledge and your memory |
| Finding code | grep, then reads files until it finds the spot | cortex_code_search / cortex_code_context over an AST graph, any repo in the organization |
| A bug someone already fixed | Fixed again | cortex_knowledge_search finds the stored fix |
| Two agents in one file | Find out at merge time | cortex_changes shows who else is editing |
| Committing | Whatever the agent decides | Hooks refuse the commit until build, typecheck and lint pass |
| Work bigger than one session | One agent, one chat | Conductor splits it into a plan that workers on other machines run |
Measured
LongMemEval was measured with an in-process embedder that has since been replaced by Ollama all-minilm. The code retrieval set is small (n = 15). Details and how to rerun them: Benchmarks.
Start
# 1. In your project: MCP config, hooks, /cs and /ce for every IDE it finds
curl -fsSL "https://raw.githubusercontent.com/lktiep/cortex-hub/master/scripts/install.sh" | bash
# 2. In your agent
/csNo hub yet? Self-host one with Docker Compose. Want agents on other machines to take work? Start a worker.