Related problems
agent-toolchain-coexist— Agent 工具链全家桶能一起装吗?(17 工具 57 对实测兼容清单)oh-my-pi-1— 安装成功但 omp --version 报 SyntaxError(旧版 bun)oh-my-pi-2— 命令混淆:omp install 与 omp plugin installoh-my-pi-3— Windows/ARM release 二进制加载外部扩展失败oh-my-pi-4— 名称混淆:oh-my-pi(omp)vs pi-mono(pi)
No conflict-matrix pairs for this tool yet.
# Oh-My-Pi — Agent Guide
name: oh-my-pi | version_range: 18.0.11~18.0.11| generated: 2026-08-28
title_en: Oh-My-Pi - IDE-Native Coding Agent | desc_en: CLI + VS Code extension coding agent for Claude Code / Codex style workflows.
Preflight
note: Linux x86_64; no runtime dependencies.
uname -m
预期输出: see command output
Install
note: gh-proxy acceleration required in mainland China; single binary 183MB.
curl -sL -o omp https://gh-proxy.com/https://github.com/can1357/oh-my-pi/releases/download/v18.0.7/omp-linux-x64
chmod +x omp
./omp --version
预期输出: omp/18.0.7
Operations
View command surface
note: Verified in this environment.
omp --help
预期输出: USAGE + FLAGS(--model/--provider/--profile/--mode/--print 等)+ 环境变量面(OMP_PROFILE/PI_CODING_AGENT_DIR)+ 工具清单(read/bash/edit/write/task/browser 等)
Non-interactive single turn (--print)
note: Requires API key (ANTHROPIC_API_KEY etc.); not tested — no key.
omp --print "explain this repo in one sentence" --model gpt-5.2
预期输出: 模型回复(文本模式)
Unpack bundled subagents
note: Not tested — command from --help.
omp agents unpack
预期输出: 导出内置子代理到 ~/.omp/agent/agents(项目形态用 --project → ./.omp/agents)
Profile isolation (multi-project / multi-provider switching)
note: Creates shell alias omp-work isolating auth/sessions/settings/caches.
omp --profile work --alias omp-work
预期输出: 创建 shell 别名 omp-work(隔离 auth/sessions/settings/caches)
Uninstall
note: Remove single binary; ~/.omp dedicated dir auto-removed; project-level .omp/ manual.
rm -f /usr/local/bin/omp ~/.local/bin/omp
rm -rf ~/.omp
command -v omp >/dev/null 2>&1 && echo '残留: omp 仍存在' || echo 'oh-my-pi removed: OK'
预期输出: oh-my-pi removed: OK
Facts
writes: ~/.omp/ (logs, agents, auth/sessions/settings/caches) | runtime: single binary, Linux x86_64 | notes: coding sessions need API key (not tested); write surface ~/.omp/logs/ while running; gh-proxy needed for mainland China downloads
Source: oh-my-pi · validated 2026-08-31 · v18.0.11~18.0.11