Skip to main content
An environment is a live copy of a scene’s world on a server. ancha run creates one per trial for you. Use ancha env to create one by hand, for example to develop against a scene’s data while you write the agent. Start a server first with ancha serve, or configure one.

ancha env up

Output
The environment expires after its lease, 30 minutes by default. --json returns the IDs, URLs and credentials for scripts.

ancha env list

Output
Sandboxes appear here too, with a sandbox-… scene ID.

ancha env reset

Output
Restores the environment’s initial data. It keeps the same URLs and credentials.

ancha env down

Output

Exit codes

0 on success. 2 for an invalid scene. 3 when the server cannot be reached or the environment does not exist (ENV_NOT_FOUND).