o4

o4 is an AI coding agent for your terminal.

It runs on your computers. It connects only to the model providers that you configure.

~$ curl -fsSL https://install.open4rena.ai/o4 | bash

Click to copy the command. The installer examines the checksum before it installs o4.

macOS (Apple Silicon) · Linux (x86_64, static binary)

o4 — ~/code/api
8%deepseek-v4-flash
Type a message...
sandbox:open approve:Ask.o4

Features

Model router

o4 connects to more than 13 model providers. You can change the model during a session. If a provider fails, the router moves the request to your fallback provider.

Time Machine

o4 makes a checkpoint at each turn. Use /rewind to move the conversation and the files back together. You can fork a checkpoint to try a different path.

Campaigns

Give one objective with /campaign. o4 divides it into tasks, runs worker agents in isolated worktrees, and validates each result before it continues.

Plan mode and goals

o4 can plan the work before it changes files. Use /goal to set an objective. o4 keeps that objective in view across many turns.

Permissions, sandbox, hooks

Rules allow, ask, or deny each tool pattern. Commands run in a sandbox. Hooks can examine, change, or stop each tool operation before it runs.

Project memory and code index

o4 keeps a project-scoped memory across sessions with /remember and /recall. A tree-sitter index shows it the symbols and dependencies of your codebase.

A complete tool harness

o4 can edit files and show a diff for each change. It can run commands, search code, run tests, and use LSP servers and formatters.

Sessions that survive

You can close the terminal during a task. Use /resume to continue the session on the same machine, exactly where it stopped.

Built for controlled environments

You do not need an account to install or use o4. Model traffic goes only to the providers that you configure. Nothing is proxied through our servers.

A real session, replayed

o4 — ~/code/api

Model providers

o4 operates with many model providers. Connect with an API key:Anthropic, OpenAI, Google, AWS Bedrock,DeepSeek, xAI, Groq, Moonshot, or an OpenAI-compatible endpoint. You can also use a Claude Code,Codex, or Kimi Code subscription. You can use local models through Ollama. You can change the provider during a session.

In development

The Arena

The Arena is an SSH workspace for developers, built by developers. You log in to your workspace through SSH. Your o4 sessions run in the cloud and stay available from any machine. The Arena is in development.

ssh open4rena.ai