Mental Model
| Object | Purpose |
|---|---|
| Function | Stable name and configuration for a local project. |
| Version | Immutable deploy result with bundle, entrypoint, resources, policy, and provenance. |
| Job run | Finite execution that exits after producing logs, status, and optional outputs. |
| Service instance | Long-running HTTP process with readiness, URL lookup, logs, and lifecycle controls. |
| Machine | The isolated runtime backing a job run or service instance. |
job and service. Function run IDs and service
instance IDs are platform execution IDs, not user conversation/session IDs.
Workflow
- Create
function.pywithnullspace functions init. - Configure the bundle, install command, entrypoint, environment names, secrets, resources, outputs, routes, and runtime policy.
- Test locally with
nullspace functions dev. - Deploy with
nullspace functions deployornullspace deploy. - Run a job or start a service.
- Inspect logs, status, outputs, and the backing machine.
- Deploy a new version, roll back, or delete the Function.
CLI Map
| Task | Command |
|---|---|
| Author and deploy | nullspace functions init, nullspace functions dev, nullspace functions deploy |
| Discover functions | nullspace functions list, nullspace functions get, nullspace functions history |
| Run jobs | nullspace functions run, nullspace functions spawn |
| Operate services | nullspace functions url, nullspace functions status, nullspace functions logs, nullspace functions restart, nullspace functions stop |
| Manage triggers | nullspace functions schedule ..., nullspace functions webhook ... |
| Debug state | nullspace functions outputs, machine, shell, checkpoint, branch, rollback, tree |
Authoring
Define the Function bundle, runtime command, environment, resources, and policy.
Jobs
Run finite tasks and collect logs, status, outputs, and retained machines.
Services
Start managed HTTP processes with readiness checks and public URLs.
Operations
Operate versions, logs, secrets, rollback, checkpoints, and retained machines.