| Shape | Use When |
|---|---|
| Tool wrapper | The model loop stays in your app and calls Nullspace for isolated command or file work. |
| Function | The whole Agents SDK app should run in Nullspace as a managed job or service. |
Wrap Nullspace As A Tool
Use this pattern when an Agents SDK app should create a machine, run a bounded command, and return a concise result to the agent. Your application process stays in control of credentials, retries, cleanup, tracing, handoffs, and approval state.Deploy An Agents SDK Job
Use Functions when the whole Agents SDK app should run as a managed process instead of calling a machine from your local process.function.py
Deploy An Agents SDK Service
Usemode = "service" when your Agents SDK app exposes an HTTP API, chat
backend, or internal coordinator.
function.py