Use a Backend
The Docker backend is the local development path:SandboxConfig, and use the
returned runtime_url with RuntimeClient.
session(...) creates the sandbox on entry and deletes it on exit.
If the bundle was built for a non-default architecture, pass the same
Docker/OCI platform so the task image and runtime overlay match:
Backend Plugins
Deployment packages register classes in theagentix.deployment entry
point group.
pyproject.toml
load_deployment:
Backend Protocol
Backends are structural. They do not inherit a base class; they implement three async methods.my_deploy/__init__.py
Configuration
| Variable | Used by | Purpose |
|---|---|---|
AGENTIX_BIND_PORT | runtime server | Sandbox-side bind port, default 8000 |
DAYTONA_API_KEY | daytona backend | API authentication |
E2B_API_KEY / E2B_TEMPLATE_ID | e2b backend | API authentication and template selection |
__init__ when required configuration is missing. The
error should surface before the backend starts creating infrastructure.