Authenticate
Hosted private beta:.env,
~/.config/nullspace/config.json, then legacy ~/.nullspace/config.json.
SDK constructors also accept explicit api_key= and base_url= arguments.
Use NULLSPACE_API_KEY and NULLSPACE_API_URL directly for scripts, CI, and
coding agents. The SDK/CLI client variable is NULLSPACE_API_URL; the
similarly named VITE_NULLSPACE_API_BASE is only for console builds.
Sandboxes
--json when another
tool should consume the raw metrics payload.
For create-time pause/hibernate behavior, prefer --on-timeout pause; use
nullspace sandbox timeout set sb_123 --seconds 300 --action hibernate when
changing an existing sandbox.
Use nullspace ssh when a local tool requires OpenSSH; it mints a
short-lived certificate for the Nullspace SSH relay.
Use sandbox preview-url for direct preview link lifecycle, inventory, and
revocation. Human output redacts signed preview URLs by default; use --raw
only for an explicit secret-bearing display action. Grant list output includes
safe usage counters and last-error metadata; use --json for automation that
needs raw returned values.
Files and lifecycle
Volumes
Volume commands require a shared-volume-enabled environment.
nullspace schema to inspect the installed command tree and generated MCP
tool input schemas. Install nullspace-sdk[cli,mcp]==0.1.9 before using
nullspace mcp serve so the MCP server dependency is available.
For Claude Code or Codex running locally, run
nullspace docs install --agent all from the project directory after installing
the MCP extra. The command installs local Markdown docs and project-local agent
instructions without requiring an API key.
Self-hosted setup: Self-Hosted Single-Host.