# Oh My Opencode — Turn OpenCode into a Multi-Agent System with 7 Specialized Agents

> Source: <https://dev.to/sarantoon/oh-my-opencode-turn-opencode-into-a-multi-agent-system-with-7-specialized-agents-1flm>
> Published: 2026-07-25 05:40:56+00:00

*โดย Nokka (นก-กา) | 13 กรกฎาคม 2026*

*บทความนี้เขียนโดย AI (deepseek-v4-pro) ผ่าน Hermes Agent ภายใต้การควบคุมและตรวจสอบคุณภาพโดยมนุษย์ — Nokka (นก-กา)*

OpenCode คือ open-source coding agent ที่ดังที่สุดในปี 2026 — MIT license — 165,000+ GitHub stars — ใช้แทน Claude Code ได้ฟรี

แต่ข้อจำกัดของ OpenCode คือ **เป็น single agent** — ทำงานทีละอย่าง — ถ้างานใหญ่และซับซ้อน — agent ตัวเดียวอาจหลงทางหรือ context window เต็มก่อนทำงานเสร็จ

**Oh My Opencode** (หรือ `omo`

) คือ plugin ที่แก้ปัญหานี้ — เปลี่ยน OpenCode จาก single agent เป็น **multi-agent system** — มี agent หลายตัว แต่ละตัวเชี่ยวชาญงานต่างกัน — ทำงานพร้อมกันได้ — เหมือนมีทีม dev ทั้งทีมอยู่ใน terminal

ในมุมมองของผม — นี่คือสิ่งที่ทำให้ OpenCode กระโดดจาก "ใช้แทน Claude Code ได้" ไปเป็น "ดีกว่า Claude Code ในงานใหญ่"

Oh My Opencode เป็น community plugin สำหรับ OpenCode — สร้างโดย [code-yeongyu](https://github.com/code-yeongyu/oh-my-openagent) — มีเว็บไซต์ official ที่ [ohmyopencode.com](https://ohmyopencode.com/) [8] — และมี QuickStart สอนติดตั้งโดย Rost Glukhov [9]

"Oh My Opencode transforms OpenCode into a full multi-agent engineering system. It adds the Sisyphus orchestration system with parallel background execution" [1]

**หลักการ:** แทนที่จะให้ agent ตัวเดียวทำทุกอย่าง — Oh My Opencode แบ่งงานให้ agent เฉพาะทาง — แต่ละตัวใช้โมเดลที่เหมาะสมกับงาน — ทำงานพร้อมกัน — แล้ว Sisyphus (orchestrator) รวบรวมผลลัพธ์

Oh My Opencode มี agent 7 ตัว — แต่ละตัวมีบทบาทชัดเจน:

| หน้าที่ | โมเดล | รายละเอียด |
|---|---|---|
| วางแผน + แบ่งงาน + มอบหมาย + ติดตามผล | Claude Opus 4.8 (สูงสุด) | หัวหน้าทีม — ไม่ลงมือทำเอง — แต่จัดการให้ agent อื่นทำงาน |

"Sisyphus doesn't waste time hunting for files himself; he keeps the main agent's context lean" [2]

Sisyphus คือ agent ที่แพงที่สุดในระบบ — เพราะต้องใช้ reasoning สูงเพื่อวางแผนและตัดสินใจ — แต่คุ้มค่าเพราะทำให้ agent อื่นทำงานได้อย่างมีประสิทธิภาพ

**Fallback chain:** Claude Opus 4.8 → Kimi K2.5 → GPT-5.4 → GLM-5

| หน้าที่ | โมเดล | รายละเอียด |
|---|---|---|
| รับงานจาก Sisyphus → ลงมือทำ → รายงานผล | Kimi K2.7 | ทำงานเดี่ยว — ไม่ orchestrate — แต่ทำงานที่ได้รับมอบหมายให้เสร็จ |

"Sisyphus Junior acts as a focused executor that takes one delegated task and carries it to completion itself" [3]

| หน้าที่ | โมเดล | รายละเอียด |
|---|---|---|
| ตอบคำถามยาก — วิเคราะห์ architecture — ให้คำแนะนำ | Claude Opus 4.8 (สูงสุด) | ที่ปรึกษาทางเทคนิค — output ของ Oracle มีผลต่อการตัดสินใจของทั้งทีม |

"Oracle and Momus use the highest-capability models because their outputs gate execution" [1]

| หน้าที่ | โมเดล | รายละเอียด |
|---|---|---|
| ตรวจสอบคุณภาพ — จับผิด — ท้าทายสมมติฐาน | Claude Opus 4.8 (สูงสุด) | Devil's advocate — หาจุดอ่อนในแผนก่อนลงมือทำ |

Momus ตั้งชื่อตามเทพเจ้ากรีกแห่งการวิจารณ์ — หน้าที่คือ "ท้าทายทุกอย่าง" — ทำให้ทีมไม่พลาดจุดบอด

| หน้าที่ | โมเดล | รายละเอียด |
|---|---|---|
| ค้นหาไฟล์ — อ่านโค้ด — หา dependencies | โมเดลถูกสุด (DeepSeek V4 Flash) | ทำงานซ้ำๆ — ไม่ต้องใช้ reasoning สูง — ใช้โมเดลถูกประหยัด token |

"Explore and Librarian use the cheapest, fastest models because they do not need deep reasoning" [1]

| หน้าที่ | โมเดล | รายละเอียด |
|---|---|---|
| จัดการ knowledge base — จดจำ context — ค้นหาข้อมูล | โมเดลถูกสุด (DeepSeek V4 Flash) | เก็บและค้นคืนข้อมูล — ลดภาระ context window ของ agent อื่น |

| หน้าที่ | โมเดล | รายละเอียด |
|---|---|---|
| เฝ้าดูระบบ — ตรวจจับปัญหา — แจ้งเตือน | Orchestration-class | ดูว่า agent ตัวไหนติดขัด — process ไหนพัง — แล้วแจ้ง Sisyphus |

"Sisyphus and Prometheus get the best orchestration-class models by default" [1]

นอกจาก agent — Oh My Opencode ยังมี skills สำเร็จรูป:

"hyperplan — 5 hostile agents tear apart your plan from orthogonal angles before a single line of code is written" [4]

ก่อนที่ Sisyphus จะสั่งให้ทีมลงมือทำ — Hyperplan ส่ง agent 5 ตัวไปโจมตีแผนจากทุกมุม — หาจุดอ่อน — ท้าทายสมมติฐาน — เพื่อให้แน่ใจว่าแผนแน่นพอ

"security-research — 3 vulnerability hunters + 2 PoC engineers audit your codebase in parallel, with severity calibrated by actual exploitability" [4]

Oh My Opencode ไม่ใช้โมเดลเดียวสำหรับทุก agent — แต่ละ agent ใช้โมเดลที่เหมาะสมกับงาน:

| Agent | โมเดล | เหตุผล |
|---|---|---|
Sisyphus |
Claude Opus 4.8 | Orchestration ต้องการ reasoning สูงสุด |
Oracle |
Claude Opus 4.8 | คำแนะนำมีผลต่อการตัดสินใจ |
Momus |
Claude Opus 4.8 | วิจารณ์ต้องแม่น |
Prometheus |
Orchestration-class | เฝ้าระวังระบบ |
Sisyphus Jr |
Kimi K2.7 | Execution — ต้องการ stability |
Explorer |
DeepSeek V4 Flash | ถูกสุด — ทำงานซ้ำๆ |
Librarian |
DeepSeek V4 Flash | ถูกสุด — จัดการข้อมูล |

**Fallback chain:** แต่ละ agent มี fallback — ถ้าโมเดลหลักไม่พร้อม — จะใช้ตัวถัดไป — เช่น Sisyphus: Claude Opus 4.8 → Kimi K2.5 → GPT-5.4 → GLM-5

**Self-hosted:** Sisyphus เป็น agent ที่รัน local ยากที่สุด — เพราะ prompt ซับซ้อนและต้องใช้ tool-calling ยาว — Qwen3-Coder หรือ DeepSeek-Coder-V3 อาจพอใช้ได้สำหรับงานง่าย — แต่จะด้อยลงใน multi-agent coordination [1]

Rost Glukhov — คนที่สร้างบทความสอน Oh My Opencode — เล่าประสบการณ์ใช้จริง [5]:

``` bash
$ ultrawork "Build a user authentication system with JWT, 
  refresh tokens, and role-based access control"

Sisyphus วางแผน:
  → Explorer: ค้นหาโครงสร้างโปรเจกต์, dependencies
  → Oracle: วิเคราะห์ architecture — JWT vs session-based
  → Momus: ท้าทาย — "JWT refresh token rotation — 
    race condition ที่ /refresh endpoint?"
  → Hyperplan: 5 agent ถล่มแผน — เจอ 3 จุดอ่อน
  → Sisyphus ปรับแผนตาม feedback

Sisyphus แบ่งงาน:
  → Sisyphus Jr #1: สร้าง /auth/login endpoint
  → Sisyphus Jr #2: สร้าง /auth/refresh endpoint
  → Sisyphus Jr #3: สร้าง RBAC middleware
  → ทั้ง 3 ทำงานพร้อมกัน

Prometheus เฝ้าดู:
  → Sisyphus Jr #2 ติด timeout → แจ้ง Sisyphus
  → Sisyphus มอบหมายใหม่ให้ Sisyphus Jr #4

Librarian จัดการ context:
  → เก็บ spec, decisions, code snippets
  → agent อื่น query ได้ — ไม่ต้องถามซ้ำ

Oracle ตรวจสอบผลลัพธ์:
  → "RBAC middleware — edge case: 
    user มี 2 roles — permission union หรือ intersection?"
  → Sisyphus Jr #3 แก้ตามคำแนะนำ

Momus ตรวจสอบขั้นสุดท้าย:
  → "Test coverage หายไป 3 edge cases"
  → Sisyphus Jr #5 เขียน test เพิ่ม

เสร็จ — ทั้งระบบใช้เวลา 8 นาที
```

"I typed

`ultrawork`

into my terminal and watched as multiple AI agents started executing tasks in parallel. The orchestrator delegated work to specialists, each running on different models" [5]

```
# macOS
brew install --cask opencode-desktop

# หรือ npm
npm install -g @opencode-ai/cli
# วิธีที่ 1: bunx (เร็วสุด — official)
bunx oh-my-openagent install

# วิธีที่ 2: npm
npx oh-my-openagent install

# วิธีที่ 3: clone เอง
git clone https://github.com/code-yeongyu/oh-my-openagent.git
cd oh-my-openagent
./install.sh  # ตรวจจับ OpenCode config → backup → merge settings
// ~/.config/opencode/oh-my-opencode.json
{
  "agents": {
    "sisyphus": {
      "model": "anthropic/claude-opus-4-8",
      "fallback": ["openrouter/kimi-k2.5", "openrouter/gpt-5.4"]
    },
    "explorer": {
      "model": "deepseek/deepseek-v4-flash"
    },
    "librarian": {
      "model": "deepseek/deepseek-v4-flash"
    }
  }
}
# เปิด OpenCode
opencode

# พิมพ์ ultrawork เพื่อเริ่ม multi-agent mode
> ultrawork "สร้างระบบ authentication ด้วย JWT"
```

หรือตั้ง alias ใน `.zshrc`

— ตามที่ blog.vfiles.no [6] แนะนำ:

```
oc() {
  local base="$(basename "$PWD")"
  opencode --agent oh-my-opencode "$@"
}
```

| ความสามารถ | Claude Code | Oh My Opencode |
|---|---|---|
Single agent |
✅ | ✅ (Sisyphus Jr) |
Multi-agent parallel |
❌ | ✅ (7 agents พร้อมกัน) |
Orchestration |
❌ | ✅ (Sisyphus) |
Per-agent model |
❌ (ใช้โมเดลเดียว) | ✅ (แต่ละ agent ใช้โมเดลต่างกัน) |
Plan review |
❌ | ✅ (Hyperplan — 5 agent ถล่มแผน) |
Security audit |
❌ | ✅ (5 agent ล่า vulnerability) |
Cost optimization |
❌ | ✅ (Explorer/Librarian ใช้โมเดลถูก) |
Open source |
❌ (Proprietary) | ✅ (MIT) |
Provider lock-in |
✅ (Anthropic เท่านั้น) | ❌ (ใช้ได้ทุก provider) |

Oh My Opencode เปลี่ยน OpenCode จาก "coding agent ดีๆ ตัวหนึ่ง" เป็น "ทีม dev ทั้งทีมใน terminal"

**จุดเด่น:**

**เหมาะกับ:**

เริ่มจาก `bunx oh-my-openagent install`

— แล้วพิมพ์ `ultrawork`

— แล้วดู agent 7 ตัวทำงานพร้อมกัน

*หมายเหตุ: จำนวน agent อาจเพิ่มขึ้นจาก 7 ตัวเมื่อระบบ evolve — ตรวจสอบ docs ล่าสุดที่ ohmyopencode.com [8]*

[1] Rost Glukhov — "Oh My Opencode Specialised Agents Deep Dive and Model Guide" — [glukhov.org](https://www.glukhov.org/ai-devtools/opencode/oh-my-opencode-agents/) — 16 พฤษภาคม 2026

[2] GitHub — [code-yeongyu/oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent) — 2026

[3] DeepWiki — "Sisyphus (Main Orchestrator)" — [deepwiki.com](https://deepwiki.com/code-yeongyu/oh-my-openagent/3.1-sisyphus-(main-orchestrator)) — 2026

[4] GitHub — [code-yeongyu/oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent) — 2026

[5] Rost Glukhov — "I Built a Multi-Agent Coding Workflow with Oh My Opencode — Here's What Happened" — [Medium](https://medium.com/@rosgluk/i-built-a-multi-agent-coding-workflow-with-oh-my-opencode-heres-what-happened-0f1662818461) — 8 พฤษภาคม 2026

[6] blog.vfiles.no — "My 'Oh My Opencode' Setup" — [blog.vfiles.no](https://blog.vfiles.no/posts/my-oh-my-opencode-setup/) — 3 มีนาคม 2026

[7] GitHub — [darrenhinde/OpenAgentsControl](https://github.com/darrenhinde/OpenAgentsControl) — 2026

[8] Oh My OpenCode — [ohmyopencode.com](https://ohmyopencode.com/) — 2026

[9] Rost Glukhov — "Oh My Opencode QuickStart for OpenCode: Install, Configure, Run" — [glukhov.org](https://www.glukhov.org/ai-devtools/opencode/oh-my-opencode/) — 2026

*หมายเหตุ: บาง URL (Medium) อาจไม่สามารถเข้าถึงได้ผ่าน curl หรือ non-authenticated browser เนื่องจาก Cloudflare protection — แต่เนื้อหาได้รับการยืนยันผ่านแหล่งอื่น*

*ชอบบทความนี้? ติดตามซีรีส์ AI DevTools ได้ที่ Nokka on dev.to — หรือแชร์ให้เพื่อนที่กำลังมองหา Claude Code alternative แบบ open source*
