When to use the sandbox
| Scenario | Why the sandbox helps |
|---|---|
| Running custom scripts or proprietary algorithms | Execute Python, JavaScript, or shell scripts that aren’t exposed as formal tools |
| Using third-party libraries | Install and use packages (e.g., pandas, NumPy, Pillow) that the base agent environment doesn’t include |
| Processing large files or datasets | Operate on data that would exceed an LLM’s context window — the sandbox reads, transforms, and summarizes the data before returning a result to the model, so file size isn’t a limiting factor |
| Aggregating or joining large datasets | Perform data joins, aggregations, or filtering across many rows without loading everything into the model’s context |
| Multi-step data pipelines | Chain together extract, transform, and load steps in a single sandboxed run |
| Domain-specific configuration or lookup data | Mount reference files (CSVs, JSONs, config files) via Skills Repositories and access them at execution time |
Configure sandbox access
Select users or groups
Choose which users get sandboxed execution. Options:
- All users — every user with Airia Agent access runs in the sandbox
- Specific users and groups — only selected users run in the sandbox; everyone else uses standard (non-sandboxed) execution
Users not assigned to the sandbox continue to use Airia Agent normally — they simply cannot trigger sandboxed execution or benefit from mounted Skills Repositories.
Performance considerations
Sandboxed execution starts a dedicated container for each conversation session. There is a small amount of startup latency the first time a session uses the sandbox (typically a few seconds). Subsequent tasks within the same session reuse the same container and are not significantly slower. Set expectations with users who are assigned sandbox access — particularly for workflows where they kick off complex tasks immediately after opening Chat.The compute sandbox becomes significantly more powerful when paired with Skills Repositories — collections of code and data files mounted into the sandbox at execution time. Manage Skills Repositories →
