CopilotKit/aimock
TypeScript library that mocks LLM providers, MCP servers, vector databases, and other AI infrastructure for application testing.

aimock provides a zero-dependency mock server for AI application testing, intercepting and simulating responses from LLM APIs, image generation, speech services, MCP tools, A2A agents, AG-UI event streams, vector databases, and search. Developers construct mock responses by registering handlers on a single local server, then configure environment variables to redirect AI SDK clients to the mock endpoint, enabling reproducible test runs without external API dependencies.
Frequently asked
- What is CopilotKit/aimock?
- TypeScript library that mocks LLM providers, MCP servers, vector databases, and other AI infrastructure for application testing.
- Is aimock open source?
- Yes — CopilotKit/aimock is open source, released under the MIT license.
- What language is aimock written in?
- CopilotKit/aimock is primarily written in TypeScript.
- How popular is aimock?
- CopilotKit/aimock has 651 stars on GitHub.
- Where can I find aimock?
- CopilotKit/aimock is on GitHub at https://github.com/CopilotKit/aimock.