productionflagship
Brainiak
Local-first memory and MCP tool server for coding agents, with a plugin host and a local AI gateway.
Brainiak (v0.3.1) gives any MCP-compatible coding agent durable memory, hybrid retrieval and a safe patch pipeline, all on the developer's machine. The host loads plugins through a PDK with a versioned ABI; brainiak-mcp exposes 34 JSON-RPC handlers (25 public in tools/list, 9 internal); brainiak-gateway is an OpenAI-compatible proxy for five provider families with a secret firewall that detects 15+ credential types and swaps them for in-memory placeholders. No cloud, no data egress by default.
Solution
Brainiak sits between IDE agents and local repositories. It indexes workspaces, records episodic and decision memory, enforces a LocalOnly data-flow policy, and delivers context packs on demand, while its embedding model (Qwen3-0.6B) runs on-device via llama.cpp, OpenVINO or CPU. Every model install is SHA-256-pinned, consent-gated and audited; every edit flows through preview_patch → run_health_checks → apply_patch. Details, screenshots and install guides at brainiak-landing.vercel.app.
Highlights
- ▸34 MCP handlers over JSON-RPC (stdio & HTTP): 25 public in tools/list, 9 internal.
- ▸Hybrid retrieval (BM25 + on-device embeddings) with workspace-scoped indexing.
- ▸Plugin host with a PDK and versioned ABI; official modules shipped through a private registry.
- ▸Local AI gateway, OpenAI-compatible: five provider adapters, model aliases and SSE streaming.
- ▸Secret firewall: detection of 15+ credential types, in-memory placeholder vault and policy-controlled rehydration.
- ▸Safe patch pipeline (preview → health checks → apply), SHA-256-pinned model installs and a fail-closed LocalOnly policy.
Stack
RustTokioAxumSQLiteMCPReact 19TypeScriptTauri v2llama.cppOpenVINO