Introduction
Ocman is a web dashboard for browsing and driving your coding-agent sessions across OpenCode , Claude Code and opt-in Codex . Platform adapters import saved conversations into ocman’s own history database and route live actions to the owning CLI or server. OpenCode’s source database is opened read-only; ocman keeps its own state and retained history separately.
One binary (pure-Go SQLite), listening on 127.0.0.1:8228 by default.
Requirements
Ocman checks these on startup (GET /api/doctor). A missing required item
shows a setup panel; a missing optional one shows a dismissable banner and
hides only the feature it unlocks.
Required:
- OpenCode, Claude Code or Codex. For OpenCode, install https://opencode.ai
and
run it once to create its database. For Claude Code, install the
claudeCLI and log in. OpenCode and Claude Code are enabled by default; a missing OpenCode database does not prevent using Claude. For Codex, install thecodexCLI, Node.js 22+ andcodex-acp, sign in, and enable it in Settings → Platform connections. Settings shows the adapter install command, and setup checks these prerequisites only when Codex is enabled. See Codex setup . - git:
brew install git.
Optional:
| Tool | Unlocks | Hint |
|---|---|---|
| tmux | launching managed OpenCode, Claude or Codex sessions, /wt worktree sessions and browser terminals | brew install tmux |
Apps launched from Finder get a minimal PATH. Ocman merges in your login shell’s PATH at startup; when that fails (the shell exits with an error or takes longer than 10 seconds) the Setup chip in the header shows the reason. Fix the shell or install tools in /usr/local/bin or /opt/homebrew/bin, then restart ocman.
Install
With Homebrew 7.0.11 or newer, on macOS or Linux:
brew tap ocman/tap
brew install --cask ocman/tap/ocman-nightly
ocman
# Open http://localhost:8228Homebrew does not run ocman in the background or install ocman-ctl. See
Homebrew
for updates and switching channels.
On an Apple Silicon Mac, install the desktop app instead with
brew install --cask ocman/tap/ocman-desktop-nightly. See
Desktop app
.
Or use the shell installer:
curl -fsSL https://forgejo.nousefreak.be/dries/ocman/raw/branch/main/install.sh | bash -s -- install
# Open http://localhost:8228Use install nightly or install v0.274.0 to choose a channel or pin a
version. The installer prefers a GitHub binary and falls back to building
the same tag locally. See Installation
for updates,
requirements, service commands and overrides.
Prebuilt binaries, including a macOS .dmg desktop build, are on the
releases page
. To build
from source, use the Go version in go.mod and Node.js and pnpm versions in
mise.toml (see Contributing
):
make build && ./ocmanocman.app and choose
Open on first launch, or run
xattr -dr com.apple.quarantine /Applications/ocman.app.Your first session
Existing sessions show up immediately, grouped by project, searchable and replayable. To get an interactive session (composer, permission replies, abort), let ocman launch it:
- Press ⌘K to open the command palette.
- Run
/wtto create a git worktree session, or use the project’s Worktrees view.
Ocman requires OpenCode v2 or later. It runs one managed OpenCode server for the whole machine and connects to it automatically, so parallel worktree sessions get isolated files and staging areas without a process per worktree (see Configuration ). Start conversations through ocman to use its managed server. Instances you start yourself are never discovered or adopted. Saved sessions remain visible from the database; interactive controls require a connection to an ocman-managed instance.