Case Study
AI Brain
A global context brain that distills the team's conversations into a structured, queryable knowledge base — so every AI agent starts a task with full context.

The challenge
When you run many tasks through AI agents, every task is a cold start. The agent doesn't know your preferences, your team, the stack on a given project, or the decisions made last week — so you re-explain context over and over. That overhead quietly eats the speed advantage AI is supposed to give.
What we built
AI Brain is a global context brain for tasks: it distills the team's conversations into a structured, queryable knowledge base that any AI agent can read before starting work. Instead of repeating context in every prompt, an agent asks the brain once and gets clean, deduplicated knowledge.
The pipeline:
- Ingest — pull conversation history incrementally (cursor-tracked, so reruns are fast and idempotent)
- Distill — Claude filters noise at ingestion and extracts only long-lived facts, merging them into structured Markdown notes
- Synthesize — automatic linking between people, projects, and topics, plus communication-style analysis
- Serve — an MCP server exposes tools like
get_profile(),get_person(), andsearch_brain()that other projects and agents call directly
The role of AI
The key design choice is distillation at ingestion, not at retrieval. Claude decides what is worth remembering as data flows in, so the brain stays focused — no junk in, no junk out — and scales cleanly. The knowledge base is plain Markdown (Obsidian-compatible), so it's transparent, auditable, and editable by hand.
For our AI-first workflow this is core infrastructure: an agent picking up a task on, say, a client integration can fetch the project's team, stack, and open questions in seconds — turning every cold start into a warm handoff.
The result
Context setup that used to cost minutes per task drops to a single query, and agents act with the team's real knowledge instead of generic guesses.
Stack: Python, Telethon, Claude (Anthropic SDK), MCP / FastMCP, Markdown / Obsidian.