Fork it, build it, run it — on your own machine.
harness.config.yaml ← the one file you edit
↓
[ COMPILER ] ← pick a vertical + tool loader
↓
build/<you>/
brain/ rendered lanes (identity, rules, tools)
agentb.yaml memory backend config (persona = rule-set)
mcp.json MCP registration with your enabled tools
start.sh launch the memory backend
↓
Mnemo Cortex — persistent memory · facts · brain lanes
Mnemo Cortex gives an agent memory. Cortex Harness is the layer on top that turns that memory into a product you can ship for a specific business — without rewiring anything. Set your business name, pick a vertical, and build. You get an agent with persistent memory, a business-specific rule-set, and a tool-set scoped to what you turned on.
Everything else is derived. Blank fields fall back to the vertical’s recommended defaults.
business: name: "Acme Co." vertical: small-business # python -m harness list agent_id: acme-assistant tools: profile: standard # minimal | standard | full enable: [] disable: [] rules: persona: "" # blank = the vertical's recommended rule-set memory: isolation: isolated # isolated | shared | hybrid
Then the build-and-run loop:
python -m harness list # see the verticals python -m harness doctor # check your environment python -m harness plan # preview enabled vs. dropped tools (no writes) python -m harness build # compile to build/<you>/ python -m harness run # build, then launch the memory backend
A vertical is just a folder: a rule-set, brain templates, and a recommended persona. Everything in _base/ is inherited, so a new one only states what’s different.
operator — concise, fact-checked, approval-gated.merchant — SKUs, prices, and stock as hard facts.studio — speculative muse, exact business.editor — generative, but ruthless on canon.risk_desk — analysis only, enforces your own rules.The day-trading desk never places orders, moves money, or gives financial advice — enforced in its rule-set and brain lanes, and structurally: there is no execution tool anywhere in the catalog. Its job is to hold the trader to their own written rules and keep an honest record.
Without the harness you wire these by hand for every business. With it, you edit one file and build.
{{placeholders}} filled in from your config.Cortex Harness isn’t a memory engine — it’s the framework that configures one. Mnemo Cortex is a cloned dependency (kept out of the repo, not vendored); a build compiles its backend config and harness run launches it. Local SQLite by default, your data on your machine.
git clone https://github.com/GuyMannDude/cortex-harness.git cd cortex-harness git clone https://github.com/GuyMannDude/mnemo-cortex.git ./mnemo-cortex pip install -r requirements.txt # PyYAML only python -m harness build # compile your business python -m harness run # build + launch the backend
Edit harness.config.yaml (business name + vertical), then build. Point your MCP host at the generated build/<you>/mcp.json. Requires Python 3.10+ and Node 18+ (for the Mnemo Cortex bridge a build points at).
Claude Desktop, Claude Code, OpenClaw, Hermes Agent, LM Studio, AnythingLLM, Open WebUI — point it at the generated mcp.json.
Open-source AI infrastructure, built in Half Moon Bay.