aimock
View on GitHubMock everything your AI app talks to — LLM APIs, MCP, A2A, AG-UI, vector DBs, search. One package, one port, zero dependencies.
aimock is a zero-dependency mock server that stands in for every service an AI app talks to: LLM APIs, image/audio/video, embeddings, MCP tools, A2A agents, AG-UI streams, vector DBs and search. Point SDKs at one local port for deterministic offline tests, plus record & replay, chaos injection and drift detection.
Use Cases
Mock LLM APIs offline in unit and e2e testsRecord and replay real provider traffic as fixturesTest AI agents against mocked MCP tools and A2A agentsTest frontend agent UIs with AG-UI event streamsMock vector DBs (Pinecone, Qdrant, ChromaDB) for RAG testsSimulate streaming, TTS, image, video and embedding endpointsChaos test 500s, rate limits and mid-stream disconnectsRun CI without API keys or surprise bills
Built With
- Language
- TypeScript
- Frameworks
- Vitest · Jest · Docker · Helm · Prometheus · Node.js
Tags
mocking · ai-testing · llm-testing · mcp · a2a · ag-ui · vector-db · record-replay · fixtures · sse · streaming · chaos-testing · vitest · jest · openai · drift-detection