Skip to content

Cortex HubOne hub for every coding agent you run

Self-hosted memory, code intelligence, quality gates and multi-agent orchestration, over one MCP endpoint.

Cortex Hub

Why

Every agent starts from zero. Cortex Hub fixes that. ​

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 agentWith Cortex Hub
A new sessionStarts empty/cs recalls the last session's summary, team knowledge and your memory
Finding codegrep, then reads files until it finds the spotcortex_code_search / cortex_code_context over an AST graph, any repo in the organization
A bug someone already fixedFixed againcortex_knowledge_search finds the stored fix
Two agents in one fileFind out at merge timecortex_changes shows who else is editing
CommittingWhatever the agent decidesHooks refuse the commit until build, typecheck and lint pass
Work bigger than one sessionOne agent, one chatConductor splits it into a plan that workers on other machines run

Measured

Numbers from this repo's own benchmarks ​

96.0%R@5 on LongMemEval-S, 500 questions
15 / 15code queries with the target file in the top 10
0.703MRR of the shipped hybrid code search (vector 0.656)
32MCP tools: 20 core, 12 Conductor

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

Two commands ​

bash
# 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
/cs

No hub yet? Self-host one with Docker Compose. Want agents on other machines to take work? Start a worker.

MIT License