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 or NULLSPACE_TOKEN with NULLSPACE_API_URL directly
for scripts, CI, and coding agents. Use NULLSPACE_ENVIRONMENT to select a
default Function environment for non-interactive Function deploy/run commands.
The SDK/CLI client variable is NULLSPACE_API_URL; the
similarly named VITE_NULLSPACE_API_BASE is only for console builds.
Function Environments
--env staging selects the
Function environment; --env NAME=value remains a runtime env-var override.
Function Secrets
function.py with nullspace.Secret.from_name("openai").
Function Triggers
nullspace lifecycle webhooks ....
Machines
--json when another
tool should consume the raw metrics payload.
For create-time pause/hibernate behavior, prefer --on-timeout pause; use
nullspace machine timeout set mch_123 --seconds 300 --action hibernate when
changing an existing machine.
Use nullspace ssh when a local tool requires OpenSSH; it mints a
short-lived certificate for the Nullspace SSH relay.
Use machine 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] 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.