Agents withDocumentation Index
Fetch the complete documentation index at: https://docs.orchagent.io/llms.txt
Use this file to discover all available pages before exploring further.
runtime.command (code runtime) or loop config (managed loop) run in E2B sandboxes. The platform automatically selects the right base image based on your agent’s entrypoint:
| Entrypoint | Base Image | Includes |
|---|---|---|
.py files | Python base | Python 3.11, pip |
.js files | Node.js base | Node.js 20, npm, Python 3 |
package.json are installed automatically via npm ci (when a lockfile is present) or npm install.
Custom environments let you add dependencies beyond the defaults.
Predefined Environments
Four ready-to-use environments are available to all users:| Name | Packages |
|---|---|
python-ml | numpy, pandas, scikit-learn, matplotlib, seaborn |
python-ffmpeg | ffmpeg-python, moviepy, imageio-ffmpeg |
python-image | pillow, opencv-python-headless |
python-scraping | requests, beautifulsoup4, lxml, httpx |
Set as Workspace Default
All agents in your workspace can use a default environment: Via CLI:Custom Environments
Need specific packages? Include aDockerfile in your agent directory.
Quick Start
--docker flag:
You don’t need Docker installed locally. The platform handles all building.
Dockerfile Guidelines
Base image (required):Example: Video Processing Agent
CLI Commands
Environment Priority
When running an agent in a sandbox:- Agent-specific — Dockerfile in bundle creates dedicated environment
- Workspace default — Falls back to workspace’s default environment
- Base image — Uses E2B’s base
code-interpreterif neither set
Dynamic workspace defaults: Changing your workspace default immediately affects all agents that don’t have their own Dockerfile. Existing agents without agent-specific environments will use the new default on their next run.
Service Environments
Always-on services use a different runtime from on-demand runs:On-demand (orch run) | Always-on (orch service deploy) | |
|---|---|---|
| Runtime | E2B sandbox | Cloud Run container |
| Base image | e2bdev/code-interpreter | Service runner (Python 3.11 + Node.js 20) |
| Dependencies | Installed per run | Installed once at deploy time |
| Custom Dockerfile | Yes (orch publish --docker) | Not yet supported |
| Entrypoint | Platform-managed | Auto-detected or --command flag |
requirements.txt or package.json during deployment. The service runner pre-installs common tools (pip, npm, git).
Custom Dockerfiles are not yet supported for services. If your service needs system packages beyond the defaults, use a
run_command in your manifest that installs them at startup.