📡 LLM Mocking 🔌 MCP Protocol 🤝 A2A Protocol 📦 Vector DBs 🔍 Search & Rerank Chaos & DevOps

aimock Documentation

aimock is the complete mock infrastructure for AI application testing. Start with LLM API mocking, add MCP tools, A2A agents, vector databases, and services as your stack grows. One package. Zero dependencies.

The Suite

📡 LLM Mocking

Mock 10+ LLM providers with fixture-driven responses

Get started
🔌 MCP Protocol

Mock MCP servers with tools, resources, and prompts

Get started
🤝 A2A Protocol

Mock agent-to-agent interactions with streaming

Get started
📦 Vector Databases

Mock Pinecone, Qdrant, and ChromaDB endpoints

Get started
🔍 Services

Search, rerank, and moderation API mocks

Get started
Testing & Operations

Chaos testing, metrics, drift detection, Docker

Get started

Quick Start

I want to mock LLM APIs

Programmatic usage ts
import { LLMock } from "@copilotkit/aimock";

const mock = new LLMock();
await mock.start();

mock.onMessage("hello", { content: "Hi there!" });

Quick Start: LLM →

I want to mock my entire AI stack

aimock.json config json
{
  "llm":    { "fixtures": "./fixtures/llm" },
  "mcp":    { "tools": ["search", "fetch"] },
  "a2a":    { "agents": ["planner"] },
  "vector": { "provider": "pinecone" }
}

Quick Start: aimock suite →