Documentation Index
Fetch the complete documentation index at: https://docs.argalabs.com/llms.txt
Use this file to discover all available pages before exploring further.
List available twins
twins = client.twins.list()
for twin in twins:
print(twin.name, twin.label, twin.kind)
# e.g. "stripe", "Stripe", "frontend"
Provision a twin environment
Spin up standalone twins for agent testing or local development:
result = client.twins.provision(
twins=["stripe", "slack"],
ttl_minutes=60, # 1-480 minutes
scenario_id="scenario-uuid", # optional — pre-seed twin data from a saved scenario
scenario_prompt="A Slack workspace with two channels and a Stripe account with one active subscription", # optional — natural-language seed; ignored when scenario_id is set
)
run_id = result["run_id"]
Check provisioning status
status = client.twins.get_status(run_id)
print(status.status) # "provisioning", "ready", or "failed"
if status.status == "ready":
for name, twin in status.twins.items():
print(f"{name}: {twin.base_url}")
print(f" Admin: {twin.admin_url}")
print(f" Env vars: {twin.env_vars}")
Extend TTL
client.twins.extend(run_id, ttl_minutes=30)
Teardown
Immediately tear down a provisioned twin environment:
client.twins.teardown(run_id)