Skip to main content
Use the same managed evaluation service from TypeScript or Python. Evolve runs the jobs; your program submits work and reads the results.
To send prompts to agents in sandboxes from your application, use Evolve, Swarm, or Pipeline in the agent SDK guide.

Read your jobs

Complete the install and API-key setup in the Python guide or TypeScript guide, then run the matching example. It prints one page of your jobs; an empty list means none are visible to this request.
Python reference snippets that use await or async for belong inside an async function, as in main() above. TypeScript examples use await in an ES module.

Choose a client

Jobs

Start, follow, compare, retry, and download evaluations.

Trials

Inspect one attempt: reward, trace, and stored files.

Datasets

Browse tasks, publish versions, and inspect builds.

Filesystems

Read live sandbox files and saved captures.

Analyses

Read the analyzer’s results and saved runs.

Checks

Check task quality before running a benchmark.
Also available: agents, uploaded skills, secrets, identity and teams, and platform capabilities.

Look up a method

Use the client guides above for a workflow. Open a method reference for its inputs, returned fields, and Python and TypeScript examples. For failures, start with error handling or find the exact name in the error-code reference.

Configure once

To set an explicit key or default team, replace the hosted() construction above. Replace my-team with your organization’s slug or ID, or omit org to use your personal organization.
The org default applies when you create jobs, publish datasets, register agents, or upload skills. A call’s own org wins. It does not filter list requests. Prefer a single client when useful: jobs(config), trials(config), and the other factories accept the same configuration. Import auth and managedSecrets / managed_secrets separately; they are not properties of hosted().
meta() needs no key. TypeScript checks for a key when an authenticated client is created, including the first access to hosted().jobs. Python checks when it makes an authenticated request.

One page or every item

These snippets use the evolve client above. Put the Python snippet inside the same async with block.
This pattern applies to list handles, including jobs.trials() and jobs.tasks(). A trace page, stored-file page, grep result, or dataset’s nested task page is a single page; follow its cursor yourself or use the dedicated iterator where available.

Language differences

See types for field access and errors for request failures.
Hosted clients support async with and await client.close(). Inside an async function:
Closing a client does not cancel an evaluation. To stop a job, call await client.jobs.cancel(job_id) inside the async with block, using the job’s ID.
Last modified on November 9, 2026