Global options
These options are available on all commands:-h,--help: show command help-v,--version: print installed CLI version--print-logs: print runtime logs tostderr--log-level DEBUG|INFO|WARN|ERROR: set log level
Main commands
0x0 [project]: start the TUI session0x0 completion: print shell completion script0x0 run [message..]: non-interactive prompt execution0x0 attach <url>: connect TUI to running server0x0 server: start headless HTTP server (alias:serve)0x0 acp: start ACP server over stdio0x0 auth: manage provider credentials0x0 mcp: manage MCP servers and OAuth auth0x0 agent: create/list agents0x0 models [provider]: list model IDs0x0 stats: usage and cost stats0x0 session list: list sessions0x0 export [sessionID]: export session JSON0x0 import <file-or-url>: import session JSON/share URL0x0 github: install/run GitHub agent integration0x0 pr <number>: checkout PR branch and launch 0x00x0 upgrade [target]: upgrade installation0x0 uninstall: remove installation and data0x0 debug: diagnostics and low-level debug utilities0x0 generate: output the OpenAPI specification as JSON
0x0 [project] (TUI)
Options:
--model,-m: model to use in the format of provider/model--continue,-c: continue the last session--session,-s: session id to continue--fork: fork the session when continuing (use with--continueor--session)--prompt: prompt to use--agent: agent to use- network flags:
--port,--hostname,--mdns,--mdns-domain,--cors
0x0 run [message..]
Options:
--command <name>: execute a slash command--continue,-c: continue the last session--session,-s: session id to continue--fork: fork the session before continuing (requires--continueor--session)--share: share the session--model,-m: model to use in the format of provider/model--agent <name>: agent to use--format default|json: output format (default:default)--file,-f(repeatable): file(s) to attach to message--title [value]: title for the session (uses truncated prompt if no value provided)--attach <url>: attach to a running 0x0 server--port <number>: port for the local server (defaults to random port)--variant <value>: model variant / reasoning effort (e.g.,high,max,minimal)--thinking: show thinking blocks (default:false)
0x0 server (alias: serve)
Starts a headless 0x0 server.
Options: network flags only (--port, --hostname, --mdns, --mdns-domain, --cors).
0x0 attach <url>
Options:
--dir: directory to run in--session,-s: session id to continue--password,-p: basic auth password (defaults toZEROXZERO_SERVER_PASSWORD)
0x0 acp
Start ACP (Agent Client Protocol) server.
Options:
--cwd: working directory (default: current directory)- network flags:
--port,--hostname,--mdns,--mdns-domain,--cors
0x0 mcp
Subcommands:
0x0 mcp add: add an MCP server (interactive)0x0 mcp list(alias:ls): list MCP servers and their status0x0 mcp auth [name]: authenticate with an OAuth-enabled MCP server0x0 mcp auth list(alias:ls): list OAuth-capable servers and auth status0x0 mcp logout [name]: remove OAuth credentials for a server0x0 mcp debug <name>: debug OAuth connection for a server
0x0 auth
Subcommands:
0x0 auth login [url]: log in to a provider0x0 auth logout: log out from a configured provider0x0 auth list(alias:ls): list providers0x0 auth accounts: manage Antigravity accounts
0x0 agent
Subcommands:
0x0 agent create: create a new agent0x0 agent list: list all available agents
0x0 agent create options:
--path: directory path to generate the agent file--description: what the agent should do--tools: comma-separated list of tools to enable (default: all). Available:bash,read,search,search_remote,apply_patch,task,todowrite,question,lsp--model,-m: model to use in the format of provider/model
0x0 models [provider]
Options:
--verbose: use more verbose model output (includes metadata like costs)--refresh: refresh the models cache from models.dev
0x0 stats
Options:
--days: show stats for the last N days (default: all time)--tools: number of tools to show (default: all)--models: show model statistics. Pass a number to show top N, otherwise shows all (default: hidden)--project: filter by project (default: all projects; empty string: current project)
0x0 session
Subcommands:
0x0 session list: list sessions
0x0 session list options:
--max-count,-n: limit to N most recent sessions--format table|json: output format (default:table)
0x0 export [sessionID]
Export session data as JSON. If no sessionID is provided, exports the most recent session.
0x0 import <file>
Import session data from a JSON file or share URL.
0x0 github
Subcommands:
0x0 github install: install the GitHub agent (interactive)0x0 github run: run the GitHub agent
0x0 github run options:
--event: GitHub mock event to run the agent for--token: GitHub personal access token (github_pat_*)
0x0 pr <number>
Fetch and checkout a GitHub PR branch, then run 0x0.
0x0 upgrade [target]
Upgrade 0x0 to the latest or a specific version (e.g., 0.1.48 or v0.1.48).
Options:
--method,-m: installation method to use. Choices:curl,npm,pnpm,bun,brew,choco,scoop
0x0 uninstall
Remove 0x0 installation and all related files.
Options:
--keep-config,-c: keep configuration files (default:false)--keep-data,-d: keep session data and snapshots (default:false)--dry-run: show what would be removed without removing (default:false)--force,-f: skip confirmation prompts (default:false)
0x0 generate
Output the OpenAPI specification for the 0x0 HTTP server as JSON to stdout. Includes x-codeSamples
metadata with @0x0-ai/sdk usage examples for each endpoint.
0x0 debug
Subcommands:
debug config: show resolved configurationdebug paths: show global paths (data, config, cache, state)debug scrap: list all known projectsdebug skill: list all available skillsdebug agent <name>: show agent configuration details (--tool,--params)debug wait: wait indefinitely (for debugging)
debug lsp
debug lsp diagnostics <file>: get diagnostics for a filedebug lsp symbols <query>: search workspace symbolsdebug lsp document-symbols <uri>: get symbols from a document
debug rg
debug rg tree: show file tree using ripgrep (--limit)debug rg files: list files using ripgrep (--query,--glob,--limit)debug rg search <pattern>: search file contents (--glob,--limit)
debug file
debug file search <query>: search files by querydebug file read <path>: read file contents as JSONdebug file status: show file status informationdebug file list <path>: list files in a directorydebug file tree [dir]: show directory tree
debug snapshot
debug snapshot track: track current snapshot statedebug snapshot patch <hash>: show patch for a snapshot hashdebug snapshot diff <hash>: show diff for a snapshot hash
Network flags
Shared by0x0 [project], 0x0 server/serve, and 0x0 acp:
--port(default0)--hostname(default127.0.0.1)--mdns(defaultfalse)--mdns-domain(defaultzeroxzero.local)--cors <origin>(repeatable)