Emulate adds local OpenAI, Anthropic APIs
Vercel Labs' open-source local service emulator now supports OpenAI Responses, Chat Completions, and Anthropic Messages with scripted, deterministic replies. Developers can test AI applications offline using real SDKs by changing their baseURL, reliably reproducing tool loops, streaming, structured outputs, and rate limits without network calls or API keys.
Testing LLM applications has long forced a painful tradeoff between flaky, expensive live API calls and brittle, handcrafted mocks. Wire-compatible, deterministic OpenAI and Anthropic emulation directly in CI solves one of the most persistent hurdles in production agent development.
- –Zero SDK modifications: Official OpenAI and Anthropic client libraries run unmodified against localhost simply by pointing to the emulator's baseURL.
- –Deterministic test runs: Multi-turn tool loops, schema-validated structured outputs, and reasoning tokens execute identically across runs without model drift or non-determinism.
- –Built-in fault injection: Scripted rules allow developers to simulate 429 rate limits, network disconnects, and streaming stalls to thoroughly verify client retry logic.
- –Cost-free CI pipelines: Offline execution eliminates token expenses, API rate limit exhaustion, and network dependencies in automated testing sandboxes.
DISCOVERED
23h ago
2026-11-20
PUBLISHED
23h ago
2026-11-20
RELEVANCE
AUTHOR
lahfir