Operator-OS partner onboarding: a four-layer architecture for a one-person AI-run engineering company, explained beginner to expert, bilingual, with diagrams and a 2026 agent-framework comparison.

How Operator-OS WorksOperator-OS ทำงานยังไง

A one-person, AI-run engineering company — explained from scratch.บริษัทวิศวกรรมที่รันด้วย AI โดยคนเดียว — อธิบายตั้งแต่ศูนย์

Read top-to-bottom for the full story, or jump anywhere. Each topic has Beginner → Intermediate → Expert layers — open only what you need.อ่านไล่จากบนลงล่างเพื่อเข้าใจทั้งหมด หรือกระโดดไปหัวข้อไหนก็ได้ แต่ละหัวข้อมี ผู้เริ่มต้น → กลาง → เชี่ยวชาญ เปิดเฉพาะระดับที่ต้องการ

4layersชั้น
10enginesเครื่องยนต์
5machinesเครื่อง
1operatorคนคุม

🧭 New here?เพิ่งมา?

Start with the big idea (2 min)เริ่มที่แนวคิดหลัก (2 นาที)

🏛️ The architectureสถาปัตยกรรม

The 4-layer model + diagramsโมเดล 4 ชั้น + ไดอะแกรม

⚙️ How work gets doneงานเสร็จยังไง

Trace one request end-to-endตามงาน 1 ชิ้นตั้งแต่ต้นจบ

🆚 vs. other agentsเทียบ agent อื่น

Where it sits in 2026อยู่ตรงไหนในตลาด 2026

The big ideaแนวคิดหลัก

What problem this whole system exists to solve.ระบบนี้มีไว้แก้ปัญหาอะไร

BEGINNER Why does Operator-OS exist?ทำไมต้องมี Operator-OS?

One engineer (the Operator) runs many projects at once: algorithmic trading, IoT firmware, battery research, a knowledge engine, content channels. No team. The bottleneck is human time.

Operator-OS is the operating system that lets AI agents do the heavy lifting — writing code, gathering intelligence, drafting documents — while the human stays in charge of decisions.

Mission: decouple income from human labor time. The system is the "company"; AI agents are the "staff"; the human is the CEO.

Think of it like a franchise rulebook: one set of rules, many branches, every branch runs the same way without the owner standing in each one.

วิศวกรคนเดียว (เรียกว่า Operator) รันหลายโปรเจกต์พร้อมกัน: เทรดอัลกอริทึม, เฟิร์มแวร์ IoT, วิจัยแบตเตอรี่, เครื่องมือความรู้, ช่องคอนเทนต์ — ไม่มีทีม คอขวดคือเวลาของคน

Operator-OS คือระบบปฏิบัติการที่ให้ AI agent ทำงานหนักแทน — เขียนโค้ด, รวบรวมข้อมูล, ร่างเอกสาร — โดยคนยังเป็นผู้ตัดสินใจ

เป้าหมาย: แยกรายได้ออกจากเวลาแรงงานคน ระบบ = "บริษัท" · AI agent = "พนักงาน" · คน = CEO

คิดเหมือนคู่มือแฟรนไชส์: กฎชุดเดียว หลายสาขา ทุกสาขาทำเหมือนกันโดยเจ้าของไม่ต้องยืนคุมทุกสาขา

INTERMEDIATE Different from "just using ChatGPT"?ต่างจาก "ใช้ ChatGPT เฉยๆ" ยังไง?

Three things turn ad-hoc AI use into a system:

  • Persistent memory — every project carries its own state files, so the AI never starts from zero. No re-explaining the project every morning.
  • Framework-agnostic rules — one constitution governs any AI engine (Claude, Codex, Gemini…). Swap the AI, keep the rules.
  • Hard gates — the AI cannot ship code, install a dependency, or touch money-related logic without passing defined checkpoints and human approval.
The unit of value isn't a chat reply — it's a repeatable, governed pipeline that produces shippable work.

3 สิ่งที่เปลี่ยนการใช้ AI แบบสุ่มให้กลายเป็น ระบบ:

  • ความจำถาวร — ทุกโปรเจกต์มีไฟล์สถานะของตัวเอง AI จึงไม่เริ่มจากศูนย์ ไม่ต้องอธิบายโปรเจกต์ใหม่ทุกเช้า
  • กฎที่ไม่ผูกกับ framework — ธรรมนูญชุดเดียวคุม AI engine ตัวไหนก็ได้ (Claude, Codex, Gemini…) เปลี่ยน AI ได้ กฎเดิม
  • ด่านบังคับ — AI ส่งโค้ด ติดตั้ง dependency หรือแตะตรรกะเรื่องเงินไม่ได้ ถ้าไม่ผ่านจุดตรวจที่กำหนด + คนอนุมัติ
หน่วยของคุณค่าไม่ใช่คำตอบในแชต แต่เป็น ไปป์ไลน์ที่ทำซ้ำได้และมีการกำกับ ซึ่งผลิตงานที่ส่งมอบได้จริง

Mental modelภาพในหัว

One picture to hold before the details.ภาพเดียวที่ควรจำก่อนลงรายละเอียด

BEGINNER The company-in-a-box analogyเปรียบเป็นบริษัทในกล่อง
Real companyบริษัทจริงOperator-OS
HQ rulebook & policyคู่มือ/นโยบายสำนักงานใหญ่Layer 1 Sandbox — the doctrineSandbox — ธรรมนูญ
Operations dispatcherผู้จัดสรรงานLayer 2 the hub (routes work)ฮับ (จัดเส้นทางงาน)
Research / intel deptฝ่ายวิจัย/ข่าวกรองLayer 3 SBOS (24/7 brain)SBOS (สมอง 24/7)
Production teamsทีมผลิตLayer 4 Engines (do the work)Engines (ลงมือทำ)
Temp staff following the manualพนักงานชั่วคราวที่ทำตามคู่มือAI agents (Claude / Codex / Gemini)AI agent (Claude / Codex / Gemini)
CEOThe Operator (human)Operator (คน)
Key insight: the AI agents are not a layer. They are staff who walk between all departments, carrying the rulebook with them.จุดสำคัญ: AI agent ไม่ใช่ชั้น (layer) แต่เป็นพนักงานที่เดินข้ามทุกแผนก พกคู่มือติดตัวไปด้วย

The 4 layers4 ชั้น

The backbone of the whole system. Everything hangs off this.กระดูกสันหลังของทั้งระบบ ทุกอย่างยึดกับสิ่งนี้

L1 SANDBOX Governance — no code runs here The rulebook: doctrine · security gates · risk tiers. Governs all below. ▼ sets the rules for ▼ L2 COMPANY l2-hub — orchestration & model router Receives a request, picks the right AI model, dispatches it. ▼ coordinates ▼ L3 SBOS The intel brain · 24/7 Harvest 109 sources → score → store → brief runs on the 5080 box L4 ENGINES 10 autonomous engines Trading · lab · energy · firmware · research… each = own repo intel flows one way: L3 → L4 (batched, never real-time)
Block diagram — the 4-layer stack & intel flow.บล็อกไดอะแกรม — สแต็ก 4 ชั้น และทิศทาง intel
BEGINNER Each layer in one lineแต่ละชั้นในบรรทัดเดียว
  • L1 Sandbox — the rules. Like a constitution. Nothing executes; it tells everything else how to behave.
  • L2 Company — the dispatcher. A request comes in, it decides which AI does it and where.
  • L3 SBOS — the always-on researcher keeping a fresh view of the world.
  • L4 Engines — the workers, each an independent project with its own job.
  • L1 Sandbox — กฎ เหมือนรัฐธรรมนูญ ไม่มีอะไรรัน แค่บอกทุกอย่างว่าให้ทำตัวยังไง
  • L2 Company — ผู้จัดสรร งานเข้ามา มันตัดสินว่า AI ตัวไหนทำ ที่ไหน
  • L3 SBOS — นักวิจัยที่เปิดตลอด คอยอัปเดตภาพของโลก
  • L4 Engines — คนทำงาน แต่ละตัวเป็นโปรเจกต์อิสระ มีหน้าที่ของตัวเอง
INTERMEDIATE Why split into layers?ทำไมต้องแบ่งชั้น?

Separation of concerns + blast-radius control:

  • Rules separate from code — rewrite the doctrine without redeploying any engine, and vice-versa.
  • One-way intelligence flow — SBOS pushes intel down to engines, never the reverse. A crashing engine can never corrupt the brain.
  • Engines are independent — trading going down doesn't affect the lab engine. Each is its own repo with its own lifecycle.
Hard rule: intel is batched, never real-time. Engines read a stored snapshot — they don't hold the brain hostage with live calls.

แยกความรับผิดชอบ + จำกัดวงความเสียหาย:

  • กฎแยกจากโค้ด — แก้ธรรมนูญได้โดยไม่ต้อง deploy engine ใหม่ และกลับกัน
  • ข้อมูลไหลทางเดียว — SBOS ส่ง intel ลง ไปที่ engine ไม่ย้อนกลับ engine ที่พังจึงทำสมองเสียไม่ได้
  • Engine อิสระต่อกัน — engine เทรดล่มไม่กระทบ engine แล็บ แต่ละตัวเป็น repo แยกมี lifecycle ของตัวเอง
กฎเหล็ก: intel เป็น batch ไม่ใช่ real-time engine อ่าน snapshot ที่เก็บไว้ ไม่ดึงสมองด้วย live call
EXPERT Ecosystem tree & where the AI sitsต้นไม้ระบบ และ AI อยู่ตรงไหน
operator-os (Layer 1) CLAUDE.md ≡ AGENTS.md ≡ GEMINI.md l2-hub · router (L2) SBOS (L3) intel brain · :8000 Engines (L4) 10 projects TMAO :8009 Synapse :8500 AKASHA :8600 HESS :8300 VISTEC PlatformIO media-os :8650 AI Operator (Claude Code · Codex · Gemini · Hermes) works ACROSS all layers — not a layer itself · governed by L1 throughout SBOS feeds intel → engines (batched). The router serves any engine. The operator reads L1 everywhere.
Tree diagram — the ecosystem & the cross-cutting AI operator.ต้นไม้ระบบ — และ AI operator ที่ทำงานข้ามชั้น

The doctrine is framework-agnostic: the same rules file is published as CLAUDE.md, AGENTS.md, and GEMINI.md — byte-for-byte identical — so whichever engine you run obeys the same constitution.

ธรรมนูญ ไม่ผูกกับ framework: ไฟล์กฎเดียวกันถูกเผยแพร่เป็น CLAUDE.md, AGENTS.md, GEMINI.md — เหมือนกันทุกไบต์ — ใช้ engine ตัวไหนก็เคารพธรรมนูญเดียวกัน

How work flowsงานไหลยังไง

Trace one piece of work from intent to shipped result.ตามงาน 1 ชิ้น ตั้งแต่ตั้งใจจนส่งมอบ

Intake1-sentence Get truthSBOS + specs Routepick model Build pipeline4 gates ↓ Memorylog it Ship (PR) loop — every task takes this same shape The orchestrator's loop
Workflow — the loop every task follows. Human at the start (define) & end (approve).เวิร์กโฟลว์ — ลูปที่ทุกงานเดินตาม คนอยู่ต้น (กำหนด) และปลาย (อนุมัติ)
INTERMEDIATE A concrete exampleตัวอย่างจริง

Say the operator wants a new trading signal in TMAO:

  1. Intake — describe the feature in one sentence (gate 1).
  2. Truth — check existing specs & the SBOS intel snapshot so the AI isn't guessing.
  3. Route — financial logic → strongest model (Opus tier) via the L2 hub.
  4. Pipeline — Brainstorm → Plan → tests → code until green → independent review.
  5. Memory — the engine's MEMORY.md records the decision & any gotcha.
  6. Ship — open a Pull Request; the human approves the merge.
The human is in the loop at the start (define) and the end (approve). The AI owns the middle.

สมมติ operator อยากได้สัญญาณเทรดใหม่ใน TMAO:

  1. Intake — อธิบายฟีเจอร์ใน 1 ประโยค (ด่าน 1)
  2. หาความจริง — เช็ค spec เดิม + snapshot ข้อมูลจาก SBOS เพื่อให้ AI ไม่เดา
  3. Route — ตรรกะการเงิน → โมเดลแกร่งสุด (ระดับ Opus) ผ่านฮับ L2
  4. Pipeline — Brainstorm → Plan → เขียนเทสต์ → โค้ดจนผ่าน → รีวิวโดยตัวอื่น
  5. MemoryMEMORY.md ของ engine บันทึกการตัดสินใจ + ข้อควรระวัง
  6. Ship — เปิด Pull Request คนอนุมัติ merge
คนอยู่ในลูปทั้งตอน เริ่ม (กำหนด) และ จบ (อนุมัติ) AI เป็นเจ้าของส่วนกลาง

L2 The model routerตัวจัดเส้นทางโมเดล

How the system picks which AI brain handles a task — and keeps secrets safe.ระบบเลือกสมอง AI ตัวไหนทำงาน และกันความลับยังไง

BEGINNER One door, many brainsประตูเดียว หลายสมอง

The hub (l2-hub, port 8100) is a single entry point. An engine sends it a job; the hub decides which AI model should answer and forwards it. The engine never hard-codes a model — it just asks the hub.

Benefit: swap providers, add a cheaper local model, or fail over — all without touching engine code.

ฮับ (l2-hub, port 8100) เป็นทางเข้าจุดเดียว engine ส่งงานมา ฮับตัดสินว่าโมเดล AI ตัวไหนควรตอบแล้วส่งต่อ engine ไม่ฝังชื่อโมเดลไว้ในโค้ด แค่ถามฮับ

ข้อดี: เปลี่ยนผู้ให้บริการ เพิ่มโมเดล local ที่ถูกกว่า หรือ fail over ได้ โดยไม่แตะโค้ด engine
INTERMEDIATE Privacy-first routingจัดเส้นทางโดยยึดความเป็นส่วนตัวก่อน

Routing is decided by privacy zone first, then task type:

จัดเส้นทางโดยดู โซนความเป็นส่วนตัวก่อน แล้วค่อยดูประเภทงาน:

ZoneโซนRoutes toส่งไปที่Whyเพราะ
🔴 SecretลับLocal Ollama onlyOllama local เท่านั้นNever leaves the machineไม่ออกจากเครื่อง
🟡 InternalภายในCloud w/ zero-data-retentionCloud แบบไม่เก็บข้อมูล (ZDR)Private but capableส่วนตัวแต่เก่ง
🟢 PublicสาธารณะAny provider (incl. free)ผู้ให้บริการใดก็ได้ (รวมฟรี)Optimize costเน้นประหยัด
EXPERT The dispatch targetsปลายทางที่ส่งจริง
Engine  →  POST /route  →  l2-hub :8100
                              ├─ Ollama   :11434   (secret / local)
                              ├─ LiteLLM  :4000    (cloud, ZDR enforced)
                              └─ OpenRouter         (public, cost-optimized)

Model tiers map to wrong-output cost, not task size: a 3-line trading tweak gets the top model; a 300-line CSV parser gets the cheap one. The hub also carries 14 role agents + a swarm bus, with Redis for coordination.

ระดับโมเดลแมปกับ ต้นทุนของการตอบผิด ไม่ใช่ขนาดงาน: ปรับโค้ดเทรด 3 บรรทัดใช้โมเดลสูงสุด · parser CSV 300 บรรทัดใช้ตัวถูก ฮับยังมี 14 role agent + swarm bus และ Redis สำหรับประสานงาน

L3 SBOS — the intel brainสมองข่าวกรอง

The always-on research department that keeps the system informed.ฝ่ายวิจัยที่เปิดตลอด คอยอัปเดตทั้งระบบ

BEGINNER What SBOS doesSBOS ทำอะไร

SBOS runs 24/7 in the background. It reads ~109 information sources, figures out what matters, stores it, and sends the operator a morning brief at 07:00 every day.

The difference between starting each day blind and starting with a curated intelligence report already on your phone.

SBOS รัน 24/7 เบื้องหลัง อ่านแหล่งข้อมูล ~109 แหล่ง คัดว่าอะไรสำคัญ เก็บไว้ แล้วส่ง สรุปเช้า 07:00 ให้ operator ทุกวัน

ต่างกันระหว่างเริ่มวันแบบมืดบอด กับเริ่มวันโดยมีรายงานข่าวกรองที่คัดมาแล้วอยู่บนมือถือ
INTERMEDIATE The pipeline inside SBOSไปป์ไลน์ใน SBOS
harvest 109 sources  →  extract entities (offline NER)
   →  score relevance  →  store in vector DB (Qdrant)
   →  generate brief   →  push to Telegram
  • Entity extraction runs offline — no LLM cost, privacy preserved.
  • Stored as vectors so engines can semantically query "what's relevant to X".
  • Operator interacts by Telegram: /brief /score /ideas /status.
  • สกัด entity แบบ offline — ไม่มีค่า LLM รักษาความเป็นส่วนตัว
  • เก็บเป็น vector ให้ engine ถามเชิงความหมายว่า "อะไรเกี่ยวกับ X"
  • operator คุยผ่าน Telegram: /brief /score /ideas /status

L4 The enginesเครื่องยนต์

Where the real work ships. Each engine is an independent project.ที่ที่งานจริงถูกส่งออก แต่ละ engine เป็นโปรเจกต์อิสระ

INTERMEDIATE The active enginesengine ที่ใช้งานอยู่
EngineDomainงานPort
TMAOAlgorithmic tradingเทรดอัลกอริทึม8009
OMEGAMacro-regime daemonวิเคราะห์ภาวะตลาดมหภาค8400
SynapseLab management + RAGจัดการแล็บ + RAG8500
AKASHAKnowledge opsงานจัดการความรู้8600
HESSHybrid energy storageออกแบบกักเก็บพลังงาน8300
VISTECMEng battery researchวิจัยแบตเตอรี่ ป.โท
PlatformIOESP32 firmware fleetฝูงเฟิร์มแวร์ ESP32device
media-osAI content channelsช่องคอนเทนต์ AI8650
EXPERT The 7-file scaffold every engine carriesโครง 7 ไฟล์ที่ทุก engine มี

Uniformity is the trick — every engine has the same stateful files, so any AI can pick up any engine cold:

เคล็ดลับคือความสม่ำเสมอ — ทุก engine มีไฟล์สถานะชุดเดียวกัน AI ตัวไหนก็หยิบ engine ไหนมาทำต่อได้ทันที:

FileOwnerPurposeหน้าที่
CLAUDE.mdHumanProject constitutionธรรมนูญโปรเจกต์
MEMORY.mdAIAuto-log of fixes, builds, decisionsบันทึกอัตโนมัติ: แก้บั๊ก, build, การตัดสินใจ
PLAN.mdHumanLocked spec — AI never edits directlyสเปกล็อก — AI ไม่แก้ตรง
ARCHITECTURE.mdHumanData flow, components, portsการไหลข้อมูล, ส่วนประกอบ, พอร์ต
AGENTS.mdHumanAlias for multi-engine AIนามแฝงสำหรับ AI หลายตัว
SEED_PROMPT.mdHumanBootstrap text for a new sessionข้อความเริ่มต้น session ใหม่
.env.templateHumanDocumented secrets contractสัญญารายการ secret
Anti-pattern by design: if you ever re-explain a project to the AI, MEMORY.md is stale — fix the file, not the conversation.ออกแบบกัน anti-pattern: ถ้าต้องอธิบายโปรเจกต์ให้ AI ซ้ำ แปลว่า MEMORY.md เก่า — แก้ที่ไฟล์ ไม่ใช่ที่บทสนทนา

The doctrineธรรมนูญ

The rulebook that makes AI behavior predictable and safe.คู่มือที่ทำให้พฤติกรรม AI คาดเดาได้และปลอดภัย

BEGINNER Rules as a fileกฎในรูปไฟล์

The doctrine is a single document (CLAUDE.md) the AI reads at the start of every session. It covers identity, language, coding discipline, model routing, when to ask permission, and what's forbidden.

Because it's a file, it's versioned in git — you can see exactly when a rule changed and why. The system improves its own rulebook over time.

ธรรมนูญคือเอกสารเดียว (CLAUDE.md) ที่ AI อ่านตอนเริ่ม ทุก session ครอบคลุม: ตัวตน, ภาษา, วินัยการเขียนโค้ด, การจัดเส้นทางโมเดล, เมื่อไหร่ต้องขออนุญาต, อะไรห้าม

เพราะเป็นไฟล์ จึงเก็บเวอร์ชันใน git — เห็นชัดว่ากฎเปลี่ยนเมื่อไหร่และทำไม ระบบพัฒนาคู่มือตัวเองตามเวลา
INTERMEDIATE What the doctrine enforcesธรรมนูญบังคับอะไร
  • Coding discipline — no hardcoded secrets/ports, structured logging, ask before deleting files.
  • Cognitive OS — Design Thinking + diverge/converge (≥3 options before deciding) + PARA organization, run before any code.
  • Session protocol — when to keep context, compact it, or start fresh.
  • Install gate — no third-party dependency without a security audit.
  • วินัยโค้ด — ไม่ฝัง secret/port, logging มีโครงสร้าง, ถามก่อนลบไฟล์
  • Cognitive OS — Design Thinking + diverge/converge (≥3 ทางเลือกก่อนตัดสิน) + จัดระเบียบ PARA ทำ ก่อน เขียนโค้ด
  • โปรโตคอล session — เมื่อไหร่เก็บ context, ย่อ, หรือเริ่มใหม่
  • ด่านติดตั้ง — ไม่ใช้ dependency ภายนอกโดยไม่ตรวจความปลอดภัย

Who controls whatใครคุมอะไร

The three control surfaces of the system.3 ระนาบการควบคุมของระบบ

BEGINNER Three roles at a glance3 บทบาทแบบเร็ว
RoleบทบาทCan doทำได้Cannotทำไม่ได้
Owner
the operatorผู้คุมระบบ
Change doctrine, approve high-risk, merge code, set prioritiesแก้ธรรมนูญ, อนุมัติงานเสี่ยงสูง, merge โค้ด, จัดลำดับ
Developer
AI + humanAI + คน
Write engine code, run pipeline, auto-update memoryเขียนโค้ด engine, รัน pipeline, อัปเดต memory อัตโนมัติPush to main, install un-audited deps, ship without reviewpush main, ติดตั้ง dep ที่ไม่ตรวจ, ส่งงานโดยไม่รีวิว
User
end consumerผู้ใช้ปลายทาง
Read briefs, chat the bots, view public pagesอ่านสรุป, คุยบอท, ดูหน้า publicTouch code or rulesแตะโค้ดหรือกฎ
INTERMEDIATE How control is actually enforcedบังคับการควบคุมจริงยังไง
  • PR-not-auto — the AI can commit, but is forbidden from pushing to main. A human opens/approves every merge.
  • Permission gates — for irreversible or outward-facing actions, the AI states the action and waits for an explicit "yes". Approving a plan ≠ approving each step.
  • Verbatim "Proceed" — the highest-risk class (money, security, doctrine) requires the operator to type approval explicitly.
  • PR-not-auto — AI commit ได้ แต่ห้าม push main คนเปิด/อนุมัติทุก merge
  • ด่านขออนุญาต — งานที่ย้อนไม่ได้หรือออกสู่ภายนอก AI ต้องบอกการกระทำแล้วรอ "ใช่" ชัดๆ อนุมัติ แผน ≠ อนุมัติทุก ขั้น
  • พิมพ์ "Proceed" — งานเสี่ยงสูงสุด (เงิน, ความปลอดภัย, ธรรมนูญ) operator ต้องพิมพ์อนุมัติเอง
The human is the kill-switch on every dangerous path — by construction, not by trust.คนคือสวิตช์ตัดบนทุกเส้นทางอันตราย — โดยการออกแบบ ไม่ใช่ด้วยความเชื่อใจ

The build pipelineไปป์ไลน์การสร้าง

How any feature goes from idea to merged — no skipping.ฟีเจอร์เดินจากไอเดียถึง merge ยังไง — ข้ามด่านไม่ได้

1 · Brainstormconcept clear? 2 · Planspec complete? 3 · TDDtests green? 4 · Reviewzero issues? no skipping — a later gate is locked until the earlier one passes ⟵ if a gate fails, you go back, never forward
Workflow — the 4 hard gates. Tests green before review; review clean before merge.เวิร์กโฟลว์ — 4 ด่านบังคับ เทสต์เขียวก่อนรีวิว · รีวิวสะอาดก่อน merge
INTERMEDIATE Why gates beat "just code it"ทำไมด่านดีกว่า "เขียนๆ ไปเลย"
  • Gate 1 Brainstorm — if you can't state the feature in one sentence, you don't understand it yet.
  • Gate 2 Plan — a locked spec (schema + API + files + tasks) before any code.
  • Gate 3 TDD — write the test first; code until it passes. Never proceed on red.
  • Gate 4 Review — an independent agent/model reviews. Skipping = "vibe loop" chaos.
For brand-new projects, a 5-phase spec-first flow (BMAD) runs first, with a mandatory context reset between phases to prevent hallucination bleed.
  • ด่าน 1 Brainstorm — ถ้าพูดฟีเจอร์ใน 1 ประโยคไม่ได้ แปลว่ายังไม่เข้าใจ
  • ด่าน 2 Plan — สเปกล็อก (schema + API + ไฟล์ + งาน) ก่อนเขียนโค้ด
  • ด่าน 3 TDD — เขียนเทสต์ก่อน โค้ดจนผ่าน ห้ามเดินต่อตอนแดง
  • ด่าน 4 Review — agent/โมเดลตัวอื่นรีวิว ข้าม = "vibe loop" วุ่นวาย
โปรเจกต์ใหม่เอี่ยมจะรันแบบ spec-first 5 เฟส (BMAD) ก่อน โดยบังคับรีเซ็ต context ระหว่างเฟสเพื่อกัน hallucination ปนกัน

Risk tiers & verificationระดับความเสี่ยง & การตรวจสอบ

How the system grades danger and double-checks itself.ระบบจัดเกรดความอันตรายและตรวจซ้ำตัวเองยังไง

EXPERT The R0 / R1 / R2 tiersระดับ R0 / R1 / R2
TierMeaningความหมายExamplesตัวอย่าง
R0Irreversible / real harmย้อนไม่ได้ / เสียหายจริงDoctrine drift, supply-chain bypass, money, securityธรรมนูญเพี้ยน, ข้าม supply-chain, เงิน, ความปลอดภัย
R1Reversible but notableย้อนได้แต่สำคัญScripts, templates, status filesสคริปต์, เทมเพลต, ไฟล์สถานะ
R1+Finance-adjacentใกล้การเงินAnything wrapping trading/risk codeอะไรที่ห่อโค้ดเทรด/ความเสี่ยง
R2Low blast radiusวงเสียหายเล็กResearch notes, archivesโน้ตวิจัย, ไฟล์เก็บ
EXPERT 3-tier verification (anti-bias)ตรวจสอบ 3 ชั้น (กัน bias)
  • Tier 1 — same agent self-debugs (all tasks).
  • Tier 2 — an independent tool/model re-verifies (engine work + R0). Same-model self-check is banned — it just confirms its own bias.
  • Tier 3 — the human types "Proceed" (R0 only).
For the highest-stakes actions there's also a 3-agent consensus gate: one executes, one independently verifies, one cross-checks history — proceed only if all agree.
  • ชั้น 1 — agent ตัวเดิม debug ตัวเอง (ทุกงาน)
  • ชั้น 2 — เครื่องมือ/โมเดล ตัวอื่น ตรวจซ้ำ (งาน engine + R0) ห้ามโมเดลเดิมตรวจตัวเอง เพราะแค่ยืนยัน bias ตัวเอง
  • ชั้น 3 — คนพิมพ์ "Proceed" (เฉพาะ R0)
งานเสี่ยงสูงสุดยังมีด่าน 3-agent consensus: ตัวหนึ่งทำ ตัวหนึ่งตรวจอิสระ ตัวหนึ่งเทียบประวัติ — เดินต่อเมื่อตรงกันหมด

Infrastructure — the 5-PC meshโครงสร้างพื้นฐาน — เมช 5 เครื่อง

The physical machines this all runs on.เครื่องจริงที่ทั้งหมดนี้รันอยู่

EXPERT The fleetฝูงเครื่อง

Five machines on a private Tailscale network — they reach each other directly and securely, wherever they physically are:

5 เครื่องบนเครือข่ายส่วนตัว Tailscale — คุยกันโดยตรงและปลอดภัย ไม่ว่าจะอยู่ที่ไหน:

Machineเครื่องRoleบทบาท
5080 (RTX 5080)SBOS host + 14B local LLM fleetโฮสต์ SBOS + ฝูง LLM local 14B
2060 (RTX 2060)l2-hub + LiteLLM + Synapse + small modelsl2-hub + LiteLLM + Synapse + โมเดลเล็ก
i3-serverStorage, database, monitoringสตอเรจ, ฐานข้อมูล, มอนิเตอร์
i5-flashFirmware build stationสถานี build เฟิร์มแวร์
laptopOperator's control seatที่นั่งควบคุมของ operator
SPOF guard: a monitor must never live on the host it monitors — if the host dies, both die silently. Coverage uses cross-watching monitors on separate hosts.กัน SPOF: ตัวมอนิเตอร์ต้องไม่อยู่บนเครื่องที่มันเฝ้า — ถ้าเครื่องตาย ทั้งคู่ตายเงียบ ต้องให้มอนิเตอร์เฝ้าข้ามเครื่องกัน

Self-improvementการพัฒนาตัวเอง

How the system gets better without going rogue.ระบบดีขึ้นได้โดยไม่หลุดมือ

EXPERT The reflection loopลูปสะท้อนตัวเอง
  • Per session — the AI writes a [REFLECT] note: which rules fired, how well they scored, what to patch.
  • Pre-commit — 5 self-critique gates (tests pass, size bounds, no scope creep, human review intact).
  • Quarterly — aggregate all reflections, find dead/weak rules, open one Pull Request of proposed rule changes.
  • Human gate — the operator approves each change. The system never auto-merges its own constitution.
  • ทุก session — AI เขียนโน้ต [REFLECT]: กฎไหนทำงาน ได้คะแนนเท่าไร ควรแก้อะไร
  • ก่อน commit — 5 ด่านวิจารณ์ตัวเอง (เทสต์ผ่าน, ขนาดอยู่ในกรอบ, ไม่ขยายเกิน, คนยังรีวิว)
  • ทุกไตรมาส — รวมโน้ตทั้งหมด หากฎที่ตาย/อ่อน เปิด PR เดียว เสนอแก้กฎ
  • ด่านคน — operator อนุมัติทีละข้อ ระบบ ไม่เคย auto-merge ธรรมนูญตัวเอง

Operator-OS vs. other AI agents (2026)Operator-OS เทียบ AI agent อื่น (2026)

Where this system sits in the agent landscape — verified mid-2026.ระบบนี้อยู่ตรงไหนในภูมิทัศน์ agent — ตรวจสอบกลางปี 2026

BEGINNER The one-line differenceต่างกันบรรทัดเดียว

The tools below (Claude Code, Codex, Cursor, Gemini CLI…) are the AI engines — the staff. Operator-OS is not a competitor to them; it's the company they work inside. It is the doctrine + memory + governance layer that makes any of those engines run your business consistently.

Others = the worker. Operator-OS = the rulebook + memory + org chart the worker plugs into.

เครื่องมือข้างล่าง (Claude Code, Codex, Cursor, Gemini CLI…) คือ AI engine — ตัวพนักงาน Operator-OS ไม่ได้แข่งกับพวกมัน แต่เป็น บริษัทที่พวกมันทำงานอยู่ข้างใน เป็นชั้นธรรมนูญ + ความจำ + การกำกับ ที่ทำให้ engine ตัวไหนก็รันธุรกิจคุณได้สม่ำเสมอ

ตัวอื่น = คนงาน · Operator-OS = คู่มือ + ความจำ + ผังองค์กร ที่คนงานเสียบเข้ามา
INTERMEDIATE The 2026 landscape (fact-checked)ภูมิทัศน์ 2026 (ตรวจแล้ว)
ToolMakerCategoryประเภทOpen?โอเพน?Reads our doctrine file?อ่านไฟล์ธรรมนูญเรา?
Claude CodeAnthropicTerminal CLI +IDE/webNo✓ CLAUDE.md (canonical)
OpenAI CodexOpenAICLI + cloudCLI yesCLI ใช่✓ AGENTS.md
Google AntigravityGoogleAgentic IDEIDE เชิง agentNo✓ GEMINI.md / AGENTS.md
Gemini CLIGoogleTerminal CLIApache-2.0✓ GEMINI.md
CursorAnysphereIDE (VS Code fork)No✓ AGENTS.md
Kilo CodeKilo-OrgIDE ext + CLIIDE ext + CLIMIT✓ AGENTS.md
ClineCline BotIDE-extensionApache-2.0✓ AGENTS.md
AiderP. GauthierTerminal CLIApache-2.0~ via --read~ ผ่าน --read
Hermes AgentNous ResearchAutonomous harnessharness อัตโนมัติMIT~ ingestible~ นำเข้าได้
thClawsThaiGPT Co.Rust harnessharness RustMIT/Apache~ ingestible~ นำเข้าได้
DevinCognitionCloud autonomousอัตโนมัติบนคลาวด์Noproprietary "Knowledge""Knowledge" เฉพาะตัว

"~" = compatible via an alias/read flag, not by that exact filename by default. Verified via GitHub + vendor docs, 2026-06-25.

"~" = ใช้ได้ผ่าน alias/แฟล็ก ไม่ใช่ชื่อไฟล์นั้นโดยตรง · ตรวจผ่าน GitHub + เอกสารผู้ผลิต 2026-06-25

EXPERT Why "framework-agnostic" pays offทำไม "ไม่ผูก framework" ถึงคุ้ม

In 2026, AGENTS.md has become the cross-tool convention. Because Operator-OS publishes CLAUDE.mdAGENTS.mdGEMINI.md verbatim:

  • The three biggest CLIs — Claude Code, Codex, Gemini CLI/Antigravity — are covered at zero extra cost.
  • The single AGENTS.md alias also satisfies Cursor, Cline, Kilo, Amp — so swapping engines costs nothing.
  • Notable 2026 shifts: Roo Code is discontinued (archived May 2026), Windsurf → Devin Desktop (Cognition), Amp spun out of Sourcegraph.
Strategic point: betting on one agent vendor is risky. Operator-OS bets on the doctrine, so the engine becomes a swappable commodity.

ปี 2026 AGENTS.md กลายเป็นมาตรฐานข้ามเครื่องมือ เพราะ Operator-OS เผยแพร่ CLAUDE.mdAGENTS.mdGEMINI.md เหมือนกันทุกไบต์:

  • 3 CLI ใหญ่สุด — Claude Code, Codex, Gemini CLI/Antigravity — ครอบคลุมโดยไม่มีต้นทุนเพิ่ม
  • alias AGENTS.md ตัวเดียว ยัง ใช้กับ Cursor, Cline, Kilo, Amp ได้ เปลี่ยน engine จึงไม่มีต้นทุน
  • ความเปลี่ยนแปลงปี 2026: Roo Code เลิกแล้ว (archive พ.ค. 2026), Windsurf → Devin Desktop (Cognition), Amp แยกออกจาก Sourcegraph
ประเด็นเชิงกลยุทธ์: เดิมพันกับ agent เจ้าเดียว เสี่ยง Operator-OS เดิมพันที่ ธรรมนูญ engine จึงกลายเป็นของที่สลับได้

Glossaryอภิธานศัพท์

Quick definitions for the terms above.นิยามสั้นๆ ของคำข้างบน

Open the glossaryเปิดอภิธานศัพท์
OperatorThe human owner who runs everything (the CEO).คนเจ้าของที่รันทุกอย่าง (CEO)
DoctrineThe rules file (CLAUDE.md) every AI obeys.ไฟล์กฎ (CLAUDE.md) ที่ AI ทุกตัวเคารพ
l2-hubThe router that picks which AI handles a task.ตัวจัดเส้นทางที่เลือก AI ทำงาน
SBOSThe 24/7 intelligence brain (Layer 3).สมองข่าวกรอง 24/7 (Layer 3)
EngineOne focused project (Layer 4), its own repo.โปรเจกต์เดี่ยว (Layer 4) repo ของตัวเอง
TDDTest-Driven Development — tests before code.เขียนเทสต์ก่อนโค้ด
PRPull Request — a code change a human approves.การเสนอแก้โค้ดที่คนอนุมัติ
R0/R1/R2Risk tiers — R0 highest, R2 lowest.ระดับเสี่ยง — R0 สูงสุด R2 ต่ำสุด
TailscalePrivate network connecting the 5 machines.เครือข่ายส่วนตัวเชื่อม 5 เครื่อง
ZDRZero-Data-Retention cloud calls.เรียก cloud แบบไม่เก็บข้อมูล
AGENTS.mdCross-tool doctrine filename (2026 convention).ชื่อไฟล์ธรรมนูญข้ามเครื่องมือ (มาตรฐาน 2026)
CLAUDE.mdThe doctrine file Claude Code reads each session.ไฟล์ธรรมนูญที่ Claude Code อ่านทุก session
MEMORY.mdPer-project file the AI auto-updates with fixes & decisions.ไฟล์ต่อโปรเจกต์ที่ AI อัปเดตเอง: การแก้บั๊ก + การตัดสินใจ
PLAN.mdLocked spec; AI proposes, human edits — never AI directly.สเปกล็อก AI เสนอ คนแก้ — AI ไม่แก้ตรง
MRICRepo boundary rule — what a repo may/may not touch.กฎขอบเขต repo — repo แตะอะไรได้/ไม่ได้
Layer (L1–L4)Sandbox / Company / SBOS / Engines — the 4-tier structure.Sandbox / Company / SBOS / Engines — โครง 4 ชั้น
Framework-agnosticWorks with any AI engine, not tied to one vendor.ใช้กับ AI engine ตัวไหนก็ได้ ไม่ผูกเจ้าเดียว
HarnessThe program that wraps an LLM and gives it tools/loops.โปรแกรมที่ห่อ LLM แล้วให้เครื่องมือ/ลูปทำงาน
AutonomousRuns multi-step work without step-by-step human input.ทำงานหลายขั้นเองโดยคนไม่ต้องสั่งทีละขั้น
MCPModel Context Protocol — standard way to plug tools into an AI.มาตรฐานเสียบเครื่องมือเข้ากับ AI
SkillA reusable, packaged procedure the AI can invoke.ขั้นตอนสำเร็จรูปที่ AI เรียกใช้ซ้ำได้
HookA script the harness auto-runs on an event (e.g. session start).สคริปต์ที่ harness รันอัตโนมัติเมื่อมี event (เช่น เริ่ม session)
SubagentA child AI spawned to do a sub-task in parallel.AI ลูกที่ถูกสร้างมาทำงานย่อยขนานกัน
WorktreeAn isolated copy of a repo for parallel, non-clashing work.สำเนา repo แยกไว้ทำงานขนานโดยไม่ชนกัน
RAGRetrieval-Augmented Generation — answer using fetched documents.ตอบโดยดึงเอกสารจริงมาประกอบ
Vector DBA database that searches by meaning, not exact words.ฐานข้อมูลที่ค้นด้วยความหมาย ไม่ใช่คำตรงตัว
QdrantThe vector database SBOS & Synapse use.vector database ที่ SBOS & Synapse ใช้
EmbeddingA number-vector that captures a text's meaning for search.เวกเตอร์ตัวเลขที่จับความหมายข้อความไว้ค้นหา
NERNamed-Entity Recognition — pulling names/orgs from text (offline).สกัดชื่อคน/องค์กรจากข้อความ (offline)
OllamaRuns open LLMs locally — for secret/private tasks.รัน LLM แบบเปิดในเครื่อง — สำหรับงานลับ/ส่วนตัว
LiteLLMA proxy giving one API across many cloud LLM providers.พร็อกซีให้ API เดียวคุม LLM cloud หลายเจ้า
OpenRouterA gateway to many models, used for public-zone tasks.เกตเวย์เข้าถึงหลายโมเดล ใช้กับงานโซน public
RedisAn in-memory store used for fast coordination/queues.ที่เก็บใน RAM ใช้ประสานงาน/คิวเร็วๆ
FastAPIThe Python web framework most engines expose APIs with.เฟรมเวิร์ก Python ที่ engine ส่วนใหญ่ใช้เปิด API
DockerPackages a service + its deps into a portable container.ห่อบริการ + dependency เป็น container พกพาได้
Cloudflare PagesFree static hosting — this very page is on it.โฮสต์ static ฟรี — หน้านี้ก็อยู่บนนี้
dev / main / deployGit branches: work → stable → live. One direction only.branch git: ทำงาน → เสถียร → ใช้จริง ทางเดียว
Opus / Sonnet / HaikuClaude model tiers: top / default / cheap-fast.ระดับโมเดล Claude: สูงสุด / มาตรฐาน / ถูก-เร็ว
Context windowHow much text an AI can "hold in mind" at once.ปริมาณข้อความที่ AI "จำไว้ในหัว" ได้พร้อมกัน
TokenThe unit AIs read/write in (~¾ of a word); billing unit.หน่วยที่ AI อ่าน/เขียน (~¾ คำ); หน่วยคิดเงิน
Cognitive OSDesign Thinking + diverge/converge + PARA, run before code.Design Thinking + diverge/converge + PARA ทำก่อนโค้ด
PARAFile organization: Projects / Areas / Resources / Archive.จัดไฟล์: Projects / Areas / Resources / Archive
Diverge / ConvergeList ≥3 options, then filter by explicit criteria.ลิสต์ ≥3 ทางเลือก แล้วกรองด้วยเกณฑ์ชัดเจน
BMAD5-phase spec-first flow for brand-new projects.โฟลว์ spec-first 5 เฟส สำหรับโปรเจกต์ใหม่เอี่ยม
Reflexion / [REFLECT]The AI self-critiques each session and logs lessons.AI วิจารณ์ตัวเองทุก session แล้วบันทึกบทเรียน
GEPA gates5 pre-commit self-checks (tests, size, scope, human review).5 ด่านเช็คก่อน commit (เทสต์, ขนาด, ขอบเขต, คนรีวิว)
SPOFSingle Point Of Failure — one thing whose death kills the rest.จุดเดียวที่ถ้าพังจะลามทั้งระบบ
Install gate (§13)Security audit required before any 3rd-party dependency.ต้องตรวจความปลอดภัยก่อนใช้ dependency ภายนอก
Morning briefSBOS's daily 07:00 intelligence summary to Telegram.สรุปข่าวกรองรายวัน 07:00 จาก SBOS ส่ง Telegram