Twin builder · beta
Your API spec, as a private world to test agents in.
What the beta does
From spec to graded tasks in one sitting.
Custom agent environments are usually built by hand. The beta does the mechanical part from your spec and leaves the judgement (what a task is, what done looks like) to you, with checks that keep it honest.
Import the spec
OpenAPI 3.0 or 3.1, JSON or YAML, one file up to 1 MB. Every operation (up to 100) becomes a typed tool whose JSON-schema input comes from its path, query and body parameters.
Resources and state
Collections are inferred from the paths and schemas (GET /items, POST /items, GET/PATCH/PUT/DELETE /items/{id}, nested ones like /owners/{id}/pets), and become tables in the world's state with list, get, create, update and delete that really work.
Seeded data
Records are generated from the schema's examples, enums and formats by a seeded random generator: the same seed always gives the same data, so every episode can be replayed exactly.
Tasks and verifiers
Write the instruction, pick a starting seed, record a reference solution by clicking through a tool console, and choose typed assertions about the end state. The verifier is generated from them; check my task proves it.
Run it
Evaluate any model or agent on your world from Evals or CI with your own key, behind the same plan limits as every run. Results, replays and the scorecard work exactly as for Sandworld's worlds.
Private by design
The world resolves only for your workspace's members and API keys. It is never listed anywhere public, and the spec is parsed as data only: no code generation, no fetching, sizes and depths capped.
The sample
Brightpaw Clinic: a small clinic API, built in one click.
An original sample spec for a veterinary clinic. The builder makes 18 tools and 5 resources from it, flags 1 operation it can't model, and the sample ships with 3 checked tasks.
What it doesn't do
A beta that tells you where it stops.
The builder only models what a spec can tell it. Everything below is outside the beta, and the twin says so instead of pretending.
- Side effects behind third-party systems: payments, email, SMS, webhooks, other services. Those operations are no-ops that say so.
- Business rules beyond the schema: state machines, permissions, quotas, cross-record validation. A pilot writes them.
- A user interface. Agents use the tools; computer-use agents need a full twin.
- Realistic data at scale: six plausible records per resource and seed, not your production mix.
- Swagger 2.0 (convert it first), multi-file specs with external $refs (bundle them first), auth flows and headers.
Beta, sprint or pilot
Start from the spec. Go further with our team.
The beta is self-serve. A workflow sprint is three weeks with our team on one or two of your agent's workflows. A pilot is a full, high-fidelity twin of your product.
Twin builder (beta)
- Tools, resources and seeded data from your spec
- Tasks you write, with typed assertions and checks
- Evals with your own key, from the app or CI
- Private to your workspace
Workflow sprint, $5,000–$15,000
- Your workflow twinned from your spec, with verified tasks
- Your current agent audited at three seeds: pass^3, policy violations, collateral damage, cost
- Optional: a small open-weight model trained on it and scored on held-out tasks
- No production credentials needed
Pilot, from $60k
- A working UI as well as the API, for computer-use agents
- Your business rules and side effects modelled, not skipped
- Realistic data and expert-written tasks with hardened verifiers
- A verifier soundness datasheet, like every Sandworld world
Questions
What people ask about the beta.
Does Sandworld call my API?
No. The builder reads the spec as data and simulates the API in memory: it never sends a request to your servers, and it never fetches anything a spec points to. A $ref to another file or URL is refused with a message asking you to bundle the spec first.
Who can see my spec and my world?
Only your workspace: its members and its API keys. A private world is never in the public catalog, the sitemap, the datasets, the exports, the sandbox or the public API's listings. Another workspace asking for it gets the same answer as for a world that doesn't exist.
What happens to operations it can't model?
Anything that isn't list, get, create, update or delete on a collection (sending a message, charging a card, running a report) becomes a tool that accepts the call, records it, changes nothing and says so in its reply. The twin page lists every one, so nobody mistakes it for the real behaviour.
How do I know a task's verifier is any good?
Check my task runs a do-nothing agent, which must fail, and replays the reference solution you recorded, which must pass with no failed calls. It also probes the verifier with random calls, stopping before the last change and extra unrequested writes, the same probes Sandworld's own worlds publish. Only tasks that pass run in evals.
Can I run it from CI?
Yes. A private world's tasks run from Evals or from POST /api/v1/runs with your workspace's API key, with your own model key or agent endpoint, like any built-in world, and every run ends in a scorecard.
When is a pilot the better choice?
When your agent works through a UI, when the interesting behaviour lives in business rules or in other systems, or when you need many realistic tasks written by domain experts. A pilot builds a full twin with all of that; the beta gives you a fast, honest start from the spec.
The details (limits, what becomes a tool, every assertion type) are in the twin builder docs.