Environments let you organize resources within a workspace. Your AI agent can create, list, and delete environments, and show you what’s running in each one.Documentation Index
Fetch the complete documentation index at: https://runcrate.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
”Set up staging and production environments for our ML pipeline.”
The agent creates both environments:list_environments— checks what already existscreate_environment— createsstagingcreate_environment— createsproduction
You already have the default main environment. Created two new environments:Your workspace now has 3 environments: main, staging, production. Deploy instances to a specific environment from the dashboard or specify it when creating resources.
- staging — for testing model updates before promotion
- production — for live inference workloads
”What resources are running in each environment?”
The agent maps instances and storage to environments:list_environments— lists all environmentslist_instances— lists all instances with their environment assignmentslist_volumes— lists all volumes with their environment assignments
main (default)staging
- dev-box (RTX 4090) — running, $0.35/hr
- scratch-volume (100 GB)
production
- staging-inference (A100) — running, $1.60/hr
- staging-models (200 GB)
Total burn rate: $6.95/hr Production is 72% of your spend.
- prod-inference-1 (H100) — running, $2.50/hr
- prod-inference-2 (H100) — running, $2.50/hr
- model-weights (500 GB)
”Delete the staging environment — we’re done testing.”
The agent checks for active resources first:list_instances— checks for instances in the staging environmentssh_execute— optionally checks if the instance is mid-task
staging has 1 running instance (staging-inference) and 1 volume (staging-models). Environments can’t be deleted while they have active resources. Want me to:After you choose option 1:
- Terminate the instance and delete the volume, then delete the environment
- Just terminate the instance and keep the volume
delete_instance— terminatesstaging-inferencedelete_volume— deletesstaging-modelsdelete_environment— deletes thestagingenvironment
Terminated staging-inference, deleted staging-models (200 GB), and removed the staging environment. Your workspace now has 2 environments: main, production. Saving $1.60/hr on the instance.
The default
main environment cannot be deleted. This is enforced at the database level.Tools used in this workflow
| Tool | Purpose |
|---|---|
list_environments / create_environment / delete_environment | Manage environments |
list_instances / list_volumes | Check resources per environment |
delete_instance / delete_volume | Clean up before environment deletion |