CLI Reference

The public command is interpreter. With no subcommand it starts the app-server-backed terminal UI.

Global Flags

FlagPurpose
PROMPTOptional initial prompt.
--image, -i <path[,path...]>Attach image files to the initial prompt.
--model, -m <model>Override the configured model.
--ossUse the configured local open source provider.
--local-provider <provider>Use ollama or lmstudio with --oss.
--profile, -p <name>Load a config profile.
--sandbox, -s <mode>Select read-only, workspace-write, or danger-full-access.
--ask-for-approval, -a <policy>Select untrusted, on-request, or never.
--cd, -C <path>Start in another working directory.
--add-dir <path>Add a writable workspace root.
--searchRequest live web search.
--enable <feature>Enable a feature for this run.
--disable <feature>Disable a feature for this run.
--config, -c key=valueOverride config for this run.
--remote <ws-url>Connect the TUI to a remote app-server endpoint.
--remote-auth-token-env <var>Read the remote bearer token from an environment variable.
--no-alt-screenDisable alternate-screen TUI mode.
--yoloBypass approvals and sandboxing. Dangerous.

Commands

CommandPurpose
interpreterStart the TUI.
interpreter resumeResume an interactive session.
interpreter forkFork an interactive session.
interpreter execRun non-interactively.
interpreter acpRun as an Agent Client Protocol agent over stdio.
interpreter app-server daemonManage the optional shared daemon (start/stop/restart).
interpreter mcpManage MCP server config.
interpreter mcp-serverExpose Open Interpreter as an MCP server over stdio.
interpreter updateRun the configured installer for the latest release.

Resume

interpreter resume
interpreter resume --last
interpreter resume --all
interpreter resume <SESSION_ID>

Fork

interpreter fork
interpreter fork --last
interpreter fork --all
interpreter fork <SESSION_ID>

Exec

interpreter exec "fix the failing test"
interpreter exec --json "summarize this repo"
interpreter exec resume --last "continue"
interpreter exec review --uncommitted

See Non-interactive mode.

MCP

interpreter mcp list
interpreter mcp get <name>
interpreter mcp add <name> -- <command...>
interpreter mcp add <name> --url https://mcp.example.com
interpreter mcp remove <name>
interpreter mcp login <name>
interpreter mcp logout <name>

See MCP.

MCP Server

interpreter mcp-server

See MCP server.

ACP

interpreter acp

See Agent Client Protocol.

Update

interpreter update

Automatic checks during interactive startup are controlled by check_for_update_on_startup.

Notes on Codex Compatibility

Open Interpreter preserves the Codex CLI interaction model for local coding: interactive TUI, exec, sessions, slash commands, MCP, sandboxing, approvals, skills, hooks, and subagents. OpenAI-hosted Codex Cloud commands are not part of the Open Interpreter public surface unless a future Open Interpreter release adds an equivalent.