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.