DevSpaces
Isolated development environments for testing agent code
What are DevSpaces?
DevSpaces are isolated development environments that allow you to test and debug your agent code before deploying to production. Each DevSpace is a dedicated container with all the dependencies your agent needs, providing a safe sandbox for experimentation.
DevSpaces are linked to specific agents and can be started, stopped, and restarted on demand. They provide real-time log streaming, code synchronization, and direct access to the execution environment.
Key Features
Isolated Environment
Each DevSpace runs in its own container with dedicated resources.
Code Synchronization
Automatically sync your agent code changes to the DevSpace.
Instant Execution
Run your agent code immediately without deployment.
Live Logs
Stream real-time logs to debug issues as they happen.
Hot Reload
Code changes are reflected without restarting the environment.
Debug Mode
Step through code execution with detailed tracing.
DevSpace vs Production
| Aspect | DevSpace | Production |
|---|---|---|
| Purpose | Testing & debugging | Live workloads |
| Code Updates | Instant sync | Requires deployment |
| Scaling | Single instance | Multi-replica |
| Persistence | Ephemeral | Persistent |
| Monitoring | Live log streaming | Full observability |
DevSpace Lifecycle
Create
DevSpace is created and linked to an agent
Running
Container is active, code is synced and executable
Stopped
Container is stopped, no resources consumed
Common Use Cases
Rapid Prototyping
Quickly iterate on agent logic without waiting for deployments.
Debugging Issues
Reproduce and fix bugs in an isolated environment.
Testing Integrations
Validate external API integrations before going live.
Learning & Experimentation
Safely experiment with new features and approaches.
Using DevSpaces in the app
- Open an agent you are editing and start (or connect) a DevSpace from the developer workflow when available in your org.
- Changes sync into the container; use live logs to validate behavior before a full build and deploy.
- Tear down when done—DevSpaces are meant to be ephemeral to save cost.