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.อ่านไล่จากบนลงล่างเพื่อเข้าใจทั้งหมด หรือกระโดดไปหัวข้อไหนก็ได้ แต่ละหัวข้อมี ผู้เริ่มต้น → กลาง → เชี่ยวชาญ เปิดเฉพาะระดับที่ต้องการ
🧭 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) |
| CEO | The 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.กระดูกสันหลังของทั้งระบบ ทุกอย่างยึดกับสิ่งนี้
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 อยู่ตรงไหน ▸
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 ชิ้น ตั้งแต่ตั้งใจจนส่งมอบ
INTERMEDIATE A concrete exampleตัวอย่างจริง ▸
Say the operator wants a new trading signal in TMAO:
- Intake — describe the feature in one sentence (gate 1).
- Truth — check existing specs & the SBOS intel snapshot so the AI isn't guessing.
- Route — financial logic → strongest model (Opus tier) via the L2 hub.
- Pipeline — Brainstorm → Plan → tests → code until green → independent review.
- Memory — the engine's
MEMORY.mdrecords the decision & any gotcha. - 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:
- Intake — อธิบายฟีเจอร์ใน 1 ประโยค (ด่าน 1)
- หาความจริง — เช็ค spec เดิม + snapshot ข้อมูลจาก SBOS เพื่อให้ AI ไม่เดา
- Route — ตรรกะการเงิน → โมเดลแกร่งสุด (ระดับ Opus) ผ่านฮับ L2
- Pipeline — Brainstorm → Plan → เขียนเทสต์ → โค้ดจนผ่าน → รีวิวโดยตัวอื่น
- Memory —
MEMORY.mdของ engine บันทึกการตัดสินใจ + ข้อควรระวัง - 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 ที่ใช้งานอยู่ ▸
| Engine | Domainงาน | Port |
|---|---|---|
| TMAO | Algorithmic tradingเทรดอัลกอริทึม | 8009 |
| OMEGA | Macro-regime daemonวิเคราะห์ภาวะตลาดมหภาค | 8400 |
| Synapse | Lab management + RAGจัดการแล็บ + RAG | 8500 |
| AKASHA | Knowledge opsงานจัดการความรู้ | 8600 |
| HESS | Hybrid energy storageออกแบบกักเก็บพลังงาน | 8300 |
| VISTEC | MEng battery researchวิจัยแบตเตอรี่ ป.โท | — |
| PlatformIO | ESP32 firmware fleetฝูงเฟิร์มแวร์ ESP32 | device |
| media-os | AI content channelsช่องคอนเทนต์ AI | 8650 |
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 ไหนมาทำต่อได้ทันที:
| File | Owner | Purposeหน้าที่ |
|---|---|---|
CLAUDE.md | Human | Project constitutionธรรมนูญโปรเจกต์ |
MEMORY.md | AI | Auto-log of fixes, builds, decisionsบันทึกอัตโนมัติ: แก้บั๊ก, build, การตัดสินใจ |
PLAN.md | Human | Locked spec — AI never edits directlyสเปกล็อก — AI ไม่แก้ตรง |
ARCHITECTURE.md | Human | Data flow, components, portsการไหลข้อมูล, ส่วนประกอบ, พอร์ต |
AGENTS.md | Human | Alias for multi-engine AIนามแฝงสำหรับ AI หลายตัว |
SEED_PROMPT.md | Human | Bootstrap text for a new sessionข้อความเริ่มต้น session ใหม่ |
.env.template | Human | Documented secrets contractสัญญารายการ secret |
Anti-pattern by design: if you ever re-explain a project to the AI,MEMORY.mdis 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อ่านสรุป, คุยบอท, ดูหน้า public | Touch 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 ยังไง — ข้ามด่านไม่ได้
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 ▸
| Tier | Meaningความหมาย | Examplesตัวอย่าง |
|---|---|---|
| R0 | Irreversible / real harmย้อนไม่ได้ / เสียหายจริง | Doctrine drift, supply-chain bypass, money, securityธรรมนูญเพี้ยน, ข้าม supply-chain, เงิน, ความปลอดภัย |
| R1 | Reversible but notableย้อนได้แต่สำคัญ | Scripts, templates, status filesสคริปต์, เทมเพลต, ไฟล์สถานะ |
| R1+ | Finance-adjacentใกล้การเงิน | Anything wrapping trading/risk codeอะไรที่ห่อโค้ดเทรด/ความเสี่ยง |
| R2 | Low 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-server | Storage, database, monitoringสตอเรจ, ฐานข้อมูล, มอนิเตอร์ |
| i5-flash | Firmware build stationสถานี build เฟิร์มแวร์ |
| laptop | Operator'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 (ตรวจแล้ว) ▸
| Tool | Maker | Categoryประเภท | Open?โอเพน? | Reads our doctrine file?อ่านไฟล์ธรรมนูญเรา? |
|---|---|---|---|---|
| Claude Code | Anthropic | Terminal CLI +IDE/web | No | ✓ CLAUDE.md (canonical) |
| OpenAI Codex | OpenAI | CLI + cloud | CLI yesCLI ใช่ | ✓ AGENTS.md |
| Google Antigravity | Agentic IDEIDE เชิง agent | No | ✓ GEMINI.md / AGENTS.md | |
| Gemini CLI | Terminal CLI | Apache-2.0 | ✓ GEMINI.md | |
| Cursor | Anysphere | IDE (VS Code fork) | No | ✓ AGENTS.md |
| Kilo Code | Kilo-Org | IDE ext + CLIIDE ext + CLI | MIT | ✓ AGENTS.md |
| Cline | Cline Bot | IDE-extension | Apache-2.0 | ✓ AGENTS.md |
| Aider | P. Gauthier | Terminal CLI | Apache-2.0 | ~ via --read~ ผ่าน --read |
| Hermes Agent | Nous Research | Autonomous harnessharness อัตโนมัติ | MIT | ~ ingestible~ นำเข้าได้ |
| thClaws | ThaiGPT Co. | Rust harnessharness Rust | MIT/Apache | ~ ingestible~ นำเข้าได้ |
| Devin | Cognition | Cloud autonomousอัตโนมัติบนคลาวด์ | No | proprietary "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.md ≡ AGENTS.md ≡ GEMINI.md verbatim:
- The three biggest CLIs — Claude Code, Codex, Gemini CLI/Antigravity — are covered at zero extra cost.
- The single
AGENTS.mdalias 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.md ≡ AGENTS.md ≡ GEMINI.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เปิดอภิธานศัพท์ ▸
| Operator | The human owner who runs everything (the CEO).คนเจ้าของที่รันทุกอย่าง (CEO) |
| Doctrine | The rules file (CLAUDE.md) every AI obeys.ไฟล์กฎ (CLAUDE.md) ที่ AI ทุกตัวเคารพ |
| l2-hub | The router that picks which AI handles a task.ตัวจัดเส้นทางที่เลือก AI ทำงาน |
| SBOS | The 24/7 intelligence brain (Layer 3).สมองข่าวกรอง 24/7 (Layer 3) |
| Engine | One focused project (Layer 4), its own repo.โปรเจกต์เดี่ยว (Layer 4) repo ของตัวเอง |
| TDD | Test-Driven Development — tests before code.เขียนเทสต์ก่อนโค้ด |
| PR | Pull Request — a code change a human approves.การเสนอแก้โค้ดที่คนอนุมัติ |
| R0/R1/R2 | Risk tiers — R0 highest, R2 lowest.ระดับเสี่ยง — R0 สูงสุด R2 ต่ำสุด |
| Tailscale | Private network connecting the 5 machines.เครือข่ายส่วนตัวเชื่อม 5 เครื่อง |
| ZDR | Zero-Data-Retention cloud calls.เรียก cloud แบบไม่เก็บข้อมูล |
| AGENTS.md | Cross-tool doctrine filename (2026 convention).ชื่อไฟล์ธรรมนูญข้ามเครื่องมือ (มาตรฐาน 2026) |
| CLAUDE.md | The doctrine file Claude Code reads each session.ไฟล์ธรรมนูญที่ Claude Code อ่านทุก session |
| MEMORY.md | Per-project file the AI auto-updates with fixes & decisions.ไฟล์ต่อโปรเจกต์ที่ AI อัปเดตเอง: การแก้บั๊ก + การตัดสินใจ |
| PLAN.md | Locked spec; AI proposes, human edits — never AI directly.สเปกล็อก AI เสนอ คนแก้ — AI ไม่แก้ตรง |
| MRIC | Repo 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-agnostic | Works with any AI engine, not tied to one vendor.ใช้กับ AI engine ตัวไหนก็ได้ ไม่ผูกเจ้าเดียว |
| Harness | The program that wraps an LLM and gives it tools/loops.โปรแกรมที่ห่อ LLM แล้วให้เครื่องมือ/ลูปทำงาน |
| Autonomous | Runs multi-step work without step-by-step human input.ทำงานหลายขั้นเองโดยคนไม่ต้องสั่งทีละขั้น |
| MCP | Model Context Protocol — standard way to plug tools into an AI.มาตรฐานเสียบเครื่องมือเข้ากับ AI |
| Skill | A reusable, packaged procedure the AI can invoke.ขั้นตอนสำเร็จรูปที่ AI เรียกใช้ซ้ำได้ |
| Hook | A script the harness auto-runs on an event (e.g. session start).สคริปต์ที่ harness รันอัตโนมัติเมื่อมี event (เช่น เริ่ม session) |
| Subagent | A child AI spawned to do a sub-task in parallel.AI ลูกที่ถูกสร้างมาทำงานย่อยขนานกัน |
| Worktree | An isolated copy of a repo for parallel, non-clashing work.สำเนา repo แยกไว้ทำงานขนานโดยไม่ชนกัน |
| RAG | Retrieval-Augmented Generation — answer using fetched documents.ตอบโดยดึงเอกสารจริงมาประกอบ |
| Vector DB | A database that searches by meaning, not exact words.ฐานข้อมูลที่ค้นด้วยความหมาย ไม่ใช่คำตรงตัว |
| Qdrant | The vector database SBOS & Synapse use.vector database ที่ SBOS & Synapse ใช้ |
| Embedding | A number-vector that captures a text's meaning for search.เวกเตอร์ตัวเลขที่จับความหมายข้อความไว้ค้นหา |
| NER | Named-Entity Recognition — pulling names/orgs from text (offline).สกัดชื่อคน/องค์กรจากข้อความ (offline) |
| Ollama | Runs open LLMs locally — for secret/private tasks.รัน LLM แบบเปิดในเครื่อง — สำหรับงานลับ/ส่วนตัว |
| LiteLLM | A proxy giving one API across many cloud LLM providers.พร็อกซีให้ API เดียวคุม LLM cloud หลายเจ้า |
| OpenRouter | A gateway to many models, used for public-zone tasks.เกตเวย์เข้าถึงหลายโมเดล ใช้กับงานโซน public |
| Redis | An in-memory store used for fast coordination/queues.ที่เก็บใน RAM ใช้ประสานงาน/คิวเร็วๆ |
| FastAPI | The Python web framework most engines expose APIs with.เฟรมเวิร์ก Python ที่ engine ส่วนใหญ่ใช้เปิด API |
| Docker | Packages a service + its deps into a portable container.ห่อบริการ + dependency เป็น container พกพาได้ |
| Cloudflare Pages | Free static hosting — this very page is on it.โฮสต์ static ฟรี — หน้านี้ก็อยู่บนนี้ |
| dev / main / deploy | Git branches: work → stable → live. One direction only.branch git: ทำงาน → เสถียร → ใช้จริง ทางเดียว |
| Opus / Sonnet / Haiku | Claude model tiers: top / default / cheap-fast.ระดับโมเดล Claude: สูงสุด / มาตรฐาน / ถูก-เร็ว |
| Context window | How much text an AI can "hold in mind" at once.ปริมาณข้อความที่ AI "จำไว้ในหัว" ได้พร้อมกัน |
| Token | The unit AIs read/write in (~¾ of a word); billing unit.หน่วยที่ AI อ่าน/เขียน (~¾ คำ); หน่วยคิดเงิน |
| Cognitive OS | Design Thinking + diverge/converge + PARA, run before code.Design Thinking + diverge/converge + PARA ทำก่อนโค้ด |
| PARA | File organization: Projects / Areas / Resources / Archive.จัดไฟล์: Projects / Areas / Resources / Archive |
| Diverge / Converge | List ≥3 options, then filter by explicit criteria.ลิสต์ ≥3 ทางเลือก แล้วกรองด้วยเกณฑ์ชัดเจน |
| BMAD | 5-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 gates | 5 pre-commit self-checks (tests, size, scope, human review).5 ด่านเช็คก่อน commit (เทสต์, ขนาด, ขอบเขต, คนรีวิว) |
| SPOF | Single Point Of Failure — one thing whose death kills the rest.จุดเดียวที่ถ้าพังจะลามทั้งระบบ |
| Install gate (§13) | Security audit required before any 3rd-party dependency.ต้องตรวจความปลอดภัยก่อนใช้ dependency ภายนอก |
| Morning brief | SBOS's daily 07:00 intelligence summary to Telegram.สรุปข่าวกรองรายวัน 07:00 จาก SBOS ส่ง Telegram |
Live linksลิงก์
Public pages from the ecosystem.หน้า public จากระบบ
Public URLsURL สาธารณะ ▸
- ollama-setup-guide.pages.dev — per-machine local-LLM setupคู่มือตั้ง LLM local ต่อเครื่อง
- supercap-18650.pages.dev — supercapacitor UPS research explainerอธิบายงานวิจัย Supercap UPS
- investment-bible.pages.dev — bilingual investing guideคู่มือลงทุน 2 ภาษา
Internal services (SBOS, l2-hub, TMAO, engines) are reachable only on the private Tailscale mesh — not public, by design.บริการภายใน (SBOS, l2-hub, TMAO, engines) เข้าถึงได้เฉพาะบนเมช Tailscale ส่วนตัว — ไม่ public โดยตั้งใจ