Skip to main content
Meerkat is an agent engine, not an agent product. Claude Code and Codex CLI are finished applications — Meerkat is what you’d build them on. It’s a set of modular Rust crates that handle the hard parts of agentic systems: state machines, retries, budgets, streaming, tool dispatch, MCP, multi-agent coordination. You bring your own prompts, tools, and opinions. Meerkat handles execution.

Why Meerkat

  • Fast. Rust from the ground up. Single 5MB binary, <10ms cold start, ~20MB memory. No runtime, no garbage collector, no dependency tree to manage.
  • Provider-agnostic. Same code, same tools, same sessions across Anthropic, OpenAI, and Gemini. Switch models with a config change. Run a Claude parent that spawns GPT sub-agents.
  • Modular. Twelve crates, all opt-in. Need just the agent loop? Pull in meerkat-core. Need session persistence? Add meerkat-store. Need inter-agent comms? Add meerkat-comms. Your binary includes only what you use. Disabled features return typed errors, not panics.
  • Stable. Deterministic state machine with defined transitions. Typed errors with compile-time guarantees. Every error code maps to a stable string across JSON-RPC, REST, and CLI exit codes.
  • Controlled. Hard budget limits on tokens, wall-clock time, and tool calls. Eight hook points for guardrails, audit, and content rewriting. Shell security with allow/deny lists.
  • Multi-agent native. Sub-agents spawn on different providers with isolated budgets. Independent agents communicate over Ed25519-signed channels. Compaction + semantic memory handles conversations that exceed any context window.

How it compares

MeerkatClaude Code / Codex CLI / Gemini CLI
DesignLibrary-first, modular cratesCLI-first, SDK bolted on
ModularityCompose only what you needMonolithic, all-or-nothing
PerformanceSingle 5MB binary, <10ms startup, ~20MB RAMRuntime + dependencies
LanguagesRust core + Python & TypeScript SDKsTypeScript or Python
SurfacesCLI, REST, JSON-RPC, MCP server, language SDKsRich interactive TUI
Multi-agentNative Ed25519-authenticated P2P messagingNo
MemoryHNSW semantic indexing + auto-compactionFile-based context
Those tools excel at interactive development with rich terminal UIs. Meerkat has no TUI — it’s for automated pipelines, embedded agents, multi-agent systems, and anywhere you need programmatic control over an agent engine.

Use it from anywhere

Get started