oibre / reference

oc ↔ omp feature parity

A working comparison of features, gaps, and implementation status.

Marked done0 / 0

Progress is saved in this browser on this device.

Tracking: Check any feature when your work is done. Checkmarks are independent of the original comparison status and are saved locally in this browser.

oc (this repo, "oibre") is a terminal coding agent for any OpenAI-compatible chat completions endpoint, written from scratch in Bun + TypeScript with Ink for the TUI. It is an independent implementation: it contains no omp or pi code and depends on no @oh-my-pi/* or pi packages (runtime dependencies: ink, react, zod). omp (oh-my-pi) is the reference point for the features below, not a code source.

This matrix compares user-visible features: providers, tools, TUI, keys, slash commands, sessions, checkpoints, skills, commands, compaction, extensibility, modes, integrations and distribution. oc claims come from README.md, the commands registry in src/commands.ts and key handling in src/tui/app.tsx. The input features added most recently (!cmd / !!cmd, Shift+Enter, file/image attachments, /checkpoints, and the keybinding registry with ~/.oibre/keybindings.json) are included. omp claims come from the omp README and source/docs on main; anything not confirmed there is marked [unverified].

Legend (status is shown at the start of the oc column)

MarkMeaning
✅parity: oc does what omp does, perhaps differently
🟡partial: oc covers part of it
❌missing in oc
➕oc-only: oc does it, omp does not
—not applicable, or left out of oc by design

Core loop & providers

DoneFeatureompocNotes
OpenAI-compatible endpointsCustom providers in ~/.omp/agent/models.yml (api: openai-completions, among others)✅ Any /v1/chat/completions endpoint via oc config add or /provider addoc's whole design centres on this. apiKey may be $ENV_NAME, and providers can carry extra headers.
Wire protocols13 API kinds incl. anthropic-messages, openai-responses, bedrock-converse-stream, google-generative-ai🟡 OpenAI chat completions onlyAnthropic, Gemini and Bedrock are reachable only through an OpenAI-compatible gateway such as OpenRouter.
Built-in providers60+ catalogued providers, ~1000 models🟡 Any number of user-configured endpoints, no built-in catalogueoc fetches model ids from <url>/models. It has no context-window or pricing metadata.
Model discoveryomp models <provider>, /v1/models✅ oc models, /models <provider> fetch
Model roles9 roles (default, smol, slow, plan, commit, vision, task, advisor, tiny); --smol/--slow/--plan flags❌ One default model plus a per-session model (-m, /model, Ctrl+P)
Fallback chainsretry.fallbackChains per role or model, switching on 429s or quota limits❌
Round-robin credentials / path-scoped modelsYes❌
OAuth / subscription logins/login, /logout (Anthropic, Codex, Copilot, Cursor, Gemini, …)❌ API keys only
First-run setupomp setup, /setup✅ Setup wizard on first launch; oc config CLI
Print / one-shot modeomp -p✅ oc -p; stdin is appended to the promptomp's stdin handling is [unverified].
Reasoning displayThinking blocks, Ctrl+T toggles them✅ Streams reasoning_content / reasoning; Ctrl+T toggles
Reasoning effort control/effort, Shift+Tab cycle, ultrathink / chillax keywords❌
Vision inputvision role, Ctrl+V image paste✅ Attached images are sent to vision modelsSee TUI & input for how images are attached.
Message queue while workingEnter steers; Ctrl+Q / Ctrl+Enter queue a follow-up🟡 Messages typed while the agent works are queued and sent in orderoc has no steer vs. follow-up distinction.
Tool approvalsApproval keybinding; ACP permission prompts— Tools run without confirmationMatches oc's README.

Tools

omp advertises 31 built-in tools (README); several are off by default. oc offers 16 built-in tools in normal mode, plus MCP and extension tools.

DoneFeatureompocNotes
readFiles, dirs, archives, SQLite, PDFs, notebooks, URLs, ssh://, 16 internal schemes🟡 Files (line numbers, offset/limit), directory listings, skill://
writeFiles, archive entries, SQLite rows🟡 Files
editHashline patches anchored by content hash🟡 Exact unique string replacement, replace_all
bashIn-process bash 5.3 engine, persistent sessions, PTY, background jobs🟡 Runs a command with combined output, exit code and timeout; Ctrl+C kills the process groupoc has no persistent shell session and no background jobs.
grepNative ripgrep✅ Regex search that honours .gitignore
find / globglob✅ find, a glob search that honours .gitignore
ast_grep / ast_edittree-sitter structural search and rewrites❌
evalPersistent Python/JS cells that can call tools❌
lspDiagnostics, navigation, renames, code actions❌
debugDAP debugger (lldb, dlv, debugpy)❌
browser / computerPuppeteer tabs; desktop control❌
web_search25 search backends with site-aware extraction🟡DuckDuckGo, Tavily, Brave, Exa, plus web_fetch extraction and pagination.
task / wait / agent_control (subagents)Parallel subagents with typed results, isolated worktrees🟡Named children with persistent in-memory conversations, bounded parallel execution, per-child models, text results/errors, messaging, cooperative pause/resume, cancellation, and removal; shared working directory, no worktree isolation or typed result schema.
todoSession todo list❌
askMid-turn forms🟡Agent questions with choices and free-text answers.
Memory (retain, recall, reflect, memory_edit, learn)Off by default❌
manage_skillOff by default (autolearn)❌
checkpoint / rewind (context pruning)Off by default❌oc's rewind is user-driven and restores files; see Checkpoints & rewind.
github, security_scan, generate_image, ttsOff by default❌
Tool allowlist--tools, --no-tools❌

TUI & input

DoneFeatureompocNotes
Inline UI (finished output scrolls into terminal history)pi-tui surface; settled nodes retire to scrollback✅ Ink: live turn, input and status bar stay at the bottom
Markdown renderingYes, with syntax highlighting✅ Headings, lists, code blocksWhether oc highlights syntax was not checked.
Tool cardsPer-tool presenters; edits preview before they land🟡 Compact results: red/green diff for edits, line count for reads, first lines of command output; Ctrl+O shows full output
/ command menu with argument completionAutocomplete with descriptions and source labels✅ Follows each argument (↑↓, Tab, Enter, Esc)
!cmd shell from the input! / $ execution sigils (SkillsScout)✅ !cmd; !!cmd runs it without adding the output to the agent's contextomp's exact equivalent of !! is [unverified].
Multi-line inputShift+Enter, Ctrl+J, Alt+Enter✅ Shift+Enter (kitty protocol), Alt+Enter, \ + EnterCtrl+J is not an oc default.
Drag & drop / paste attachmentsCtrl+V pastes a clipboard image🟡 Dropping or pasting file paths attaches images and text filesoc does not read image data from the clipboard.
External editorCtrl+G✅ Ctrl+G ($VISUAL / $EDITOR)
Prompt historyUp recalls; Ctrl+R searches✅ ↑/↓ history; Ctrl+R search
Vim modetui.vimMode❌
Masked secret input[unverified]➕ API keys are masked while typing
Status barStatus line✅ Model, context size, session title, total tokens

Keybindings

omp defaults come from app-keybindings.ts and tui-keybindings.ts (SlashCommandScout). Users can override them in ~/.omp/agent/keybindings.yml (omp) or ~/.oibre/keybindings.json (oc).

DoneFeatureompocNotes
User overrideskeybindings.yml; [] disables an action✅ ~/.oibre/keybindings.json
InterruptEsc✅ Esc
Esc Esc on an empty inputConfigurable: rewind (default), tree or none🟡 Always rewind
Clear / cancel / exitCtrl+C; twice exits✅ Ctrl+C; twice on an empty input exits
ExitCtrl+D✅ Ctrl+D on an empty input
SuspendCtrl+Z✅ Ctrl+Z (resume with fg)
Cycle thinking levelShift+Tab❌
Toggle thinking visibilityCtrl+T✅ Ctrl+T
Cycle modelsCtrl+P / Shift+Ctrl+P🟡 Ctrl+P (forward only)
Model selectorAlt+M✅ Alt+M
Temporary modelAlt+P🟡 Ctrl+P switches for the session only; /model saves the default
Expand tool outputCtrl+O✅ Ctrl+O (last tool call)
Hide tool activityCtrl+Shift+O❌
Toggle plan modeAlt+Shift+P✅Read-only tools and explicit implementation approval.
History searchCtrl+R✅ Ctrl+R
External editorCtrl+G✅ Ctrl+G
Follow-up queueCtrl+Q, Ctrl+Enter🟡 Enter queues while the agent works
DequeueAlt+Up, Shift+Up✅ Alt+Up
RetryF5, Alt+R✅ Alt+R
Reset displayAlt+L❌
Paste imageCtrl+V🟡 File-path paste and drop only
Raw pasteCtrl+Shift+V❌
Copy line / promptAlt+Shift+L / Alt+Shift+C❌/copy copies the last reply.
Approve tool callCtrl+Enter, Ctrl+Q—oc has no approvals.
Agent hubAlt+A, Ctrl+S🟡/agents opens a parent/child picker with activity, live conversation views, chat, and pause/resume/cancel/remove controls while the parent works. /parent or Esc returns. No dedicated hub keybinding.
Live voiceCtrl+L❌
Submit / autocompleteEnter / Tab✅ Enter / Tab
Line start/endCtrl+A / Ctrl+E✅ Ctrl+A / Ctrl+E (also Home/End)
Char left/rightCtrl+B / Ctrl+F✅ Ctrl+B / Ctrl+F
Word left/rightAlt+B / Alt+F✅ Alt+B / Alt+F
Delete word backCtrl+W, Alt+Backspace✅ Ctrl+W, Alt+Backspace
Kill to line start/endCtrl+U / Ctrl+K✅ Ctrl+U / Ctrl+K
Yank / yank-popCtrl+Y / Alt+Y🟡 Ctrl+Y only
Undo in the editorCtrl+-❌
Jump to charCtrl+]❌
Resume-picker keys (rename, delete, pin, sort)Ctrl+R, Delete, Alt+K, Ctrl+S❌oc's picker only selects; /rename and /delete are separate commands.

Slash commands

Every command SlashCommandScout marks as core (tier C), plus the bundled /review, /init and /skill:.

DoneFeatureompocNotes
/modelSelector with roles✅ /model [n | provider/model]oc saves the choice as the default model.
/switchSession-only switch; accepts fuzzy ids, @role, :level🟡 Ctrl+P / Alt+MNo /switch command.
/modelsAlias of /model➕ Different command: show or edit a provider's model list (add, remove, fetch)
/effortThinking level❌
/compact [mode] [focus]soft, remote, snapcompact or handoff🟡 /compact [focus]Summary only; see Compaction.
/newNew session✅
/clearClears context in place (reset boundary)✅ Name and token stats are kept
/deleteDeletes the current session and starts a new one✅ /delete [name | id], any session, confirms first
/resumePicker; also @claude / @codex imports🟡 Picker or name/id/prefixNo import from other tools.
/renameWith no title, generates one✅ With no title, edits the current name in place
/session [info|delete|pin]Session management🟡 /stats, /deleteRenamed or split; no pinning.
/treeNavigates the session tree❌
/branch (alias /rewind)Rewinds the conversation into a new session file✅ /rewindoc also restores files and cuts the current session in place (/undo reverts it).
/forkFork, optionally into a pane, window or tab🟡 /forkNo multiplexer launch.
/exportHTML🟡 /export [path] writes Markdown
/dumpTranscript to clipboard, request JSON to tmp❌
/copyPicker over text and code🟡 Copies the last reply
/hotkeysAll shortcuts✅
/settingsSettings menu❌
/setup (/providers)Provider setup✅ Renamed: /provider (add, edit, delete) plus the first-run wizard
/login, /logoutOAuth❌
/usageProvider usage and limits🟡 /stats shows per-model tokens; provider quotas are not shown
/contextContext usage viewer✅
/toolsVisible tools✅
/todoTodo list❌
/retryRetries the last failed turn✅ Re-runs the last prompt, replacing its answer
/queue <msg>Queues for after the agent yields🟡 Implicit: typing while busy queuesNo /queue command.
/planPlan mode✅Read-only investigation and approval picker.
/exit, /quit (q)Exit✅ /exitNo /quit alias.
/reviewSpawns reviewer subagents with P0–P3 findings🟡 /review [focus]: a single-agent review of uncommitted changes
/initEmbedded template✅ Writes AGENTS.md
/skill:<name>Skill invocation, also mid-prompt✅ /skill:<name> [request]oc's mid-prompt form was not checked.
/skillsSearch and install from a registry🟡 Lists, installs from URLs/local folders, and removes skillsNo registry search.
/reload-pluginsReloads skills, commands, hooks, tools, MCP🟡 /reload rescans skills, commands, extensions, MCPNo hooks.
/statsLaunches a local web dashboard✅ Terminal panel; /stats all totals the project
/help[unverified]✅ /help
/undoNone built in; third-party omp-undo-redo➕ /undo reverts the last rewind (files and conversation)
/checkpointsNone➕ Lists every turn with the files changed in it
/agentsSubagent management🟡List, switch, chat, pause/resume, cancel, and remove one/all. Child history and drafts remain available in memory until removal/session change; no persistence across restarts.
Niche omp commands (/btw, /handoff, /shake, /fresh, /pin, /share, /open, /jobs, /changelog, /vibe, /goal, /loop, /advisor, /fast, /slow, /force, /ssh, /move, /wt, /add-dir, /commit, /git, /memory, /debug, /collab, /restart, …)Yes❌/mcp is available separately.

Sessions

DoneFeatureompocNotes
PersistenceAppend-only JSONL tree (id / parentId) per session, per cwd✅ One JSON file per session under ~/.oibre/sessions/<cwd>/, saved after each turnoc's history is linear, not a tree.
Resume/resume, --resume✅ /resume, -c (latest), -r <name|id|prefix> (works with -p)
Name at start[unverified]✅ -n "name"
Rename/rename✅ /rename, -n
Fork/fork (whole session), --fork🟡 /fork
Tree / branch navigation/tree (filters, labels, branch summaries); /branch❌
Labels / pinningLabels, /pin❌
Export / shareHTML export; encrypted share link🟡 Markdown export; no sharing
Usage / stats/usage (provider limits); /stats dashboard✅ /stats panel (activity, tools, files changed, time working, tokens per model); oc sessions lists token usage
Session list CLI[unverified]✅ oc sessions

Checkpoints & rewind

The two tools differ most here. Per CheckpointScout, omp restores the conversation only. /branch, /rewind, /tree and the checkpoint / rewind tools never touch files. Requests for file restore were closed (#1359, #1549, #5289), and PR #11663 has not been merged. oc restores files from git snapshots that it takes before every prompt.

DoneFeatureompocNotes
Snapshot before every prompt❌ (only the third-party omp-undo-redo extension)➕ Private git store in ~/.oibre/checkpoints/<project>; your .git is never touchedWorks in directories that are not git repos.
Rewind the conversation/branch / Esc Esc, into a new session file, with an Undo toast✅ /rewind / Esc Esc; the prompt returns to the input box
Restore code and conversation / code only❌➕ Three choices: code + conversation, conversation only, code only
Undo a rewindUndo toast (conversation)✅ /undo reverts files and conversation
Per-turn file list❌➕ /checkpoints; a card lists every restored file
Agent-driven context checkpointcheckpoint / rewind tools (off by default)❌
Limits——oc does not restore ignored files, files over 10 MB, nested repos, or side effects outside the directory. Snapshots are pruned after 14 days.

Skills & context files

DoneFeatureompocNotes
SKILL.md formatname, description, hide, enabled, globs, alwaysApply, disable-model-invocation🟡 name, description, hide
Discovery~9 providers (.omp, .claude, .agent(s), .codex, .opencode, .github, plugins, skillshare, managed)🟡 .oibre/skills (walks up to the git root), ~/.oibre/skills, .agents/skills, .claude/skills
CollisionsNamespacing as <ns>/<name>🟡 The earlier source wins
Model sees name + description, reads on demandread skill://<name>✅ read skill://<name> and skill://<name>/<file>
User invocation/skill:<name> args, also mid-prompt✅ /skill:<name> [request]
Include/ignore filters, custom directoriesskills.* settings❌
Skill registry / install/skills search and install🟡URL/local install with session, folder, global scope; no registry search.
Context filesAGENTS.md, CLAUDE.md, GEMINI.md, copilot-instructions, .agent(s), .codex, .opencode; @path imports🟡 ~/.oibre/AGENTS.md plus every AGENTS.md / CLAUDE.md from the filesystem root to cwd
Rules (RULES.md, Cursor .mdc, Windsurf, Cline, applyTo)Yes❌
Time-traveling stream rules (TTSR)Yes❌

Custom commands & prompt templates

DoneFeatureompocNotes
Markdown file commands.omp/commands, ~/.omp/agent/commands, .claude, .codex, .agent(s), .opencode, plugins🟡 .oibre/commands, ~/.oibre/commands, .claude/commands
Frontmatterdescription, argument-hint, side, name🟡 description, argument-hint
Placeholders$1…, $@, $@[s:l], $ARGUMENTS, Handlebars {{args}}🟡 $1…$9, $@, $@[s:l], $ARGUMENTS; no Handlebars
Quote-aware args; append when no placeholderYes✅
dir:name namespacing for .claudeYes✅ /<dir>:x
Prompt templates (separate prompts/ loader).omp/prompts, ~/.omp/agent/prompts❌
TypeScript custom commandsCustomCommand.execute❌

Compaction

DoneFeatureompocNotes
Manual compaction/compact [mode] [focus]✅ /compact [focus]; the last two prompts stay verbatim
Automatic compactionOn overflow errors, length stops, threshold (window − reserve), mid-turn, idle❌
Methodssoft, remote, snapcompact (images), handoff, shake🟡 LLM summary only
Tool-output pruning before compactionProtects the newest 40k tokens❌
Transcript after compactionInline divider; Ctrl+O expands the summary🟡 Earlier output stays in terminal scrollback, followed by a one-line "Compacted N messages" noticeThe summary cannot be expanded. Checkpoints inside the summarized part can no longer rewind the conversation.

Extensibility

DoneFeatureompocNotes
Extensions (TypeScript modules: tools, commands, hotkeys, UI)Yes🟡TypeScript/JavaScript tools and commands, reload, project trust; no hotkey/UI API.
Hooks / session eventsYes (e.g. session_before_tree)❌
MCP servers/mcp; inherits .mcp.json✅stdio/HTTP/SSE, live tools, session/folder/global scope; repository files require trust.
Plugins / marketplace/plugins, /marketplace, /reload-plugins❌
Inherits other tools' configRules, skills, MCP from .claude, .cursor, .codex, …🟡 .claude and .agents skills, .claude/commands, CLAUDE.md

Modes

DoneFeatureompocNotes
Plan mode/plan, Alt+Shift+P✅Read-only tools, approval before implementation.
Vibe mode/vibe❌
Advisor (second model reviewing each turn)/advisor❌
Goal / loop/goal, /guided-goal, /loop❌
Magic keywords (ultrathink, orchestrate, …)Yes❌
Memory across sessionsmemory.backend❌

Integrations

DoneFeatureompocNotes
Node SDK@oh-my-pi/pi-coding-agent❌
RPC over stdio--mode rpc / rpc-ui❌
ACP (Zed, other editors)omp acp❌
Collab / live sessions/collab, omp join❌
Print mode for scripting-p✅ -p: answer on stdout, tool activity on stderr
Shell completionsbash, zsh, fish❌
omp commit (atomic commit splitting)Yes❌

Distribution

DoneFeatureompocNotes
Prebuilt binarieslinux, darwin, win32 × x64/arm64✅ macOS, Linux, and Windows x64/arm64 archives with SHA256SUMSLinux requires glibc; Windows builds have not been run on Windows locally.
Linux / WindowsYes✅ Linux and native Windows builds
Install script / Homebrew / Nix / miseYes🟡 Install scripts for macOS, Linux, and WindowsNo Homebrew, Nix, or mise package.
npm / bun global installbun install -g @oh-my-pi/pi-coding-agent🟡 From source: bun install && bun linkThe package is private.
Native addonRust N-API addon (~80k LoC)— Pure TypeScript; three runtime dependenciesBy design.
Signed / notarized[unverified]❌ Not notarized (README documents xattr)

Biggest gaps

Ranked by impact on everyday coding sessions:

  1. Automatic compaction. Long sessions currently fail once the context overflows. Approach: compact when tokens exceed window − max(15%, 16k) and retry once on overflow errors, reusing compactConversation.
  2. Subagent worktree isolation and structured results. task/wait now run parallel children, but they share the directory and return text. Isolated edits and schema-validated reports remain absent.
  3. Provider reach: native Anthropic/Gemini APIs, OAuth, fallback chains. Approach: a provider adapter interface beside the OpenAI-compatible one, starting with anthropic-messages; add fallback: ["p/m", …] per model, used on 429s and 5xx errors.
  4. Per-tool approvals outside plan mode. Plan mode now restricts tools and requires approval before implementation; normal-mode bash / write / edit still run without per-call approval.
  5. Linux and Windows builds. Implemented: x64 and ARM64 archives and installer scripts are published. Native Windows execution still requires verification on Windows.
  6. Session tree / branching. Approach: store messages with id / parentId, then add /tree to move the leaf; existing checkpoints map onto user-message ids.

Where oc goes beyond omp