Two Ways Agents Use Nullspace
Use direct machines when you need fine-grained command and file control. Use
Agent Deployments when you want repeatable deploys, run or
service records, logs, outputs, backing machine access, and cleanup commands.
Deployment Objects
Runtime Shapes
Current live modes arejob and service.
worker, triggered, workspace, and interactive are reserved for future
deployment models. Do not build public docs or configs that imply they are
currently live.
State Boundary
Nullspace run IDs are not conversation session IDs. Framework session, thread, checkpoint, or flow state stays app-owned. Use volumes, retained machines, hibernate/auto-resume, or an external database for durable state. This boundary matters in framework integrations:- OpenAI Agents SDK tracing, handoffs, and approval state stay in the Agents SDK app.
- Claude Agent SDK or Claude Code session files should live in a volume or app-managed storage if they must survive machine cleanup.
- LangGraph thread IDs and checkpoints stay in your checkpointer storage.
- CrewAI flow state and memory remain app-owned.
Warm Pool Decisions
Agents should create and wait for a template warm pool before a burst when many machines should start from the same ready custom template and cold fallback is either expensive or unacceptable. Use fork when agents should branch from one running mutable setup. Use hibernate or auto-resume when one machine should pause and continue later. Use volumes when data must survive machine cleanup. Template warm pools do not preserve per-run mutable state; a checkout becomes a normal machine and is not recycled. Agent recipe:- Build or identify the template.
- Create the pool and wait for
min_ready. - Create machines with explicit
warm_pool=pool.id. - Use
warm_pool_mode="prefer"for latency improvement, orwarm_pool_mode="require"when cold fallback is not acceptable. - Drain or delete the pool after the burst.
Debug Surface
Every Agent Deployment run or service is backed by a normal machine. When you retain that machine, you can inspect it with the same tools used elsewhere in Nullspace:- PTY for an interactive terminal.
- SSH when local tools expect OpenSSH.
- Commands and files for scripted inspection.
- Desktop Environments when the agent used a GUI.
- Debug retained machines for the retained failure workflow.