emulate now runs local OpenAI and Anthropic APIs, so you can test AI apps with scripted, deterministic replies. Swap one baseURL, keep your real SDK, and test tool loops, structured output and injected errors in CI.