{"slug": "oh-my-opencode-turn-opencode-into-a-multi-agent-system-with-7-specialized-agents", "title": "Oh My Opencode — Turn OpenCode into a Multi-Agent System with 7 Specialized Agents", "summary": "Oh My Opencode (omo) is a community plugin that transforms OpenCode, the leading open-source coding agent, into a multi-agent system with seven specialized agents orchestrated by Sisyphus. Created by code-yeongyu, the plugin enables parallel execution of tasks using models tailored to each agent's role, from planning and execution to code review and security auditing.", "body_md": "*โดย Nokka (นก-กา) | 13 กรกฎาคม 2026*\n\n*บทความนี้เขียนโดย AI (deepseek-v4-pro) ผ่าน Hermes Agent ภายใต้การควบคุมและตรวจสอบคุณภาพโดยมนุษย์ — Nokka (นก-กา)*\n\nOpenCode คือ open-source coding agent ที่ดังที่สุดในปี 2026 — MIT license — 165,000+ GitHub stars — ใช้แทน Claude Code ได้ฟรี\n\nแต่ข้อจำกัดของ OpenCode คือ **เป็น single agent** — ทำงานทีละอย่าง — ถ้างานใหญ่และซับซ้อน — agent ตัวเดียวอาจหลงทางหรือ context window เต็มก่อนทำงานเสร็จ\n\n**Oh My Opencode** (หรือ `omo`\n\n) คือ plugin ที่แก้ปัญหานี้ — เปลี่ยน OpenCode จาก single agent เป็น **multi-agent system** — มี agent หลายตัว แต่ละตัวเชี่ยวชาญงานต่างกัน — ทำงานพร้อมกันได้ — เหมือนมีทีม dev ทั้งทีมอยู่ใน terminal\n\nในมุมมองของผม — นี่คือสิ่งที่ทำให้ OpenCode กระโดดจาก \"ใช้แทน Claude Code ได้\" ไปเป็น \"ดีกว่า Claude Code ในงานใหญ่\"\n\nOh 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]\n\n\"Oh My Opencode transforms OpenCode into a full multi-agent engineering system. It adds the Sisyphus orchestration system with parallel background execution\" [1]\n\n**หลักการ:** แทนที่จะให้ agent ตัวเดียวทำทุกอย่าง — Oh My Opencode แบ่งงานให้ agent เฉพาะทาง — แต่ละตัวใช้โมเดลที่เหมาะสมกับงาน — ทำงานพร้อมกัน — แล้ว Sisyphus (orchestrator) รวบรวมผลลัพธ์\n\nOh My Opencode มี agent 7 ตัว — แต่ละตัวมีบทบาทชัดเจน:\n\n| หน้าที่ | โมเดล | รายละเอียด |\n|---|---|---|\n| วางแผน + แบ่งงาน + มอบหมาย + ติดตามผล | Claude Opus 4.8 (สูงสุด) | หัวหน้าทีม — ไม่ลงมือทำเอง — แต่จัดการให้ agent อื่นทำงาน |\n\n\"Sisyphus doesn't waste time hunting for files himself; he keeps the main agent's context lean\" [2]\n\nSisyphus คือ agent ที่แพงที่สุดในระบบ — เพราะต้องใช้ reasoning สูงเพื่อวางแผนและตัดสินใจ — แต่คุ้มค่าเพราะทำให้ agent อื่นทำงานได้อย่างมีประสิทธิภาพ\n\n**Fallback chain:** Claude Opus 4.8 → Kimi K2.5 → GPT-5.4 → GLM-5\n\n| หน้าที่ | โมเดล | รายละเอียด |\n|---|---|---|\n| รับงานจาก Sisyphus → ลงมือทำ → รายงานผล | Kimi K2.7 | ทำงานเดี่ยว — ไม่ orchestrate — แต่ทำงานที่ได้รับมอบหมายให้เสร็จ |\n\n\"Sisyphus Junior acts as a focused executor that takes one delegated task and carries it to completion itself\" [3]\n\n| หน้าที่ | โมเดล | รายละเอียด |\n|---|---|---|\n| ตอบคำถามยาก — วิเคราะห์ architecture — ให้คำแนะนำ | Claude Opus 4.8 (สูงสุด) | ที่ปรึกษาทางเทคนิค — output ของ Oracle มีผลต่อการตัดสินใจของทั้งทีม |\n\n\"Oracle and Momus use the highest-capability models because their outputs gate execution\" [1]\n\n| หน้าที่ | โมเดล | รายละเอียด |\n|---|---|---|\n| ตรวจสอบคุณภาพ — จับผิด — ท้าทายสมมติฐาน | Claude Opus 4.8 (สูงสุด) | Devil's advocate — หาจุดอ่อนในแผนก่อนลงมือทำ |\n\nMomus ตั้งชื่อตามเทพเจ้ากรีกแห่งการวิจารณ์ — หน้าที่คือ \"ท้าทายทุกอย่าง\" — ทำให้ทีมไม่พลาดจุดบอด\n\n| หน้าที่ | โมเดล | รายละเอียด |\n|---|---|---|\n| ค้นหาไฟล์ — อ่านโค้ด — หา dependencies | โมเดลถูกสุด (DeepSeek V4 Flash) | ทำงานซ้ำๆ — ไม่ต้องใช้ reasoning สูง — ใช้โมเดลถูกประหยัด token |\n\n\"Explore and Librarian use the cheapest, fastest models because they do not need deep reasoning\" [1]\n\n| หน้าที่ | โมเดล | รายละเอียด |\n|---|---|---|\n| จัดการ knowledge base — จดจำ context — ค้นหาข้อมูล | โมเดลถูกสุด (DeepSeek V4 Flash) | เก็บและค้นคืนข้อมูล — ลดภาระ context window ของ agent อื่น |\n\n| หน้าที่ | โมเดล | รายละเอียด |\n|---|---|---|\n| เฝ้าดูระบบ — ตรวจจับปัญหา — แจ้งเตือน | Orchestration-class | ดูว่า agent ตัวไหนติดขัด — process ไหนพัง — แล้วแจ้ง Sisyphus |\n\n\"Sisyphus and Prometheus get the best orchestration-class models by default\" [1]\n\nนอกจาก agent — Oh My Opencode ยังมี skills สำเร็จรูป:\n\n\"hyperplan — 5 hostile agents tear apart your plan from orthogonal angles before a single line of code is written\" [4]\n\nก่อนที่ Sisyphus จะสั่งให้ทีมลงมือทำ — Hyperplan ส่ง agent 5 ตัวไปโจมตีแผนจากทุกมุม — หาจุดอ่อน — ท้าทายสมมติฐาน — เพื่อให้แน่ใจว่าแผนแน่นพอ\n\n\"security-research — 3 vulnerability hunters + 2 PoC engineers audit your codebase in parallel, with severity calibrated by actual exploitability\" [4]\n\nOh My Opencode ไม่ใช้โมเดลเดียวสำหรับทุก agent — แต่ละ agent ใช้โมเดลที่เหมาะสมกับงาน:\n\n| Agent | โมเดล | เหตุผล |\n|---|---|---|\nSisyphus |\nClaude Opus 4.8 | Orchestration ต้องการ reasoning สูงสุด |\nOracle |\nClaude Opus 4.8 | คำแนะนำมีผลต่อการตัดสินใจ |\nMomus |\nClaude Opus 4.8 | วิจารณ์ต้องแม่น |\nPrometheus |\nOrchestration-class | เฝ้าระวังระบบ |\nSisyphus Jr |\nKimi K2.7 | Execution — ต้องการ stability |\nExplorer |\nDeepSeek V4 Flash | ถูกสุด — ทำงานซ้ำๆ |\nLibrarian |\nDeepSeek V4 Flash | ถูกสุด — จัดการข้อมูล |\n\n**Fallback chain:** แต่ละ agent มี fallback — ถ้าโมเดลหลักไม่พร้อม — จะใช้ตัวถัดไป — เช่น Sisyphus: Claude Opus 4.8 → Kimi K2.5 → GPT-5.4 → GLM-5\n\n**Self-hosted:** Sisyphus เป็น agent ที่รัน local ยากที่สุด — เพราะ prompt ซับซ้อนและต้องใช้ tool-calling ยาว — Qwen3-Coder หรือ DeepSeek-Coder-V3 อาจพอใช้ได้สำหรับงานง่าย — แต่จะด้อยลงใน multi-agent coordination [1]\n\nRost Glukhov — คนที่สร้างบทความสอน Oh My Opencode — เล่าประสบการณ์ใช้จริง [5]:\n\n``` bash\n$ ultrawork \"Build a user authentication system with JWT, \n  refresh tokens, and role-based access control\"\n\nSisyphus วางแผน:\n  → Explorer: ค้นหาโครงสร้างโปรเจกต์, dependencies\n  → Oracle: วิเคราะห์ architecture — JWT vs session-based\n  → Momus: ท้าทาย — \"JWT refresh token rotation — \n    race condition ที่ /refresh endpoint?\"\n  → Hyperplan: 5 agent ถล่มแผน — เจอ 3 จุดอ่อน\n  → Sisyphus ปรับแผนตาม feedback\n\nSisyphus แบ่งงาน:\n  → Sisyphus Jr #1: สร้าง /auth/login endpoint\n  → Sisyphus Jr #2: สร้าง /auth/refresh endpoint\n  → Sisyphus Jr #3: สร้าง RBAC middleware\n  → ทั้ง 3 ทำงานพร้อมกัน\n\nPrometheus เฝ้าดู:\n  → Sisyphus Jr #2 ติด timeout → แจ้ง Sisyphus\n  → Sisyphus มอบหมายใหม่ให้ Sisyphus Jr #4\n\nLibrarian จัดการ context:\n  → เก็บ spec, decisions, code snippets\n  → agent อื่น query ได้ — ไม่ต้องถามซ้ำ\n\nOracle ตรวจสอบผลลัพธ์:\n  → \"RBAC middleware — edge case: \n    user มี 2 roles — permission union หรือ intersection?\"\n  → Sisyphus Jr #3 แก้ตามคำแนะนำ\n\nMomus ตรวจสอบขั้นสุดท้าย:\n  → \"Test coverage หายไป 3 edge cases\"\n  → Sisyphus Jr #5 เขียน test เพิ่ม\n\nเสร็จ — ทั้งระบบใช้เวลา 8 นาที\n```\n\n\"I typed\n\n`ultrawork`\n\ninto 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]\n\n```\n# macOS\nbrew install --cask opencode-desktop\n\n# หรือ npm\nnpm install -g @opencode-ai/cli\n# วิธีที่ 1: bunx (เร็วสุด — official)\nbunx oh-my-openagent install\n\n# วิธีที่ 2: npm\nnpx oh-my-openagent install\n\n# วิธีที่ 3: clone เอง\ngit clone https://github.com/code-yeongyu/oh-my-openagent.git\ncd oh-my-openagent\n./install.sh  # ตรวจจับ OpenCode config → backup → merge settings\n// ~/.config/opencode/oh-my-opencode.json\n{\n  \"agents\": {\n    \"sisyphus\": {\n      \"model\": \"anthropic/claude-opus-4-8\",\n      \"fallback\": [\"openrouter/kimi-k2.5\", \"openrouter/gpt-5.4\"]\n    },\n    \"explorer\": {\n      \"model\": \"deepseek/deepseek-v4-flash\"\n    },\n    \"librarian\": {\n      \"model\": \"deepseek/deepseek-v4-flash\"\n    }\n  }\n}\n# เปิด OpenCode\nopencode\n\n# พิมพ์ ultrawork เพื่อเริ่ม multi-agent mode\n> ultrawork \"สร้างระบบ authentication ด้วย JWT\"\n```\n\nหรือตั้ง alias ใน `.zshrc`\n\n— ตามที่ blog.vfiles.no [6] แนะนำ:\n\n```\noc() {\n  local base=\"$(basename \"$PWD\")\"\n  opencode --agent oh-my-opencode \"$@\"\n}\n```\n\n| ความสามารถ | Claude Code | Oh My Opencode |\n|---|---|---|\nSingle agent |\n✅ | ✅ (Sisyphus Jr) |\nMulti-agent parallel |\n❌ | ✅ (7 agents พร้อมกัน) |\nOrchestration |\n❌ | ✅ (Sisyphus) |\nPer-agent model |\n❌ (ใช้โมเดลเดียว) | ✅ (แต่ละ agent ใช้โมเดลต่างกัน) |\nPlan review |\n❌ | ✅ (Hyperplan — 5 agent ถล่มแผน) |\nSecurity audit |\n❌ | ✅ (5 agent ล่า vulnerability) |\nCost optimization |\n❌ | ✅ (Explorer/Librarian ใช้โมเดลถูก) |\nOpen source |\n❌ (Proprietary) | ✅ (MIT) |\nProvider lock-in |\n✅ (Anthropic เท่านั้น) | ❌ (ใช้ได้ทุก provider) |\n\nOh My Opencode เปลี่ยน OpenCode จาก \"coding agent ดีๆ ตัวหนึ่ง\" เป็น \"ทีม dev ทั้งทีมใน terminal\"\n\n**จุดเด่น:**\n\n**เหมาะกับ:**\n\nเริ่มจาก `bunx oh-my-openagent install`\n\n— แล้วพิมพ์ `ultrawork`\n\n— แล้วดู agent 7 ตัวทำงานพร้อมกัน\n\n*หมายเหตุ: จำนวน agent อาจเพิ่มขึ้นจาก 7 ตัวเมื่อระบบ evolve — ตรวจสอบ docs ล่าสุดที่ ohmyopencode.com [8]*\n\n[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\n\n[2] GitHub — [code-yeongyu/oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent) — 2026\n\n[3] DeepWiki — \"Sisyphus (Main Orchestrator)\" — [deepwiki.com](https://deepwiki.com/code-yeongyu/oh-my-openagent/3.1-sisyphus-(main-orchestrator)) — 2026\n\n[4] GitHub — [code-yeongyu/oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent) — 2026\n\n[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\n\n[6] blog.vfiles.no — \"My 'Oh My Opencode' Setup\" — [blog.vfiles.no](https://blog.vfiles.no/posts/my-oh-my-opencode-setup/) — 3 มีนาคม 2026\n\n[7] GitHub — [darrenhinde/OpenAgentsControl](https://github.com/darrenhinde/OpenAgentsControl) — 2026\n\n[8] Oh My OpenCode — [ohmyopencode.com](https://ohmyopencode.com/) — 2026\n\n[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\n\n*หมายเหตุ: บาง URL (Medium) อาจไม่สามารถเข้าถึงได้ผ่าน curl หรือ non-authenticated browser เนื่องจาก Cloudflare protection — แต่เนื้อหาได้รับการยืนยันผ่านแหล่งอื่น*\n\n*ชอบบทความนี้? ติดตามซีรีส์ AI DevTools ได้ที่ Nokka on dev.to — หรือแชร์ให้เพื่อนที่กำลังมองหา Claude Code alternative แบบ open source*", "url": "https://wpnews.pro/news/oh-my-opencode-turn-opencode-into-a-multi-agent-system-with-7-specialized-agents", "canonical_source": "https://dev.to/sarantoon/oh-my-opencode-turn-opencode-into-a-multi-agent-system-with-7-specialized-agents-1flm", "published_at": "2026-07-25 05:40:56+00:00", "updated_at": "2026-07-25 06:00:58.633344+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "large-language-models", "ai-infrastructure"], "entities": ["OpenCode", "Oh My Opencode", "code-yeongyu", "Sisyphus", "Claude Opus 4.8", "Kimi K2.7", "DeepSeek V4 Flash", "Rost Glukhov"], "alternates": {"html": "https://wpnews.pro/news/oh-my-opencode-turn-opencode-into-a-multi-agent-system-with-7-specialized-agents", "markdown": "https://wpnews.pro/news/oh-my-opencode-turn-opencode-into-a-multi-agent-system-with-7-specialized-agents.md", "text": "https://wpnews.pro/news/oh-my-opencode-turn-opencode-into-a-multi-agent-system-with-7-specialized-agents.txt", "jsonld": "https://wpnews.pro/news/oh-my-opencode-turn-opencode-into-a-multi-agent-system-with-7-specialized-agents.jsonld"}}