# Meerkat > A modular, high-performance agent harness built in Rust ## Docs - [MCP](https://docs.rkat.ai/api/mcp.md): Use Meerkat as an MCP client to call external tools, or expose Meerkat as MCP tools for other clients. - [REST API](https://docs.rkat.ai/api/rest.md): HTTP server for running and managing agent sessions over REST endpoints. - [JSON-RPC stdio server](https://docs.rkat.ai/api/rpc.md): Stateful JSON-RPC 2.0 interface for stdio, TCP, and optional realtime websocket hosting. - [RMAT](https://docs.rkat.ai/architecture/RMAT.md) - [Finite ownership ledger](https://docs.rkat.ai/architecture/finite-ownership-ledger.md) - [Formal seam closure](https://docs.rkat.ai/architecture/formal-seam-closure.md) - [Identity generation and runtime epoch](https://docs.rkat.ai/architecture/identity-generation-and-runtime-epoch.md) - [Meerkat runtime dogma](https://docs.rkat.ai/architecture/meerkat-runtime-dogma.md) - [CLI commands](https://docs.rkat.ai/cli/commands.md): Command reference for the task-first, Unix-native rkat CLI. - [CLI configuration](https://docs.rkat.ai/cli/configuration.md): Realm selection, storage behavior, environment variables, MCP config, and exit codes for rkat. - [Auth And Bindings](https://docs.rkat.ai/concepts/auth-and-bindings.md): How Meerkat separates provider selection from credential resolution and binding identity. - [Comms](https://docs.rkat.ai/concepts/comms.md): How long-lived agents exchange messages and external events in Meerkat. - [Composability](https://docs.rkat.ai/concepts/composability.md): Why Meerkat is both a composable library and a practical product layer. - [Configuration](https://docs.rkat.ai/concepts/configuration.md): Realm-scoped config, generation CAS, and surface-consistent runtime settings. - [Memory And Compaction](https://docs.rkat.ai/concepts/memory-and-compaction.md): The long-horizon conversation model: context compaction plus semantic recall. - [Mobs](https://docs.rkat.ai/concepts/mobs.md): Meerkat’s multi-agent coordination model built on stable member identity and host-vs-agent surfaces. - [Concepts Overview](https://docs.rkat.ai/concepts/overview.md): The conceptual map of Meerkat: composability, identity, lifecycle, capabilities, and orchestration. - [Providers](https://docs.rkat.ai/concepts/providers.md): Provider-agnostic: same tools, same sessions across Anthropic, OpenAI, Gemini, and configured self-hosted models. - [Realms](https://docs.rkat.ai/concepts/realms.md): Realm-first identity and storage model across CLI, RPC, REST, MCP, and SDK surfaces. - [Realtime](https://docs.rkat.ai/concepts/realtime.md): Capability-driven low-latency transport as a delivery mode of a session’s model. - [Scheduling](https://docs.rkat.ai/concepts/scheduling.md): Durable automated work over time: triggers, targets, occurrences, and delivery policies. - [Sessions](https://docs.rkat.ai/concepts/sessions.md): Realm-scoped session lifecycle with deterministic concurrency and cross-surface consistency. - [Tools](https://docs.rkat.ai/concepts/tools.md): Trait-based tool dispatch, MCP server integration, and built-in tool categories. - [Comms & external events](https://docs.rkat.ai/examples/comms.md): Keep-alive sessions, typed comms commands, peer discovery, and durable external event ingress. - [Examples gallery](https://docs.rkat.ai/examples/gallery.md): Functional apps and production patterns built with Meerkat. From coding swarms to browser war games. - [Hooks](https://docs.rkat.ai/examples/hooks.md): Lifecycle hooks for audit, guardrails, and content rewriting at 8 hook points. - [Memory & compaction](https://docs.rkat.ai/examples/memory.md): Semantic memory indexing, context compaction, and budget controls. - [Mobpack](https://docs.rkat.ai/examples/mobpack.md): Portable multi-agent deployment with signed archives and trust policies. - [Mobs](https://docs.rkat.ai/examples/mobs.md): Create mobs, spawn members, wire peers, send work, and run flows through the current host control plane. - [Sessions & streaming](https://docs.rkat.ai/examples/sessions.md): Session lifecycle, multi-turn conversations, event streaming, model selection, and config management. - [Skills](https://docs.rkat.ai/examples/skills.md): Load, discover, inject, and inspect domain-specific knowledge packs. - [Structured output](https://docs.rkat.ai/examples/structured-output.md): JSON schema extraction with validation, retries, and provider compatibility. - [Tools & MCP](https://docs.rkat.ai/examples/tools.md): Custom tools, built-in tools, MCP server management, live MCP controls, and tool scoping. - [WASM runtime](https://docs.rkat.ai/examples/wasm.md): Browser deployment with the meerkat-web-runtime embedded surface. - [Auth](https://docs.rkat.ai/guides/auth.md): Realm-scoped credential resolution: from the env-var happy path to OAuth, cloud IAM, and per-member overrides - [CD and distribution](https://docs.rkat.ai/guides/cd-and-distribution.md): Publication model for Meerkat binaries, Rust crates, Python SDK, and TypeScript SDK. - [Inter-agent communication](https://docs.rkat.ai/guides/comms.md): Built-in messaging system for coordination between multiple agent instances - [Hooks](https://docs.rkat.ai/guides/hooks.md): Typed extension points within the agent loop for observation, guardrails, and content rewriting - [Image generation](https://docs.rkat.ai/guides/image-generation.md): Generate or edit assistant-owned images through the session-scoped generate_image tool. - [Memory and compaction](https://docs.rkat.ai/guides/memory.md): Automatic context compaction and semantic memory for long-running conversations - [Mini surfaces](https://docs.rkat.ai/guides/mini-surfaces.md): Use the shipped slim Meerkat binaries or compose your own custom surface builds. - [Mobpack and Web Deployment](https://docs.rkat.ai/guides/mobpack.md): Portable multi-agent deployment with signed .mobpack artifacts and browser-target web bundles. - [Mobs](https://docs.rkat.ai/guides/mobs.md): Multi-agent orchestration: teams of agents with roles, communication, and coordinated workflows. - [Realtime](https://docs.rkat.ai/guides/realtime.md): Enable low-latency audio on a session by choosing a realtime-capable model — transport attach/detach is automatic. - [Scheduling](https://docs.rkat.ai/guides/scheduling.md): Automate durable session and mob work with once, interval, and calendar schedules. - [Self-hosted Gemma 4](https://docs.rkat.ai/guides/self-hosted-gemma4.md): Configure Ollama, LM Studio, or vLLM so Gemma 4 aliases work in Meerkat like built-in models. - [Self-hosting models](https://docs.rkat.ai/guides/self-hosting-models.md): General guide to using self-hosted OpenAI-compatible model servers with Meerkat, with Gemma 4 as a worked example. - [Skills](https://docs.rkat.ai/guides/skills.md): Domain-specific knowledge injection via markdown documents with YAML frontmatter - [Structured output](https://docs.rkat.ai/guides/structured-output.md): Force agents to produce validated JSON conforming to a user-provided schema - [Introduction](https://docs.rkat.ai/introduction.md): Meerkat is a library-first agent engine built in Rust. Provider-agnostic, modular, fast. - [Quickstart](https://docs.rkat.ai/quickstart.md): Install Meerkat and run your first agent. Single binary, any provider. - [API reference](https://docs.rkat.ai/reference/api-reference.md): Index of public types, traits, and error codes in Meerkat. - [Architecture](https://docs.rkat.ai/reference/architecture.md): Current Meerkat architecture: execution path, canonical machines, crate ownership, and normative references. - [Built-in tools reference](https://docs.rkat.ai/reference/builtin-tools.md): Comprehensive reference for all built-in tools available in Meerkat, including parameters, types, and defaults. - [Capability matrix](https://docs.rkat.ai/reference/capability-matrix.md): Build profiles, feature gates, error codes, and capability behavior across Meerkat configurations. - [Comms Reference](https://docs.rkat.ai/reference/comms-reference.md): Low-level comms reference: agent-facing tools, host-side comms/send surfaces, peer discovery, and ingress distinctions. - [Design Philosophy](https://docs.rkat.ai/reference/design-philosophy.md): Architectural principles and Rust implementation idioms that shape the Meerkat codebase. - [Hooks Reference](https://docs.rkat.ai/reference/hooks-reference.md): Low-level hook surface reference: hook points, capabilities, execution modes, payload fields, and patch shapes. - [Session contracts](https://docs.rkat.ai/reference/session-contracts.md): Canonical session, runtime, keep-alive, and commit-boundary contracts. - [Skills Governance Runbook](https://docs.rkat.ai/reference/skills-governance-runbook.md): Operational runbook for source UUID lifecycle, lineage migrations, and remap governance. - [Skills Reference](https://docs.rkat.ai/reference/skills-reference.md): Low-level skill runtime reference: source transports, identity, injection paths, and discovery tools. - [Structured Output Reference](https://docs.rkat.ai/reference/structured-output-reference.md): Low-level structured-output reference: schema types, compatibility modes, warnings, and result fields. - [Rust SDK advanced](https://docs.rkat.ai/rust/advanced.md): Expert-level direct agent construction, provider configuration, budgets, hooks, and runtime delivery internals. - [Rust SDK overview](https://docs.rkat.ai/rust/overview.md): Embed Meerkat as a Rust library: the full engine with no subprocess overhead. - [Tools and stores](https://docs.rkat.ai/rust/tools-and-stores.md): Rust SDK reference for the tool system, session stores, and MCP integration. - [Python SDK](https://docs.rkat.ai/sdks/python/overview.md): Get started with the Meerkat Python SDK: sessions, streaming, schedules, mobs, and typed runtime contracts. - [Python SDK reference](https://docs.rkat.ai/sdks/python/reference.md): Public types and behavior for the Meerkat Python SDK. - [TypeScript SDK](https://docs.rkat.ai/sdks/typescript/overview.md): Getting started with the Meerkat TypeScript SDK: sessions, turns, streaming events, and capabilities. - [TypeScript SDK reference](https://docs.rkat.ai/sdks/typescript/reference.md): Types, events, error classes, and version compatibility for the @rkat/sdk TypeScript SDK. ## OpenAPI Specs - [openapi](https://docs.rkat.ai/api-reference/openapi.json)