Mocks LLM APIs, MCP tools, A2A agents, AG-UI streams, and vector databases on one local port so AI app tests run offline and deterministically.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your coding agent:
- Record and Replay
Use aimock to record real API traffic: ‹what you need›
- Validate Fixtures
Use aimock to validate fixture files offline: ‹what you need›
Install the CLI
npm install @copilotkit/aimock
Setup guide: github.com/CopilotKit/aimock
Call the API
Auth None needed
Setup guide: github.com/CopilotKit/aimock
Limitations
- no MCP server
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- CLIAPI
- Auth
- None
- Skills
- 5
- Endpoint check
- Live ·
Skills
Mock LLM Providers
Mocks OpenAI, Claude, Gemini, Bedrock, Azure, Vertex AI, Ollama, and other provider APIs from fixtures, streaming included.
Record and Replay
Records real API traffic through a proxy, saves it as fixtures, and replays it deterministically with the recorded timing.
Mock MCP Servers
Mocks MCP tools, resources, and prompts with session management so MCP clients can be tested without real servers.
Mock A2A and AG-UI
Mocks A2A agent-to-agent conversations with SSE streaming and AG-UI event streams for testing agent backends and frontends.
Validate Fixtures
Validates fixture files offline without starting a server and reports errors and warnings, with JSON output for CI.
Embed badge · Verified
Drop this static SVG badge into your README or docs to link straight to this listing. Served from CDN with no tracking. See all badge tiers.
[](https://agentswitchboard.dev/agents/aimock)
<a href="https://agentswitchboard.dev/agents/aimock"><img src="https://agentswitchboard.dev/badges/verified.svg" alt="Verified on Agent Switchboard" width="234" height="28" /></a>