The execution sandbox invoked by the runtime environment definition tool. Created and managed on the Console Environments page, and reusable across multiple sessions.
Types
| Type | Description |
|---|---|
| Cloud | A sandbox container hosted by Bailian, ready to use out of the box. Can be bound to sessions immediately after creation. |
Configuration Fields
On the Environments page, click Add Environment, then fill in the following fields:
| Field | Required | Editable | Description |
|---|---|---|---|
| Name | Yes | Yes | Unique identifier within the workspace |
| Description | No | Yes | Description of the environment’s purpose |
| Hosting Type | No | No | cloud (cloud-hosted), managed by Bailian. Cannot be changed after creation |
| Pre-installed Packages | No | Yes | Declared per package manager (apt / pip / npm); automatically installed during environment creation |
| Network Policy | No | Yes | unrestricted: allows all outbound traffic (API-only setting; not visible in Console) |
| Scope | No | Yes | organization (default): accessible to all workspace members (API-only setting; not visible in Console) |
| Metadata | No | Yes | Custom key-value pairs (corresponding to the API’s metadata field); does not affect runtime behavior |
Supported Package Managers
Pre-installed packages are declared using the following package managers:
- apt: System-level packages (e.g.,
ffmpeg) - pip: Python packages (e.g.,
pandas,numpy) - npm: Node.js packages
Archiving and Deletion
Environments support two lifecycle operations:
- Archiving: The environment is retained but hidden from default listings; sessions already bound to it remain functional.
- Deletion: Permanent removal — both the environment and its configuration are irreversibly deleted. To preserve configuration, archive instead of deleting.
Next Steps
- Start a Session: Bind an environment when creating a session.
- Credential Vault Authentication: Configure authentication for MCP services and skills.
- File Upload and Mounting: Upload files and mount them into a session.