nornzach/oh-my-pi-gui
Sobre
Desktop GUI for the omp coding agent: parallel sessions, visual tool calls, model/provider management, and usage analytics.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- +2
- em 7 dias
- +16
- em 15 dias
- +36
- em 1 mês
- +90
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalomp GUI
A desktop home for parallel coding agents.
让对话、代码与并行 Agent 工作尽在眼前。
English · 中文 · Releases / 下载
English
Keep the conversation, code changes, and agent activity in one place. Review a diff while another session works in its own Git worktree, compare two sessions in a split view, or open a tool-free Chat to think through an idea.
Built on omp, this Electron desktop app bundles its own agent: users of the DMG, NSIS, and portable packages do not need to install omp, Bun, or Node separately. It complements the TUI and shares the usual ~/.omp configuration and sessions.
Features · What's new in 1.3.1 · Gallery · Install · Shortcuts · Themes · Development · Help · Releasing
v1.3.1 bundles OMP Core 19.4.1. The gallery screenshots are from v1.1.0. Core source · Downloads and release notes

About the screenshots: these are real Electron GUI renders of a synthetic aurora-web project. Conversations, model lists, agent states, and metrics are scripted demonstration data—not actual provider benchmarks or account data. Captures use a fresh temporary HOME, Electron profile, and project with a synthetic sidecar, without live credentials or personal workspace content.
A workspace for the whole workflow
The distinctive part is not just a chat window: it is being able to separate parallel work, inspect what happened, and choose how the next step runs without losing the thread.
| Area | What you can do | Scope and useful limits |
|---|---|---|
| Independent sessions | Run as many tabs as you like, each with its own sidecar, session, and message queue (restored tabs start only when you open them); keep background work running and create fresh Git worktree tabs. | Separate session runtimes are not an OS security boundary. Git must be available for worktrees. |
| Split views & windows | Place two sessions side by side or stacked, resize the divider, and use multiple windows. Restore the open/active tab layout across restarts. | A split contains two panes, not an unlimited pane grid. |
| Projects & conversations | Start a session from a project in the sidebar, or open a standalone conversation under Recent. Add folders as projects and give them display names. | Project names are stored in the GUI. |
| Workspace files | Browse the directory tree alongside file tabs, edit text with ⌘S to save, and switch Markdown between source and preview. |
Supported Office files use macOS Quick Look. |
| Readable execution | Inspect diffs and Bash, read, grep, and task calls in dedicated renderers; follow streaming Markdown, highlighted code, collapsible thinking, math, Mermaid, and images. | Tool output remains inspectable alongside the conversation rather than being flattened into plain chat text. |
| Terminal & browser | The side panel's Terminal view opens shells in the project folder; agent commands that wait for input (pty: true) run there so you can answer them, the agent can read what your terminals show, and dev servers it starts get their own terminal you can watch or close. The Browser view is a full browser — address bar, several pages, DevTools — where the agent's browser tool opens and drives its pages (or works on the page you have open) so you can watch or take over; links in replies open there too (⌘-click for your default browser). |
Terminals and pages belong to their tab and close with it. Browser sign-ins persist and are shared by all tabs, so the agent's pages act as you. The agent still uses another browser when a call names one (app: "relay", a CDP URL or executable, or "own"/"webkit"/"chromium") or the relay or browser.cdpUrl is set. |
| Background coordination | Follow wait jobs, inspect proc:// task and service state, and review agent:// messages and process controls in compact structured cards. |
Coordination details stay bounded and expandable; legacy hub transcripts remain readable. |
| Plans, Todos & queues | Review plans and approvals, queue follow-up messages, and monitor bounded Todos/Agents dock cards. Expand a card for a focused full list. | Compact summaries keep large task lists from taking over the conversation. |
| Scheduled tasks | Turn a request into a recurring task or create one from the sidebar. Run in the selected folder or opt into a separate Git worktree for edits. Get a report, an optional shell check, a review queue and an insights page. | Runs happen only while omp is running; slots the computer slept through are recorded as missed, never replayed. Runs use the providers and credentials you configured. |
| Agent Hub | Manage agent definitions, enable/disable agents, set model and prewalk overrides, inspect progress/logs, abort work, and wake parked agents. | Available actions follow the agent's current state; role assignments and per-agent overrides serve different purposes. |
| Models & roles | Pick models by provider, assign models to roles, and adjust reasoning/thinking levels. | Reasoning controls appear only for models that support them. |
| Providers | Sign in, add/edit/remove custom providers, and fetch a model list from compatible OpenAI or Anthropic endpoints, then pick models and edit them before saving. | OAuth or API-key support depends on the provider; endpoint compatibility and advertised models vary. |
| Session library | Search history, explore session trees, branches and forks, organize labels, select sessions to archive or delete in bulk, find text in a conversation (⌘F), copy-import Claude/Codex sessions, export HTML, and preview sharing. | Copy import is not live synchronization with another app. Review content before exporting or sharing. |
| Context & live accounting | See the session at a glance in the drawer's Overview tab, break context down by category, and follow live cost/cache updates; retain measured context usage even when model capacity is unknown. | Measured usage and a model's maximum capacity are different facts. |
| Statistics & usage | Open a private local statistics dashboard and session metrics for requests, tokens, cost, cache, and speed; inspect provider usage/quotas. | Provider quotas depend on API/account availability. Local statistics are not a provider billing statement. |
| MCP | Manage servers, test connections, reconnect, and complete supported authentication flows. | External MCP executables/services still need installation and configuration. |
| Skills & plugins | Enable skills, edit managed skills, and manage plugins and marketplaces. | Managed-skill editing does not imply every discovered resource is editable. |
| Hooks & resources | Configure hooks and inspect templates, memory, and other discovered resources from settings. | Some hook changes take effect next session; templates and memory are mostly inspection surfaces. |
| SSH hosts | Configure hosts through the native SSH settings page. | /ssh list, /ssh add, and /ssh remove management commands remain disabled; OpenSSH and host access must be configured separately. |
| Commands & voice | Use a searchable palette for supported dialogs, menus, toggles, and argument prompts; dictate into the composer from the mic button, with words appearing as you speak (local or cloud speech models, chosen in the agent's dictation settings). | Some slash commands pass through to the agent or are unsupported. Dictation needs microphone permission and stt.enabled; local models download on first use, and cloud models need their provider's key. |
| Relay collaboration | Host or join a shared session with edit or read-only access. | Requires a configured relay service; it is not a purely local collaboration mode. |
| Settings & control | Configure GUI/runtime/tool behavior, switch between English, Chinese and Russian, choose a theme or make your own, and access approvals and security scans/settings. | Approvals and scans are not an OS sandbox; command coverage is not total CLI parity. |
Model requests still go to the providers you configure. The bundled agent removes the separate runtime install, not the need to configure credentials, project dependencies, external Git/OpenSSH/MCP tools, or optional services. Only connect tools and services you trust.
What's new in 1.3.1
Bundles OMP Core 19.4.1 and builds on omp Bots with Docker Bot Host preflight checks, auto-bootstrapped remote Chief orchestrator, multi-host saved server library, pruned model credential seeding, and zero macOS Keychain prompts on launch. Also adds a Default Model selector in Settings → Model with /models completion (#101), per-session Context Strategy & composer quick toggles with one-click reset (#99), and hardened fork/child session ordering and status (#94).

Explore the interface
Open a group for a closer look. All images in this section use the English interface and the synthetic showcase data described above.
Work across projects — workspace inspection and two-pane split
Keep files, diffs, and logs within reach, then place a second session beside the first without merging their runtimes.
| Workspace | Split view |
|---|---|
![]() |
![]() |
Keep the session in view — the Overview tab
The drawer's first tab gathers context use by category, the workspace, changed files, running subagents and MCP servers beside the conversation.

Choose your connection — models and providers
Browse the model picker and provider controls. The displayed model roster and account states are fixtures, not a live catalog or connected account.
| Models | Providers |
|---|---|
![]() |
![]() |
Delegate deliberately — model roles and Agent Hub
Assign models by role, then inspect agent definitions and task activity without losing the main conversation.
| Model roles | Agent Hub |
|---|---|
![]() |
![]() |
Hand off recurring work — scheduled tasks and insights
Each task keeps its schedule, access level and run history; Insights adds runs per day, success rate, cost by task and recent failures. The tasks and runs shown are scripted examples.
| Scheduled tasks | Insights |
|---|---|
![]() |
![]() |
See the numbers — local statistics and provider usage
Separate session analytics from provider-reported usage. The values below are scripted examples, not measured model performance, real spending, or account quotas.
| Local statistics | Usage |
|---|---|
![]() |
![]() |
Understand and tune — context and settings
Inspect what a session is carrying, then configure the runtime and GUI from the settings window.
| Context | Settings |
|---|---|
![]() |
![]() |
Find the next action — command palette
Search with ⌘K. Supported commands lead to native controls; pass-through and unavailable commands should not be mistaken for complete GUI coverage of the CLI.

Make it yours — fetch models and the theme editor
Pull a model list from a compatible endpoint, pick what you want and edit rows before saving; build a theme from a few colors with a live preview. The endpoint and models shown are scripted examples.
| Fetch models | Theme editor |
|---|---|
![]() |
![]() |
Beyond the transcript — voice, collaboration and the debugger
Talk to the agent, share a session over a relay, and work through a debug session. The transcript, participants and debug sessions shown are scripted examples; no call, relay or debugger is running.
| Live voice | Collaboration |
|---|---|
![]() |
![]() |

Install & start
Download omp v1.3.1 for your platform. Release notes and all downloads
| Mac | v1.3.1 download |
|---|---|
| Apple Silicon | omp-1.3.1-arm64.dmg |
| Intel | omp-1.3.1.dmg |
| Windows x64 | v1.3.1 download |
|---|---|
| Installer | omp-1.3.1-setup.exe |
| Portable | omp-1.3.1-portable.exe |
| Linux x64 | v1.3.1 download |
|---|---|
| AppImage | omp-1.3.1.AppImage |
| Debian/Ubuntu | omp_1.3.1_amd64.deb |
| Fedora | RPM |
Open the DMG and drag omp into Applications. The app and bundled macOS sidecar are ad-hoc signed but not notarized. If macOS blocks the first launch, use right-click → Open, or System Settings → Privacy & Security → Open Anyway, after confirming the download's source.
Windows packages are currently unsigned. Windows SmartScreen may require More info → Run anyway on first launch after confirming the download's source.
- Connect a provider: open Providers & login from the sidebar and use the authentication method it supports.
- Choose your work: open a project Agent tab with
⌘T, or a tool-free Chat with⇧⌘T; select an available model. - Start a conversation: enter a request. Use
⌘Nwhen you want a new session, and inspect tool calls and approvals as work proceeds. - Go parallel:
⌥Tcreates a fresh worktree tab. Use the tab context menu or drag a tab into the workspace for a two-pane split. - Find and revisit:
⌘Kopens commands;⌘Psearches session history.
Keyboard shortcuts
| Shortcut | Action |
|---|---|
⌘T |
New Agent tab |
⇧⌘T |
New tool-free Chat tab |
⌥T |
Fresh Git worktree tab |
⌘N |
New session |
⌘K |
Command palette |
⇧⌘F |
Search conversations |
⌘, |
Settings |
⌘B / ⌘J |
Toggle sidebars |
⌘1–⌘9 |
Select a tab (⌘9 the last) |
⌃Tab / ⌃⇧Tab |
Next / previous tab |
⌥⇧⌘← / ⌥⇧⌘→ |
Move the current tab |
Esc |
Context-dependent close or abort; not an unconditional abort shortcut |
⌘/ |
List every shortcut |
⇧⌘O |
Show or hide the omp window, from any app |
Change or turn off any of these in Settings → Keyboard shortcuts. Off macOS, ⌘ in a default is Ctrl.
Custom themes
Make one in the app. Open the theme picker and click New theme. Give any part of the window a color — background, text, accent, sidebar, title bar, borders, your messages, or the success, warning, error and info colors — and the rest of the theme follows: hover and selection shades, links, diff and syntax colors, buttons and secondary text are worked out from your picks, and text the editor derives stays readable. Generate from accent tints the background, text, sidebar, title bar, borders and your messages with the accent color. The preview updates as you pick, a warning marks a color that is hard to read on, and Save theme writes the theme to ~/.omp/gui/themes and applies it. The pencil beside a custom theme in the picker opens it again to change or delete it; a deleted theme goes to the trash.
Or write the file yourself. Add .json files to ~/.omp/gui/themes (Open folder at the bottom of the theme picker creates and opens it). Each file shows up under Custom themes in the picker, and edits apply while the app runs. A theme starts from a built-in one and overrides the colors you list:
{
"name": "Midnight",
"description": "Deep navy with a violet accent.",
"extends": "dark",
"tokens": {
"accent": "#c792ea",
"bg-primary": "#13151f",
"sidebar-bg": "#0f111a",
"titlebar-bg": "#0f111a"
}
}
| Field | Meaning |
|---|---|
name, description |
Shown in the picker; name defaults to the file name. |
extends |
Built-in theme to start from: dark, light, titanium, nord, solarized, paper, dawn, latte, gruvbox, frost, matcha, rosePine. Defaults to dark, or light when scheme is light. |
scheme |
dark or light, for native controls and diagrams. Defaults to the base theme's. |
tokens |
Any of the GUI's color tokens, with or without the --omp- prefix; the full list is THEME_TOKEN_KEYS in src/renderer/lib/themes.ts. |
Values are hex colors, rgb()/hsl()/oklch()-style colors, color-mix(), transparent, or var(--omp-…) references to another token; the shadow-* tokens take box shadows. An unknown name or any other value is skipped and listed under the theme in the picker, and the rest of the theme still applies. Files are plain JSON, without comments or trailing commas; a file that doesn't parse is listed in the picker with its error, and while it is broken a theme already on screen keeps its last working version. Charts use the theme's colors; diagrams follow only its light or dark scheme. With Follow the current task's terminal palette on (Settings → GUI), the agent's theme still recolors the conversation on top.
Development
Build, test, and reproduce the showcase — DMG users do not need these steps
Repository boundaries
This is a separate repository nested inside a monorepo, not an ordinary monorepo package:
omp-monorepo/ # nornzach/oh-my-pi: fork and sidecar build source
├── .git/
├── packages/coding-agent/
├── packages/natives/
└── packages/gui/ # nornzach/oh-my-pi-gui: this product repository
├── .git/
├── src/
└── resources/omp* # ignored, locally built sidecars
| Repository | Responsibility |
|---|---|
nornzach/oh-my-pi-gui |
GUI code, commits, tags, and releases. GUI work goes to this repository's origin/main. |
nornzach/oh-my-pi |
Enclosing monorepo fork: agent source, upstream sync, and sidecar builds. Agent changes are committed here and pushed to its origin. |
can1357/oh-my-pi |
Upstream feature source, fetched through the monorepo's upstream remote. Never push here. |
Never stage packages/gui/ into the monorepo: its untracked status there is intentional. Git commands inside packages/gui/ act on the GUI repository; run monorepo Git commands at the monorepo root. Read AGENTS.md before making changes.
Build from source
Prerequisites: Git and Bun ≥ 1.4. macOS is required for the macOS sidecar and DMG commands; Windows x64 and Linux x64 (AppImage/deb) can be cross-built — Linux packages build natively on Ubuntu via bun run package:linux (or CI: .github/workflows/release-linux.yml); Windows x64 packages build natively via bun run package:win (or CI: .github/workflows/release-windows.yml).
# Clone the monorepo fork, then nest the GUI repository inside it.
git clone https://github.com/nornzach/oh-my-pi.git omp-monorepo
cd omp-monorepo
git remote add upstream https://github.com/can1357/oh-my-pi.git
bun install
git clone https://github.com/nornzach/oh-my-pi-gui.git packages/gui
cd packages/gui
bun install
For a build of a specific GUI revision, check out the monorepo repository and commit from that revision's sidecar-source.json before installing dependencies and building the sidecar. The Linux and Windows release workflows use both fields automatically and accept only the nornzach/oh-my-pi repository.
Run the following from packages/gui/:
bun run build # main + preload + renderer -> out/
bun run build:omp # arm64 host -> resources/omp
bun run build:omp:x64 # Intel -> resources/omp.x64
bun run package:mac:arm64 -- --publish never # dist/omp-<version>-arm64.dmg
bun run package:mac:x64 -- --publish never # dist/omp-<version>.dmg
bun run build:omp:win # Windows x64 -> resources/omp.exe
bun run package:win -- --publish never # Windows NSIS + portable installers
# On a Linux host only:
bun run build:omp # linux-x64 host -> resources/omp
bun run package:linux -- --publish never # AppImage + deb + latest-linux.yml
build:omp compiles the neighboring monorepo agent source and embeds the native addon. It stages the matching pi_natives version, downloads the published package when needed, replaces stale addons, and restores temporary staging afterwards. Sidecars at resources/omp* are ignored build artifacts: never commit them.
Packaging rebuilds the Electron app, not the agent sidecar. Re-run the matching build:omp* after agent/RPC changes or upstream updates. The arm64 config uses resources/omp; the Intel config uses resources/omp.x64. Always use package:mac:x64 for Intel—using the default config can package the wrong architecture.
The Windows configuration targets x64 and bundles resources/omp.exe. It produces an NSIS installer and a portable executable. Windows packages are currently unsigned; production distribution should add a Windows code-signing certificate before treating SmartScreen warnings as resolved.
A standalone GUI clone cannot compile the sidecar. It must occupy packages/gui/ in the layout above. For artifact assembly without monorepo sources, supply trusted, compatible prebuilt sidecars at resources/omp and/or resources/omp.x64, then run build and the matching packaging command. A packaged app uses its bundled agent; installing a system omp is not a fallback for a missing sidecar.
Daily development
bun run dev # HMR, using resources/omp
OMP_SIDECAR=source bun run dev # explicit dev override: monorepo agent source
bun run test # GUI tests
bun run check # surface policy, Biome, and type checks
bun run build # production GUI build and main-bundle check
Changes to agent/RPC code belong in the monorepo. Run bun run check:protocol against the adjacent Core checkout and rebuild the bundled sidecar before validating a packaged GUI.
Reproduce the screenshots
From the GUI repository, after installing its dependencies:
bun run build
bun scripts/capture-showcase.ts
The capture script renders the actual Electron GUI using a fresh temporary HOME, Electron profile, synthetic aurora-web project, and synthetic sidecar—no live credentials or personal workspace are used. It writes localized showcase images to docs/screenshots/en/ and docs/screenshots/zh/, then cuts the landing page's images into site/assets/ (this step needs cwebp). macOS draws the window controls outside the page, so the script draws them in where the app places them. Scripted conversations, model lists, agent states, and metrics make the scenes reproducible; they are not provider tests or real usage records. This fixture setup is not an OS sandbox.
Troubleshooting
| Symptom | What to check |
|---|---|
| macOS blocks the first launch | Confirm the download came from the release page, then right-click → Open or use Privacy & Security → Open Anyway. The app and bundled sidecar are ad-hoc signed, not notarized. |
| Windows SmartScreen blocks the first launch | Confirm the download came from the release page, then choose More info → Run anyway. The Windows package is currently unsigned. |
| A screenshot shows something absent from the installed app | The showcase is captured from v1.1.0. Check the installed version and its release notes; earlier releases may not include these improvements. |
Built-in omp not found |
In a source checkout, build the sidecar or supply a compatible prebuilt one. In an installed app, reinstall the correct official DMG; a separate system omp will not fix a missing bundle resource. |
build:omp cannot find the monorepo |
Put the GUI checkout at the monorepo's packages/gui/, alongside packages/coding-agent/ and packages/natives/. |
replacing stale addon … version sentinel ≠ … |
Informational: the builder detected and replaced a mismatched native addon. |
| Native addon download fails | Check registry access and whether that version is published. If necessary, from the monorepo root run bun --cwd=packages/natives run build with the required Rust toolchain, then rebuild the sidecar. |
| Intel sidecar exits immediately | Check the sidecar architecture and package with bun run package:mac:x64, not the default config. |
| A command or integration is unavailable | Some slash commands pass through or are unsupported. Configure external services/tools separately; use SSH settings rather than the disabled /ssh management commands. |
Release process (maintainers)
Canonical procedure: the Release Runbook in AGENTS.md
Follow the Release Runbook: sync Core, verify the full fork commit in the GUI tag, then validate and upload both macOS builds. Publishing starts the Windows and Linux workflows. Check the completed runs, installers, and updater feeds for all three platforms.
Releases belong only to nornzach/oh-my-pi-gui. Never commit sidecar binaries; never push to upstream.
中文
把对话、代码变更与 Agent 执行状态放在同一视野中。一边审查 diff,一边让另一段会话在独立 Git worktree 中推进任务;需要对照时打开双会话分屏,只想讨论思路时则切换到无工具 Chat。
这是基于 omp 的 Electron 桌面应用,内置 Agent 二进制:通过 DMG、NSIS 或便携版安装的用户无需另装 omp、Bun 或 Node。 GUI 与 TUI 互补,共享常规的 ~/.omp 配置与会话。
功能全览 · 1.3.1 更新内容 · 界面导览 · 安装 · 快捷键 · 主题 · 开发 · 常见问题 · 发布

**截图说明:**所有截图均为真实 Electron GUI 渲染,展示合成的 aurora-web 项目。对话、模型列表、Agent 状态与统计数值均由脚本构造,不是实际 Provider 基准测试或账号数据。截图使用全新的临时 HOME、Electron 配置目录、项目及合成 sidecar,不使用真实凭据或个人工作区内容。
覆盖完整工作流,而不只是聊天
这里的重点是:让并行任务各有空间,让执行过程可以检查,让下一步如何运行由你掌握,同时不打断当前思路。
| 领域 | 可以怎样使用 | 范围与边界 |
|---|---|---|
| 独立会话 | 标签页数量不限,各自拥有 sidecar、会话和消息队列(恢复的标签页在打开时才启动);后台任务可继续运行,也可新建 Git worktree 标签页。 | 独立会话运行时不是操作系统安全边界;worktree 需要可用的 Git。 |
| 分屏与多窗口 | 两段会话可左右或上下排列,分隔条可调整,也可使用多个窗口;重启后恢复已打开及选中的标签布局。 | 每个分屏为双面板,不是无限面板网格。 |
| 项目与会话 | 从侧边栏的项目新建会话,或开启独立会话并从「最近」找到它。可添加项目文件夹并设置显示名称。 | 项目名称保存在 GUI 中。 |
| 工作区文件 | 同时浏览目录树和文件标签页,编辑文本后按 ⌘S 保存,并可在 Markdown 原文和预览间切换。 |
部分 Office 格式使用 macOS 快速查看。 |
| 可读的执行过程 | 专用视图呈现 diff、Bash、read、grep、task;支持流式 Markdown、代码高亮、可折叠思考块、公式、Mermaid 与图片。 | 工具输出可在对话旁直接检查,而不是全部压成普通聊天文本。 |
| 终端与浏览器 | 侧边面板的 终端 视图在项目目录中打开 shell;需要输入的 Agent 命令(pty: true)也在这里运行,由你直接作答;Agent 能读取你终端里显示的内容,它启动的开发服务器会有独立的终端,你可以旁观或关闭。浏览器 视图是完整的浏览器——地址栏、多个页面、DevTools——Agent 的 browser 工具在这里打开并操作页面(也可以直接使用你已打开的页面),你可以旁观或随时接手;回复中的链接也在这里打开(⌘ 点击则用默认浏览器打开)。 |
终端与页面属于各自的标签页,随标签页关闭。浏览器登录状态会保留并由所有标签页共享,因此 Agent 的页面以你的身份操作。调用明确指定其他浏览器(app: "relay"、CDP 地址或可执行文件路径,或 "own"/"webkit"/"chromium"),或启用了 relay、设置了 browser.cdpUrl 时,Agent 仍使用对应的浏览器。 |
| 后台协作状态 | wait 任务、proc:// 进程与服务状态、agent:// 消息及进程控制操作均以紧凑结构化卡片呈现。 |
详情保持有边界并可展开;历史 hub 记录仍可正常阅读。 |
| 计划、待办与队列 | 审查计划与审批、排队发送后续消息,通过有高度约束的 Todos/Agents Dock 卡片查看状态;展开单张卡片查看完整列表。 | 大量任务以紧凑摘要呈现,不占满对话区域。 |
| 定时任务 | 把一句请求变成周期任务,或在侧边栏新建。任务可直接在所选目录运行,也可以为编辑任务启用独立 Git 工作树,附带报告、可选的 shell 检查、审查队列与分析页。 | 只有 omp 运行时才会执行;电脑休眠错过的时段记为错过,不会补跑。运行使用你配置的 Provider 与凭据。 |
| Agent Hub | 管理 Agent 定义、启用/停用、覆盖模型与 prewalk 设置,查看进度和日志、中止任务、唤醒已停驻的 Agent。 | 可用操作取决于 Agent 当前状态;角色模型分配与单个 Agent 覆盖是不同层次的控制。 |
| 模型与角色 | 按 Provider 选择模型,为不同角色分配模型,调整推理/思考等级。 | 只有支持的模型才提供推理等级控制。 |
| Provider 管理 | 登录,新增/编辑/删除自定义 Provider,从兼容 OpenAI 或 Anthropic 的端点获取模型列表,挑选并修改后再保存。 | OAuth 或 API key 支持取决于 Provider;端点兼容程度与返回的模型列表可能不同。 |
| 会话资料库 | 搜索历史、查看会话树、分支与分叉、管理标签,批量选择会话以归档或删除,在对话中查找文字(⌘F),复制导入 Claude/Codex 会话、导出 HTML、预览分享内容。 | 复制导入不是与其他应用实时同步;导出或分享前请检查内容。 |
| 上下文与实时计量 | 在抽屉的概览标签页一眼看清会话,按类别拆分上下文用量,跟踪实时花费/缓存变化;即使模型容量未知,仍可查看已测得的上下文用量。 | 已测用量与模型最大容量是两件事,不应混为一谈。 |
| 统计与用量 | 内置私有、本地运行的统计仪表盘,查看请求、token、花费、缓存、速度及会话指标,也可查看 Provider 用量/配额。 | 配额信息取决于 API 与账号可用性;本地统计不等于 Provider 账单。 |
| MCP | 管理服务、测试连接、重连,并完成受支持的认证流程。 | 外部 MCP 可执行程序或服务仍需自行安装和配置。 |
| Skills 与插件 | 启用技能、编辑受管理的技能,管理插件与市场。 | 支持编辑受管理技能,不代表所有发现的资源都能编辑。 |
| Hooks 与资源 | 在设置中配置 hooks,查看模板、记忆及其他已发现资源。 | 部分 hook 改动到下一段会话才生效;模板与记忆主要提供检查视图。 |
| SSH 主机 | 通过原生 SSH 设置页面配置主机。 | /ssh list、/ssh add、/ssh remove 管理命令仍停用;OpenSSH 与主机访问需另行配置。 |
| 命令与语音 | 可搜索命令面板提供受支持的对话框、菜单、开关与参数输入;点击输入框旁的麦克风即可语音输入,边说边出字(本地或云端语音模型,在 Agent 的听写设置中选择)。 | 部分 slash 命令转交 Agent 或尚不支持;语音输入需要麦克风权限并开启 stt.enabled;本地模型首次使用时下载,云端模型需要对应服务的密钥。 |
| Relay 协作 | 主持或加入共享会话,使用可编辑或只读权限。 | 需要已配置的 relay 服务,并非纯本地协作模式。 |
| 设置与控制 | 配置 GUI、运行时和工具行为,切换中文、英文或俄文,选择或自建主题,使用审批及安全扫描/设置入口。 | 审批与扫描不是操作系统沙箱;GUI 命令覆盖不等于完整 CLI 功能对齐。 |
模型请求仍会发送到你配置的 Provider。内置 Agent 省去了单独安装运行时的步骤,但不替你配置凭据、项目依赖、外部 Git/OpenSSH/MCP 工具或可选服务。请只连接你信任的工具与服务。
1.3.1 更新内容
内置 OMP Core 19.4.1,全面升级 omp Bots Docker 宿主体验(支持部署前环境检查、远程主机自动创建主调度 Bot Chief、多服务器入库管理、容器内模型凭据与配置自动同步,以及彻底移除 macOS 启动钥匙串密码弹窗);同时在「设置 → 模型」新增默认模型与思考等级选择器及 /models 补全直达(#101),上下文压缩策略栏与输入框快捷开关支持会话级生效与一键恢复默认(#99),并彻底加固分叉/子会话排序与状态判定(#94)。

界面导览
展开感兴趣的分组即可查看。本节图片全部使用中文界面,以及上文说明的合成展示数据。
跨项目推进 — 工作区检查与双面板分屏
文件、diff 与日志随手可查;把另一段会话放在旁边,也不会合并两者的运行时。
| 工作区 | 分屏 |
|---|---|
![]() |
![]() |
会话一览 — 概览标签页
抽屉的第一个标签页把按类别统计的上下文占用、工作区、改动文件、运行中的子 Agent 与 MCP 服务器放在对话旁边。

选择连接方式 — 模型与 Provider
浏览模型选择器与 Provider 控制。画面中的模型列表和账号状态均为预设数据,不是实时目录或已连接的真实账号。
| 模型 | Provider |
|---|---|
![]() |
![]() |
明确分工 — 模型角色与 Agent Hub
按角色分配模型,再查看 Agent 定义与任务状态,无需离开主对话的工作脉络。
| 模型角色 | Agent Hub |
|---|---|
![]() |
![]() |
交出重复工作 — 定时任务与分析
每个任务保留自己的计划、访问权限和运行记录;分析页汇总每日运行、成功率、各任务成本和最近的失败。画面中的任务与运行记录均由脚本构造。
| 定时任务 | 分析 |
|---|---|
![]() |
![]() |
看清数值 — 本地统计与 Provider 用量
区分会话分析和 Provider 报告的用量。以下数值为脚本示例,不是实测模型性能、真实消费或账号配额。
| 本地统计 | 用量 |
|---|---|
![]() |
![]() |
理解并调整 — 上下文与设置
检查当前会话携带的上下文,再通过设置窗口调整运行时与 GUI。
| 上下文 | 设置 |
|---|---|
![]() |
![]() |
找到下一步 — 命令面板
通过 ⌘K 搜索操作。受支持命令会打开原生控件;转交 Agent 或不可用的命令不应被理解为 CLI 已被完整图形化。

按你的方式配置 — 获取模型与主题编辑器
从兼容的端点拉取模型列表,挑选后逐行修改再保存;选几种颜色即可实时预览并生成主题。图中的端点和模型均为脚本构造的示例。
| 获取模型 | 主题编辑器 |
|---|---|
![]() |
![]() |
不止对话 — 语音、协作与调试器
与 Agent 语音对话,通过中继共享会话,并处理调试会话。图中的转写、参与者和调试会话均为脚本构造的示例;并没有真实的通话、中继或调试器在运行。
| 实时语音 | 协作 |
|---|---|
![]() |
![]() |

安装与开始使用
按平台下载 omp v1.3.1。 发布说明与全部下载
| Mac | v1.3.1 下载 |
|---|---|
| Apple Silicon | omp-1.3.1-arm64.dmg |
| Intel | omp-1.3.1.dmg |
| Windows x64 | v1.3.1 下载 |
|---|---|
| 安装程序 | omp-1.3.1-setup.exe |
| 便携版 | omp-1.3.1-portable.exe |
| Linux x64 | v1.3.1 下载 |
|---|---|
| AppImage | omp-1.3.1.AppImage |
| Debian/Ubuntu | omp_1.3.1_amd64.deb |
| Fedora | RPM |
打开 DMG,把 omp 拖入应用程序。应用与内置 macOS sidecar 均采用 ad-hoc 签名,未经公证。如果 macOS 拦截首次启动,请先确认下载来源,再使用右键 → 打开,或系统设置 → 隐私与安全性 → 仍要打开。
Windows 包当前未签名。首次启动前请确认下载来源;Windows SmartScreen 可能需要点击更多信息 → 仍要运行。
- 连接 Provider:从侧栏打开提供商与登录,使用该服务支持的认证方式。
- 选择工作方式:
⌘T新建项目 Agent 标签页,或⇧⌘T打开无工具 Chat;选择可用模型。 - **开始对话:**输入请求。需要新会话时使用
⌘N,执行过程中检查工具调用并处理审批。 - 并行推进:
⌥T新建 worktree 标签页;使用标签右键菜单,或把标签拖入工作区,打开双面板分屏。 - 查找与回顾:
⌘K浏览命令,⌘P搜索会话历史。
快捷键
| 快捷键 | 操作 |
|---|---|
⌘T |
新建 Agent 标签页 |
⇧⌘T |
新建无工具 Chat 标签页 |
⌥T |
新建 Git worktree 标签页 |
⌘N |
新建会话 |
⌘K |
命令面板 |
⇧⌘F |
搜索对话 |
⌘, |
设置 |
⌘B / ⌘J |
切换侧栏 |
⌘1–⌘9 |
选中标签页(⌘9 为最后一个) |
⌃Tab / ⌃⇧Tab |
下一个 / 上一个标签页 |
⌥⇧⌘← / ⌥⇧⌘→ |
移动当前标签页 |
Esc |
按当前上下文关闭界面或中止执行,不是无条件中止快捷键 |
⌘/ |
列出全部快捷键 |
⇧⌘O |
在任何应用中显示或隐藏 omp 窗口 |
可在设置 → 键盘快捷键中修改或关闭上述任一快捷键。在 macOS 以外的系统上,默认按键中的 ⌘ 对应 Ctrl。
自定义主题
在应用里制作。 打开主题选择器,点击新建主题。为窗口的任意部分选一个颜色——背景、文字、强调色、侧边栏、标题栏、边框、你的消息,或成功、警告、错误、信息色——主题的其余部分会随之生成:悬停与选中色、链接、差异与语法高亮、按钮和次要文字都根据你的选择推算,推算出的文字保持清晰可读。根据强调色生成会用强调色为背景、文字、侧边栏、标题栏、边框和你的消息着色。预览随选择实时更新,不易阅读的颜色会给出提示,保存主题会把主题写入 ~/.omp/gui/themes 并立即应用。选择器中自定义主题旁的铅笔按钮可再次打开它进行修改或删除;删除的主题会移到废纸篓。
或者手写文件。 在 ~/.omp/gui/themes 中放入 .json 文件(主题选择器底部的打开文件夹会创建并打开该目录)。每个文件都会出现在选择器的自定义主题分组中,应用运行时修改文件也会立即生效。主题以某个内置主题为基础,只覆盖你列出的颜色:
{
"name": "Midnight",
"description": "Deep navy with a violet accent.",
"extends": "dark",
"tokens": {
"accent": "#c792ea",
"bg-primary": "#13151f",
"sidebar-bg": "#0f111a",
"titlebar-bg": "#0f111a"
}
}
| 字段 | 含义 |
|---|---|
name、description |
显示在选择器中;name 默认为文件名。 |
extends |
作为基础的内置主题:dark、light、titanium、nord、solarized、paper、dawn、latte、gruvbox、frost、matcha、rosePine。默认为 dark;scheme 为 light 时默认为 light。 |
scheme |
dark 或 light,用于系统控件和流程图。默认沿用基础主题。 |
tokens |
GUI 的任意颜色 token,可带或不带 --omp- 前缀;完整列表见 src/renderer/lib/themes.ts 中的 THEME_TOKEN_KEYS。 |
取值可以是十六进制颜色、rgb()/hsl()/oklch() 等颜色函数、color-mix()、transparent,或引用其他 token 的 var(--omp-…);shadow-* token 使用 box-shadow 写法。未知的 token 名或其他取值会被跳过并在选择器中列出,主题的其余部分照常生效。文件须为标准 JSON,不能有注释或末尾逗号;无法解析的文件会连同错误信息列在选择器中,文件损坏期间,正在使用的主题保留上一次可用的版本。图表使用主题的颜色;流程图只跟随主题的浅色/深色方案。开启跟随当前任务的终端配色(设置 → 界面)时,Agent 主题仍会在其上为对话区域重新着色。
开发
构建、测试与复现展示截图 — DMG 用户无需执行这些步骤
仓库边界
这是嵌套在 monorepo 内的独立仓库,不是普通的 monorepo 包:
omp-monorepo/ # nornzach/oh-my-pi:fork 与 sidecar 构建源
├── .git/
├── packages/coding-agent/
├── packages/natives/
└── packages/gui/ # nornzach/oh-my-pi-gui:本产品仓库
├── .git/
├── src/
└── resources/omp* # 本地构建、不入库的 sidecar
| 仓库 | 职责 |
|---|---|
nornzach/oh-my-pi-gui |
GUI 代码、提交、标签与发布;GUI 工作推送到本仓库的 origin/main。 |
nornzach/oh-my-pi |
外层 monorepo fork:提供 Agent 源码、同步上游与构建 sidecar;Agent 改动在这里提交并推送到它的 origin。 |
can1357/oh-my-pi |
上游功能来源,通过 monorepo 的 upstream 拉取;绝不向其推送。 |
不要把 packages/gui/ 暂存到 monorepo;它在外层显示为未跟踪是刻意的安排。在 packages/gui/ 中运行 Git 命令操作的是 GUI 仓库;monorepo Git 命令应在 monorepo 根目录运行。修改前请阅读 AGENTS.md。
从源码构建
**前置条件:**Git、Bun ≥ 1.4。macOS sidecar 与 DMG 命令需要 macOS;Windows x64 sidecar 可以在 macOS 或 Linux 上交叉构建,但仍需相邻的 monorepo。Windows 安装包可在 Windows 上用 bun run package:win 构建,或由 CI(.github/workflows/release-windows.yml)在发布时自动构建并附加。
# 克隆 monorepo fork,再将 GUI 仓库嵌套其中。
git clone https://github.com/nornzach/oh-my-pi.git omp-monorepo
cd omp-monorepo
git remote add upstream https://github.com/can1357/oh-my-pi.git
bun install
git clone https://github.com/nornzach/oh-my-pi-gui.git packages/gui
cd packages/gui
bun install
要复现某个 GUI 版本的打包结果,请先查阅该版本的 sidecar-source.json,在外层 monorepo 检出记录的仓库和提交,再安装依赖并编译 sidecar。Linux 和 Windows 发布流程会自动读取这两个字段,且只接受 nornzach/oh-my-pi 仓库。
在 packages/gui/ 下执行:
bun run build # 主进程 + preload + 渲染层 -> out/
bun run build:omp # arm64 宿主 -> resources/omp
bun run build:omp:x64 # Intel -> resources/omp.x64
bun run package:mac:arm64 -- --publish never # dist/omp-<版本>-arm64.dmg
bun run package:mac:x64 -- --publish never # dist/omp-<版本>.dmg
bun run build:omp:win # Windows x64 -> resources/omp.exe
bun run package:win -- --publish never # Windows NSIS + portable 安装包
build:omp 编译相邻的 monorepo Agent 源码并嵌入原生插件。它会准备匹配版本的 pi_natives,需要时下载已发布的包,替换旧插件,并在结束后还原临时准备的文件。resources/omp* 是被忽略的构建产物,绝不能提交入库。
打包会重新构建 Electron 应用,不会重新构建 Agent sidecar。Agent/RPC 源码或上游更新后,先运行匹配的 build:omp*。arm64 配置使用 resources/omp,Intel 配置使用 resources/omp.x64。Intel 必须使用 package:mac:x64,默认配置可能装入错误架构。
Windows 配置目标为 x64,并将 resources/omp.exe 放入应用包;它会生成 NSIS 安装程序与便携版可执行文件。Windows 包当前未签名,正式分发前应配置 Windows 代码签名证书。
**单独克隆 GUI 仓库无法编译 sidecar。**它必须位于上述结构的 packages/gui/。如仅组装产物、没有 monorepo 源码,可在 resources/omp 和/或 resources/omp.x64 放入可信且兼容的预编译 sidecar,再执行 build 与对应的打包命令。已打包应用使用内置 Agent;另装系统 omp 不能替代缺失的 sidecar。
日常开发
bun run dev # HMR,使用 resources/omp
OMP_SIDECAR=source bun run dev # 显式开发覆盖:使用 monorepo Agent 源码
bun run test # GUI 测试
bun run check # 界面样式规则、Biome 和类型检查
bun run build # GUI 生产构建与主进程 bundle 检查
Agent/RPC 改动归属 monorepo。验证打包 GUI 前,先用 bun run check:protocol 对照相邻的 Core 检出检查协议,再重建内置 sidecar。
复现截图
在 GUI 仓库安装依赖后运行:
bun run build
bun scripts/capture-showcase.ts
截图脚本使用全新的临时 HOME、Electron 配置目录、合成 aurora-web 项目与合成 sidecar,渲染真实 Electron GUI,不使用真实凭据或个人工作区。本地化图片输出到 docs/screenshots/en/ 与 docs/screenshots/zh/,再把官网所用图片生成到 site/assets/(这一步需要 cwebp)。macOS 的窗口控制按钮不在页面内,脚本会按应用设定的位置把它们画上去。对话、模型列表、Agent 状态和指标由脚本构造,便于复现;它们不是 Provider 测试或真实使用记录。这套展示数据环境不是操作系统沙箱。
常见问题
| 现象 | 检查方式 |
|---|---|
| macOS 拦截首次启动 | 确认来自发布页后,右键 → 打开,或通过隐私与安全性 → 仍要打开。应用与内置 sidecar 均为 ad-hoc 签名,未经公证。 |
| Windows SmartScreen 拦截首次启动 | 确认来自发布页后,点击更多信息 → 仍要运行。Windows 包当前未签名。 |
| 截图中的功能在已安装应用中不存在 | 本展示截图取自 v1.1.0;请检查已安装版本及其发布说明,较早版本可能不包含这些改进。 |
Built-in omp not found |
源码检出中需构建或放入兼容 sidecar;已安装应用请重新安装正确的官方 DMG。另装系统 omp 无法补齐包内资源。 |
build:omp 找不到 monorepo |
将 GUI 放在 monorepo 的 packages/gui/,与 packages/coding-agent/、packages/natives/ 同级。 |
replacing stale addon … version sentinel ≠ … |
提示信息:构建器发现并替换了版本不匹配的原生插件。 |
| 原生插件下载失败 | 检查 registry 访问及该版本是否已发布。必要时安装所需 Rust 工具链,在 monorepo 根目录运行 bun --cwd=packages/natives run build,然后重建 sidecar。 |
| Intel sidecar 立即退出 | 检查 sidecar 架构,并使用 bun run package:mac:x64 打包,不要使用默认配置。 |
| 命令或集成不可用 | 部分 slash 命令转交 Agent 或尚未支持。外部工具和服务需另行配置;SSH 管理使用设置页面,而非已停用的 /ssh 管理命令。 |
发布流程(维护者)
标准流程:AGENTS.md 中的 Release Runbook
按 Release Runbook 同步 Core,核对 GUI 标签固定的完整 fork 提交,再验证并上传两种架构的 macOS 安装包。发布会启动 Windows 和 Linux 工作流;两者成功后,从 GitHub 核对三平台的安装包和更新元数据。
发布只属于 nornzach/oh-my-pi-gui。绝不提交 sidecar 二进制,也不向 upstream 推送。
Explore projetos relacionados
Carregando…































