Skip to main content
These examples use an open Arga client named client. Await the same methods on AsyncArga.

Create starting state

Create a Scenario from a natural-language prompt:
Fast is the default; Thorough handles complex requests with a longer wait. The mode affects prompt generation only. You can instead supply exact seed_config using the seeding contract.

Find and inspect Scenarios

Responses include scope and permissions. Workspace operations still require the account’s applicable workspace permissions.

Update, copy or delete

Supported updates preserve explicit null and empty values. Unsupported options are rejected before sending.

Start a Twin Run

Use endpoints and credentials from a ready response to configure your provider clients securely. See Twin Runs.

Persistent environments

These calls provision, inspect, reseed or tear down the Scenario’s service environment. They do not deploy your application or execute your agent. Approving a Training task also saves its reviewed starting state as a Scenario. Keep that approved state consistent with the task revision when preparing its environment.