AI / User guide
AI workspaces and sandboxes
Create isolated execution environments for coding tasks and disposable application experiments.
On this page
Before you begin
Use a configured workspace or sandbox runtime with sufficient cluster capacity. Decide which secrets, network access, and storage the session actually requires.
Get started
- Choose a workspace or sandbox configuration and create it.
- Wait for runtime readiness before opening a terminal or executing commands.
- Verify files, tools, and permitted networking inside that environment.
- Terminate or delete the environment when the task is complete and confirm cleanup.
Operate the service
Use supported snapshots and cloning to preserve or reproduce a useful environment. Review share access and revoke it when collaboration ends. Confirm snapshot retention separately from runtime deletion.
Availability and limits
Workspace and sandbox lifecycles are related but distinct APIs. Snapshot operations and provider availability depend on the configured runtime. A private hostname does not by itself authorize a different organization to access the environment.
Troubleshooting
For readiness failures, inspect pod scheduling, image pulls, runtime configuration, and resource quotas. For failed exec, confirm the exact session is running and that access has not been revoked.
Next steps
Use the CLI guide to automate repeatable work, or the API guide to integrate Anchras with your own tools.
CLI commands
Install and authenticate using the CLI guide. The table describes command families; required arguments are shown in their usage output.
| Command | Purpose |
|---|---|
ai workspaces list / create / enter / exec / snapshot / snapshots list|get|delete / restore / terminate | AI workspace lifecycle, durable tenant-scoped snapshot inventory, restore, exact artifact deletion, and broker-backed command execution through AIWorkspaceService. Snapshot rows are reserved before runtime work and only an exact runtime ready result is published as ready; unsupported or ambiguous outcomes remain visible and fail closed. A workspace lives in a project: list shows one (--project) and create takes --project; its snapshots, and a workspace restored from one, live in the same project. |
API reference
Browse procedures, request and response types, and download the complete OpenAPI contract.
