Connect an agent

Create an agent key on the Account page, then use https://yacti.dev as the provider's base URL. The key decides which agent the results belong to.

OpenAI and compatible

client = OpenAI(base_url="https://yacti.dev/v1", api_key="ysk_...")

Anthropic

client = Anthropic(base_url="https://yacti.dev", api_key="ysk_...")

Gemini

client = genai.Client(api_key="ysk_...", http_options={"base_url": "https://yacti.dev"})

Choose what goes wrong

Use the simulator's Scenarios tab, or per request: the x-sim-scenario header, or a model name like gpt-5::rate_limit_429. Exam mode gives every new conversation the next scenario and grades the agent.

Use with Claude

The yacti.dev connector lets Claude set up and read your tests: create agent keys, start an exam, send a test call through any failure scenario, and read scorecards, costs and signed certificates. In Claude, add a custom connector with this URL, then sign in and pick a workspace:

https://yacti.dev/mcp

Claude Code: claude mcp add --transport http yacti https://yacti.dev/mcp, then run /mcp to sign in.

Tools: get_started, list_scenarios, list_agents, create_agent_key, set_simulator_rule, try_scenario, get_scorecard, get_cost_and_savings, get_certificate, reset_agent_results. Only reset_agent_results deletes anything (one agent's recorded results). Disconnect at any time from Claude's connector settings.

Example prompts: "Create an agent key for my support bot and run it through the exam." "Show me what a truncated Anthropic stream looks like." "Why did checkout-agent get a C?"

Tools for your agent

Agents can also test against a misbehaving MCP tool server at https://yacti.dev/tools/mcp (send the agent key as a Bearer token): slow, failing, poisoned, drifting and malformed tools.

Plans

Free: 3 agent keys and 5,000 model calls a day. For more, contact us.