emulate ships local OpenAI & Anthropic API emulator for deterministic zero-cost AI testing
cramforce · x · 2026-11-20
A new open-source tool, emulate (@emulators/ai), lets developers test AI applications without paying for real API calls.
- Supports OpenAI Responses, Chat Completions and Anthropic Messages — just swap the baseURL and keep your real SDK
- Handles tool loops, structured output and reasoning content
- Can inject 429 errors, stream timing, stalls and cuts; simulates latency and varied responses
- Seeded variants replay the same order every run, ideal for CI, local dev and sandboxes
Runs via npx emulate --service ai — no API keys, no network, zero token spend.
More from coding & agent
- Nous Research ships Hermes adapter for Qwen3.8-27B, big agentic benchmark gains — yb2698 · 2026-11-20
- Dev finds wiring new Google models into n8n painful, sticks with OpenRouter — ColleenMBrady · 2026-11-20
- Dev observes AI models now auto-apply GI, volumetrics and AA without being asked — msfeldstein · 2026-11-20
- BMW engineers assign trust per step in agent workflows, with code-enforced permission checks — shoumikgoswami · 2026-11-20
- Designer benchmarks every new Gemini by having it rewrite his site's hero shader — AIandDesign · 2026-11-20
- Claude Code's creator posts free 28-minute video on prompting, CLAUDE.md and parallel sessions — aftahi_ai · 2026-11-20