The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Klear Team Brain
Turn your team's AI coding sessions, GitHub code, and docs into one shared, searchable memory — a self-hosted git truth store you query right from your editor over MCP.
Install
git clone https://github.com/Asklear/Klear-Team-BrainInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Klear-Team-Brain
Your team's collective memory for AI-assisted coding. Self-hosted, ultra-light, zero extra effort for the people doing the work.
English | 中文
The problem
Your team codes with Claude Code / Codex — but the context that actually matters (the reasoning, the why-it-changed, the dead ends) is trapped in each person's local AI chat, and it's gone the moment they close the tab. So:
- "Why was this feature designed this way?" — not in any PR; the discussion happened inside someone's chat, not the commit message.
- "Who's working on this refactor, and how far along is it?" — you ask around, or wait for standup.
- A teammate goes on leave or quits, and last week's reasoning leaves with them.
Knowledge depends on "ask the right person." The moment they're busy or gone, the context breaks.
Klear-Team-Brain automatically pools your whole team's AI sessions into one shared memory, fused with live GitHub code state and your team's docs. Then you ask straight from your editor, or browse in a web UI:
"Where did the auth refactor land?" "How was the billing schema decided?" "Who's been touching the ETL this week?"
You get an answer synthesized across the team's sessions + code + docs, with citations. People doing the work do nothing; people who want to understand just ask — or open the dashboard.
Highlights
- Zero-effort capture — everyone keeps using CC/Codex; a background collector flows sessions into the memory automatically, no manual steps.
- Two ways to query — ① ask in natural language from your editor (MCP); ② browse a web dashboard (filter sessions by person/repo/time, see progress and usage stats).
- Ultra-light, self-hosted — the server is just one git repo + one Node process + a static frontend: no database, no queue, no vector store. One small VPS (runs fine on low memory) is enough. Queries run on
git grepwith zero server-side LLM calls — the understanding happens in the agent inside your editor. - Privacy-first — only allowlisted directories upload; secrets are redacted client-side before upload; all data stays on your own infrastructure.
Quick start
Prerequisites: Node 22+, and an MCP-capable editor/CLI (Claude Code or Codex) to ask from.
No npm/SaaS install — it's self-hosted by design. There's no public package or hosted service: clone this repo to run the server (or to trial it locally), and your teammates pull the client straight from your server with
curl …/get | bash— see Deploy for your team.
Try it locally first (≈5 min — no VPS, no HTTPS, no invite token)
Want to kick the tires before standing up a server? Run the whole thing on your own machine as a single user:
git clone https://github.com/Asklear/Klear-Team-Brain.git && cd Klear-Team-Brain
npm install
npm run quickstart # one-time: mint a local identity + token, point the client at localhost, wire up MCP
npm run server # starts the truth store on http://127.0.0.1:8787 — leave this running
Then, in a second terminal, capture your local sessions:
npm run sync -- --once # capture once (or `npm run sync` to keep watching in the background)
Similar plugs
Reverse engineer anything with agents, from app behavior down to native binaries.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.