“Agent Process Exited” immediately after sending a message
This typically means the agent (Claude, Codex) crashed on startup. Common causes:1. Network restrictions
The sandbox cannot reach the AI provider’s API (api.anthropic.com or api.openai.com). Test connectivity with:
000 or timeout means the network is blocked. See Daytona Network Restrictions below.
2. Missing API key
EnsureANTHROPIC_API_KEY or OPENAI_API_KEY is set in the sandbox environment, not just locally.
3. Agent binary not found
Verify the agent is installed:Daytona Network Restrictions
Daytona sandboxes have tier-based network access:| Tier | Network Access |
|---|---|
| Tier 1 & 2 | Restricted. Cannot be overridden. AI provider APIs blocked by default. |
| Tier 3 & 4 | Full internet access. Custom allowlists supported. |
- Upgrade to Tier 3+ for full network access
- Contact Daytona support to whitelist
api.anthropic.comandapi.openai.comfor your organization
networkAllowList parameter only works on Tier 3+: