> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myrmagent.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Competitor Comparison

> How Myrm compares to popular AI agent platforms and what you gain by migrating.

# Competitor Comparison & Migration Guide

Myrm is designed as a complete AI agent workspace. Unlike terminal-only coding agents, Myrm provides a GUI-first experience with persistent sandboxes, cross-session memory, and enterprise-grade security — all while maintaining full coding capabilities.

<Note>
  **Migration confidence** — You keep control: pick SaaS, self-hosted, or desktop; import Hermes skills via GUI ZIP; compare channels, memory, and security row-by-row below before you commit. For plugin-centric users (for example Grok Build), Myrm installs a **full Agent package** in one step (model + skills + MCP + subagents + safety profile), instead of making you assemble multiple plugins manually. Docs are available in **6 languages** (zh/en/ja/ko/de/zh-TW); the app auto-detects your browser language on first visit (RFC 7231 Accept-Language negotiation) across all deployment modes — WebUI, Cloud-hosted, and Tauri desktop.
</Note>

For memory specifically, Myrm now ships a full **diagnostic + telemetry integrity loop** end-to-end: stream-phase status, persist-phase status, control-plane aggregation/alerts, frontend source explanation (`preflight` vs `runtime_fallback`) including mobile non-hover copy, plus strict cloud fail-closed ingest (shared envelope idempotency + no silent local fallback when shared dedup backend is unavailable, with `dedup_reject` reason metrics). Latest focused regression run (2026-07-19): server 28 passed, control-plane 55 passed, frontend 14 passed.

For per-turn capability control, Myrm supports **one-turn Skill/MCP override chips** with full observability (submit/apply/noop/queue/busy/final outcome + failure reasons). Focused validation (2026-07-29): frontend 29/29 passed, server 10/10 passed; targeted coverage reached 62.47% lines on core frontend files and 72% total on server telemetry modules. This gives teams migration-safe proof for cost/reliability tuning, not guesswork.

## Latest Validation Snapshot (2026-07-30 · Chat Wiki Knowledge Quick Lane · Roadmap #30)

* **Chat Wiki knowledge quick lane (vs Hermes llm-wiki / OpenClaw memory-wiki / deer-flow / LobsterAI / CoPaw / jiuwenclaw):** intent **+** knowledge\_query\_service **+** wiki\_knowledge\_lane **+** API query = **16 pytest, 0 failures** (\~6s, server lane, **Chrome MCP E2E pending sign-off**).
* **Verified:** `should_use_wiki_knowledge_lane` gate (agent mode + `enable_wiki` + vault ready + question intent); `execute_wiki_knowledge_query` SSOT (Settings `POST /wiki/query` shared with lane); `wiki_knowledge_lane` emits STATUS → SOURCES → MESSAGE → `execution_lane=wiki_knowledge`; query failure yields explicit failed STATUS (no bare raise, no silent GeneralAgent fallback); FE ProgressSteps `wiki_knowledge_lane` / `_clear` + `message_end` lane field.
* **User-visible win vs competitors:** Settings already supports zero-LLM wiki query — short knowledge questions in Chat no longer burn multi-turn GeneralAgent tool calls. **GUI Chat zero-LLM wiki lane is unique**; Hermes uses SKILL/CLI multi-step; OpenClaw uses memory-wiki tool chain; six reference repos lack Settings+Chat retrieval parity with ProgressSteps + SOURCES Drawer.
* **Honest scope note:** no lite synthesis; non-gate queries still use GeneralAgent; Chrome MCP Chat E2E + FE vitest `completionEvents.wikiKnowledgeLane` pending local bun sign-off.
* **Material SSOT:** `temp-docs/materials/WIKI_KNOWLEDGE_BASE_ADVANTAGE.md` · `USER_EXPERIENCE_ADVANTAGE.md` §22 #30 subsection · `services/wiki/_ARCH.md` · `lanes/_ARCH.md`

## Latest Validation Snapshot (2026-07-30 · ChatExecutionPrewarm Turn1 · Roadmap #29)

* **Turn1 cold-start prewarm (vs Hermes CLI parallel init / OpenClaw TUI pre-send):** coordinator **4/4** + prewarm API **3/3** + CDP log helper **2/2** = **9 pytest, 0 failures** (\~10s, server lane). Chrome E2E lane adds `Turn prewarm requested` log count ≥1 before existing **2msg1build** execution-cache proof (`test_execution_cache_chrome_e2e.py`).
* **Verified:** EmptyChat mount + MessageInput focus + AgentConfigPanel switch → `POST /agents/chats/{id}/prewarm`; send path `join_for_turn(0.3s)` + `coalesced_acquire`; SSE ProgressSteps `turn_prewarm_agent` / `turn_prewarm_memory` + unconditional `turn_prewarm_memory_clear` on `brief_pending`; FE module-level inflight dedupe; autoOnMount **does not** DELETE on unmount (first-send EmptyChat→ChatWindow safe).
* **User-visible win vs competitors:** Hermes v0.19 parallel init is **CLI-only**; OpenClaw prewarm is **TUI before first send** — neither exposes GUI EmptyChat/focus/agent-switch triggers with ProgressSteps waiting UX. Turn2+ still uses per-chat `execution_cache_reuse` (Chrome E2E 2msg1build).
* **Honest scope note:** join window 0.3s — very slow memory may still miss brief on Turn1 (same class as legacy 250ms serial); prewarm init failure has no GUI toast (send cold fallback). Frontend vitest 4 cases not run in agent env (no bun/node) — run locally: `bun run test src/hooks/chat/__tests__/useChatTurnPrewarm.test.ts`.
* **Material SSOT:** `temp-docs/materials/COMPETITIVE_HERMES_ADVANTAGE.md` §31 · `USER_EXPERIENCE_ADVANTAGE.md` §22 Turn1 subsection · `prewarm/_ARCH.md`

## Latest Validation Snapshot (2026-07-30 · Hermes 8-Article Series + OpenClaw Comparison · Article 13)

* **Series takeaway** (vendor blog finale, no comments): OpenClaw = stable tool · Hermes = growing partner. Myrm = **GUI-first growing partner** plus OpenClaw-grade Channel/Skill/Tool skeleton, same on Local / Tauri / Cloud CP.
* **What migrators actually get (honest)**:
  * **Myrm ≫**: GUI Migration Wizard (5 sources, dry-run/confirm/rollback) vs `hermes claw migrate` CLI; 4-step onboarding vs terminal-only; 8-type memory + Wiki vs Hermes 2,200-char MEMORY.md; HITL write approval vs Hermes direct writes.
  * **Myrm ≥**: Cron + proactive nudges (Cron GUI + push + situation\_report + HeartbeatEvaluator); FTS5 cross-session search (`conversation_search`); cloud sleep/wake (CP `sleep_sandbox`); subagents (SubagentDashboard); domestic models via Provider GUI.
  * **In progress (not hidden)**: Vision Fallback **WebUI already ≥** · **Feishu/channel/cron paths missing vision\_fallback injection** → roadmap `hermes_auxiliary_vision_*` (2 P1 items); `/learn` workflow → `hermes_learn_skill_*` (2 P0 items); Hermes sessions import → memory #3 extension.
* **WORTH:NO from series**: Python RPC subagent pattern (sandbox code-as-action ≥); Nous Portal bundled API; RL batch-trajectory research pipeline (not GUI-primary).
* **Material SSOT**: `temp-docs/materials/COMPETITIVE_HERMES_ADVANTAGE.md` §30 · `temp-docs/roadmap/hermes_openclaw_series_summary_cross_reference_roadmap.md`

## Latest Validation Snapshot (2026-07-30 · Wiki Evidence Closure v2 #4+#5)

* **Evidence citation GUI (vs OpenClaw / Hermes / deer-flow / LobsterAI / CoPaw / jiuwenclaw):** `test_query_closure_v2` **4/4** + `test_best_first` **5/5** + `test_source_citations` **6/6** + `test_wiki_recall_benchmark_gate` **1/1** = **16 tests, 0 failures** (\~6s, 2 batches, harness-only, **no Chrome MCP** — Node unavailable in agent env; vitest not run this round).
* **Verified:** Chat/Settings citation Drawer shows claim status + compile confidence + raw excerpt; fresh supported claims rank ahead of stale contested; Settings Query retrieval path trace (index/seeds/concepts); citation score derived (not hardcoded 1.0).
* **User-visible win vs competitors:** OpenClaw has CLI `raw-claim` / `source-evidence` + claim confidence rerank (`query.test.ts:602`) but **no GUI Drawer**; Hermes llm-wiki skill / deer-flow / LobsterAI / CoPaw / jiuwenclaw have **no** claim-level citation GUI; none expose Settings retrieval trace cards.
* **Honest scope note:** No `route-question` mode yet (OpenClaw has it; frontmatter schema pending); Chat omits retrieval trace (Settings debug surface); no Trust card / SSE lineage (by design).

## Latest Validation Snapshot (2026-07-30 · Wiki ↔ Memory boundary #27)

* **Wiki vs Memory write boundary (vs Hermes / OpenClaw / Mem0 concept):** `test_wiki_memory_boundary` **7/7** + save guard **3/3** + extract prompt **2/2** + agent wiring **1/1** = **25 tests, 0 failures** (\~5s, 3 batches, harness-only, **no Chrome MCP** — backend guard has no browser interaction path).
* **Verified:** `memory_save_tool` hard-rejects document-like knowledge/event when wiki is enabled (>800 chars or ≥3 markdown headings → `wiki_ingest_tool`); **`persist_extracted_memories` hard-filters** the same heuristics on auto-extract semantic/episodic; extraction prompt `wiki_boundary_enabled` when agent vault is active; Settings en/zh copy explains Wiki vs Memory roles.
* **User-visible win vs competitors:** Hermes caps flat MEMORY.md at **2,200 characters** (`hermes-agent/website/docs/user-guide/features/memory.md`) — no compiled wiki vault or dual-path code enforcement; OpenClaw uses MEMORY.md files without vector auto-extract filter; Mem0 articulates Wiki≠MemCon separation — Myrm adds **write-path enforcement** plus compile pipeline + unified `corpus=all` recall.
* **Honest scope note:** Splitting one long article into multiple short memory entries is not specially blocked; no standalone Boundary Card (ultimate review WORTH:NO).

## Latest Validation Snapshot (2026-07-30)

* **Wiki external source sync GUI + Google Drive (vs OpenClaw / Hermes / deer-flow / LobsterAI / CoPaw / jiuwenclaw / OpenWiki):** gdrive **3/3** + gmail/rss/status/oauth **12/12** + state/config/defaults/blueprint/hygiene/second\_brain **15/15** + gmail\_html **2/2** = **32 tests, 0 failures** (\~45s, 3 batches, server lane, **no Chrome MCP**).
* **Verified:** Settings **External Sources** panel (Gmail label + **Google Drive folder** + RSS + integration mirror → wiki `raw/` via `publish_raw`); **zero-LLM pull**; OAuth auto-enables Gmail `ReadLater`; **`google_drive_authorized`** reconnect hint when Drive read scope missing; persisted sync state + **`syncIssue` error surfacing**; Cron blueprint **`read_it_later`** router job (`__wiki_source_sync__`, empty tools).
* **User-visible win vs competitors:** Full GUI **ingest → compile → search** loop for saved mail, **Drive docs**, and feeds — OpenClaw routes Gmail through **Pub/Sub chat hooks** (not a wiki vault pipeline); Hermes/OpenClaw **google-workspace CLI** can read Drive but **not** into a compiled wiki raw pipeline + Settings GUI + cron; deer-flow / LobsterAI / CoPaw / jiuwenclaw have **no equivalent**; OpenWiki Gmail is **env/config-driven** with **no Drive connector**.
* **Honest scope note:** Gmail label and Drive folder ID typed manually — **no label dropdown / Drive Picker** (ultimate review WORTH:NO); **no OneDrive** (broken stub removed); Integrations API `drive_read_enabled` symmetry **WORTH:NO** (raw OAuth scope already exposed). Chrome MCP E2E not run; behavior proven via mocked Gmail/Drive API unit tests.

## Latest Validation Snapshot (2026-07-27)

* **Office Document Pipeline (vs WPS Lingxi / OpenClaw / Hermes / DeerFlow / LobsterAI / CoPaw / jiuwenclaw):** file\_parsers **213/213** + document\_reader **26/26** + docx read-chain E2E **16/16** + deliverable bundle **23/23** = **278 tests, 0 failures** (2026-07-28 batched run). **Verified:** LegacyFormatParser OLE2 + soffice auto-conversion, docx.py cell\_map structure metadata, full-chain Goal deliverable ZIP bundle. **Write fidelity (in-place):** Harness `OfficeBashAudit` post-bash OPC/formula diff + baseline-missing honest warn + corrupt Office package warn + optional LibreOffice recalc error scan + layout QA (**18 pytest**, 2026-07-28) — no OSS competitor has an equivalent harness-level post-bash audit. WPS Lingxi still leads on fixed government-template fidelity via proprietary kernel; Myrm leads on legacy format handling, structured parsing, delivery bundle, and 3-deployment independence.
* **Frontend Agent State Management Architecture (vs CopilotKit AG-UI useAgent/useAgentEvents Hooks):** multiplexChunkBridge **16/16** + SSE handlers (gap+clarification+completion) **24/24** + messageStreamHandler core **27/27** + Zustand store (snapshot+navigation+subagent+model config) **30/30** + integration & event dispatch **39/39** + UI data model merge **6/6** + state recovery (budget+memory+reasoning) **40/40** + plan lifecycle **13/13** = **195 tests, 0 failures**. Fixed 1 pre-existing bug (Japanese locale assertion out-of-sync).
* **Why CopilotKit SDK Hooks are obsolete here:** CopilotKit's `useAgent()` / `useAgentEvents()` target SDK embedding (Agent inside a third-party app). Myrm, as an independent AI product, uses Zustand store + 13 dedicated Handler modules + `streamConsumer` (with disconnect retry / Last-Event-ID stream resumption / chunk buffering / capability\_gap deferred re-send / missed HITL recovery / historical state hydration) — 66 SSE event types vs CopilotKit's \~10 abstract events, 6.6x granularity, precise re-render with zero Hook overhead.
* **Migration benefit:** Developers migrating from CopilotKit AG-UI get real-time streaming, auto-reconnect, and full UI state machine out-of-the-box — no SDK hooks, EventSource management, or reconnection logic required.
* **Declarative Agent UI Framework (vs CopilotKit Generative UI useRenderTool/A2UI):** Frontend interactive-ui components **65/65** + Harness render\_ui\_tool + update\_ui\_data\_tool **30/30** = **95 tests, 0 failures**. Myrm ships 23 whitelisted components (10 form + 5 layout + 6 display + 3 basic) + 8 built-in validation rules + conditional rendering (visible binding) + UIComponentErrorBoundary per-component isolation + validate\_ui\_adjacency structure validation + update\_ui\_data\_tool incremental deep merge — Agent outputs JSON schema, zero frontend code needed.
* **Why CopilotKit Generative UI is obsolete here:** CopilotKit requires frontend devs to hand-write a render callback for every tool. No built-in validation, error boundaries, or incremental updates. Myrm's declarative registry model is superior in security, consistency, and development efficiency.

## Latest Validation Snapshot (2026-07-26)

* **Task Navigation & AI Auto-Routing (vs mattpocock/skills `ask-matt`):** DiscoverCapability **57/57** + Clarification/ask\_question **15/15** + capability\_gap SSE **37/37** + StreamDispatcher **17/17** + Kanban API **361/361** + Kanban Service **102/102** + Kanban Integration **33/33** + Kanban Channels **89/89** = **711 tests, 0 failures**.
* **Verification Seam Gate (vs mattpocock/skills `/to-spec`):** Goal Engine (VerificationGatekeeper + ShellCriterion + SemanticCriterion + CompletionGuard + 熔断保护) **209/209** + PlanConfirmMiddleware **13/13** + Kanban Verifier + Criteria Integration **47/47** = **269 tests, 0 failures**.
* **Pre-existing bug fixed:** `kanban_command_handler.py:326` — `by_agent` dict with `None` key caused `TypeError` in sorted(); now handles gracefully.
* **Why CLI navigation is obsolete here:** Matt's ask-matt requires users to manually choose a workflow path from 17 isolated CLI skills. Myrm's 6-layer auto-routing (ActionMode + DiscoverCapability + capability\_gap + ask\_question + task-planning + KanbanPipeline) makes the user simply describe what they want — the Agent automatically plans and executes.
* **Why manual `/to-spec` is obsolete here:** Matt's to-spec requires users to manually trigger seam definition. Myrm has 5-layer automated verification: GoalMode acceptance\_criteria (user-defined) + PlanConfirm HITL (plan review) + Kanban completion\_criteria (structured shell+semantic) + VerificationGatekeeper (auto-execution after task completion) + CompletionGuard (anti-hallucination).
* **User migration payoff:** developers using Matt's skills lose zero capability when switching to Myrm; they gain AI-automatic task routing and programmatic verification instead of memorizing slash commands.
* **Real-time Task Monitoring (vs mattpocock/skills GTE Workbench concept):** GoalStatusCard+GoalControlPlane+GoalPlanStepsList **27/27** + SubagentDashboard **2/2** + Kanban DnD+Markdown **48/48** + Goal Engine **164/164** + Subagent Engine **179/179** + Kanban API **250/250** + Kanban Integration **100/100** = **770 tests, 0 failures**. Myrm provides 9-layer real-time monitoring (GoalStatusCard fixed overlay + GoalPlanStepsList + GoalControlPlane + SubagentDashboard + ArtifactPortal + BrowserLiveView + DesktopLiveView + KanbanBoardView + MobileStatusBoard) — all accessible at 0-1 click distance. Portal supports three layout modes: overlay (quick preview), side-by-side (wide screens auto-switch at ≥1280px, user-toggleable), and fullscreen (immersive editing) — with user preference persisted via localStorage.
* **Intelligent Runtime HITL vs Task-level AFK/HITL Declarations (vs mattpocock/skills `/to-tickets`):** Kanban task\_runner **25/25** + unattended\_mode **2/2** + approval\_flow+yolo **111/111** + unattended\_mode\_guard **2/2** + approval\_edge\_cases+batch+ptc **38/38** + rate\_limiter+denial+subagent\_safety **22/22** + interception+correction+scheduler **104/104** + security\_config+execution\_policy+permission **169/169** + server approvals **67/67** + personality\_yolo+payload **19/19** + HITL\_resume+kanban\_binding **11/11** + subagent\_approval\_integration **4/4** + batch\_decisions+session **72/72** + workspace\_boundary **12/12** = **658 tests, 0 failures**. Myrm's design: Kanban=always AFK (yolo+unattended), Chat=natural HITL, Cron=natural AFK, GoalMode=intelligent switching. Runtime ToolApproval triggers per-operation (not per-task), with 4-level Allow-Always learning. Matt's task-level AFK/HITL tag is a CLI limitation patch — it creates semantic conflicts (AFK task + dangerous op = ?) that Myrm's operation-level approach solves elegantly.
* **Context Management & Smart Handoff (vs mattpocock/skills ask-matt Context Hygiene + `/handoff`):** ContextBudgetGuard **24/24** + ConversationForkManager **24/24** + ContextUsageIndicator **25/25** + Context pipeline **111/111** + Filter+cache\_ttl\_prune+resume **68/68** + Handoff API **24/24** + SummarizeProcessor **49/49** = **325 tests, 0 failures**. Myrm provides 6-layer context management: (1) ContextBudgetGuard 4-layer overflow protection (2) 50+ file auto-compress pipeline (3) compactChat manual compress API (4) checkpoint-based fork at ≥75% usage (5) ContextUsageIndicator ring+CTA (6) HandoffDialog cross-channel migration. Matt's `/handoff` is a manual CLI command producing text summaries that lose context; Myrm's Fork preserves full LangGraph checkpoint state. Pre-existing test bug fixed: summarize\_processor `_NoOpMetric` AttributeError.

## Latest Validation Snapshot (2026-07-23)

* **Shell pattern Allow-Always full chain:** Harness pattern tests **20 passed**; server SHPOIB + allowlist API **11 passed**; frontend derive-pattern parity **13 passed**; **Chrome LIVE\_AGENT E2E 1 passed** (bash HITL → Allow always this pattern → Settings list/delete → next run auto-approved).
* **User-visible win vs competitors:** 4-level Allow-Always (permission / tool / exact / **command pattern**) with Settings CRUD — Claude Code & OpenClaw stop at tool-name or CLI signing; compound shell (`&&`/pipe) never persisted as pattern.
* **Dev-gate reliability under real parallel load:** `./myrm ready --chrome` preflight + `./myrm test` focused suites all passed (**54 ready/install regressions + 32 dev-gate contract tests + 3 Chrome E2E flows: READ spill / READ expired / LIVE marketplace chat**). In temporary shared-stack degradation windows, attach preflight recovered via built-in retry without requiring users to kill other running pytest jobs.
* **Migration payoff:** teams moving from CLI-only pipelines get deterministic "ready → test → real Chrome" signoff in one workflow, with explicit health evidence (`clientHot`, runtime IDs, lane-aware queueing) instead of ad-hoc shell coordination.

## Latest Validation Snapshot (2026-07-24)

* **TTFT startup path proof (minimal batch, low load):** harness `test_backend_detector.py` **21 passed** with focused module coverage **84%** (`backend_detector`); server TTFT chain tests (`test_stream_loop_ttft.py`, `test_stream_collector_coverage.py`, `test_usage_aggregation_coverage.py`) **18 passed** with focused coverage **48%-72%** on `stream_loop` / `stream_collector` / `usage_aggregation`.
* **Resource envelope (measured, not estimated):** `/usr/bin/time -l` peak RSS across these batches stayed around **90MB / 337MB / 144MB / 355MB**; no monotonic memory climb observed during reruns.
* **User-facing takeaway:** first-reply latency instrumentation now stays verifiable end-to-end while preserving startup stability of external-agent detection under realistic local constraints.
* **Honest scope note:** this 2026-07-24 batch intentionally avoided heavy browser E2E to keep CPU/memory impact low; latest real Chrome MCP evidence remains documented in the 2026-07-23 and 2026-07-20 snapshots above.

## Latest Validation Snapshot (2026-07-20)

* **Browser automation baseline (targeted, low-load batches):** 109 harness tests passed (`snapshot`, dispatcher/event routing, takeover).
* **Contract parity checks:** server SSE event parity 1 passed; frontend event schema 6 passed.
* **Quick interaction stability (focused regression):** frontend `deep-link-listener` + `flow-pad-inline-mode` + `intent page` suites passed **36/36**; server gate/finish/integration suites passed **43/43**.
* **Coverage evidence (focused files):** frontend (`deep-link-listener.tsx`, `flow-pad-modal.tsx`) **78.28%** overall in focused run; server modules `desktop_control/gate.py` **89%**, `background_job_finish_handler.py` **94%**.
* **Real browser proof (not paper analysis):** real Chrome MCP `take_snapshot` + `evaluate_script` on live WebUI pages; verified `/intent/ask?text=...` auto-returns home and opens FlowPad with prefilled text.
* **Chrome UI E2E:** `test_background_tasks_panel_chrome_e2e.py` 3 passed.
* **Delegation control Chrome LIVE E2E:** `test_subagent_dashboard_chrome_e2e.py` 3/3 (340s); session-scoped delegation pause + Dashboard cancel/token/model signed off on real Chrome.
* **Pre-existing bug fixed during validation:** `mode=running` seed fixture returned 500 due to `UnboundLocalError`; fixed in API fixture route and covered by integration regression.
* **Resource envelope during verification:** memory free percentage stayed in the **36%-40%** range in this run (no high-pressure >80% used state observed).
* **Known environment caveat (honest):** captcha coordinator tests still depend on local `patchright` availability; this does not block the browser snapshot/telemetry baseline verification above.

## At a Glance

| Capability                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     Myrm                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                        Hermes Agent (v0.15)                                                                                        |                               OpenClaw                              |    360 Security OpenClaw    |                             OpenClacky                             |      MiniMax Mavis     |       MemPalace       |
| ----------------------------------------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------: | :-------------------------: | :----------------------------------------------------------------: | :--------------------: | :-------------------: |
| **Memory System**                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ✅ 8 types + knowledge graph + 27 integrations (9 categories) + 14 import adapters + cross-task SharedContext + archive auto-restore + 15 diagnostics + 9-layer auto-extraction (ZeroCost + feedback signals + Deep PII) + conflict auto-detect & GUI arbitration (4 resolutions + 72h safe fallback) + 3-engine behavior inference (CognitiveDeriver + PreferenceStability + FrustrationDetector→skill evolution) + BM25/Vector/RRF tri-channel retrieval (7-Signal + MMR) + Protocol-first SDK (3,100+ tests)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                           ⚠️ 2,200 chars                                                                                           |                              ⚠️ 3 types                             |          ⚠️ 3 types         |                           ❌ Session-only                           |     ⚠️ Basic update    |    ⚠️ Flat drawers    |
| **Conversation Search**                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ✅ FTS5 + Qdrant hybrid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |                                                                                      ⚠️ v0.15 local text only                                                                                      |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Code Search**                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ✅ ripgrep grep/glob + `@codebase` overview + path-grouped densification (18-39% token savings)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                             ❌ grep only                                                                                            |                      ⚠️ tree-sitter exact match                     |              ❌              |                             ❌ grep only                            |            ❌           |           ❌           |
| **GUI Interface**                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ✅ Web-native                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                   ❌ CLI (v0.15 TUI multi-session)                                                                                  |                                 CLI                                 |          ✅ Web/App          |                           ⚠️ Basic WebUI                           |    ⚠️ Lark-embedded    |       ❌ CLI only      |
| **Desktop App**                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ✅ Tauri + Auto-Launch + Zero-Flicker + **Cross-Device Command Center** (E2EE encrypted tunnel + CF Tunnel one-click public access + Mobile Hub: SSE real-time/HITL approval/Steer/Stop/Live Preview/Voice + QR scan-to-connect + 17 Channels any IM remote control + Node Events automation) — **401 cross-device full-stack tests**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                              Electron                                                                                              |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Deployment**                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ✅ Web/Tauri/SaaS · **One local command for full stack** (desktop/Web stay in sync) · **Clear UI guidance when backend is offline** (no cryptic errors; saved settings still readable) · **Cloud/Sandbox Loopback Guard** pre-blocks localhost-only MCP connectors and guides users to Local/Tauri before workflow starts                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                             Self-hosted                                                                                            |                             Self-hosted                             |         ❌ SaaS only         |                            Local + WebUI                           |      ❌ Closed SaaS     |       Local only      |
| **Harness upgrade contract**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ✅ `myrm_agent_harness.api` + CI gate · Zero-ops DB migration engine (SHA-256 tamper-proof + 5 idempotent patterns + Baseline) · Pre-upgrade auto hot-backup + auto-recovery · Agent config snapshot rollback (preserves MCP) — **114 backward-compat tests**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                       ❌ Monolith deep imports                                                                                      |                       ❌ Monolith deep imports                       |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Worktree Isolation**                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ✅ 1-click GUI Sandbox + Kanban auto-assigns isolated Worktree with full merge/discard approval flow                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                     ⚠️ Background auto-create only, lacks lifecycle management                                                                     |                                ❌ None                               |            ❌ None           |                               ❌ None                               |         ❌ None         |         ❌ None        |
| **Cross-Platform Handoff**                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ✅ Web ↔ IM (Telegram/WeChat) transfer, instantly clones structured state, even terminal processes                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                 ⚠️ Desktop local model switch only                                                                                 |                                ❌ None                               |            ❌ None           |                               ❌ None                               |         ❌ None         |         ❌ None        |
| **Credential Pooling**                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ✅ 4 rotation strategies + error-aware cooldown & circuit breaker + ManagedLLM/KeyPool in-agent failover (33 openai\_compat tests)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                          ⚠️ Single account                                                                                         |                          ⚠️ Single account                          |      ⚠️ Vendor account      |                          ⚠️ Single account                         |    ⚠️ Vendor account   |   ⚠️ Single account   |
| **Local Direct Routing**                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ✅ Lightweight Tauri connects directly to official APIs for absolute privacy compliance, 1/10th RAM of Electron                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                        ⚠️ Heavy Electron RAM                                                                                       |                            ⚠️ Cloud relay                           |         ❌ Cloud only        |                        ⚠️ Heavy Electron RAM                       |      ❌ Cloud only      | ⚠️ Heavy Electron RAM |
| **OOBE Migration**                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ✅ Auto-scans Claude Code, Cursor, Codex, etc. on first launch for 1-click import + **auto-migrates default model config** (no "configure model" error on first chat) + **OpenClaw vault bind handoff** (post-import Project bind → first chat writes `project_id` SSOT — **5 pytest Jul 2026**)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                                    ⚠️ Rough CLI tool calls only                                                                                    |                                ❌ None                               |            ❌ None           |                               ❌ None                               |         ❌ None         |         ❌ None        |
| **Zero-Config First Chat (Express Lane)** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ✅ Platform-hosted model pre-provisioned; new Cloud users chat instantly with no API key; WU billing + tier fallback + exhaustion guidance to BYOK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |                                                                                           ❌ BYOK required                                                                                          |                           ❌ BYOK required                           | ⚠️ Vendor-provided (closed) |                           ❌ BYOK required                          | ❌ Vendor-only (closed) |    ❌ BYOK required    |
| **SaaS sign-in**                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ✅ Google OAuth + one-time exchange (JWT never in URL); enterprise OIDC ready                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |                                                                                                  ❌                                                                                                 |                     ❌ (OAuth for LLM keys only)                     |      ⚠️ Vendor account      |                                  ❌                                 |      ❌ Closed SaaS     |           ❌           |
| **Model Support**                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             ✅ 100+ providers via LiteLLM + Auto-Tune for small models (7B-35B auto-adapts prompt/tools/compression) + per-model reasoning timeout floor (19 families, never timeout during thinking) + **unified base\_url across all 7 LLM creation paths** (Agent/Vision/Video/Retrieval/Structured Output all respect custom endpoint — enterprise proxy & air-gapped deployments work out of the box, 147 validation tests)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                     200+ via OpenRouter gateway                                                                                    |                                Fixed                                |       ⚠️ Fixed 3-tier       |                          BYOK multi-model                          |     ❌ MiniMax only     |          N/A          |
| **Channels**                              |                                                                                                                                                                                                                                                                                                                                                                                    ✅ 26 channels + 3-tier Agent binding (Thread/Chat/Channel) + 6-dim identity isolation + **Topic→Project/Vault workspace binding** (GUI Project picker + IM `/bind workspace=`; sync to chat SSOT before execution; bidirectional unbind; fail-loud — OpenClaw agent-level workspaceDir only; **9 pytest Jul 2026**) + **Obsidian vault in-place write fidelity** (YAML frontmatter auto-reinject on file\_edit + FormatObserver skips vault `.md` — **44 pytest Jul 2026**; OpenClaw/Hermes: prompt-only or wiki-compile layer) + IM Goal management + **WeChat voice loop** + **IM /undo /retry linked file snapshot Revert (exclusive)** (iLink voice STT + channel\_notify\_tool file push-back + DLQ dedup + 656 dedicated tests passed 2026-07-14) (5,756 tests)                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                     \~23 (no per-topic binding)                                                                                    |                                 \~7                                 |      ⚠️ Feishu/DingTalk     |                             ⚠️ IM bots                             |       ❌ Lark only      |           ❌           |
| **Public Ingress guidance**               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ✅ SSOT API + inbound/outbound badges + one-click Cloudflare tunnel + guided docs (cpolar/NATAPP/frp) + E2EE NaCl Box encryption + 6-level TrustZone + DNS rebinding protection                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                            ❌ manual docs                                                                                           |                         SSH+Tailscale (CLI)                         | ⚠️ bundled cloudflared docs |                                  ❌                                 |            ❌           |           ❌           |
| **Mobile remote command center**          |                                                                                                                                                                                                                                                                                                                                                                                                                  ✅ Full PWA (Serwist offline cache + install prompt + auto-update) · E2EE NaCl Box pair-token Hub · live Status Board (SSE progress · **visual approval** · voice **push-to-talk** · mid-task **steer** · emergency stop · **Browser/Desktop Live Preview** — real-time agent screen snapshots with Lightbox zoom, tab switching, collapsible card, zero new APIs) · scoped **chat-level** cancel (safe pair binding) · 100dvh + pb-safe viewport · **Web Push VAPID offline notifications** (8 event types, iOS PWA install guidance, auto-cleanup expired subscriptions) · **144 mobile tests** (2026-07-11: MobileStatusBoard 8 + MobileActionSheet 28 + PWA Install 4 + Web Push 53 + Remote Access 51)                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                           ❌ CLI/TUI only                                                                                           |                    ⚠️ macOS remote mode (SSH+CLI)                   |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Sub-Agent**                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ✅ 8 modes + Dynamic Workflow + **Single-Agent Gatekeeping** + **AI Build** (describe intent → auto-generate full Agent config) + Template Market + Org Marketplace (606+ tests)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                   ⚠️ v0.15 Kanban Swarm (1 mode)                                                                                   |                     ⚠️ Basic spawn (linear only)                    |        ⚠️ Basic spawn       |                           ❌ Single agent                           |        ⚠️ L-W-V        |           ❌           |
| **Tool Ecosystem**                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ✅ Built-in Agent engine + MCP industry standard (OAuth + security scan + schema tolerance + dynamic discovery + connection pool self-healing) + **Settings MCP GUI full-stack (options/scan/verify/registry)** + **Agent/Team template market one-click instantiate** + 5-layer approval + skill auto-evolution + 8 SubAgent orchestration modes (10,838 tests)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                        ⚠️ Single-file Copilot adapter (686 lines, CLI only)                                                                        |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Security**                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ✅ 6-layer defense + **4-level Allow-Always** (permission/tool/exact/**command pattern**, Settings CRUD, compound-shell guard, Chrome LIVE E2E) + DM Pairing (4 policies, GUI approval, anti-spam cooldown) + **GUI Security Health Dashboard** (6-dimension real-time scoring + per-finding details + one-click Fix/Configure repair guidance — zero competitors have this)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                  ⚠️ v0.15 Promptware 3 chokepoints                                                                                 |                               1 layer                               |          ⚠️ Unknown         |                          ⚠️ Basic sandbox                          |        ⚠️ Closed       |           ❌           |
| **Credential Vault**                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ✅ Label inject + TOTP (browser + desktop)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                      ❌ Plaintext in tool args                                                                                      |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **WebUI Access Security**                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ✅ Zero-Trust WebSocket + Secure Cookie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                     ⚠️ HTTP only, WS vulnerable                                                                                    |                             ⚠️ Basic JWT                            |          ⚠️ Unknown         |                            ⚠️ HTTP only                            |     ⚠️ Closed SaaS     |     ❌ Open on LAN     |
| **Goal Mode**                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ✅ 8 states + 4D budget + 14-layer dead-loop shield + **Per-Todo Checkpoint** (opt-in auto-PAUSE after each step for human confirmation — zero competitors have this)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                                                /goal                                                                                               |                                  ❌                                  |              ❌              |                                  ❌                                 |     ⚠️ Plan-approve    |           ❌           |
| **Context Management**                    | ✅ 6-layer Prompt Cache (301 cache-specific tests) + 22+ middleware + 11-step compression pipeline + 7-layer anti-resurrection + DB-level session compaction (CAS MVCC + backup + 5-dim archive export) + ContextBudgetGuard 4-layer predictive overflow protection + Hot Cache Bypass + Anti-Thrashing + deterministic fallback + circuit breaker + **3-layer tool-call pair integrity defense** (ToolCallGroups exact ID matching + IntegrityGuard post-compaction + DanglingToolCallMiddleware pre-LLM final safety net — compaction never breaks tool call pairs, 98 pair-integrity tests) + **Human Anchor architectural guarantee** (correct-by-construction protection of original user intent — competitors need \~120-line runtime checker) + **7-layer oversized output deep defense** (vault spill → auto-vault → structure-aware trim → stream recovery → preflight guard → hook spiller → bash spill — full data preserved, competitors lose originals, 127 tests) + **Context Health Ring** (real-time token usage ring + one-click compress + auto fork-CTA at ≥75% + strategy detail panel — no competitor offers this) + **Zero-Config Compression Hot-Tuning** (switch model → ContextConfig auto-recalculates all compression thresholds proportionally — zero YAML editing vs Hermes 15+ manual params; auto summarizer\_llm selection + circuit breaker half-open recovery; DB-backed per-message fingerprint rebuild — 409 hot-reload tests) (986+ context pipeline tests + 209 goal guard chain tests = 1,195+ tests) | ⚠️ system\_and\_3 (4 breakpoints) + 8-layer fixed stack + single-layer ContextCompressor (in-memory, no DB persist) + runtime `_is_real_user_message` checker (bypass risk on new synthetic types) |                                 LCM                                 |             LCM             |                    ⚠️ Idle compress + dual cache                   |   ⚠️ Worker isolation  |    ⚠️ 4-layer stack   |
| **Smart Concurrency Router**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ✅ 5-layer guard (session mutex + per-user + global semaphore + memory pressure circuit breaker + tiered timeout) + O(1) path lock + **Busy Ack** (IM: instant i18n queued/full reply with 30s debounce; Web: toast with queue position) — 103 concurrency+busy tests passed                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                  ⚠️ Coarse write lock + runtime-id mapping (dual-ID prone to bugs)                                                                 |                               ❌ Unsafe                              |          ⚠️ Unknown         |                                  ❌                                 |       ⚠️ Unknown       |           ❌           |
| **Headless Unattended**                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ✅ Tag-based tool isolation (Zero Deadlock)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                  ⚠️ Prone to interactive deadlocks                                                                                 |                            ❌ Unsupported                            |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Extreme Anti-Explosion**                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               ✅ 4-layer moat (Hygiene, Shield, Strip, Budget)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                  ⚠️ Crash/Loss on massive payloads                                                                                 |                       ⚠️ Single point failure                       |          ⚠️ Unknown         |                           ⚠️ Basic limit                           |       ⚠️ Unknown       |           ❌           |
| **Output Sanitization**                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ✅ Dual-layer (streaming + pre-delivery) with full-width pipe and DeepSeek token coverage                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                         ⚠️ Single-layer, ASCII pipes only until recent fix                                                                         |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **MCP Tool Param Auto-Fix**               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ✅ required+nullable missing args auto-completed to null + mixed-union object/array parsing with type guards + cache-stable schema canonicalization                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                   ⚠️ Partial/legacy coercion path                                                                                  |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Smart Routing & Auto-Upgrade**          |                                                                                                                                                                                                                                                                                                                              ✅ 6-layer: ComplexityRouter 3-Tier (40+ keywords + 20 exception regex + multi-signal scoring) + LLM Judge (256-entry cache) + Session Momentum (length-weighted decay) + PrivacyRouter + PenaltyTracker (24h decay feedback learning) + ESCALATION\_CONTRACT (model self-upgrade) + EscalationScrubber + 11-module Fallback chain + 10-module Token Economics (cost provenance + tool attribution + latency stats + multi-dim budget) + 17+ dimension routing transparency (tier badge + cost + cache + privacy + tool attribution + analytics panel) + 6-level Thinking Intensity GUI (off/low/medium/high/xhigh/max + custom values + per-model persistence + reasoning auto-detection) + **25+ built-in providers** (OpenRouter, Moonshot/Kimi dual-endpoint, DeepSeek, Xiaomi MiMo, etc. — paste API key and go) + **session/daily/per-call 3-dim budget guard** — 3,926 tests                                                                                                                                                                                                                                                                                                                             |                                                                                   ⚠️ Single-dimension Sonnet→Opus                                                                                  |                                  ❌                                  |       ⚠️ Manual 3-tier      |                                  ❌                                 |       ⚠️ Unknown       |           ❌           |
| **Background Tasks**                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ✅ GUI-first closure v1 (2026-07): unified `bash_process_tool` (list/output/kill) Turn1 eager (stable prefix cache, no mid-thread bind\_tools mutate) → natural exit persists i18n chat + **single** SSE toast + reload; Navbar **Activity Panel** — section **Long-running tasks / 耗时任务** (list failed/running + one-click Cancel via `data-testid`) + Tauri tray running count; kill/cancel/session-cancel silent — **9 integration + 120+ automated tests green** + **Chrome MCP E2E R23 Dev Gate** (2026-07-21: Panel READ **9/9** 3× stress + LIVE spawn **3/3** 3× stress, mux lanes)                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                         ⚠️ exec+process in-memory (OpenClaw docs); CLI poll                                                                        |                                  ❌                                  |              ❌              | ⚠️ `/background` CLI + status bar (Hermes); no dedicated Panel e2e |       ⚠️ Unknown       |           ❌           |
| **Error Recovery**                        |                                                                                                                                                                                                                                                                                                                                                                                                      ✅ 8-layer defense (LoopGuard 7 patterns + ToolStuck→GraphInterrupt + FrequencyGuard + E-Stop + 4-layer CircuitBreaker + zombie auto-reclaim + Gateway timeout + memory pressure fuse) + **4-layer tool call self-correction** (7+ JSON repair strategies for weak/local models + error→ToolMessage auto-feedback + LoopGuard anti-deadloop + CorrectionLearning persistent memory from HITL edits) + **3-layer HITL co-piloting** (frontend PolymorphicApprovalCard + EditModeView + GoalControlPlane + MobileStatusBoard / Harness 7-layer LoopGuard + CancellationToken 5-reason / Server approval middleware + 30+ IM channel approval) + 14 self-healing types + 9-layer deep degradation — 3,276 + 913 HITL tests (Jul 2026)                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                              try/catch                                                                                             |                                Basic                                |            Basic            |                    ⚠️ Context overflow recovery                    |       ⚠️ Unknown       |           ❌           |
| **Enterprise Reliability**                |                                                 ✅ xdist locks, EventBus truncate, OTEL safe, path-boundary + TOCTOU approval tests; chat SSE state machine regression tests; **521 fractal `_ARCH` module docs + 296 architecture CI gates**; **Eval framework: 4-type 12+ assertion engine (Tool+State+Sandbox+Semantic LLM-Judge with custom judge\_prompt/model/threshold) + multi-turn eval (MultiTurnEvalCase) + one-click chat→eval capture (GUI Flywheel) + AdaptiveEvalManager (smart resource yielding) + GUI integration + multi-dataset CRUD + A/B historical reports + SSE streaming + 6 IR metrics (Recall/Precision/NDCG/MRR/HitRate/Latency) + ModelTier auto-tune + eval workspace physical anti-contamination isolation + memory retrieval quality eval subsystem + EvalManifest 10-dim environment snapshot (model/tools/prompt fingerprint/dataset hash/reasoning depth — auto-embedded in every report for fair A/B comparison, no competitor has this) + **Benchmark Headless Profile** (one-click GUI toggle: auto-clear system prompt, CORE-only tools, disable MCP/Skills/SubAgents/Memory/WebSearch/Replan/Compression — fair reproducible scoring for Terminal-Bench/SWE-bench style benchmarks; A/B comparison in Eval Lab dashboard) — 142 eval tests verified, the only Agent framework with full eval GUI + AI judge + concurrent execution + one-click capture flywheel + environment reproducibility snapshots + standardized benchmark mode** (2026-07-28)                                                 |                                                                                      ⚠️ Happy-path tested only                                                                                     | ⚠️ Race conditions likely (ClawEval: CLI 59-role benchmark, no GUI) |          ⚠️ Unknown         |                             ⚠️ Unknown                             |       ⚠️ Unknown       |           ❌           |
| **Module Documentation Map**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ✅ **521** `_ARCH.md` + CI anti-drift (`check_fractal_docs`)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                         ❌ Central docs only                                                                                        |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **File Edit Safety**                      |                                                                                                                                                                                                                                                                                                                                                       ✅ **8-layer multi-agent file protection** (read-before-write + version match + full-read-before-edit + line-level conflict detection + cross-agent activity tracking + auto workspace isolation ISOLATED\_COPY + deferred serial merge + auto-cleanup on completion — **192 multi-agent tests**) + **batch atomic file\_edit (`edits[]` up to 20 · single disk commit · overlap precheck · verify all-or-rollback)** + 3-tier post-write safety (in-memory syntax check + CLI deep diagnostics + 12 auto-formatters) + syntax error auto-rollback + Shadow Git snapshot with **selective file restore** (checkbox multi-pick) + line-level diff stats (+X/−Y) + Agent auto-aware after rollback + config guard + sensitive guard + real-time diff SSE + **Chrome LIVE WebUI batch edit E2E verified (Jul 2026)** (1,380+ tests)                                                                                                                                                                                                                                                                                                                                                       |                                                                 ⚠️ py\_compile-level post-write lint (no auto-format, no rollback)                                                                 |                                  ❌                                  |              ❌              |            ❌ Prompt-only file disjoint (LLM-bypassable)            |       ⚠️ Unknown       |           ❌           |
| **File System Intelligence**              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ✅ 19 native ops + 11-module parsing engine (PDF 3-strategy + Office + Jupyter Notebook w/ kernel-aware syntax highlight + drag-and-drop full-stack + otherFiles attachment awareness) + 5 observers + **Smart file search** (glob wildcard recursive + grep 3-tier engine ripgrep>mmap>Python + ReDoS protection + token-saving formatter + frontend typeahead path completion) — **163 file\_search+suggest tests + 788 file system tests = 951 total passed**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                                     ⚠️ 4 basic ops + basic ipynb/docx/xlsx (sync, no fallback)                                                                     |                             ⚠️ bash only                            |         ⚠️ bash only        |                                  ❌                                 |        ⚠️ Basic        |           ❌           |
| **Code Execution Engine**                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 ✅ Zero-subprocess pathlib I/O + syntax-error auto-rollback + persistent shell sessions + env auto-probe + seatbelt/bwrap sandbox + PTC channel + output compression + VenvManager + tool auto-discovery + **modular BashExecutor/BashTool split (13 files, 97.1% coverage, arch gates)** — **1,520+ tests**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |                                                                                      ⚠️ Shell subprocess only                                                                                      |                             ⚠️ bash only                            |         ⚠️ bash only        |                                  ❌                                 |        ⚠️ Basic        |           ❌           |
| **Workspace Context**                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ✅ 7-type @ references (file/folder/staged/diff/url/upload/line-range) + tool-layer full filesystem + Dynamic Workflow multi-project parallel (259 tests)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                                       ⚠️ @file only (sandbox)                                                                                      |                             ❌ Single dir                            |              ❌              |                                  ❌                                 |       ⚠️ Unknown       |           ❌           |
| **Local File "Data Stays Local"**         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ✅ Native — Agent runs locally, all files processed in-place                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                            ❌ Cloud-only                                                                                            |                              ⚠️ Docker                              |          ⚠️ Docker          |                               ❌ Cloud                              |            ❌           |           ❌           |
| **Scheduled Tasks**                       |                                                                                                                                                                                                                                                                                                                                                                                                                                     ✅ 20+ GUI components + 27 config options + 7 trigger types (cron/event/system/webhook/poll/stream/manual — HMAC-SHA256 + SSRF + ReDoS triple security) + 3 session modes (Isolated/Main/Daily — Daily auto-injects same-day history for trend detection) + exponential retry + misfire recovery + agent binding + delivery + Merkle audit chain + intelligent noise filtering + **per-job execution policy (capability fence + tool scope + fail-closed default)** + **5-layer concurrency control** (global semaphore + per-user semaphore + skip\_if\_active + active\_hours + stagger) + **No-Content Skip** (zero token when nothing to report) (**985+ tests**)                                                                                                                                                                                                                                                                                                                                                                                                                                    |                                                                               ⚠️ CLI limited (no GUI/retry/recovery)                                                                               |                                  ✅                                  |              ✅              |                                  ❌                                 |            ❌           |           ❌           |
| **Unified Tool Gateway + Behavior Audit** |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ✅ 4-in-1 Gateway + Elastic BYOK Fallback + Standalone Bash Audit Panel (12 Fields) + Full-Tool ExecutionTrace Timeline + Session Replay + OTel End-to-End (**669 tests**)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |                                                                                    ⚠️ Hard Switch (Error Prone)                                                                                    |                                ❌ N/A                                |          ⚠️ Unknown         |                                  ❌                                 |       ⚠️ Unknown       |           ❌           |
| **OpenAI Compatible Proxy**               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ✅ **Agent API** — OpenAI-compatible `/v1` runs Myrm agents (memory/tools/skills); strict API key auth; `/v1/models` lists agents. **LLM proxy for Cursor/Codex**: use a separate external LLM gateway alongside Myrm (33 tests)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |                                                           ⚠️ `/v1/chat/completions` (Agent only, no LLM passthrough, no model discovery)                                                           |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Voice**                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ✅ 4 modes (Standard/Bridge/OpenAI Realtime/Gemini Live) + 10 providers (5 TTS + 5 STT incl. free Edge TTS & Local Whisper) + Discord wake word + barge-in + Vision fusion — **1,176 tests** + **Chrome MCP E2E 4/4** (2026-07-21: Voice settings + Edge synthesize + in-browser read-aloud)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                          ⚠️ Discord Voice                                                                                          |                       WebRTC + iOS native wake                      |           ⚠️ Basic          |                                  ❌                                 |            ❌           |           ❌           |
| **Multimodal Generation**                 |                                                                                                                                                                                       ✅ Image (20+ models + smart Failover + Gateway fallback + Edit with Inpainting mask + 4-layer validation with SSRF protection + batch generation + **async generate with chat ImageTaskCard + SSE task progress — non-blocking conversation; API key & Gateway token sealed in tasks.db before persist (AES-GCM, cloud-sandbox safe)**, 370+ tests) + Video (5 engines: Sora/Veo/Qwen/MiniMax/xAI Grok + T2V/I2V/V2V + idempotent task mgmt + **in-chat VideoTaskCard with built-in player & retry — instant preview, no export gate**) + TTS (5 providers incl. free Edge + streaming + long-text auto-summary + OpenAI-compat base\_url) + Screenshot-to-Action pipeline (paste/drop → annotation editor → OCR/Vision → tool calling loop) + Vision Fallback auto-degrade + **Creative design coverage**: sandbox ffmpeg video editing / Pillow+ImageMagick batch image processing + computer\_use smart control of Adobe PS/AI/InDesign (AppleScript/COM auto-routed) + Figma MCP — AI-native engine more reliable than dedicated PS plugins (Adobe version updates frequently break APIs) — **401 multimedia full-stack tests passing** — total 1,293+ tests                                                                                                                                                                                      |                                       ⚠️ FAL.ai images (7 edit models, sync blocking, no mask/no SSRF/no failover) + 2 video plugins + 10 TTS (5 niche local)                                      |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Computer Use**                          |                                                                                                                                                                                                              ✅ Desktop automation + background input on all 3 platforms (no focus-steal) + proactive foreground permission gate (3-tier: once/session/always) + BBox approval + Tauri OS overlay + sensitive app firewall (banking/messaging auto-blocked) + Native API routing (95+ apps: AppleScript/COM/D-Bus auto-detected, zero recipes, zero dependencies) + full semantic AX invoke on all 3 platforms (macOS AX/Windows UIA/Linux AT-SPI) + **incremental AX tree diff** (follow-up snapshots render only changes — 80%+ token savings, 4-layer auto-fallback) + cross-platform environment diagnostics (macOS TCC + Linux deps+xvfb + Windows deps — GUI card with one-click fix) + VNC secure Token signing (HMAC+TTL anti-replay) + Takeover/Resume full lifecycle human handoff — **454 VNC+ArtifactPortal dedicated tests passing** + Office file 3-layer coverage (ExcelParser 4 modes direct read + python-pptx/docx native generation + 17 channel Bot APIs direct file delivery — 'Read Excel → Generate PPT → Send to WeCom group' zero GUI interaction) — **519 office+messaging full-stack tests passing**                                                                                                                                                                                                              |                                                                                                  ❌                                                                                                 |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Browser Engine**                        |                                                                                                                                                                                                                                                                                                                                                                                                                                          ✅ Dual stealth engine (Patchright + Camoufox) with fingerprint persistence + 3-level humanized interaction (Gaussian delays + Bézier mouse trajectories) + 3-layer GlobalBrowserPool (zero cold-start, 3-layer crash recovery) + Shadow DOM penetration + API-First network intelligence (CDP lazy body + replay) + domain engine affinity memory + non-perceptive background execution (dual-layer isolation) + origin-based smart tab routing + 4 cloud browser providers (GUI config + hot-reload) + semantic inspect→snapshot pipeline + browser-event telemetry baseline validated by **127 targeted tests** + real Chrome MCP snapshot/evaluate run                                                                                                                                                                                                                                                                                                                                                                                                                                          |                                                                          ⚠️ Cloud Browser Use (env var, restart required)                                                                          |                                  ❌                                  |              ❌              |                                  ❌                                 |       ⚠️ Unknown       |           ❌           |
| **Web Search**                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ✅ 8 engines + CJK search (Baidu/Sogou/360/Quark self-hosted \$0) + 7-intent zero-LLM routing + BM25/Reranker filter + 3-layer anti-hallucination + 191 tests                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                      ⚠️ Cloud API passthrough                                                                                      |                          ⚠️ DDG/Bing scrape                         |     ⚠️ Same as OpenClaw     |                             ⚠️ DDG/Bing                            |            ❌           |           ❌           |
| **Web Fetch**                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ✅ 3-tier auto-degradation + self-learning AdaptiveRouter + anti-bot bypass (major WAFs) + vector extract + DOM prune + Schema-Driven structured extraction (391 tests)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |                                                                                  ⚠️ web\_extract (Firecrawl + LLM)                                                                                 |                     ⚠️ HTTP / Firecrawl fallback                    |           ⚠️ Same           |                            ⚠️ HTTP only                            |            ❌           |           ❌           |
| **Workspace RAG**                         |                                                                                                                                                                                                                                                                                                                                                                                                                             ✅ **4-layer pipeline**: BM25 + Vector + RRF + Reranker; 7-type 19-format parser (PDF/Word/Excel/PPT/ipynb/OCR); dual-backend knowledge graph; Karpathy Wiki compilation engine; **frontmatter `type` enum hard gate** (compile + Pending approve + Linter repair + Settings Repair Page Types — 7 OKF-compatible types, 47 pytest Jul 2026); **cognitive map trio** (`wiki/index.md` + `log.md` + `hot.md` event-driven refresh; hot consumed on wiki\_query path only — cache-safe, 25 pytest Jul 2026); RSG quality guard; Skill Evolution self-learning (2,886 tests — Wiki 159 + Evolution 437 + Skills 565 + Memory 1,901 + indexer/RAG 159 + Marketplace 52 + Optimization 23)                                                                                                                                                                                                                                                                                                                                                                                                                            |                                                                                       ⚠️ Code-only AST index                                                                                       |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Web Image Search**                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ❌ (use web\_search + web\_fetch / browser for page images)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |                                                                                                  ❌                                                                                                 |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Long Report TOC**                       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ✅ Auto TOC + scroll sync in chat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                                  ❌                                                                                                 |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Rich Content Rendering**                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ✅ Mermaid (zoom/fullscreen/legend/export) + KaTeX math + GFM Alerts (5 types with icons) + Footnotes + Code Diff + Smooth streaming                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |                                                                                          ⚠️ Basic Mermaid                                                                                          |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Precision Multimodal**                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ✅ Intent-aware vision (No UI ops = 0 vision token)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |                                                                                    ⚠️ Always-on (wastes tokens)                                                                                    |                      ⚠️ Blind (no screenshots)                      |          ⚠️ Unknown         |                              ⚠️ Blind                              |        ⚠️ Blind        |           ❌           |
| **Title Generation**                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       ✅ O(1) Anti-Blocking + Redaction                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                       ⚠️ Prone to freeze/leak                                                                                      |                       ⚠️ Prone to freeze/leak                       |          ⚠️ Unknown         |                             ⚠️ Unknown                             |       ⚠️ Unknown       |           ❌           |
| **Global Quick Capture**                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ✅ macOS+Windows dual capture + UI text extraction + Voice + FlowPad + Inline Agent Switcher/Profile routing + Privacy blacklist + request-id stream pinning + route-switch abort + deep-link dedupe (**36 focused tests + real Chrome MCP `/intent` proof**)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |                                                                                                  ❌                                                                                                 |                                  ❌                                  |              ❌              |                                  ❌                                 |            ❌           |           ❌           |
| **Token Efficiency**                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ✅ \~2,167 tokens total (86% less)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |                                                                                              \~15,520                                                                                              |                               \~18,000                              |       ⚠️ Manual 3-mode      |                       ⚠️ \~9 Kanban LLM tools                      |      ⚠️ High cost      |    ⚠️ \~900 wake-up   |

## vs PilotDeck — Agent Operating System

PilotDeck (open-sourced by Tsinghua THUNLP) positions itself as an "Agent OS", featuring WorkSpace isolation, white-box memory (Dream Mode), smart model routing for cost reduction, and Always-on background execution.

### Where Myrm Goes Further

| Area                         | PilotDeck                                                            | MyrmAgent                                                                                  | User Benefit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ---------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Workspace Isolation**      | Virtual isolation & state storage                                    | **Physical Git Worktree Sandbox**                                                          | True zero-conflict parallel read/write. When sub-agents refactor code, your main branch remains completely untouched, with one-click visual merge/discard at the end.                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Persistent Tasks**         | CLI Always-on process                                                | **Cross-lifecycle Daemon Queue**                                                           | Safely close your browser or Tauri desktop app. Long tasks are safely persisted, and results are pushed when you return—no more abandoned tasks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| **Multi-Agent Monitoring**   | Basic log streams                                                    | **SubagentDashboard Panorama**                                                             | Chats are no longer flooded by subtasks. Tasks are neatly folded into independent drawers with Working/Review/Done status indicators and visual breakpoints.                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| **Delegation pause control** | Hermes-style global `spawn_paused` (one switch affects all sessions) | **Session-scoped Delegation Pause**                                                        | Pause new spawns for **this chat only** from the Dashboard; in-flight sub-agents keep running. Multi-tab safe. Chrome LIVE E2E signed off (Jul 2026).                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Agent Liveness**           | File-based polling (gateway\_state.json)                             | **5-State Liveness SSOT** (busy/idle/degraded/offline/draining)                            | `GET /health/liveness` returns global agent state with 5-state granularity. Frontend LivenessIndicator distinguishes degraded (HTTP error, backend reachable) from offline (fetch failure, backend unreachable). Status syncs to Tab Badge prefix, Tauri tray icon, and in-chat indicator dot — works across Local, Tauri, and Cloud. 33 unit tests + Chrome MCP E2E verified.                                                                                                                                                                                                                                   |
| **Memory Engine**            | Periodic Dream Mode                                                  | **GUI Command Center + 10-module dedicated engine**                                        | "White-box memory" with interactive GUI dashboards, knowledge graphs, and health scoring. Unified /journey page brings graph + skill trends + growth KPIs in one view. Includes 5 dimension dedup algorithms and "active forgetting" to keep context pristine.                                                                                                                                                                                                                                                                                                                                                   |
| **Smart Model Routing**      | Basic Judge model switch                                             | **Complexity & Privacy Dual-Routing + Billing + Real-Time Rate Limit Dashboard**           | ComplexityRouter + PrivacyRouter + FallbackManager + KeyPool + **real-time rate limit monitoring** (RPM/RPH/TPM/TPH 4-dimension circular gauges with SSE live updates, 3-tier color alerts) + **SSE failover/recovery notifications** (model\_failover + model\_recovery ProgressSteps with Toast alerts) + EscalationScrubber self-upgrade detection + 13-module industrial Fallback system (CircuitBreaker + ProbeThrottle + scenario-aware selection). Premium model rate limits are solved by auto-fallback + real-time monitoring, not static warning text. 240+ routing/fallback tests passed.             |
| **Platform Deployment**      | 3-minute terminal `curl` script                                      | **Visual OnboardingWizard + Fail-Fast Pre-flight + Dual-Wheel verify + 24-item lean core** | No terminal experience needed. 4-step wizard auto-detects local capabilities → pre-flight validates all configs before startup (errors block with fix suggestions) → auto-migrates config schema across versions → 7 GUI Settings panels for zero-YAML operation. Native Tauri installer for desktop. Engine: **24** locked core deps + **11** optional Extras (browser/retrieval/ACP/observability…) with lazy-import hints—embedders install only what they need; end users get the full bundle automatically. Wrong platform wheel fails at **startup**, not mid-chat (**327** harness arch tests, Jul 2026). |

### Migration from PilotDeck

Migrating from PilotDeck upgrades you from a "CLI-centric operating system" to a **"GUI-first modern agent workstation"**. You retain and surpass all its advanced features like multi-project isolation, cost-effective routing, and background execution—but everything becomes visual, draggable, rollback-ready, and seamlessly integrated with the vast MCP plugin ecosystem.

## vs 360 Security OpenClaw (Enterprise Wrapper)

360 Security OpenClaw is a closed-source enterprise wrapper built around the OpenClaw core. It aims to lower the barrier to entry with a "Shrimp Coach" (guided setup) and manual "Token Cost Modes" (Lightweight, Economy, Full-power).

### Where Myrm Goes Further

| Area                         | 360 Security OpenClaw                         | Myrm                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | User Benefit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ---------------------------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Agent Creation**           | "Shrimp Coach" dialogue                       | **26 Preset Agents (6 tool presets: MINIMAL/DEFAULT/CODING/RESEARCH/DESIGN/VIDEO\_STUDIO) + 10 YAML Templates (individual+team, i18n, atomic instantiation) + GUI Wizard + 15-dimension independent tool toggles per Profile**                                                                                                                                                                                                                                                               | Zero-prompting instant start with role-optimized tool boundaries. Just click and use.                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Token Cost Control**       | LLM Judge single-phase routing (PilotDeck)    | **Rule + Judge dual-phase Complexity Router**                                                                                                                                                                                                                                                                                                                                                                                                                                                | 80%+ requests routed by rules alone (0 extra tokens). Judge only called for ambiguous cases.                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Cost Visibility**          | Basic stats                                   | **Dual-layer per-message visualization (inline cache-savings banner + 17-metric tooltip) + 14-dim analytics dashboard + per-agent cost attribution + SessionSpendSurface persistent pill (per-turn WU/-\$, session cumulative, burn-rate ETA)**                                                                                                                                                                                                                                              | Every reply shows cache hit rate, savings amount, 5 token types, TTFT/P95/TPS, per-model/tool cost breakdown, session baseline comparison, cache-break attribution with fix suggestions. Persistent pill displays real-time per-turn WU consumption (Sandbox) or USD cost (Local/Tauri) with session totals and remaining-days ETA. No competitor offers message-level real-time cost visualization.                                                                                                       |
| **Execution Trace & Replay** | Logs only / AI Purpose Title (extra LLM call) | **7-layer in-product Trace (ProgressSteps real-time tree + semantic tool labels 28 tools × 5 languages + inline AI intent reasons + category icons + stage grouping + thinking content + 17-metric tooltip + cache-savings banner + ExecutionTraceTimeline + SessionReplayPlayer + SessionAnalyticsDialog)**                                                                                                                                                                                 | Every tool call shows a human-readable label + AI-generated intent at zero extra cost (the main model provides intent in the tool call itself — no separate utility model). One click from any message to full execution replay with speed control — no external SaaS, no extra fees.                                                                                                                                                                                                                      |
| **Cloud Environment**        | Cloud Computer                                | **Sandbox + Persistent Terminal + SaaS**                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Real cross-platform isolation and data ownership.                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Multimedia**               | Basic Video Agent                             | **Native `video/generator.py` + Full-duplex Voice + tool-agnostic sandbox (Agent npm/npx installs any video tool — HyperFrames/Remotion/FFmpeg — not locked to one framework) + 7-step Multi-Shot Pipeline (auto-detect provider limits → plan shots → base image consistency → I2V → FFmpeg concat → BGM → QC) + platform-aware export (10 aspect ratios + 3 resolution tiers + auto-normalization + 6-platform questionnaire + QC dual-channel: ffprobe hard metrics + Vision safe-area)** | Create content and interact hands-free with barge-in support. In-chat VideoTaskCard with built-in player & retry. Sandbox architecture lets agents use any CLI video tool without framework lock-in. Built-in shot pipeline guidance solves the 6-12s provider duration limit — agents automatically plan multi-shot workflows for longer videos. Platform-aware export with auto-normalization ensures videos match target platform specs (TikTok 9:16, YouTube 16:9, etc.) without manual configuration. |

**Result: Myrm delivers a more automated, native GUI experience. Instead of a "coach" asking questions, Myrm provides ready-to-use templates. Dual-phase routing is more token-efficient and accurate than competitors' pure LLM-judge approach, with 10x more cost transparency.**

## vs OpenClacky — Token-Optimized Local Agent

OpenClacky markets itself as a cost-efficient local AI agent, claiming 1/6 the token cost of Hermes. Its core strategies: 16 minimal tools, idle compression, Insert-then-Compress, dual cache marking, and BYOK multi-model routing.

### Where Myrm Goes Further

| Area              | OpenClacky                                                  | Myrm                                                                                                                                                                                                                | User Benefit                                                           |
| ----------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| Tool Architecture | 16 core + invoke\_skill (2-tier)                            | **3-tier (CORE/COMMON/EXTENDED)** + ASCS cognitive load scoring + **Dynamic Schema Weaver**                                                                                                                         | Scientifically optimized, dynamic tool pruning prevents hallucinations |
| Idle Pipeline     | Single-purpose message compression (Thread)                 | **3 parallel tasks** (memory consolidation + evidence mining + cache preheating) + **CacheKeepAliveManager** (4-min probe interval, auto-pause during active use) + MaintenanceScheduler + crash-resilient registry | Idle time does 3x more work + cache never expires                      |
| Compression       | LLM-based summarization (each compression costs LLM tokens) | **Rule engine 3-tier (Dedup/Truncate/Remove)** — zero LLM cost + Cold Cache Drain + Anti-Thrashing                                                                                                                  | No extra LLM calls for compression                                     |
| Cache Strategy    | Fixed last-2-message marking                                | **Multi-breakpoint** (system + 15-block protection + compression boundary + last message) + TTL strategy + 20-block window protection + token distance validation                                                   | More precise, provider-aware caching                                   |
| Model Routing     | Simple main/sub-task model split                            | **4-layer routing** (ComplexityRouter + PrivacyRouter + FallbackManager + KeyPool)                                                                                                                                  | Comprehensive cost + privacy + reliability routing                     |
| Cache Protection  | None                                                        | **Hot Cache Bypass** (skip compression when cache is warm) + **Anti-Thrashing** (stop after 2+ ineffective compressions)                                                                                            | Unique — no competitor has this                                        |
| Deployment        | CLI + WebUI                                                 | **Web + Tauri + SaaS** (3 modes)                                                                                                                                                                                    | More deployment options                                                |
| Memory System     | Session-only (lost on restart)                              | **8 memory types + knowledge graph + cross-session consolidation**                                                                                                                                                  | Persistent intelligence across sessions                                |
| GUI               | Basic web terminal                                          | **Full workspace GUI** — agent templates, Kanban, memory panel, analytics                                                                                                                                           | Professional workspace vs terminal                                     |
| Security          | Basic sandboxing                                            | **6-layer defense** with PII protection + taint tracking + audit                                                                                                                                                    | Enterprise-grade security                                              |

### Key Architectural Differences

**Compression cost**: OpenClacky calls LLM to generate compression summaries — every compression incurs API cost. Myrm uses a deterministic rule engine (Dedup → Truncate → Remove) with zero LLM overhead.

**Cache intelligence**: OpenClacky's dual cache marking is a static pattern (always mark last 2 messages). Myrm's ExplicitCacheProcessor dynamically calculates breakpoints based on content blocks, token distances, and compression boundaries, with full validation pipeline.

**Idle utilization**: OpenClacky's idle timer only compresses messages. Myrm's idle pipeline runs 3 tasks: cognitive memory consolidation, session evidence extraction (learning from failures), and prefix cache preheating — all coordinated by a capacity-aware scheduler with circuit breaker protection. Additionally, `CacheKeepAliveManager` sends lightweight probes every 4 minutes during idle to prevent the Anthropic/Qwen 5-minute cache TTL from expiring, ensuring consistent TTFT when users resume (0.5-1s vs 2-5s cold restart).

### Migration from OpenClacky to Myrm

| OpenClacky Feature   | Myrm Equivalent                         | Experience |
| -------------------- | --------------------------------------- | ---------- |
| 16 core tools        | 3-tier tool system + ASCS scoring       | ⬆️ Upgrade |
| Idle compression     | Idle pipeline (3 tasks + scheduler)     | ⬆️ Upgrade |
| Insert-then-Compress | Rule engine compression (zero LLM cost) | ⬆️ Upgrade |
| Dual cache marking   | Multi-breakpoint strategy + validation  | ⬆️ Upgrade |
| BYOK model routing   | 4-layer routing system                  | ⬆️ Upgrade |
| Session persistence  | 8-type memory + knowledge graph         | ⬆️ Upgrade |
| WebUI                | Full workspace GUI (Tauri + Web + SaaS) | ⬆️ Upgrade |
| Skill system         | 42-module skill evolution with safety   | ⬆️ Upgrade |

**Result: 8 upgrades, 0 equivalent, 0 downgrades. OpenClacky users gain zero-cost compression, intelligent cache protection, persistent cross-session memory, and a complete GUI workspace while maintaining all token efficiency benefits.**

## Unified Tool Gateway & Flexible BYOK (vs Hermes / OpenClaw)

While competitors often force users to manage dozens of API keys or rely on rigid, error-prone gateways, Myrm introduces a **4-in-1 Unified Tool Gateway** with an **Elastic BYOK Fallback** mechanism.

### Where Myrm Goes Further

* **4-in-1 Gateway**: One subscription unlocks LLM, Web Search, Image Gen, and TTS capabilities. Zero configuration required out of the box.
* **Elastic Try-Catch Fallback**: If the official gateway is unavailable or your Work Units (WU) run out, Myrm automatically and seamlessly degrades to your locally configured API keys. Your business never stops.
* **Quota Rollover**: Unlike traditional SaaS where unused quotas expire, Myrm allows unused Work Units to roll over to the next month.
* **Visual Gateway Status**: A dedicated GUI dashboard shows the status of all tools (Gateway Managed, Custom Key, or Unconfigured), with smart prompts for Pro users to enable gateway features.
* **Financial-Grade Security**: PAT tokens are transmitted via secure POST bodies and validated with strict regex rules, preventing SSRF attacks and guaranteeing tokens never leak into URL logs.
* **Extreme Network Resilience**: Built with imperative on-demand polling and an 8-second hard timeout using `AbortController`, eliminating the UI freezes and API quota drain common in competitors' auto-polling dashboards.

### Competitor Pain Points

* **Hermes**: Uses a "black and white" hard switch for its gateway. If the gateway fails or runs out of credits, the agent simply crashes and stops working.
* **OpenClaw**: Relies entirely on user-provided keys via extensions, offering no unified gateway or billing.
* **Cloud Browser Dependency**: Hermes relies on third-party cloud browsers (like Browser Use) for web tasks, introducing high latency and privacy risks. Myrm insists on local/self-hosted sandboxes for browser automation, ensuring zero latency and total data privacy.

### Migration Wins

* **Zero Key Management**: Stop juggling API keys for OpenAI, Firecrawl, FAL, etc.
* **Peace of Mind**: The elastic fallback means you get the convenience of a managed gateway with the reliability of your own backup keys.

## WebUI Security & Local/Remote Separation

Most competitor web interfaces are either dangerously exposed when bridged to the public internet (LAN/Tunnel naked exposure) or overly burdensome for single-user local development (forcing DBs and logins for `localhost`).

Myrm solves the "last mile" of local-first deployment with an Ockham's Razor approach to WebUI security.

### Where Myrm Leads

* **Zero-Friction Local vs. Ironclad Remote**: Myrm's WebUI auto-detects `localhost` loopbacks to bypass login seamlessly. The moment you expose it via a tunnel or LAN, it enforces strict password protection.
* **Zero-Trust WebSocket Gateway**: Competitors often secure their HTTP routes but leave WebSockets (used for realtime logs or voice) unauthenticated. Myrm's `WsAuthMiddleware` physically drops the WebSocket handshake (HTTP 403) if the session cookie is missing or invalid.
* **3-Layer CORS Defense-in-Depth**: Scheme+host dual input validation (wildcard `*` rejected outright) + WebSocket Origin Guard (unified security boundary reusing CORS config, 4003 rejection for unauthorized origins) + HostAllowlist DNS rebinding protection (dynamic ingress/tunnel hostname allowlist). Native Tauri `tauri://localhost` scheme support. Cloud deployment default-deny. 29 CORS security tests verified.
* **Instant Session Eviction**: When a password is changed or protection is toggled, Myrm automatically rotates the global HMAC Session Signing Key. This instantly invalidates all existing sessions globally (like a kill switch for stolen devices), whereas competitors often leave old JWTs valid.
* **Single-Tenant "Vault" vs. Heavy DBs**: Instead of a bloated Postgres/MySQL user table with RBAC rules designed for SaaS, the local mode uses a single highly-encrypted `admin.json` vault file. Secure, portable, and zero-dependency.

## Data Loss Prevention (DLP) & Privacy-Aware Routing

Agent conversations may contain sensitive personal information. Competitors (e.g., ClawVault) only perform simple "detect → placeholder → restore" at the chat message level, missing tool parameters, tool results, and streaming output as leakage channels.

### How Myrm Leads

| Area                       | ClawVault / Competitors         | Myrm                                                                                                               | User Benefit                        |
| -------------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------- |
| **PII Detection**          | Regex-only basic detection      | **Regex + LLM semantic dual-layer** (detects implicit addresses like "I live in XX Community")                     | Zero-miss detection                 |
| **Sensitivity Grading**    | risk\_score number (no grading) | **S1/S2/S3 three-tier** auto-classification with different handling per tier                                       | Precise protection                  |
| **Handling Actions**       | sanitize/restore (2 types)      | **WARN/REDACT/PSEUDONYMIZE/BLOCK** (4 types)                                                                       | Flexible response                   |
| **Privacy-Aware Routing**  | None                            | **S2 → redact-then-cloud or local, S3 → local model or block**                                                     | Sensitive data never leaves sandbox |
| **Interception Channels**  | 1 (chat messages)               | **7 channels** (messages + tool params + tool results + SSE stream + dataset export + title gen + context summary) | Zero blind spots                    |
| **Frontend Visualization** | None                            | **S2/S3 color badges + redaction status + routing indicator** per message                                          | Transparent & trustworthy           |
| **User Customization**     | None                            | Custom sensitive keywords + custom regex patterns + custom sensitive tool tags                                     | Full control                        |

**2,033 offline/privacy/security tests passed** (verified 2026-07-14), covering PrivacyRouting (44) + Hardware API & deploy modes (48) + LLM Fallback degradation (153) + full security suite (1,766) + OfflineGuardian notifications (22). vs QoderWork's "offline mode" which only binds Qwen local edition — no privacy routing, no hardware recommendations, no circuit breaker degradation. Myrm leads across all 9 offline/sovereignty dimensions.

## Multi-Agent Orchestration: Deterministic Scheduling (vs Hermes / OpenClaw / JiuwenSwarm)

While competitors rely on single-mode orchestration (e.g., Hermes' Kanban Swarm, OpenClaw's basic linear spawn, or JiuwenSwarm's static DAG workflow scripts), Myrm introduces an **8-Mode Deterministic Orchestration Engine** backed by a **5-Layer Tool Security Fence** and **4-Dimension Budget Control**. Unlike JiuwenSwarm's CLI-only `workflow.py` approach (which requires users to write Python scripts to define execution order), Myrm's Leader Agent dynamically schedules sub-agents through natural language — with runtime steer/cancel capabilities that static DAGs cannot provide.

### Where Myrm Goes Further

| Area                            | Hermes / OpenClaw                                    | Myrm                                                                                                                                                                                        | User Benefit                                                                                                                                                  |
| ------------------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Orchestration Modes**         | ⚠️ 1-2 modes (Kanban or Spawn)                       | **8 Modes** (Spawn, Chain, Batch, DAG, Verified, Swarm Fission, Alternatives Race, Council Debate)                                                                                          | Right tool for the right job; DAG guarantees execution order without relying on LLM improvisation.                                                            |
| **Tool Isolation**              | ⚠️ Basic global scope                                | **5-Layer Fence** (Type, Blocklist, Config, Intersection, Role)                                                                                                                             | Complete prevention of child agents escalating privileges or executing unauthorized tools.                                                                    |
| **Budget Control**              | ⚠️ Token limit only                                  | **4D Budget** (Tokens, USD, Time, Descendants)                                                                                                                                              | Perfect predictability for cost and execution depth. Zero bill shock.                                                                                         |
| **Execution Verification**      | ❌ None                                               | **CompletionGuard** (Evidence-based + Temporal + Independent Re-run)                                                                                                                        | Children must prove task completion with actual STDOUT/STDERR. Temporal check detects post-verification code writes; independent re-run validates in sandbox. |
| **Handoffs (Control Transfer)** | ❌ None (OpenAI Swarm: demo-only `transfer_to_agent`) | **run\_chain** (A→B→C relay) + **delegate\_task\_tool** (dynamic routing) + **handoff\_chat** (cross-platform session transfer) + **context\_mode:"fork"** (controlled context inheritance) | Full relay-race semantics without compromising security boundaries. 733 tests verified.                                                                       |

**Result: Myrm replaces the "prompt and pray" multi-agent paradigm with deterministic software engineering patterns. Your multi-agent pipelines execute reliably, securely, and within budget every single time. 1,680 orchestration tests passed, 0 failures (Jul 2026).**

:::tip vs AWS Codex Agent Team — Code-Enforced Orchestration
AWS's sample-codex-agent-team uses 6 Prompt-only `SKILL.md` templates (brainstorm → spec → coordination → review → documentation → project management) to guide multi-agent collaboration — entirely relying on LLM compliance. Myrm replaces every step with code-enforced primitives: `run_council` for multi-expert brainstorming with cross-review, `execute_dag_plan` for deterministic task DAGs, `run_with_verification` for adversarial verification with automatic retries, and 31-component Kanban GUI for real-time project management. None of these can be bypassed by the LLM.

Their 12-field "Handoff Contract" (role, objective, file scope, acceptance criteria, verification command, etc.) is also purely Prompt-based. Myrm enforces all of these through `DelegateTaskInput` Pydantic schema + 8 code-level checks (payload-hash dedup, depth/capacity limits, type allowlist, delegation pause, verifier mode) — plus 4 mechanisms competitors lack entirely. 2,488 tests passed, 0 failures.
:::

## Smart Concurrency Router — Eliminating Read-Write Races (vs Hermes / OpenClaw)

In a highly concurrent Agent sandbox, an LLM often hallucinates operations that can corrupt data, such as trying to "read file X and write to file X simultaneously" in a single parallel tool call batch. In competitor architectures, this causes dirty reads and catastrophic write overwrites.

Myrm introduces the **Smart Concurrency Router**, which actively intercepts and re-routes conflicting operations at the middleware layer.

### Where Myrm Goes Further

| Area                        | Hermes Agent       | OpenClaw | Myrm                                            | User Benefit                                       |
| --------------------------- | ------------------ | -------- | ----------------------------------------------- | -------------------------------------------------- |
| **Race Condition Defense**  | ⚠️ Write-only lock | ❌ None   | **Full read-write exclusion**                   | Prevents dirty reads and corrupted files           |
| **Concurrency Degradation** | ⚠️ Basic serial    | ❌ Fails  | **Auto-degrade to safe sequential**             | Safe fallback without crashing                     |
| **Lock Granularity**        | ⚠️ Coarse path     | ❌ None   | **Deep directory & block-level fingerprinting** | Unrelated parallel tasks keep running at max speed |
| **Performance Overhead**    | O(N) linear scan   | N/A      | **O(1) path lock resolution**                   | Zero latency penalty for the engine                |

**Result: Myrm completely eliminates file-level race conditions caused by LLM hallucination. Conflicting batches are gracefully unrolled into a sequential queue with zero performance penalty on unrelated parallel tasks.**

## Headless Agent: Zero-Deadlock Background Tasks (vs Hermes / OpenClaw)

In headless environments like SaaS scheduled jobs (Cron), batch processing, or background automation, an Agent runs without human supervision. If the LLM hallucinates and decides to call a human-in-the-loop (HITL) tool (like asking a question or rendering a UI form), competitors' architectures will hang indefinitely waiting for user input that will never arrive. This causes catastrophic deadlocks and burns massive compute resources.

Myrm introduces a robust **Tag-Based Environment Degradation** architecture at the lowest framework layer.

### Where Myrm Goes Further

| Area                        | Hermes Agent                         | OpenClaw      | Myrm                                     | User Benefit                                                                        |
| --------------------------- | ------------------------------------ | ------------- | ---------------------------------------- | ----------------------------------------------------------------------------------- |
| **Deadlock Prevention**     | ❌ Prone to freeze                    | ❌ Unsupported | **100% Guaranteed Zero Deadlock**        | Scheduled background tasks will never hang waiting for human input.                 |
| **Tool Stripping**          | ⚠️ Hardcoded in business logic       | ❌ None        | **Automatic via `tags=["interactive"]`** | The LLM doesn't even know the tool exists, preventing hallucination errors.         |
| **Ecosystem Compatibility** | ❌ Needs manual wrapper for each tool | ❌ None        | **Works with any MCP Tool natively**     | Any third-party MCP tool tagged `interactive` is automatically isolated.            |
| **Architectural Layer**     | ⚠️ Server-level hack                 | ❌ None        | **Core Harness / Agent engine layer**    | The protection travels with the engine, whether deployed locally, Desktop, or SaaS. |

**Result: Myrm ensures bullet-proof reliability for unattended workflows. By physically stripping interactive tools from the LLM's context during background tasks, it eliminates the root cause of Cron job deadlocks before the LLM can even attempt to make a mistake.**

Additionally, Myrm's **Stuck Task Watchdog** detects agent tasks that hang at the infrastructure level (e.g., LLM API half-open connections, tool deadlocks) and automatically cancels them after a configurable timeout (default 600s). The watchdog runs inside the existing 60-second janitor cycle with zero new components, sends a localized timeout notification to the user (5 languages), and releases the session so subsequent messages can be processed. Competitors like OpenClaw require container-level `killContainer` (harsh), while Hermes relies on manual `/stop` — Myrm handles it transparently.

## Extreme Scenario Anti-Explosion (vs Hermes / OpenClaw)

In autonomous multimodal scenarios (e.g., Computer Use) or very long sessions, agents inevitably hit the limits of context windows, causing frequent OOM crashes, dropped API connections, or total memory loss in competitors.

Myrm implements a **4-layer Extreme Anti-Explosion Moat**, ensuring that your agent never crashes and never loses the conversation context.

### Where Myrm Goes Further

| Area                       | Hermes / OpenClaw                                                                                                                                      | Myrm                                                       | User Benefit                                                                                                                                                                                                                                   |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Gateway Hygiene**        | Allows massive payloads to hit the LLM layer, leading to severe compute node OOMs.                                                                     | **Millisecond Interception**                               | Blocks malformed/gigantic payloads (>120K tokens) at the API gateway before they even touch the agent engine.                                                                                                                                  |
| **Auxiliary Model Shield** | Crashes the application if the summarizer model's context window is smaller than the payload being compressed.                                         | **Dynamic Ratio Validation & Graceful Degradation**        | Automatically falls back to the main model for summarization if the cheap auxiliary model is too small. No crash, no data loss.                                                                                                                |
| **Media Stripping**        | Treats all images equally; long-tail screenshots from past turns quickly bloat the context window. Base64 images stored in checkpoints cause DB bloat. | **Lazy-Resolve Pipeline + Sliding Visual Evidence Window** | Images stored as lightweight URL references (\~50 bytes vs \~2-5MB base64). MediaResolverProcessor resolves to base64 only when sending to LLM. Sliding Window retains last 2 turns. **>99.99% checkpoint size reduction for image messages.** |
| **Tail Budget Protection** | Hardcoded turn truncation (e.g., keep last N messages) often chops off critical working memory.                                                        | **Token Budget Reservation**                               | Strict reservation (e.g., 20% of max context tokens) exclusively for the most recent tail, guaranteeing active tasks are never squeezed out.                                                                                                   |

**Result: Myrm ensures a silky-smooth experience even under extreme loads. You save massive amounts of tokens by stripping historical images, and you never have to worry about the agent suddenly dying and wiping your hard work.**

## Web Search + Web Fetch — Dual Engine (vs Hermes / OpenClaw / Claude Code)

Myrm ships **web\_search** and **web\_fetch** as first-class built-in tools. Competitors either lack them, pass through raw API results, or charge per fetch via cloud APIs.

### What You Get

| Capability                         | Technical                                                                                                                                       | User Benefit                                                                                                                                                                      |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Web Search**                     | 8 engines + 7 intent types (zero LLM) + two-layer dedup (URL arbitration + mirror-site hash) + BM25/RRF + Reranker + Autocut dynamic truncation | Relevant snippets only — duplicates auto-removed (same URL keeps richest content, mirror sites collapsed), Autocut detects score cliffs and keeps only the high-relevance cluster |
| **Web Fetch**                      | HTTP → Browser → Stealth + DOM pruning + Markdown                                                                                               | Article body, not nav/ads HTML — **\~40–50% fewer tokens**                                                                                                                        |
| **Optional L4 fallback**           | Jina → Firecrawl after L1–L3 fail; **OFF by default**; per-session cap                                                                          | Hard pages without forcing cloud API spend — OpenClaw/Hermes often default to Firecrawl                                                                                           |
| **Logged-in fetch**                | SessionVault: CookieJar (HTTP) + `storage_state` (browser)                                                                                      | One login works across fetch tiers — competitors often lose cookies on engine switch                                                                                              |
| **fetch\_and\_extract**            | Crawl → BM25 + vector hybrid → Reranker                                                                                                         | Long pages → only relevant passages (zero LLM cost vs Hermes Gemini summary)                                                                                                      |
| **Smart fetch vs browser routing** | Tool descriptions + Dynamic Hints + symmetric Loop Guard; web\_fetch=CORE Turn1, browser=EXTENDED                                               | Read-only pages skip browser (faster/cheaper); interactive pages still use full browser — Hermes only hints browser→web                                                           |
| **Cost**                           | 100% local processing                                                                                                                           | **\$0/month** vs Firecrawl/Jina/Exa subscriptions                                                                                                                                 |
| **Chinese search**                 | SearxNG + Baidu aggregation                                                                                                                     | Works out of the box — no Tavily/baidu Skill hacks                                                                                                                                |
| **PTC inline**                     | Batch local tools in one Python script (RPC stubs); **single web search stays native**                                                          | Multi-file analysis without N LLM round-trips; honest routing vs Hermes/OpenClaw stepwise                                                                                         |

### Competitor Pain Points

| Product                   | Search                               | Fetch                              | Problem                                             |
| ------------------------- | ------------------------------------ | ---------------------------------- | --------------------------------------------------- |
| **Hermes**                | Exa/Tavily/Firecrawl API passthrough | `web_extract` + Gemini LLM summary | Paid APIs + **extra LLM token per page**            |
| **OpenClaw / OpenClacky** | DuckDuckGo/Bing HTML scrape          | Single HTTP or Firecrawl fallback  | Poor Chinese results, rate limits, regex HTML strip |
| **OpenCode**              | Exa/Parallel cloud only              | Single HTTP + Turndown (full page) | Requires API keys; no local filter pipeline         |
| **Claude Code**           | Hosted web\_search                   | Hosted web\_fetch                  | No self-host, no engine choice, opaque filtering    |

:::note Honest boundary
Hermes `web_extract` appears "zero-config" because it uses LLM summarization instead of local embedding — but that costs tokens per page. Myrm's web\_fetch works locally with DOM pruning out of the box; fetch\_and\_extract adds vector+Reranker when configured. SSRF protections are comparable — Myrm's edge is the **filter pipeline**, not basic security.
:::

### Migration Wins

| From        | After migrating to Myrm                                                                                            |
| ----------- | ------------------------------------------------------------------------------------------------------------------ |
| Hermes      | Drop Firecrawl dependency; local 3-tier fetch; GUI search engine config; Schema-Driven extraction saves 97% tokens |
| OpenClaw    | No manual Tavily/baidu Skill; 7-engine fallback; BM25/Reranker filtering; built-in structured data extraction      |
| Claude Code | Self-hosted + 100+ models; auditable filter pipeline; PTC-native web tools; JSON Schema → validated output         |

See [Web Search & Fetch Guide](/docs/guides/web-search-and-fetch) for setup and configuration.

### Citation Tracing & Source Display

Every citation in AI responses is traceable to its original source. Supports 4 source types (web search, MCP tool calls, knowledge base documents, conversation history) with hover preview showing full snippet, domain, and favicon. Touch devices automatically switch to tap mode.

| Capability                             |               Myrm              | Competitors |
| -------------------------------------- | :-----------------------------: | :---------: |
| Source types                           | **4** (web/MCP/KB/conversation) |     0–1     |
| Touch-compatible                       |          ✅ Auto-detect          |      ❌      |
| Hover preview (domain+snippet+favicon) |                ✅                |      ❌      |
| Cross-message source dedup             |                ✅                |      ❌      |
| Backend cache-safe citation injection  |                ✅                |      ❌      |

### Document Parsing Engine

Myrm includes an 11-module professional document parsing engine with deep parsing from PDF to Office to Jupyter Notebook formats (184 tests verified):

| Capability                                                                                                                           | Myrm |                                Competitors                                |
| ------------------------------------------------------------------------------------------------------------------------------------ | :--: | :-----------------------------------------------------------------------: |
| PDF smart pipeline (3 strategies: text/embedded-img/full-page render)                                                                |   ✅  |                                ❌ Text-only                                |
| Large document support (default 500 pages, max 2000 + parallel parsing + truncation toast)                                           |   ✅  |                      ❌ OpenClaw hard-caps at 50 pages                     |
| Bookmark injection + font-based heading dual-mode detection                                                                          |   ✅  |                                     ❌                                     |
| Table L0/L2 dual encapsulation + RAG anti-fragmentation                                                                              |   ✅  |                                     ❌                                     |
| Image 3-tier noise filter (size+aspect+MD5 dedup)                                                                                    |   ✅  |                                     ❌                                     |
| PaddleOCR (CJK native · lazy-load · optional GPU)                                                                                    |   ✅  |                                     ❌                                     |
| Full Office support (docx: document-order + headings + lists + tables w/ merged-cell dedup; xlsx: multi-sheet; pptx: slides + notes) |   ✅  | ⚠️ Partial (no table Markdown, no merged-cell handling, broken doc order) |
| Jupyter Notebook parsing (84-99% token savings)                                                                                      |   ✅  |                                     ❌                                     |
| MediaResolver Lazy-Resolve (URL ref → on-demand base64)                                                                              |   ✅  |                              ❌ Base64 inline                              |

## vs Hermes Agent (v0.15 Velocity) — Multi-Agent Platform

Hermes v0.15 (Velocity Release, 2026-05-28) refactored its core loop from 16k to 3.8k lines across 14 modules, added Kanban Swarm orchestration (104 PRs), rewrote session\_search to be LLM-free (\~20ms, from \~30s), and introduced Promptware defense (3 chokepoints with \~15 Brainworm/C2 patterns). A significant "pay down tech debt" release.

### Where Myrm Leads

* **Event-driven Kanban** vs Hermes' polling — instant task dispatch with heartbeat + zombie detection + 3-layer anti-conflict (atomic claim + ownership enforcement + assignment audit trail, 817 tests)
* **6-rule diagnostic engine** with severity auto-escalation (warning→error→critical) — detects stranded tasks, repeated failures, stuck blocked, dead dependencies, triage stalls, and block→unblock cycling (O(1) per-card evaluation vs Hermes' O(N) event scan)
* **8 orchestration modes** (Spawn/Chain/Batch/DAG/Verified/Swarm Fission/Alternatives Race/Council Debate) vs v0.15's single Swarm pattern
* **CompletionGuard** with physical evidence verification — Hermes has no completion verifier
* **Pipeline template wizard** with discovery questions + role auto-matching — Hermes' `hermes kanban swarm` is a fixed CLI command
* **35+ messaging channels** (25 with output hints) vs \~23 channels (19 with platform hints) — Myrm covers DingTalk, Teams, GoogleChat, LINE, IRC, iMessage, Voice, Webhook, Zalo that Hermes lacks
* **8 memory types** with knowledge graph vs 2,200-character flat memory (MEMORY.md + USER.md with § delimiter)
* **Web Search + Web Fetch dual engine** — 8 search engines with BM25/Reranker filtering + 3-tier local fetch with DOM pruning (\$0/month) vs Hermes' cloud API passthrough + Firecrawl/LLM web\_extract
* **FTS5 + Qdrant hybrid search** with scope/lineage filtering — Hermes v0.15 rewrote to local-only text search (\~20ms, but no semantic retrieval)
* **108-pattern security scanning** vs Hermes threat\_patterns.py (\~20 patterns in 3 scopes)
* **22+ middleware pipeline** vs 8-layer fixed stack — Myrm's middleware architecture is independently configurable per component
* **4-layer model discipline** (CORE→ENFORCEMENT→FAMILY→ESCALATION) vs Hermes' model-gated text blocks — Myrm includes ESCALATION\_CONTRACT for automatic model self-upgrade
* **GUI-first** with Tauri desktop vs CLI-only (v0.15 added TUI multi-session, still terminal-bound)
* **4D budget control** (Token + USD + time + max descendants) — Hermes v0.15 added per-task timeout only (1 dimension)
* **3-level intelligent model routing** — Hermes v0.15 allows manual per-task model selection (no auto-routing)
* **6-layer Prompt Cache** vs Hermes' `system_and_3` strategy (4 breakpoints, Anthropic-only) — Myrm supports 5+ providers with cache break detection and anti-thrashing
* **Cache-friendly memory injection**: Myrm splits memory into Stable (SystemMessage, cache-safe) + Learned (HumanMessage with UNTRUSTED\_DATA isolation, never pollutes System Prompt). Hermes claims "User Message injection" in their article but their code (`system_prompt.py:424-486`) merges memory into System Prompt volatile layer — breaking cache on every memory update. **429 cache-specific tests verified**
* **IP persona protection without extra cost**: User-configured `system_prompt` is injected via `UserInstructionsMiddleware` at `priority="highest"` with `[ABSOLUTE OBEDIENCE OVERRIDE]`, ensuring the LLM strictly follows IP identity facts. Hermes relies on plain-text `SOUL.md` with no priority enforcement. AI Builder auto-generates persona definitions including anti-fabrication instructions — **765 middleware tests verified**
* **4-layer workspace context injection**: `workspace_rules_middleware` auto-discovers project rules from **15 file formats** (`.myrm.md`, `AGENTS.md`, `CLAUDE.md`, `.cursorrules`, `.clinerules`, `.windsurfrules`, `SOUL.md`, `MEMORY.md`, `.cursor/rules/*.mdc`, `.claude/CLAUDE.md`, `.github/copilot-instructions.md` and more) and injects them as `<workspace_context>` at layer \[2] of the 4-layer stable prefix architecture. Includes prompt injection detection (`scan_input` score≥0.8 blocks), invisible Unicode stripping, YAML frontmatter cleanup, inode deduplication, and head/tail truncation within a 20K char budget. Each layer is per-scope (cross-user/per-user/per-workspace) for maximum Prompt Cache efficiency. Hermes/WorkBuddy require manual `MEMORY.md` + `SOUL.md` file creation with zero priority control — **17 integration tests verified**

### Skill Evolution — True Self-Improving Agent

Myrm's Skill Evolution System (42 modules, native built-in) implements all engineerable concepts from Self-Improving Agent research. Hermes' "self-evolution" is an external CLI wrapper around a third-party AGPL-3.0 tool (`darwinian_evolver`), not a native capability.

| Capability                                                                    |              Hermes             |                                                                                                                    Myrm                                                                                                                    |
| ----------------------------------------------------------------------------- | :-----------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Integration                                                                   | External CLI wrapper (AGPL-3.0) |                                                                                                    **Native built-in** (42 modules, MIT)                                                                                                   |
| Auto-learn from conversations                                                 |             ✅ Basic             |                                                                                             ✅ CAPTURED + structured extraction + deduplication                                                                                             |
| Auto-fix failed skills                                                        |                ❌                |                                                                                             ✅ FIX + Retrieve-Before-Generate + evidence-driven                                                                                             |
| Multi-variant competition                                                     |                ❌                |                                                                                                  ✅ 3 parallel variants + LLM-Judge scoring                                                                                                 |
| Evolution cost per run                                                        |         50-500 LLM calls        |                                                                                                   **3 variants** (1% of competitor cost)                                                                                                   |
| Safety boundary                                                               |           1-layer scan          |                                                        ✅ 6-layer (LoopGuard 7-detector graduated WARN→BREAK + sandbox + GUI approval + validator + evolution lock + frequency guard)                                                       |
| Quality monitoring                                                            |                ❌                |                                                                              ✅ 3-dimension degradation detection (success rate + P95 latency + 5xx error rate)                                                                             |
| User frustration detection                                                    |                ❌                |                                                                                               ✅ 5 categories, 38 patterns (Chinese + English)                                                                                              |
| Evidence aggregation                                                          |                ❌                |                                                                                    ✅ Success/failure case grouping with common error pattern extraction                                                                                    |
| Description optimization                                                      |                ❌                |                                                                                         ✅ Auto-refine trigger conditions for better skill matching                                                                                         |
| GUI approval workflow                                                         |          ❌ Auto-execute         |                                                                                             ✅ Review, modify, approve or reject before applying                                                                                            |
| **Per-agent Insights Inbox** (background distill → approve in Agent settings) |       ❌ Global auto-apply       |                                                                          ✅ **Insights tab** — nothing applies until you approve; dismiss writes negative exemplar                                                                          |
| **Real-time growth notification**                                             |            ❌ CLI text           |                                                                       ✅ **SSE push → Toast** (info/success/error/warning) with action button — works across all pages                                                                      |
| **Growth policy engine**                                                      |       Simple apply/reject       |                                           ✅ **6-path decision matrix**: auto-apply safe skills, security pre-scan, BM25+Embedding semantic dedup (75%), evolution lock, fallback to manual review                                          |
| Per-agent skill isolation (no cross-agent habit pollution)                    |          ⚠️ Shared pool         |                                                                                          ✅ **agent\_id scoping + CoW fork** on cross-agent mounts                                                                                          |
| Growth dashboard                                                              |                ❌                |                                                                                             ✅ KPI + heatmap + radar chart + evolution timeline                                                                                             |
| Cross-device skill sync                                                       |                ❌                | ✅ **Protocol-driven bidirectional sync** (iCloud/Dropbox/NAS) + SHA256 incremental tracking + quality gate push validation + 4 conflict strategies + auto-update detection + idle background auto-sync (366 sync/discovery/security tests) |
| Regression-safe evolution                                                     |                ❌                |                                               ✅ **EvalCase co-evolution** — auto-generated test cases validate every variant before approval (6 assertion types + non-blocking penalty gate)                                               |
| Batch confirmation                                                            |                ❌                |                                                                                               ✅ 90% cost reduction for multi-skill evolution                                                                                               |
| Evolution constraints                                                         |                ❌                |                                                                                            ✅ Historical error memory prevents repeated mistakes                                                                                            |
| Prebuilt skill upgrade protection                                             |        ❌ Silent overwrite       |                                                                                    ✅ **Three-way hash** — user edits preserved, "Update Available" badge                                                                                   |
| Daily work journal                                                            |                ❌                |                                                                                          ✅ 6-source aggregated daily timeline with date navigation                                                                                         |
| AI Daily Wrap summary                                                         |                ❌                |                                                                              ✅ LLM-generated daily summary with keywords + next-day suggestions + SQLite cache                                                                             |

**vs ECC (Everything Claude Code) `continuous-learning-v2`:** ECC distills atomic "instinct" YAML habits in the background — powerful for power users, but their v2.1 project scoping relies on a simple 2-level system (git remote hash → project vs global), with auto-promotion when an instinct appears in 2+ projects (false-positive risk). Myrm ships the same *idea* (idle distillation → skill proposals) with architecturally superior isolation: **5-level scope hierarchy** (GLOBAL > AGENT > CHANNEL > CONVERSATION > TASK) + namespace system + per-agent CoW evolution. The **Insights Inbox** in Agent settings ensures proposals stay drafts until you approve; dismiss persists a negative exemplar so the agent stops re-proposing; built-in agents are read-only in the inbox. Verified with **3,519 tests** covering the full continuous learning pipeline including skill injection, model discipline, evolution, search, and security. For MCP, Myrm now ships **GUI pre-enable scan + verify + runtime fail-closed** (see MCP Security Gate below) — ahead of Hermes log-only flows; we still do **not** ship ECC's `/aside` fork chats, `/context-budget` tree-map, or 102-hook full static packs (roadmap #6).

### Skill Module Architecture — 8-Dimension Advantage

Beyond evolution, Myrm's skill system architecture is fundamentally more sophisticated across all dimensions:

| Area                        | Hermes                                                                         | Myrm                                                                                                                                                                       | User Benefit                                               |
| --------------------------- | ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| Tool-Conditional Activation | Procedural if/else in prompt builder                                           | **4-field declarative** (requires\_tools/fallback\_for\_tools + tool group variants)                                                                                       | Skills auto-adapt to available tools across Web/Tauri/SaaS |
| Skill Injection             | Manual `@skill-name` selection                                                 | **Zero-roundtrip** auto-injection via slash commands + template variables (`${SKILL_DIR}`, `!`cmd\`\`)                                                                     | Say one word, skill activates instantly                    |
| Config Management           | Plain text KV injection (`[Skill config: key=value]`) — secrets visible to LLM | **JSON Schema** standard with auto-generated forms + multi-instance + env\_overrides (secrets never reach LLM)                                                             | Secure API key management + same skill, multiple configs   |
| Prebuilt Skill Protection   | No migration path (pre-hash users lose protection)                             | **Three-way hash** with GUI "Update Available" badge + accept/reject workflow                                                                                              | Customize freely, never lose your changes                  |
| Installation Security       | Hardcoded 4×3 policy matrix                                                    | **6-layer install defense** (quarantine → 26 categories/113 patterns + AST → LLM semantic audit → REJECT block → trust attenuation → GUI approval) with 532 security tests | Intelligent, layered security that adapts at every stage   |
| Curator Governance          | Coarse-grained skip (foreground skills never managed → list bloat)             | **Non-destructive archive** (always recoverable) + pinned + evolution\_locked                                                                                              | Skills stay organized, important ones stay protected       |
| Missing Dependency Handling | Load full doc then append setup note                                           | **XML summary shows reason at L0/L1** (save tokens) + 3-level fallback degraded docs                                                                                       | Know instantly what's missing, fix it fast                 |

### Skill Ecosystem Discovery & Import — 5-Source Aggregation vs Single Source

While competitors scan a single local directory (`.claude/skills/`, `.agents/skills/`), Myrm aggregates skills from **7 parallel discovery sources** (including ModelScope 80K+ and Aliyun AgentExplorer) with a full GUI import pipeline:

| Capability           |     Hermes / OpenClaw    |                                                                         Myrm                                                                         | User Benefit                                              |
| -------------------- | :----------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------: | --------------------------------------------------------- |
| Discovery sources    | 1 (local directory scan) |                                          **5 parallel** (ClawHub + GitHub + LobeHub + skills.sh + Prebuilt)                                          | One search, all ecosystems                                |
| Search UI            |        CLI / none        |                                        **GUI SkillDiscoverTab** with filter, sort, 14-category classification                                        | Visual browsing like an app store                         |
| URL import           |             ❌            |                                            **URL → auto-analyze → batch install** with conflict detection                                            | Paste a link, get a skill                                 |
| ZIP batch import     |             ❌            |                **Drag & drop → security scan → conflict detection → 2-phase preview/confirm (`message+error_code`) → atomic install**                | Bulk migration in seconds, with stable recoverable errors |
| Hot-reload           |     Restart required     |                                 **Zero-downtime**: `bump_skill_config_version()` → agent detects staleness → re-init                                 | Install and use immediately                               |
| Security scanning    |     None / hardcoded     | **Pre-install quarantine** + `SkillSecurityValidator` + safe ZIP extraction (entry limit + anti-Zip Bomb + path traversal + executable binary block) | Safe by default                                           |
| Atomic installation  |  `os.replace` file swap  |                                           **Blue-green directory swap** + transactional DB write + rollback                                          | Never a broken state                                      |
| Auto-update          |             ❌            |                                              **`SkillAutoUpdateChecker`** with "Update Available" badge                                              | Always current                                            |
| Format compatibility |      Own format only     |                                 **SKILL.md** with YAML frontmatter (shared with Hermes/OpenClaw) + any Markdown skill                                | Zero-friction ecosystem import                            |

**Result: 9 upgrades, 0 equivalent, 0 downgrades. Myrm treats skill discovery as a first-class GUI experience with enterprise-grade safety and deterministic error contracts across preview/confirm, while competitors remain limited to local directory scanning.**

### Evolution Validation Pipeline — 5-Layer vs Zero Validation

Competitor proposals suggest users write manual `validator/*.md` test cases for skills — a fundamentally flawed concept for SOP prompt skills that adds high friction. Myrm's **5-layer automatic validation pipeline** provides comprehensive protection with zero user effort:

| Layer                | What It Does                                                                                                                                                                                | Type               | Competitor |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ---------- |
| L1: SkillValidator   | Dangerous pattern regex + Python AST syntax + metadata integrity                                                                                                                            | Deterministic      | None       |
| L2: SandboxValidator | AST static analysis (eval/exec interception) + subprocess dry-run + secure verification steps                                                                                               | Deterministic      | None       |
| L3: BatchEvaluator   | 3-dimension rubric scoring (accuracy 50% + anti-fragmentation 30% + redundancy 20%) + length penalty + hard threshold circuit-break (score \< 0.6 = reject) + hallucinated import detection | AI Quality Gate    | None       |
| L4: GUI Approval     | Full approval lifecycle (approve/reject/revise/rollback) with Simple/Detailed dual-view + inline Diff editor                                                                                | User Control       | CLI only   |
| L5: A/B Testing      | Shadow testing (sampling + worker pool + retry) + Auto-Promote at 95% threshold + latency ratio cap                                                                                         | Empirical Evidence | None       |

**Key insight**: Most skills are Markdown SOP prompts (e.g., "When reviewing code, follow these steps..."). You cannot write deterministic test cases for prompt guidance — our 5-layer pipeline solves this elegantly through complementary validation types. **3,519 tests verified.**

### Evolution Transparency — 6 GUI Panels vs Flat File

Competitor proposals suggest syncing DB records to a `HISTORY.md` file in each skill directory for "transparency." Myrm provides **6 dedicated GUI panels** with rich interactivity that makes flat text files obsolete:

| Panel                       | What It Shows                                                                                                                                             | Competitor      |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- |
| SkillHistoryPanel           | Evolution records + Monaco DiffEditor + status badges (approved/rejected/rolled\_back) + one-click rollback                                               | HISTORY.md file |
| EvolutionRejectionDashboard | 7 status categories + stats cards + time range filter (7/30/90/180 days) + SSE real-time updates + force retry                                            | None            |
| PendingEvolutionsDashboard  | Simple/Detailed dual-view + SQL-accurate stats/filter badges + lazy detail + list scope hint + approve/reject/revise lifecycle + localStorage persistence | None            |
| SkillGrowthCaseCard         | Individual proposal card with Monaco DiffEditor inline editing + rejection reason input                                                                   | None            |
| SkillVersionsPanel          | Version list + cross-version compare (any v1 vs v2) + rollback with confirmation                                                                          | None            |
| SkillQualityGuardian        | A/B test status + shadow samples + quality metrics                                                                                                        | None            |

**Negative memory**: 3 DB tables (`evolution_constraints` + `evolution_rejections` + `execution_analyses`) automatically learn from failures. The engine injects past constraints into variant generation prompts via `get_evolution_constraints()`, preventing repeat mistakes — a closed-loop system that requires zero user maintenance. **332 additional tests verified.**

### Bounded Edit Control — 6-Layer Soft Constraints vs Hard Circuit-Break

Competitor proposals enforce a rigid "max 1 change point" rule with AST/Diff circuit-breaking. This is fundamentally flawed: a single bug fix often legitimately touches 2-3 related sections, and Markdown has no reliable AST for counting "change points." Myrm uses **6 layers of soft constraints** that maintain fix quality without artificial limits:

| Layer                          | Mechanism                                              | Effect                                                                         |
| ------------------------------ | ------------------------------------------------------ | ------------------------------------------------------------------------------ |
| L1: `_CONSERVATIVE_EDITING`    | 4 editing rules in LLM prompt                          | Preserve headings, leave working sections alone, prefer tightening over adding |
| L2: `_HARD_CONSTRAINTS`        | 6 prohibitions in LLM prompt                           | No full rewrites, no API contract changes, no generic advice injection         |
| L3: `_FAILURE_ATTRIBUTION`     | 3-way root cause classification                        | Only edit for skill problems; agent/environment problems don't bloat the skill |
| L4: `length_penalty`           | Score penalty starting at 120% growth, max 40% at 200% | Quantitative bloat control without blocking legitimate additions               |
| L5: `anti_fragmentation_score` | 30% weight in AI rubric                                | Prevents scope creep and hardcoding                                            |
| L6: `redundancy_score`         | 20% weight in AI rubric                                | Prevents unnecessary bloat and duplicate logic                                 |

Combined with hard threshold rejection (score \< 0.6 or accuracy \< 0.7 = auto-reject), this system achieves bounded editing without sacrificing fix completeness. Monaco DiffEditor provides line-level red/green change highlighting — more precise than the competitor's "highlight a single section." **1783 tests verified.**

### Framework-Driven Engine — Python Framework + 5-Layer Customization vs Pure-Prompt Files

Some competitors drive skill evolution entirely through editable Markdown prompt files (e.g., `reflect.skill.md`, `edit.skill.md`). While this appears flexible, it's fundamentally fragile — one wrong edit crashes the entire pipeline, it doesn't work in SaaS deployments, and creates dual-source-of-truth conflicts.

Myrm uses a **Python framework engine** with 7 modular prompt components hardcoded for safety, combined with a **5-layer structured customization system**:

| Layer                    | Mechanism                      | What it controls                                                    |
| ------------------------ | ------------------------------ | ------------------------------------------------------------------- |
| L1: Strategy             | `evolution_strategy` (4 modes) | Which evolution types run — one-click switch in UI                  |
| L2: Per-skill lock       | `evolution_lock`               | Protect specific skills from auto-evolution                         |
| L3: Trap injection       | `traps` per skill              | Domain-specific warnings injected into LLM prompts                  |
| L4: Constraint learning  | `evolution_constraints`        | System accumulates rejection reasons — gets smarter over time       |
| L5: Preference embedding | `_PREFERENCE_EMBEDDING`        | User style/format preferences auto-learned from frustration signals |

This gives users **structured, safe customization** without the risks of raw prompt file editing. Works identically across Local, Tauri, and SaaS — no filesystem dependency. **1923 tests verified.**

### Evolution Visualization — 9-Panel Full Lifecycle vs Command-Line Only

Some competitors rely entirely on Cron jobs and command-line output for skill evolution monitoring. Myrm provides **9 dedicated visualization surfaces** covering the full evolution lifecycle:

| Panel                     | What you see                                                            |
| ------------------------- | ----------------------------------------------------------------------- |
| Pending Reviews Dashboard | All proposals awaiting your approval — Simple or Detailed view          |
| Growth Case Cards         | Each proposal with Monaco DiffEditor — review, edit, approve in place   |
| Rejection Audit Dashboard | Why proposals were rejected, what the system learned                    |
| History Panel             | Processed evolution records with one-click rollback                     |
| Versions Panel            | Full version history with side-by-side diff comparison                  |
| Quality Guardian          | Shadow A/B testing — test new skills before going live                  |
| Growth Dashboard          | KPI cards + GitHub-style activity heatmap + health radar + weekly stats |
| Daily Journal             | Day-by-day timeline of sessions, approvals, cron runs, and more         |
| Daily Wrap                | AI-generated daily summary with keywords and next-day suggestions       |
| WebSocket Real-time       | Instant push notifications when new proposals arrive                    |

No command-line output to parse, no log files to tail. Everything is visual, interactive, and actionable. **2900 tests verified.**

### Cross-Skill Global Rules — 3-Layer Organic Learning vs Auto-Writing AGENTS.md

Some competitors propose auto-injecting rules into `AGENTS.md` or system prompts when common failure patterns appear across skills. This approach is **architecturally dangerous**: it modifies user-managed workspace files, creates dual source-of-truth conflicts, and breaks Prompt Cache efficiency.

Myrm uses a **3-layer organic learning system** that achieves the same goal safely:

| Layer                 | Mechanism                                                | How it helps                                                                                  |
| --------------------- | -------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
| Per-Skill Constraints | `evolution_constraints` + `traps`                        | Each skill accumulates its own lessons learned, auto-injected into evolution prompts          |
| Memory Learned Rules  | `ProceduralMemory` (trigger → action)                    | Global rules emerge organically from conversations, with CRITICAL/HIGH/NORMAL priority levels |
| Workspace Rules       | Read-only scan of AGENTS.md + 14 other rule file formats | Respects user-authored rules without modifying them                                           |

Key advantages over auto-write approaches:

* **Safe**: Never modifies user files or system prompts — learned rules flow through MemoryContextMiddleware
* **Cache-friendly**: Learned rules go into HumanMessage position, not System Prompt, preserving KV Cache
* **Scoped**: Rules can be global or tool-specific (`tool_name` field), not just blanket global injection
* **Secure**: All learned data passes through `sanitize()` + `wrap_untrusted()` boundary markers
* **Three-platform**: Works identically on Local, Tauri, and SaaS — no filesystem dependency

**324 tests verified** across evidence aggregation, workspace rules, memory middleware, and server integration.

### Multi-Agent Skill Binding — DB-Level 3-Layer Isolation vs Config File Management

Some competitors use CLI config files to bind skills to agents. Myrm's approach is fundamentally stronger with a 3-layer binding architecture:

| Layer                       | Mechanism                            | What It Does                                                                                   |
| --------------------------- | ------------------------------------ | ---------------------------------------------------------------------------------------------- |
| L1: DB Scope Isolation      | `scope_agent_id` in environment JSON | Skills can be global or agent-exclusive, with all 3 query functions supporting scope filtering |
| L2: Cross-Agent Mount + CoW | `mounted_skill_ids` + Copy-on-Write  | Agent A can mount Agent B's skills; evolution auto-forks to protect originals                  |
| L3: Runtime Dynamic Binding | `task.extra_skill_ids`               | Kanban tasks can append extra skills at runtime without changing agent config                  |

Additional advantages:

* **8 orchestration patterns** (Spawn / Chain / Batch / DAG / Verified / Swarm Fission / Alternatives Race / Council Debate) vs competitor's single pattern
* **GUI-first management**: AgentEditPanel with 12 config tabs vs CLI-only
* **ProfileTimeMachine**: Config snapshot versioning with GUI rollback vs migration scripts
* **7-competitor import**: One-click migration from OpenClaw, Hermes, Cursor, Codex, Claude Code, Windsurf, Trae
* **Channel skill triggers**: Slash command bindings via `ChannelSkillCommandHandler`

**534 tests verified** across DB store queries, evolution integration, Kanban toolkit, and team protocol.

### Migration from Hermes (Skill System)

| Hermes Skill Feature               | Myrm Equivalent                                                                                                 | Experience                        |
| ---------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------- |
| `/skill-name` manual activation    | Slash command auto-injection                                                                                    | ⬆️ Upgrade                        |
| `[Skill config: key=value]` config | JSON Schema form + env\_overrides                                                                               | ⬆️ Upgrade (secrets safe)         |
| `skills_guard` security scan       | 6-layer defense: quarantine + 26-category/113-pattern scan + AST + LLM audit + trust attenuation + GUI approval | ⬆️ Upgrade                        |
| `INSTALL_POLICY` matrix            | Dynamic SkillTrustRecommendation (532 tests)                                                                    | ⬆️ Upgrade                        |
| `lock.json` provenance             | origin.json + DB-backed trust + version history                                                                 | ⬆️ Upgrade                        |
| `curator --dry-run` CLI            | GUI Curator panel with preview                                                                                  | ⬆️ Upgrade                        |
| `skill_provenance` ContextVar      | pinned + evolution\_locked + non-destructive archive                                                            | ⬆️ Upgrade                        |
| 176 skills (quantity)              | 28 precision skills (quality + structured contracts)                                                            | ↔️ Tradeoff (quality vs quantity) |

**Result: 7 upgrades, 1 tradeoff, 0 downgrades. Users gain intelligent security, secure config management, and organized skill lifecycle with zero capability loss.**

### Smart Context Archive References — Content-Addressed Storage vs Simple Reference IDs

Some competitors (like AgenticX) propose assigning simple "Reference IDs" to large tool outputs, immediately replacing content with an ID. This has a fundamental flaw: the LLM must process the content at least once, so immediate replacement forces repeated full restores.

Myrm's ContextArchiveReference system takes a smarter approach:

| Capability        | Competitor Reference ID                         | Myrm ContextArchiveReference                                                               |
| ----------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------ |
| Identification    | Simple ref ID                                   | Content-addressed sha256 hash                                                              |
| Content Index     | None                                            | 6-type structural index (Markdown headings, code blocks, tables, lists, JSON keys, chunks) |
| Selective Restore | None                                            | Chunk-based range reads (200 lines/chunk)                                                  |
| Session Isolation | None                                            | Session-scoped guards prevent cross-session reads                                          |
| Budget Controls   | None                                            | Per-task restore budgets + anti-thrashing                                                  |
| Trigger           | Immediate replacement (LLM can't process first) | After cache TTL expiry (LLM processes fully, cache reuses)                                 |
| Integrity         | None                                            | content\_sha256 verification                                                               |

**298 tests verified** across archive reference, cache TTL prune, compactor offload, compress pipeline, cache metrics, and context budget.

### Streaming Resilience & LLM Infrastructure — Enterprise-Grade vs Basic Retry

Some competitors propose simple "retry on truncation" or basic multi-key rotation. Myrm's infrastructure goes far deeper:

**Streaming Truncation Recovery** — `StreamTruncationRecoveryMixin` handles output interruptions transparently:

| Capability         | Competitors                      | Myrm                                                                                    |
| ------------------ | -------------------------------- | --------------------------------------------------------------------------------------- |
| Text continuation  | Simple retry                     | 3× progressive retry with escalating output budget (2x→3x→4x)                           |
| Tool-call repair   | Retry once                       | Auto-detect truncated JSON tool calls + targeted retry                                  |
| Diagnostics        | None                             | i18n SSE diagnostic events visible to users + 1-click diagnostic export (Markdown/JSON) |
| Reasoning budget   | None                             | Auto-detect reasoning token budget exhaustion                                           |
| Concurrency safety | Instance attributes (race-prone) | ContextVar coroutine-safe state                                                         |

**End-to-End Event Propagation** — 48+ structured SSE event types vs competitors' 2–3 basic signals:

| Event Category       | Competitors                 | Myrm                                                           |
| -------------------- | --------------------------- | -------------------------------------------------------------- |
| Budget/cost signals  | budget\_exceeded, terminate | budget\_exceeded + context\_pruned + archive\_restore\_blocked |
| Recovery events      | None                        | truncation\_recovery + truncation\_failed                      |
| Loop protection      | None                        | loop\_guard\_warning + loop\_guard\_break                      |
| Approval flow        | None                        | approval\_requested + granted + denied + timeout               |
| Skill evolution      | None                        | skill\_evolved + evolution\_rejected + pending                 |
| Frontend integration | CLI text output             | All events → Toast / Dialog / ProgressSteps / Ring chart       |

**Multi-Key Hot Failover** — `KeyPoolLLM` + `CredentialPool`:

| Capability             | Competitors            | Myrm                                                                                                        |
| ---------------------- | ---------------------- | ----------------------------------------------------------------------------------------------------------- |
| Rotation strategies    | Single round-robin     | 4 strategies (Round Robin / Fill First / Least Used / Random)                                               |
| Error classification   | Generic error handling | 3-class (Rate Limit / Auth / Billing) with tailored backoff                                                 |
| Backoff                | None                   | Exponential + ±15% jitter + 24h auth cooldown                                                               |
| Model-level failover   | None                   | ManagedLLM + CircuitBreaker + HealthCheck (13-file system)                                                  |
| Multi-provider routing | None                   | ManagedLLM fallback chain + KeyPool (in-agent); external LLM gateway recommended for cross-provider raw LLM |
| CLI LLM proxy failover | None                   | Use a separate external LLM gateway for Cursor/Codex raw LLM routing, token compression, and tier cascade   |

**OpenAPI Bridge** — direct tool generation vs MCP intermediary:

| Capability          | Competitors (Hosted MCP)           | Myrm OpenAPI Bridge                         |
| ------------------- | ---------------------------------- | ------------------------------------------- |
| Integration path    | OpenAPI → MCP → Agent (extra hop)  | OpenAPI → StructuredTool (direct)           |
| Spec support        | OpenAPI 3.x only                   | OpenAPI 3.x + Swagger 2.0                   |
| Auth methods        | Unclear                            | 4 types (API Key / Bearer / Basic / OAuth2) |
| Namespace isolation | None                               | Auto-prefixed to prevent conflicts          |
| Token overhead      | MCP bridge descriptions add tokens | Zero extra overhead                         |

**978 tests verified**: Auth middleware 54 + Streaming recovery 481 + Key pool 21 + OpenAPI bridge 84 + Core events 25 + LLM infra (fallback/routing/consensus) 313.

## vs MiniMax Mavis — Multi-Agent Team Platform

MiniMax Mavis is a closed-source SaaS multi-agent system with Leader-Worker-Verifier architecture, available exclusively through Lark (Feishu) integration.

### What Mavis Does Well

* **Leader-Worker-Verifier pattern** — clear separation of planning, execution, and verification roles
* **IM-native experience** — multi-agent collaboration directly within Lark chat
* **"Instant reply" with background execution** — acknowledges the user immediately while tasks run asynchronously
* **Context isolation** between workers — each worker operates independently

### Where Myrm Goes Further

| Area                | MiniMax Mavis                           | Myrm                                                                                                                                                                                                                                                                                                                                                                                     | User Benefit                                                |
| ------------------- | --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| Orchestration       | Leader LLM dispatches tasks             | **8 deterministic modes** (Spawn/Chain/Batch/DAG/Verified/Swarm Fission/Alternatives Race/Council Debate)                                                                                                                                                                                                                                                                                | Structured scheduling, not dependent on LLM improvisation   |
| DAG Dependencies    | ❌ None                                  | ✅ Dependency graph + cycle detection + concurrency limits                                                                                                                                                                                                                                                                                                                                | Complex tasks auto-resolve execution order                  |
| Verification        | Text-based review                       | **Physical evidence enforcement** — must provide STDOUT/STDERR execution logs; claiming PASS without evidence is forced to FAIL                                                                                                                                                                                                                                                          | No rubber-stamp reviews                                     |
| Tool Isolation      | Not disclosed                           | **5-layer isolation** (type admission → global blocklist → per-config → parent-child intersection → role control)                                                                                                                                                                                                                                                                        | Sub-agents cannot escalate privileges                       |
| Budget Control      | Token Plan (commercial tier)            | **4-dimension control** (Token + USD + time + max descendants)                                                                                                                                                                                                                                                                                                                           | Precise cost management, not plan-tier anxiety              |
| Model Freedom       | Locked to MiniMax models                | **100+ models** with 3 protocol adapters (OpenAI/Gemini/Anthropic-like) infinite provider access + models.dev real-time discovery + multi-key rotation + 2M token context full-pipeline + API dialect auto-convert + native thinking model support (6-level intensity + reasoning panel) + dual-layer Schema Normalizer (Myrm generic + LiteLLM per-provider, 50 unit tests) — 538 tests | Zero vendor lock-in, switch any model with zero tool errors |
| Channels            | Lark only                               | **35+ channels** (WeChat/DingTalk/Slack/Telegram/Discord/Email...)                                                                                                                                                                                                                                                                                                                       | Not limited to one platform                                 |
| Deployment          | Closed-source SaaS only                 | **Web + Tauri + SaaS** (MIT open source)                                                                                                                                                                                                                                                                                                                                                 | Full data sovereignty                                       |
| Skill Evolution     | Basic "learned something" memory update | **49-module native system** with A/B testing + GUI approval + 5-layer safety + Enterprise Marketplace (1,110 tests)                                                                                                                                                                                                                                                                      | True self-improvement vs simple memory                      |
| Checkpoint Recovery | Not mentioned                           | ✅ Checkpointer saves stage-by-stage state                                                                                                                                                                                                                                                                                                                                                | Long tasks survive crashes                                  |
| Cost Efficiency     | Users report "tokens are burning"       | DelegationBudget + intelligent routing saves 60-80%                                                                                                                                                                                                                                                                                                                                      | Zero cost anxiety                                           |
| Auditability        | Closed-source, not auditable            | MIT open source + 48 EventKind streaming trail + 37 SecurityDecision audit types                                                                                                                                                                                                                                                                                                         | Enterprise compliance                                       |

### Migration from Mavis to Myrm

| Mavis Feature              | Myrm Equivalent                                                                                                                                                                                                                                                         | Experience                              |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
| Leader-Worker-Verifier     | DAG + Verification orchestration mode                                                                                                                                                                                                                                   | ⬆️ Upgrade (8 modes vs 1)               |
| IM multi-task parallel     | WebUI multi-session + Goal continuation                                                                                                                                                                                                                                 | ↔️ Equivalent (different design)        |
| Verifier adversarial check | `_enforce_evidence` + ReadonlySandbox                                                                                                                                                                                                                                   | ⬆️ Upgrade (physical evidence required) |
| Plan → Approve → Execute   | 主 Agent `todo_write` + Goal approval workflow                                                                                                                                                                                                                           | ⬆️ Upgrade (7-state lifecycle)          |
| "Learned something"        | 42-module Skill Evolution system                                                                                                                                                                                                                                        | ⬆️ Upgrade (full evolution pipeline)    |
| Lark integration           | 35+ channel support (including Lark)                                                                                                                                                                                                                                    | ⬆️ Upgrade                              |
| Worker context isolation   | **4-layer write protection**: line-level conflict guard + CoW workspace\_isolation (INHERIT/ISOLATED\_COPY/READ\_ONLY\_SANDBOX) + serial batch\_merge + OrphanRecovery + 3-tier sandbox (ms-level startup, no Docker needed) — 1,101 sub-agent & sandbox tests verified | ⬆️ Upgrade (engineering-grade)          |
| Token display              | 4D budget + real-time tracking + alerts                                                                                                                                                                                                                                 | ⬆️ Upgrade                              |

**Result: 7 upgrades, 1 equivalent, 0 downgrades. Users gain open-source data sovereignty, model freedom, and multi-platform access with zero capability loss.**

## vs Claude Code — Fork Subagent & Prompt Cache

Claude Code uses a "Fork Subagent" design with byte-level prompt prefix alignment to reuse KV Cache, reducing sub-agent costs by up to 90%.

### Where Myrm Goes Further

| Area                      | Claude Code                              | Myrm                                                                                                                             | User Benefit                                   |
| ------------------------- | ---------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------- |
| Prompt Cache Architecture | 1 strategy (prefix alignment)            | **6-layer system** (tool layering → system freeze → explicit breakpoints → cache-friendly compression → pipeline → LLM layer)    | Comprehensive caching, not just alignment      |
| Fork Context Reuse        | Empty system prompt (loses cache prefix) | **Full prefix reuse** (`context_mode="fork"`) → 100% Prefix Cache Hit + **conclusion-oriented filtering** (60-80% token savings) | Higher cache hit rate, dramatically lower cost |
| Cache Breakpoints         | None                                     | **4 strategies** (after system / every 15 blocks / after compression / last message)                                             | Anthropic best-practice coverage               |
| Cache Break Detection     | ❌ None                                   | **2-phase attribution** with 5 root causes (system/tools/model/TTL/eviction)                                                     | Quickly diagnose why cache dropped             |
| Anti-Thrashing            | ❌ None                                   | ✅ Prevents compression from repeatedly invalidating cache                                                                        | Stable caching in long sessions                |
| Resume-Aware Cache        | ❌ None                                   | ✅ Preserves cache prefix on session resume (90% savings in resume scenarios)                                                     | Cost-efficient session continuity              |
| Multi-Provider Cache      | Anthropic only                           | **5+ providers** (Anthropic + Qwen + OpenAI + DeepSeek + Gemini)                                                                 | Zero vendor lock-in                            |
| Sub-Agent Tool Control    | All-or-nothing (Fork = no tools)         | **5-layer isolation** (type → blocklist → per-config → parent-child → role)                                                      | Fine-grained per-tool control                  |
| Cost Budget               | None                                     | **4-dimension** (Token + USD + time + descendants)                                                                               | Precise cost management                        |
| Observability             | CLI text                                 | **NDJSON metrics + Cache Metrics Collector + 5-level monitoring**                                                                | Full-stack cache visibility                    |

### Migration from Claude Code to Myrm

| Claude Code Feature               | Myrm Equivalent                                                                                       | Experience                                 |
| --------------------------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| Fork Subagent (lightweight child) | `context_mode="fork"` with prefix reuse                                                               | ⬆️ Upgrade (100% cache hit vs lost prefix) |
| Prompt Cache prefix alignment     | 6-layer Prompt Cache system                                                                           | ⬆️ Upgrade (6 layers vs 1 strategy)        |
| Agent Team (parallel agents)      | 8 orchestration modes (Spawn/Chain/Batch/DAG/Verified/Swarm Fission/Alternatives Race/Council Debate) | ⬆️ Upgrade                                 |
| sendTask message passing          | P2P Mailbox + AgentHandoverState                                                                      | ⬆️ Upgrade (structured handover)           |
| CLI interface                     | Web GUI + Tauri Desktop + SaaS                                                                        | ⬆️ Upgrade                                 |
| Anthropic-only models             | 100+ models with intelligent routing                                                                  | ⬆️ Upgrade                                 |

**Result: 6 upgrades, 0 equivalent, 0 downgrades. Myrm delivers superior cache economics with 3 unique capabilities (Break Detection, Anti-Thrashing, Resume-Aware) that Claude Code completely lacks.**

### SubagentExecutor Reliability (Jul 2026)

Beyond cache economics, Myrm's dedicated **SubagentExecutor** engine handles what users feel when delegating work:

| Area                       | Typical Competitors (e.g. DeerFlow monolith) | Myrm                                            | User Benefit                         |
| -------------------------- | -------------------------------------------- | ----------------------------------------------- | ------------------------------------ |
| Oversized sub-agent output | Truncate or flood parent chat                | **Auto Vault** archive + summary injection      | Context stays lean; fewer tokens     |
| Cancel parent task         | Child/grandchild may keep running            | **Cascade cancel** across descendants           | Stop truly stops billing             |
| Untrusted upstream context | Passed through silently                      | **Taint propagation** with `[SECURITY WARNING]` | Clear signal to verify independently |
| Orchestrator delegation    | Coarse spawn tools                           | **Manifest-scoped** delegation tools per role   | Safer, clearer permissions           |

**Regression coverage:** **10,838** orchestration full-chain tests passed with 0 failures (Jul 11 2026): delegate core (97) + tournament & verification (5) + spawn tools & security registry (21) + sub\_agents full suite incl. manager/executor/event/checkpoint/orphan recovery (603) + parallel & resume compact (5) + Kanban engine full suite (429) + streaming & stream\_recovery (637) + security full suite incl. context\_budget/isolation/permissions (1,761) + LLM toolkit incl. credential\_pool/routing/fallback (1,344) + context\_budget dedicated (60) + credential\_pool dedicated (36) + error\_classifier dedicated (175) + **Item #13\~15 verification (2,431)**: sub\_agents suite (603) + security suite (1,761) + multiplexer & thread\_sharing (27) + frontend Vitest SubagentDashboard+SubagentStore (17) + EventForwarder (12) + TeammateMailbox (11) + **Item #17 verification (105)**: consensus engine (64) + council orchestration (25) + council integration (16) + consensus types (8) + **Item #18\~19 verification (978)**: memory scope binding (9) + ACP full suite (386) + A2A resolver+SSRF (44) + MCP toolkit full suite (539) + **Item #20+TokenBudget verification (847)**: budget\_guard (59) + manager\_core (186) + context\_budget (71) + executor+delegation (165) + config+heartbeat (70) + stream+lifecycle (121) + token\_control+memory+loop\_guard (175) + **Item #32+#36 verification (230)**: dynamic\_workflow engine (64) + DW e2e (9) + pipeline+templates (47) + orchestrator+swarm (99) + swarm\_fission+marketplace (11).

### Core Preset Tool Availability — SCIP Phase 0+1 (Jul 2026)

Fixes the **silent dead delegate** class of bugs where a browser/analysis subagent preset referenced stale tool names, `filter_tools()` produced **zero tools**, and the parent agent believed delegation succeeded.

| Layer           | Change                                                                                                                                                          | User benefit                                                             |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Harness YAML    | `browser` / `analysis` core presets aligned to canonical `_TOOL_LAYERS` tool names                                                                              | Browser delegate catalog works out of the box                            |
| Harness runtime | `config_loader` SSOT validation + `executor_attempt_mixin` **hard-fails** empty allowlists                                                                      | Immediate structured error — no empty subagent runs                      |
| Server          | `browser-automation` prebuilt skill auto-bound as **peripheral** (`is_core: false`) when Browser is enabled — wired in `AgentFactory` (Web/Cron/Channel/Kanban) | Operating-loop guidance without Prefix Cache core bloat                  |
| WebUI           | Delegate hint on Browser toggle (en/zh)                                                                                                                         | Users discover `@browser` / `delegate_task` delegation                   |
| Server L3       | `build_parent_delegatable_toolkit()` merges session `browser_*_tool` into parent toolkit                                                                        | Browser toggle + delegate works immediately — no `Not in parent toolkit` |

**Honest competitor note:** OpenClaw and Hermes already support browser delegation paths; Myrm adds **preset SSOT fail-fast**, **cache-safe peripheral skill binding**, and **L3 parent toolkit session merge** so production delegates do not silently no-op or fail after enabling Browser.

**SCIP bundle:** **65 passed, 1 skipped** (harness preset/guardrail tests + server binding/spawn smoke + frontend hint vitest, Jul 2026) · **API Live E2E** `example_domain_seen` \~6.5s (`mimo-v2.5-pro`, Jul 8 2026).

### Claude Code 2.1.154\~2.1.157 Harness Upgrade

With Opus 4.8, Claude Code introduced `/effort` (6-level reasoning budget), Dynamic Workflows, lean system prompt, and enhanced `--resume`. Here's how Myrm compares:

| Feature                    | Claude Code                                               | Myrm                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | Result                               |
| -------------------------- | --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
| Reasoning budget control   | `/effort` 6 levels (manual)                               | `complexity_router` 3-tier auto-routing + PenaltyTracker                                                                                                                                                                                                                                                                                                                                                                                                                      | ⬆️ Smarter (auto vs manual)          |
| Workflow orchestration     | Dynamic Workflows (unpredictable LLM JS, keyword trigger) | 8 deterministic modes + manual Dynamic Workflow (Python PTC + SQLite event sourcing)                                                                                                                                                                                                                                                                                                                                                                                          | ⬆️ Dual-path: safe DW + richer modes |
| System prompt optimization | lean system prompt                                        | 6-layer Prompt Cache + TaskAdaptiveMiddleware                                                                                                                                                                                                                                                                                                                                                                                                                                 | ⬆️ Complete cache engineering        |
| Autonomous execution       | "Ask fewer questions"                                     | Goal 7-state machine + auto\_approve + continuation guard                                                                                                                                                                                                                                                                                                                                                                                                                     | ⬆️ Systematic                        |
| Skill system               | .claude/skills directory scan                             | 42-module Skill system + 6 discovery sources + evolution                                                                                                                                                                                                                                                                                                                                                                                                                      | ⬆️ Full evolution ecosystem          |
| Agent configuration        | CLI-based agent config                                    | 27 presets + 10 YAML templates + 5-tab GUI (Monaco SmartPromptEditor + AI gen + 17 personalities + model picker w/ fallback + 6 engine params) + DB storage + TimeMachine rollback + **Profile-Driven Adaptive UI** (AgentIndicator + SamplePrompts auto-adapt + BuiltinToolsPanel dynamic toggle incl. **structured\_clarify** multi-question forms + AgentBrickCard hover details + AgentGallery) + **Org Marketplace** — **562 tests** (435 config + 127 profile-adaptive) | ⬆️ Full visual builder               |
| Code isolation             | EnterWorktree                                             | WorkspacePolicy (INHERIT/ISOLATED\_COPY/READ\_ONLY\_SANDBOX) + GUI config                                                                                                                                                                                                                                                                                                                                                                                                     | ⬆️ 3 policies + visual               |
| Task resumption            | `--resume` CLI flag                                       | 5-layer context persistence (SessionNotes + ContextSnapshot + GoalStorage + SubagentCheckpoint + ArchiveCheckpoint) + OrphanRecovery + StreamRecovery + workspace\_isolation 3-policy COW + batch\_merge — 501 tests verified (213 persistence + 288 isolation)                                                                                                                                                                                                               | ⬆️ Complete recovery                 |
| Cost control               | Manual effort selection                                   | Auto-routing + GoalBudget + DelegationBudget + token\_economics                                                                                                                                                                                                                                                                                                                                                                                                               | ⬆️ Automated                         |
| Model support              | Claude-only                                               | 100+ models with intelligent routing                                                                                                                                                                                                                                                                                                                                                                                                                                          | ⬆️ Model freedom                     |

**Result: 10 upgrades, 0 equivalent, 0 downgrades.**

### Dynamic Workflows — Real-World Pain Points

Based on user feedback from Claude Code's Dynamic Workflows feature (2026-05 data):

| User-Reported Issue                                   | Root Cause                                               | Myrm Solution                                                                                                                                  |
| ----------------------------------------------------- | -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| "Planned 47 agents, only 25 actually ran"             | LLM-generated JS scripts are non-deterministic           | **DAG** for production; **Dynamic Workflow** replays completed sub-agents from SQLite cache on retry                                           |
| "Started with 10, ballooned to 82, burned all tokens" | No budget enforcement in runtime                         | **DelegationBudget** — 4D hard limits (Token+USD+time+descendants), impossible to overshoot                                                    |
| "8 万字 output lost content midway"                     | No checkpointing for long parallel runs                  | **Checkpointer** + OrphanRecovery + **WorkflowEventStore** — stage-by-stage persistence, crash-safe                                            |
| "Had to babysit for 5 hours"                          | No completion guard or auto-recovery                     | **CompletionGuard** + 429/503 auto-backoff + 7×24 unattended operation                                                                         |
| "Accidentally triggered workflow by keyword"          | Keyword-based trigger (mention "parallel" or "research") | **Manual WorkflowModeToggle** — opt-in only, auto-resets after send; zero keyword accidents                                                    |
| "Didn't know I could use workflow mode"               | No discoverability mechanism                             | **Workflow Escalation** — zero-LLM-cost detection proactively suggests workflow mode for complex decomposable tasks (non-blocking inline card) |
| "max 16 concurrency, max 1000 total agents"           | Fixed runtime limits                                     | **Configurable ConcurrencyLimiter** + TokenBucket — no hard ceiling                                                                            |
| "Cost is a black box until the end"                   | No real-time cost tracking                               | **SubagentDashboard** — Real-time `$0.001` precision cost visualization per node                                                               |
| "Approval requests get lost in long terminal logs"    | CLI-only, no visual anchors                              | **Visual HITL Approval** — One-click jump from Dashboard to Approval Card                                                                      |
| "Hard to review what the agent is doing"              | Raw JSON arguments in terminal                           | **Polymorphic Views** — Prism syntax-highlighted diffs with Unified/Split dual-view for code, terminal UI for shell                            |

**Key architectural difference**: Claude Code DW generates JavaScript orchestration scripts at runtime with keyword triggers (non-deterministic, can fail or diverge). Myrm offers a **dual-path** strategy: declarative DAG plans (deterministic, verifiable before execution) for production workloads, plus an optional **Dynamic Workflow** mode (manual toggle, Python PTC sandbox, deterministic `workflow_id`, SQLite event sourcing for idempotent sub-agent replay) for ad-hoc parallel scripting — all with a **first-class Human-in-the-Loop (HITL) GUI**.

**Confidence-graded results**: Myrm's DW summarization automatically classifies each finding with a 4-tier confidence badge — ✅ Verified (backed by execution evidence), ⚠️ Unverified (LLM reasoning only), ❌ Refuted (contradicted by evidence), 💥 Failed (task errored). Users instantly distinguish reliable conclusions from LLM speculation. No competitor offers this capability.

## vs Scrapling & BrowserUse — Fully Autonomous Hybrid Browser Engine

While typical AI agents use standard Playwright/Selenium wrappers (like BrowserUse) that crash constantly on dynamic pages, and traditional scraper frameworks (like Scrapling) require developers to manually write code to bypass anti-bot measures, Myrm Agent introduces a **Fully Autonomous Hybrid Browser Engine**.

### What Scrapling & BrowserUse Do Well

* **BrowserUse**: Wraps Playwright for LLMs to click elements, but relies on slow LLM reasoning every time a locator fails.
* **Scrapling**: Provides powerful stealth tools (`camoufox` / `curl_cffi` HTTP fetching) but requires developers to manually wire them into a crawler script.

### Where Myrm Goes Further

| Area                                            | Traditional Agents / Scrapers                                                       | Myrm Agent                                   | User Benefit                                                                                                                                                                                                              |
| ----------------------------------------------- | ----------------------------------------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Self-Healing Locators & Shadow DOM Piercing** | Wait 30s for LLM to rethink after DOM changes, completely blind to Shadow DOM       | **O(1) Millisecond Healing Engine**          | Agent instantly recovers from dynamic DOM/React changes using absolute BBox + ARIA implicit mapping + Semantic Veto. Fully pierces Shadow DOM and uses strict W3C CSS whitelists for zero data-pollution. Zero LLM delay. |
| **Native Spatial Engine**                       | Fails on dynamic layouts, slow Python-level bounding box calculations               | **Direct C++ Layout Selectors**              | Zero-latency, highly accurate element targeting based on visual layout (e.g. "right-of", "below") seamlessly native to the rendering engine, with 0 LLM hallucination risk.                                               |
| **Render Engine Degradation**                   | Heavy Chromium renders everything                                                   | **Autonomous Hybrid Engine**                 | Detects static pages and injects HTTP pre-fetch via `page.route` — skipping JS/CSS load. **90% faster and lighter.**                                                                                                      |
| **Anti-Bot Evasion**                            | Fails at Cloudflare (BrowserUse) / Manual config (Scrapling)                        | **Dual Stealth Hot-Swap + Domain Memory**    | Seamlessly escalates HTTP → Patchright → Camoufox when challenged, and remembers which domains need stealth — repeat visits skip the probe cycle and load 5–8 s faster.                                                   |
| **Proxy Pool Rotation**                         | Global network hooks cause cross-task pollution & lost login state                  | **Zero-Network V8 Injection**                | Swaps IPs instantly while injecting local storage via V8 initialization. Perfect state inheritance with exponential backoff.                                                                                              |
| **Element Safety**                              | Blindly clicks overlapping elements                                                 | **Semantic Veto**                            | Prevents mis-clicks using strict contextual checking (even in Chinese/English i18n).                                                                                                                                      |
| **API-First Network Intelligence**              | No network visibility (BrowserUse logs to HAR offline) / CLI dump only (bb-browser) | **CDP Lazy Body Retrieval + In-Page Replay** | Agent sees all XHR/Fetch APIs in real-time, fetches response bodies on-demand (O(1) memory), and replays requests with login state — extracts data from GraphQL/Canvas/SPA that DOM cannot reach.                         |

### Migration Wins

Users migrating from raw Playwright automation or other Agent frameworks gain:

* **Zero-Crash UI Navigation**: End the frustration of "Element not found" errors ruining a 20-minute agent task.
* **Blazing Fast Data Retrieval**: Don't burn memory on full Chromium instances for simple text extraction; Myrm degrades to HTTP seamlessly.
* **Production Grade Reliability**: Auto-detects 10 CAPTCHA providers and solves them via CapSolver API with FallbackSolver chain (manual HITL takeover when needed). Passes Cloudflare invisibly.

## Credential Vault — Passwords & 2FA Never Enter the LLM

When agents automate login flows, the default pattern in most frameworks is catastrophic: the model generates the password string and passes it through `type` or `fill` tool arguments. That value persists in chat history, MCP logs, and retry buffers.

Myrm's **Form Credential Vault** separates *knowing* a credential from *using* it:

| Layer           | What happens                                                                        |
| --------------- | ----------------------------------------------------------------------------------- |
| **You**         | Configure labels in Settings → Credentials (password + optional TOTP seed)          |
| **Agent / LLM** | Sees label names only; calls `fill_credential` (unified for browser and desktop)    |
| **Harness**     | Decrypts in memory, injects at DOM or OS layer — plaintext never returns to context |

### Where Myrm Goes Further

| Area                           | Hermes / OpenClaw        | FSB (Chrome extension)  | Myrm                                       | User Benefit                                        |
| ------------------------------ | ------------------------ | ----------------------- | ------------------------------------------ | --------------------------------------------------- |
| **Vault boundary**             | ❌ Plaintext in tool args | ✅ Browser DOM injection | ✅ Browser + desktop                        | Login automation without password in chat           |
| **TOTP / 2FA**                 | ❌ Manual                 | ❌ Not documented        | ✅ Built-in RFC 6238                        | Agent completes 2FA without you reading codes       |
| **Management UI**              | ❌ Env vars / chat        | Extension popup         | ✅ WebUI Settings panel                     | One place for all automation credentials            |
| **Security stack integration** | ⚠️ Post-hoc patches      | Standalone extension    | ✅ 6-layer defense + leak detection + audit | Vault is part of enterprise security, not a bolt-on |

### Honest Comparison with FSB

FSB pioneered the vault-boundary pattern for browser automation (label reference → extension decrypts → DOM fill). Myrm adopts the **same security principle** and extends it to **desktop Computer Use**, **native TOTP**, and **unified product GUI** — without requiring a separate Chrome extension. FSB still leads on payment-card-specific APIs (`use_payment_method`); Myrm covers password fields and 2FA today.

### Migration Wins

* **From Hermes / OpenClaw**: Stop pasting passwords into prompts; configure once in Settings.
* **From FSB**: Same mental model (labels), plus desktop apps and TOTP in one workspace.
* **For enterprise**: Combine vault with 12-dimension permissions, structured audit trail (37 decision types + Prometheus metrics), and incognito sessions for sensitive runs.

## MCP Security Gate — Know Risk Before You Enable

Third-party MCP servers are a growing attack surface: poisoned tool descriptions, sensitive path access, and runtime tool injection can compromise an agent mid-conversation.

Myrm gates MCP **before** it reaches your workspace:

| Stage             | What Myrm does                                                            | What you see                      | Typical competitors       |
| ----------------- | ------------------------------------------------------------------------- | --------------------------------- | ------------------------- |
| **Edit**          | Debounced static scan (\~0.03ms)                                          | Amber risk list (EN/ZH)           | No GUI pre-check          |
| **Save / enable** | High-risk requires ack + 4-step verify (static → OSV → connect → runtime) | Clear block or confirmed enable   | Hermes: log only          |
| **Runtime**       | Harness fail-closed disconnect                                            | Poisoned MCP never joins the chat | OpenClaw: env filter only |

**Honest scope**: Full 102-hook static rule packs are roadmap — this gate covers the real user path (Settings → enable → chat). Regression: harness + server API tests (21+ cases).

### Migration wins

* **From Hermes**: Stop discovering bad MCP only in logs — block or confirm in Settings first.
* **From OpenClaw**: Env filtering is not enough; get pre-enable scan + runtime disconnect.

## MCP Protocol Architecture — Persistent, Event-Driven, Cache-Friendly

Myrm's MCP implementation uses persistent warm connections with event-driven tool discovery — not the cold-start reconnect pattern used by competitors.

| Area                    | Hermes / OpenClaw                                 | Myrm                                                                                                                                              | User Benefit                                                  |
| ----------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| **Connection Model**    | Cold start per request or session-scoped          | **Persistent warm connections** (MCPSessionActor)                                                                                                 | Zero reconnect latency; tools available instantly             |
| **Client Identity**     | Generic "mcp" default                             | **Product-branded** `myrm-agent` + version                                                                                                        | Server logs can identify connection source for debugging      |
| **Tool Discovery**      | Poll on each invocation or fixed list             | **Event-driven** (`list_changed` notification)                                                                                                    | No wasted cycles; always current                              |
| **Prompt Cache Impact** | Tool list changes on every reconnect → cache miss | **Frozen proxy tools** with stable token fingerprint                                                                                              | Up to 90% prompt cache hit rate preserved                     |
| **Self-Healing**        | Manual restart on disconnect                      | **Automatic reconnect + tool refresh**                                                                                                            | Unattended tasks survive network blips                        |
| **Multimodal Results**  | Text-only passthrough                             | **Structured content normalization** (images, JSON, annotations) + 8 polymorphic UI renderers + auto JSON beautification with syntax highlighting | LLM sees rich context; users see beautiful, actionable output |
| **State Handling**      | Requires custom handle middleware                 | **Native handle passthrough** (opaque IDs flow naturally through tool results)                                                                    | Stateful MCP servers work out-of-the-box                      |

**Why this matters for cost**: Every time a competitor reconnects to an MCP server, the tool list changes token positions in the prompt, invalidating the LLM's prompt cache. With 10+ MCP servers enabled, this can cost **$0.50–$2.00 extra per hour** in wasted cache misses. Myrm's frozen proxy approach keeps the tool section byte-stable across turns.

### Migration wins

* **From Hermes**: No more "tool not found" errors after idle timeouts — persistent connections stay warm.
* **From OpenClaw**: Stop paying for prompt cache misses caused by tool list churn on every reconnect.

## Shell Command Visual Approval — See Every Pipe Before You Allow

When an agent runs `curl … | bash`, a single monospace line hides which segment downloads code and which executes it.

Myrm's **Shell Command Display** splits pipelines into spans with per-segment risk coloring — the same mental model OpenClaw users expect, enabled by default and wired into our 6-layer security stack.

| Area                  | OpenClaw                                  | Hermes                | Myrm                                               | User benefit                               |
| --------------------- | ----------------------------------------- | --------------------- | -------------------------------------------------- | ------------------------------------------ |
| **Pipe breakdown**    | tree-sitter explainer (not on by default) | Whole-line allow/deny | **On by default**, same source as redacted display | Know which segment is dangerous            |
| **Risk coloring**     | ❌                                         | ❌                     | ✅ Per-span levels                                  | Red/yellow/green at a glance               |
| **Secrets in UI**     | Basic                                     | Basic                 | **Redact first, then spans**                       | API keys never in approval text            |
| **Edit escalation**   | ❌                                         | ❌                     | **Block edits that change UNKNOWN-risk commands**  | Can't "tweak wording" into a worse command |
| **Sub-agent cards**   | ❌                                         | ❌                     | ✅ Spans flow to delegate approvals                 | Same clarity for spawned workers           |
| **Workspace context** | ❌                                         | ❌                     | ✅ Shows workspace root (EN/ZH)                     | Know where the shell runs                  |

**Honest limits**: Very long commands are truncated with a clear UI notice. Local use requires both frontend and backend running; if you open only the WebUI, you get explicit startup guidance—not opaque parse errors.

### Migration wins

* **From OpenClaw**: Familiar segmented shell view — plus 12-dimension permissions, leak detection, and structured audit trail.
* **From Hermes / Claude Code**: Stop approving blind one-liners — see pipe segments and risk before one click.

## vs MemPalace — AI Memory System (14.9K+ Stars)

MemPalace is a standalone AI memory system using architectural metaphors (Wing/Room/Closet/Drawer) with a "store everything verbatim" philosophy, achieving 96.6% R\@5 on LongMemEval. It operates as an MCP tool that external AI assistants can call.

### What MemPalace Does Well

* **Verbatim storage** — stores raw conversations without lossy summarization
* **Architectural organization** — Wing/Room/Closet/Drawer hierarchy gives AI a "navigation map"
* **4-layer memory stack** — L0 identity (\~50 tokens) through L3 deep search, keeping wake-up cost under 900 tokens
* **Multi-format ingestion** — normalizes Claude, ChatGPT, Codex, Gemini, Slack exports into a unified format
* **Local-first** — runs entirely on your machine with ChromaDB, zero cloud API calls

### Where Myrm Goes Further

| Area                       | MemPalace                                     | Myrm                                                                                                                                                                                                                                         | User Benefit                                                                      |
| -------------------------- | --------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| Memory Types               | 1 flat type (drawer)                          | **8 structured types** (Profile/Semantic/Episodic/Procedural/Conversation/Claim/TaskDigest/Integration)                                                                                                                                      | AI understands "this is a fact" vs "this is a preference" vs "this is a rule"     |
| Verbatim Storage           | ChromaDB single vector                        | **Dual-track** (raw\_exchange + summary) with **dual embedding**                                                                                                                                                                             | Both precise recall and fast overview                                             |
| Deduplication              | Single-layer vector similarity                | **3-layer smart dedup** (Hash → Vector → LLM) with UPDATE\_REPLACE/UPDATE\_MERGE/NEW                                                                                                                                                         | No duplicate memories, intelligent merging                                        |
| Forgetting                 | None (memories only grow)                     | **Dual-layer intelligent forgetting**: 5D retention score (zero LLM cost) + LLM staleness review (per-fact TTL, severity sort, batch limit, KEEP cooldown) with 4-layer protection (pinned/correction-chain/recently-active/min\_candidates) | Memory stays lean and relevant without losing critical knowledge                  |
| Knowledge Graph            | Basic halls/tunnels co-occurrence             | **GraphStore + CTE** with visual exploration                                                                                                                                                                                                 | Rich relationship mapping                                                         |
| Contradiction Detection    | Rule-based name/relationship check            | **LLM-powered ClaimGraph** + cognitive subsumption                                                                                                                                                                                           | Catches subtle contradictions                                                     |
| Search                     | BM25 + Vector hybrid                          | **FTS5 + Qdrant** hybrid (FTS5 has built-in BM25)                                                                                                                                                                                            | Production-grade search infrastructure                                            |
| Fact Correction            | ❌ Direct overwrite (history lost)             | ✅ **correct()** — demotes old memory (0.3x weight) + creates high-confidence correction (0.95) linked to original                                                                                                                            | Wrong memories don't pollute — corrections automatically win in retrieval         |
| User Feedback Rating       | ❌ None                                        | ✅ **rate\_memory** — asymmetric EMA (negative feedback decays faster) auto-adjusts retrieval ranking                                                                                                                                         | Helpful memories float to top, bad ones sink — no manual curation needed          |
| User Lock                  | ❌ pin blocks delete only, not edit/patch      | ✅ **is\_user\_locked** — Agent cannot overwrite user-edited memories                                                                                                                                                                         | Your manual edits are safe from AI overwriting                                    |
| GUI Management             | ❌ CLI only                                    | ✅ **Full GUI panel** — browse, edit, approve, pin, delete memories                                                                                                                                                                           | Visual memory management                                                          |
| Pitfalls Extraction        | ⚠️ Markdown `## Pitfalls` section in SKILL.md | ✅ **Structured Gotchas** — auto-extracted as DB records with `source_error` field + `FeedbackSignal` auto-detection (bilingual) + visual amber warning in GUI                                                                                | Mistakes become searchable, structured knowledge — not buried text                |
| Retrieval Evidence UI      | ❌ CLI only, no visibility                     | ✅ **3-tier citation visualization** — MemoryInsightPanel (Budget Pill + Citations Pill with HoverCard) + MemoryCitationsButton (detail Sheet with type/score/content/namespace/source-chat) + MemoryFeedback (rating loop → 7-dim retrieval) | See exactly which memories influenced each response — no more "black box" anxiety |
| Multi-Agent Rule Isolation | ❌ No `agent_id` — all rules globally shared   | ✅ **6-dimension MemoryScope** (agent\_id + namespace + channel + conversation + task\_id)                                                                                                                                                    | Different agents' rules never pollute each other                                  |
| Memory Safety              | ❌ None                                        | ✅ **Scanner + sanitizer** with real-time security events                                                                                                                                                                                     | Prevent memory poisoning                                                          |
| Health Diagnostics         | ❌ None                                        | ✅ **Benchmark testing** (Recall\@K, NDCG, MRR, Precision)                                                                                                                                                                                    | Quantified memory quality                                                         |
| Preference Tracking        | ❌ None                                        | ✅ **Stability scoring** with visual trend cards                                                                                                                                                                                              | Track how preferences evolve                                                      |
| Backup & Restore           | Manual SQLite copy                            | ✅ **Structured backup/restore** protocol                                                                                                                                                                                                     | Data safety built-in                                                              |
| Platform                   | Memory library only                           | **Complete AI Agent platform** (100+ tools, 35+ channels, Sub-Agent, Goals)                                                                                                                                                                  | Memory is part of a full workspace                                                |
| Data Storage               | ChromaDB (known HNSW corruption issues)       | **Qdrant + SQLite** (production-grade)                                                                                                                                                                                                       | No manual HNSW repair needed                                                      |

### Migration from MemPalace to Myrm

| MemPalace Feature               | Myrm Equivalent                                      | Experience                      |
| ------------------------------- | ---------------------------------------------------- | ------------------------------- |
| Verbatim drawer storage         | ConversationMemory.raw\_exchange (dual-track)        | ⬆️ Upgrade (raw + summary)      |
| Wing/Room/Closet hierarchy      | 8 memory types + GraphStore knowledge graph          | ⬆️ Upgrade (typed + relational) |
| 4-layer memory stack (L0–L3)    | 5-layer context pipeline + on-demand retrieval       | ⬆️ Upgrade                      |
| ChromaDB vector search          | Qdrant dual-vector + FTS5 hybrid                     | ⬆️ Upgrade (more robust)        |
| MCP tool integration            | Native MCP server + agent-integrated tools           | ⬆️ Upgrade (native, not add-on) |
| Local-only operation            | Local + Tauri desktop + SaaS (your choice)           | ⬆️ Upgrade (3 deployment modes) |
| CLI management                  | GUI panel with visual memory management              | ⬆️ Upgrade                      |
| `mempalace mine` data ingestion | Real-time auto\_extract + tool\_capture              | ⬆️ Upgrade (no manual mining)   |
| `mempalace search`              | Agent-integrated memory recall with source citations | ⬆️ Upgrade                      |
| Hallway connections             | Knowledge graph with CTE traversal                   | ⬆️ Upgrade                      |

**Result: 10 upgrades, 0 equivalent, 0 downgrades. MemPalace users gain a complete AI agent platform where memory is natively integrated — not an external add-on — with 12 capabilities MemPalace doesn't offer (intelligent forgetting, GUI management, safety scanning, preference tracking, health diagnostics, and more).**

## Dual-Path Data Visualization — No-Code Charts & Interactive Tables

Competitors like Codex and Claude Code output plain Markdown tables when working with data. Myrm provides a **dual-path architecture** that covers everything from simple data display to complex interactive dashboards:

| Capability                   | Myrm                                                                                                                                                                                                                                                                             | Codex / Claude Code         |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- |
| Built-in chart types         | 4 (bar/line/pie/donut) via UIChart + unlimited via React Artifact                                                                                                                                                                                                                | None                        |
| Interactive data tables      | UITable with dynamic columns + React Artifact for sorting/filtering                                                                                                                                                                                                              | Markdown only               |
| No-code UI components        | 22 types (charts, tables, forms, layouts)                                                                                                                                                                                                                                        | None                        |
| React live preview           | Sandpack with hot-reload + code editor + console                                                                                                                                                                                                                                 | None                        |
| Data export formats          | Markdown / JSON / HTML / DOCX / PNG                                                                                                                                                                                                                                              | None                        |
| Diagram rendering            | Mermaid (30+ diagram types) with zoom/pan/legend                                                                                                                                                                                                                                 | None                        |
| GFM Alerts                   | 5 types (NOTE/TIP/IMPORTANT/WARNING/CAUTION) with themed icons                                                                                                                                                                                                                   | None                        |
| Footnotes                    | Superscript links + bottom references (academic-style)                                                                                                                                                                                                                           | None                        |
| Artifact version management  | SHA-256 integrity verification + version history                                                                                                                                                                                                                                 | None                        |
| Cross-session data analysis  | pandas + SQLite persistence in sandbox                                                                                                                                                                                                                                           | No persistence              |
| **Widget state persistence** | **Transparent localStorage bridge — all widget data survives page reload & re-open**                                                                                                                                                                                             | No widget state persistence |
| **Widget sandbox security**  | **Triple-layer isolation** (iframe `sandbox=allow-scripts` + CSP `default-src 'none'` + `connect-src 'none'`) — widgets cannot access host cookies, localStorage, or network; 22 CSS semantic variables + 60+ utility classes auto-inherited from host theme including dark mode | No widget sandboxing        |

**Path 1 — Generative UI (zero-code)**: The agent renders 24 built-in component types (UIChart, UITable, UIProgress, UIBadge, UICard, UIGrid, UITabs, and more) via SSE events — secured by front-end + back-end dual whitelist, with 8 validation rules, i18n support, and conditional rendering. Users see rich interactive data visualizations without writing a single line of code.

**Path 2 — React Artifact (full-feature)**: For complex visualizations, the agent generates custom React components using Recharts, Echarts, D3, or Chart.js. These render in a Sandpack-powered live preview with code editing, console output, and Tailwind CSS support.

**Verified by 697 tests** (2026-07-03) → **render\_ui full pipeline 87 tests** (2026-07-04): Harness A2UI spec **24** ✅ | Interactive UI 59 ✅ | Artifact renderers 47 ✅ | ArtifactPortalStore + SSE 15 ✅ | Chat export + schema 39 ✅ | Backend Artifact system 22 ✅ | Backend Share API (CSP + HMAC + traversal) 41 ✅ | Backend Deploy API 15 ✅ | Backend Artifact file\_id chain 3 ✅ | Deploy integration 4 ✅ | Harness Core Artifacts 27 ✅ | Harness Agent Artifacts 128 ✅ | Inline Artifact Events 9 ✅ | Artifact Judge 9 ✅ | Inline Artifact Push 7 ✅ | Mermaid Theme 18 ✅ | Render UI Tool 9 ✅ | Artifact Services (share\_token + share\_bundle) 13 ✅ | UI Artifact Stream 7 ✅ | DocumentSelectionToolbar + useSelectionAction 12 ✅ | VersionHistory + VersionHistoryBanner 20 ✅ | reactCodeProcessor 35 ✅ | reactPreviewConstants 21 ✅ | Artifact navigation full-stack (PortalTabs + ArtifactsCenter + SpreadsheetPreview + DataGrid) 105 ✅ | Image annotation editor 54 ✅ | **render\_ui SSE wiring 14** ✅ | **run\_bind + fail-closed integration 13** ✅ | **real LLM E2E + live Chrome DOM 1** ✅

## vs Doubao Pro — "AI→Office Delivery" Full-Cycle Closed Loop

Doubao Pro (ByteDance) bundles Feishu's Office suite (Docs/Sheets/Slides) for a full "AI generate → format → output" workflow. Myrm achieves the same — and better — with a lighter Artifact architecture:

| Capability                 | Myrm                                                                                                                        | Doubao Pro                     | Comparison                                                          |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------------------------- |
| Document editing           | Monaco Editor Code mode (syntax highlight + autocomplete + multi-language) + Markdown Preview                               | Feishu WYSIWYG                 | **Myrm better** (LLM outputs Markdown natively, precise diff/patch) |
| AI precision collaboration | SelectionToolbar: select → AI modify/explain/optimize/comment                                                               | AI writes into doc             | **Myrm wins** (selection-level AI interaction)                      |
| Auto-save                  | dirty state + 2s debounce                                                                                                   | Feishu built-in                | Tie                                                                 |
| Spreadsheet viewing        | DataGrid: virtual scroll + sort + search + 10K rows                                                                         | Feishu multi-dimensional table | Tie                                                                 |
| CSV parsing                | RFC 4180 compliant + 5 delimiter auto-detection                                                                             | Basic CSV                      | **Myrm wins**                                                       |
| XLSX support               | SheetJS dynamic import + multi-Sheet tabs                                                                                   | Feishu native                  | Tie                                                                 |
| Slides/Presentation        | HTML Artifact → Vercel deploy as interactive online PPT                                                                     | Feishu Slides                  | **Myrm better** (online interactive, embeds dynamic charts)         |
| Math formulas              | KaTeX LaTeX rendering                                                                                                       | Feishu formulas                | Tie                                                                 |
| Mermaid diagrams           | Native Mermaid rendering                                                                                                    | ❌                              | **Myrm wins**                                                       |
| One-click deploy           | Multi-target hosting publish (Vercel, Cloudflare Pages, Netlify, Webhook) + HMAC secure sharing — GUI-only, zero LLM tokens | ❌                              | **Myrm dominates**                                                  |
| Bundle size                | Zero extra dependencies                                                                                                     | Feishu Office \~MB             | **Myrm wins**                                                       |

**Verified by 52 tests** (2026.6.30): DataGrid 11/11 ✅ + CsvParser 19/19 ✅ + SelectionToolbar 17/17 ✅ + LocaleKeys 5/5 ✅

**Verdict: Doubao's advantage is Feishu Office ecosystem moat (thousands of engineer-years) — not replicable via technology. Myrm's Artifact system (Monaco + DataGrid + HTML Preview + SelectionToolbar + one-click deploy) delivers a complete "AI→delivery" closed loop that's lighter, faster, and easier to maintain for AI Agent scenarios.**

## vs Trae/WorkBuddy/deer-flow — Report Formatting & PDF Export

Users judge AI office output by one criterion: "Can this go straight to the boss?" Trae is praised for clean formatting, WorkBuddy's stock-advisor generates magazine-style PDF reports. Myrm leads across the entire report generation pipeline:

| Capability            |                                                                                            Myrm                                                                                           |        WorkBuddy        | deer-flow |   Trae   |
| --------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------: | :-------: | :------: |
| PDF generation        |                                                                        **✅ pdfkit+reportlab sandbox pre-installed**                                                                       | ✅ magazine-layout Skill |     ❌     |     ❌    |
| Report Skills         |                                                                                          **✅ 8**                                                                                          |           ✅ 2           |    ✅ 1    |     ❌    |
| Office doc generation | **✅ Professional-grade** (Excel color coding + formulas + charts, PPT 6-word headlines, Word TOC + hierarchy) + **Visual Quality Gate** (auto-render→inspect→self-correct up to 3 rounds) |   ⚠️ Skill marketplace  |     ❌     |     ❌    |
| Artifact preview      |                                                                  **✅ 13 types** (PDF text-selectable + annotation links)                                                                  |            ❌            |     ❌     | ⚠️ Basic |
| One-click download    |                                                                                    **✅ Blob download**                                                                                    |   ❌ depends on Feishu   |     ❌     |    ⚠️    |
| Publish to web        |                                                                                       **✅ hosting**                                                                                       |            ❌            |     ❌     |     ❌    |
| Scheduled briefings   |                                                                             **✅ cron + 26+ channel delivery**                                                                             |            ❌            |     ❌     |     ❌    |
| IM report push        |                                                                                **✅ channel\_notify\_tool**                                                                                |      ✅ Feishu only      |     ❌     |     ❌    |

**Myrm exclusive advantages**: Sandbox pre-installs PDF toolchain (pdfkit + reportlab + pdfplumber + pdf2image + img2pdf + Pillow) — Agent generates professional PDFs with zero setup; 8 report Skills cover all scenarios from daily briefings to deep research to competitive analysis to data visualization; daily-briefing + cron delivers automated briefings to 26+ IM channels.

**4,612 report+artifact full-stack tests passing** (2026-07-14): Artifact system 159 + Skill system 398 + File/PDF/Briefing/Cron 492 + Code execution 1,272 + Frontend 2,291.

## vs Doubao Pro — Anti-Freeze & Granular Progress

Doubao Pro's real user pain points: (1) PDF processing freezes at 87% on a 50-page file; (2) page unresponsive for \~30 seconds during long document generation.

Myrm solves both at the architecture level:

| Capability              | Myrm                                                                                                                                          | Doubao Pro                  | Comparison         |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- | ------------------ |
| PDF rendering           | PDF.js WebWorker (off-main-thread)                                                                                                            | Main-thread sync processing | **Myrm wins**      |
| Frontend responsiveness | SSE streaming + Zustand immer (never blocks UI)                                                                                               | Sync DOM ops → 30s freeze   | **Myrm wins**      |
| Granular progress       | ProgressItem 20+ fields (percent/step/total/category/level)                                                                                   | Basic progress bar          | **Myrm wins**      |
| Real-time feedback      | PTC tools.notify cross-process channel (10req/s rate limit)                                                                                   | No real-time notifications  | **Myrm wins**      |
| Heartbeat sensing       | TOOL\_HEARTBEAT shows elapsed\_ms for long tools                                                                                              | No heartbeat                | **Myrm wins**      |
| Progress UI             | ProgressSteps tree renderer (9 polymorphic renderers incl. LiveTerminal + EvictedOutputDrawer full-output viewer with Search/Copy/Pagination) | Single progress bar         | **Myrm dominates** |
| Background tasks        | \_background\_progress async monitoring                                                                                                       | None                        | **Myrm exclusive** |
| Subagent progress       | swarm\_fission batch progress (partial\_success)                                                                                              | None                        | **Myrm exclusive** |
| Error recovery          | recovery\_actions one-click + ToolErrorCategory 28-kind StrEnum diagnostics (4-lang i18n, 46-test sync)                                       | None                        | **Myrm exclusive** |

**Verified by 169 tests** (2026.7.11): ProgressSteps 25/25 ✅ (incl. semantic tool labels + workflowStage) + LiveTerminal 27/27 ✅ + PetDispatch 8/8 ✅ + ArchiveRestore 2/2 ✅ + MessageStream handlers 29/29 ✅ (toolLifecycle/gapEvents/statusStream/tasksSteps/petDispatch/clarification/completion) + **structured\_clarify E2E** (SSE unwrap + option.id + live API interrupt/resume 1/1 ✅) + **Harness step\_builder 38/38 ✅ + scrubbing 5/5 ✅ + event\_handlers 47/47 ✅** (reason extraction + sensitive info scrub)

**Verdict: Doubao's freezing issues stem from "poorly implemented" (main-thread blocking + no granular feedback) rather than "not implemented". Myrm's architecture (SSE + WebWorker + PTC notify + tree-shaped progress + Live Terminal) builds a complete anti-freeze & progress feedback system that far exceeds a simple progress bar.**

## vs Marvis (Tencent) — Split-view Live Streaming Workstation

Marvis (Tencent) offers a split-view interface: "left side shows your Mac mini's real-time desktop, right side is the chat — feels like sitting in front of the computer." Myrm already has this — and more:

| Capability                         | Myrm                                                                 | Marvis                       | Comparison                     |
| ---------------------------------- | -------------------------------------------------------------------- | ---------------------------- | ------------------------------ |
| Real-time desktop video            | VisualDesktop (noVNC WebSocket, full-frame interactive)              | Mac mini WebRTC streaming    | **Tie**                        |
| Desktop snapshot + element inspect | DesktopLiveView (SSE + ElementOverlay)                               | No element-level interaction | **Myrm wins**                  |
| Browser live view                  | BrowserLiveView (screenshot + DOM element selector)                  | None (desktop only)          | **Myrm wins**                  |
| Browser Takeover                   | Agent pauses → user takes VNC control → Agent auto-resumes + learns  | No human-agent handoff       | **Myrm exclusive**             |
| Element-level instructions         | ElementOverlay + InspectorInstructionInput (14 interactive roles)    | View only                    | **Myrm wins**                  |
| Dual mode                          | View/Inspect toggle                                                  | View only                    | **Myrm wins**                  |
| Panel resizing                     | Draggable (320-960px) + localStorage persistence                     | Fixed                        | **Myrm wins**                  |
| Permission guidance                | TCC detection + one-click system settings                            | None                         | **Myrm exclusive**             |
| DPI awareness                      | screenWidth/screenHeight/dpiScale                                    | None                         | **Myrm exclusive**             |
| Cloud sandbox support              | noVNC auto-connects cloud sandbox + local localhost:6080             | Mac mini only                | **Myrm wins**                  |
| Server infra                       | None needed (SSE + noVNC lightweight)                                | STUN/TURN required (heavy)   | **Myrm wins (simpler deploy)** |
| Bandwidth                          | Dual-mode flexible (on-demand screenshots / real-time stream toggle) | Continuous high bandwidth    | **Myrm wins**                  |
| Mobile support                     | Responsive fullscreen                                                | Unknown                      | **Myrm supported**             |

**Verified (2026.7.14)**: **454 VNC+ArtifactPortal full-stack tests passing** — Frontend: ArtifactPortal Store 4 + Portal interaction 49 + VisualApproval 4 + Entitlements 3 + ChatWindow 5; Backend: VNC Routes 7 + Desktop Snapshot 5 + Takeover Integration 7 + Permissions 5 + Deploy 11 + Artifact System 22 + Stream+DeepLinks 29 + Share 54; Harness: VNC 63 + Artifacts 168; Control Plane: VNC Proxy 18.

**Verdict: Myrm comprehensively surpasses Marvis. Real-time video streaming is on par (noVNC vs WebRTC), but Myrm additionally provides DOM element-level inspectors (BrowserLiveView + DesktopLiveView), Browser Takeover human-agent collaboration (Agent pauses for user control, auto-resumes with learning feedback), cloud sandbox + local dual-mode, and macOS permission auto-guidance — all unique capabilities Marvis lacks.**

## vs Claude Office Visualizer — CLI Status Dashboard

Claude Office Visualizer renders Claude Code CLI status as a pixel-art office animation, showing agent state, context usage, and task progress through a standalone Next.js + PixiJS application. It addresses a real pain point: CLI users can't see what the agent is doing without staring at terminal output.

### What Claude Office Does Well

* **Visual agent metaphor** — pixel characters that walk, think, and interact based on real CLI state
* **12 whiteboard modes** — multiple visualization layouts for different data views
* **Tour overlay** — 7-step interactive guide for new users
* **Attention system** — screen flash notifications when the agent needs user input
* **Docker deployment** — easy self-hosted setup

### Why Myrm Doesn't Need This

Myrm is a **GUI-first** application. The problems Claude Office Visualizer solves — "I can't see agent state" and "CLI output is boring" — **don't exist** in Myrm's architecture.

| Area            | Claude Office Visualizer                    | Myrm                                                                                                                                                                                                                                                                                                                                                                                                        | User Benefit                                                              |
| --------------- | ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| Agent Status    | Pixel animation in separate window          | **SubagentDashboard** — structured panel with real-time progress, inline                                                                                                                                                                                                                                                                                                                                    | Precise data, no extra windows                                            |
| Context Usage   | TrashCanSprite (filling trash can metaphor) | **ContextUsageIndicator** — exact percentage + multi-level color warnings                                                                                                                                                                                                                                                                                                                                   | Numbers > metaphors                                                       |
| Task Management | 12 PixiJS read-only whiteboard modes        | **KanbanBoardView** — interactive drag/drop/filter/edit                                                                                                                                                                                                                                                                                                                                                     | Actionable, not just viewable                                             |
| Notifications   | Screen flash (attentionStore)               | **NotificationBell** — 4 severity levels + unread count + persistence + **OS popup on stream completion/clarification when tab hidden** (auto-suppress when visible, toast fallback on permission denied, 5 languages) + **Web Push VAPID** offline notifications (browser closed → still receive approval/goal/health alerts via Push Service; iOS PWA guided install; auto-cleanup expired subscriptions) | Structured alerts, not screen flashing; works even when browser is closed |
| Onboarding      | TourOverlay 7-step walkthrough              | **4-step dynamic wizard** + auto-detect Ollama/LM Studio + **HardwareCookbook** (fit\_score + MoE-aware \~tok/s speed + smart Best Fit recommendation + streaming download) + SearXNG 1-click Docker + 11-source competitor migration (199 dedicated tests, all passed)                                                                                                                                     | Zero-config start: detect → activate → work                               |
| Companion       | Fixed pixel character                       | **15 species + 9 hats + Agent appearance sync + 23-state animation + evolution**                                                                                                                                                                                                                                                                                                                            | Full RPG companion with Agent identity                                    |
| Deployment      | Docker front+back separate deployment       | **Built into the app** — zero extra infrastructure                                                                                                                                                                                                                                                                                                                                                          | Zero additional setup                                                     |
| Mobile          | ❌ Desktop-only (PixiJS)                     | ✅ PWA + 35+ messaging channels                                                                                                                                                                                                                                                                                                                                                                              | Monitor from anywhere                                                     |
| Bundle Cost     | +\~200KB (PixiJS engine)                    | **0KB** extra (SVG vector rendering)                                                                                                                                                                                                                                                                                                                                                                        | No performance penalty                                                    |

### Migration from Claude Office Visualizer

| Claude Office Feature        | Myrm Equivalent                                                     | Experience                           |
| ---------------------------- | ------------------------------------------------------------------- | ------------------------------------ |
| Pixel agent animation        | CompanionSprite (15 species + evolution)                            | ⬆️ Upgrade                           |
| 12-mode whiteboard           | KanbanBoardView + GoalDagRenderer + EventTimeline + GrowthDashboard | ⬆️ Upgrade (interactive)             |
| TrashCan context display     | ContextUsageIndicator (precise metrics)                             | ⬆️ Upgrade                           |
| attentionStore notifications | NotificationBell (4-level, persistent)                              | ⬆️ Upgrade                           |
| Tour guide                   | EmptyChat + SamplePrompts                                           | ↔️ Equivalent (different product UX) |
| Docker deployment            | Tauri/Web/SaaS (3 deployment modes)                                 | ⬆️ Upgrade                           |

**Result: 5 upgrades, 1 equivalent, 0 downgrades. Users move from a separate observation window to a fully integrated GUI with precise data, interactive controls, and a complete agent platform.**

## vs Coze / workflow platforms — batch LLM fan-out vs SubAgent batch (Jul 2026)

Workflow tools (including Coze) often ship a **batch LLM** or **fan-out** node: same prompt template × N inputs, cheap Lite calls, workflow-level billing.

Myrm intentionally **does not** expose an in-agent `llm_map` primitive. Homogeneous or heterogeneous bulk work goes through **`delegate_task_tool` (mode=batch|parallel)** — each item becomes a **full SubAgent** with its own sandbox, tool policy, budget guard, GUI cost approval (≥\$0.50 batches), `subagent_control_tool` (cancel/steer/list), and audit trail.

| You need…                                  | Coze-style batch LLM      | Myrm SubAgent batch                             |
| ------------------------------------------ | ------------------------- | ----------------------------------------------- |
| 1000× same summarization, no tools         | Often sufficient          | Heavier than necessary — honest trade-off       |
| Rows that search, read files, write Kanban | Weak — no per-row sandbox | **Native** — each row is an agent job           |
| Cost predictability before run             | Workflow estimate         | **Pre-run approval card** + 4D budget hard-stop |
| Debug one failed row                       | Opaque node retry         | **SubagentDashboard** tree + checkpoint         |

**Migration win**: Teams leaving Coze batch nodes for **real operational batch work** get traceable, approvable, recoverable jobs instead of a single fan-out bill with no row-level forensics.

## vs Coze 3.0 / Lobster / Vercel v0 — Artifact Deploy & Read-Only Link (Sites 2.0)

Coze keeps projects inside its ecosystem; Lobster excels at public static links but not multi-platform GUI publish from an agent workspace; v0 targets developers building with AI. Myrm targets **GUI users who want a shareable result from chat artifacts**, not a separate site builder.

| Dimension       | Coze 3.0           | Lobster                          | Vercel v0              | Myrm                                                           |
| --------------- | ------------------ | -------------------------------- | ---------------------- | -------------------------------------------------------------- |
| Entry point     | Stay in Coze       | Export/share flow                | Dev-oriented generator | **Deploy or Link from artifact preview**                       |
| Formal deploy   | Platform-hosted    | Not core                         | Vercel-native          | **One-click Vercel** + preflight gate                          |
| Read-only link  | Platform-dependent | Public link (often gated)        | N/A for chat artifacts | **7-day signed Link** with version pinning, no Vercel required |
| Multi-file HTML | Varies             | Strong directory share           | Often single-page      | **Same bundle as deploy**; trailing-slash for css/js           |
| Lock-in         | Closed hosting     | Subscription walls on some tiers | Vercel account         | **Open** — Local BYOK or sandbox platform token                |

**What you get**: Landing page, report, or mini-app from chat → **\~30s Deploy URL** or **instant read-only Link** for reviewers.

**Dual-path publish — GUI zero-token + Agent conversational**: Configure Vercel, Cloudflare Pages, Netlify, or a custom webhook in **Settings → Hosting Targets**, then either click the **Globe** on any HTML artifact card → **Publish** (zero LLM tokens, server-side only) or let the Agent publish mid-conversation via the `artifact_publish` tool (say "give me a live link" and the Agent does it). The Agent tool is conditionally loaded — zero prompt-token overhead when hosting is unconfigured. Preflight blocks bad artifacts before egress; each target keeps its own publication history and stale-version redeploy banner. Clawith still routes deploy through **5 Agent tools** (permanent token cost); Myrm loads the tool only when needed (**104+5** hosting pytest cases, **3** conditional-mount integration scenarios).

**Test coverage (2026-07-29)**: **109** hosting pytest cases (**104** module tests + **5** new artifact\_publish tests including **3** conditional-mount integration scenarios), covering multi-target CRUD, webhook full chain, SSRF, redeploy upsert, WebSocket status, credential edge cases, and Agent tool factory — real DB/vault/preflight/orchestrator; external provider HTTP mocked only at egress boundary.

**Beyond deploy — the full artifact editing lifecycle**: Myrm's Artifact Portal isn't just a viewer. Code artifacts open in a **Monaco Editor** (VS Code core) where you can edit directly. The **SelectionToolbar** lets you highlight code and invoke Modify / Explain / Optimize / Comment actions — surgical AI edits without leaving the preview. Your edits are silently tracked and auto-injected into your next message so the Agent continues from your version. React artifacts render live via **Sandpack** with hot-reload. **Version Diff View (exclusive)** — click the Diff button to see exactly what AI changed via VS Code-grade Monaco DiffEditor, with Inline/Side-by-side toggle, mobile-responsive auto-inline, version labels (V2→V3), and real-time diffing during generation. SHA-256 integrity checks and snapshot rollback round out the lifecycle. Competing tools like WorkBuddy rely on external document integrations (e.g. Tencent Docs) rather than a self-built editing system.

**Honest limits**: No share revoke/share-code UI yet; long-term public sites should use Deploy + your domain; pure `code` artifacts must be exported as `html` first (preflight + UI gates align).

## vs Codex — MCP Ecosystem, Agent Templates & Multi-Channel Automation

Codex recently showcased Linear MCP integration and automated PM workflows. Myrm's architecture already provides vastly superior capabilities in every dimension — verified by **543 tests**.

| Capability      | Codex                             | Myrm                                                                                                                                                                                              |
| --------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MCP config      | CLI only                          | GUI dialog + JSON batch import/export + security scan                                                                                                                                             |
| MCP security    | None                              | SSRF defense + DNS Pinning + OSV malware detection + safety annotations                                                                                                                           |
| Service catalog | None                              | 27 prebuilt services / 9 categories / search & filter / one-click connect                                                                                                                         |
| Per-Agent MCP   | Shared globally                   | Each Agent has independent mcp\_ids + tool\_selections                                                                                                                                            |
| MCP status      | None                              | Real-time connection status + health checks                                                                                                                                                       |
| Reverse MCP     | None                              | Expose memory system for external IDEs (Claude Code / Cursor / Gemini CLI)                                                                                                                        |
| Agent templates | None                              | TemplateMarket + 27 PresetAgents + 10 YAML seeds (4 team + 6 individual) + 17 communication styles with 1-click switch + auto skill binding + atomic team instantiation with rollback             |
| Team agents     | None                              | Atomic creation with rollback — one-click deploy multi-agent teams                                                                                                                                |
| Channels        | Terminal only                     | 20+ providers (Slack / Discord / Telegram / Email / Feishu / WeChat / DingTalk / WhatsApp / iMessage / Google Chat / MS Teams / LINE / QQ / Matrix / Mattermost / IRC / Signal / Webhook / Voice) |
| Kanban          | None (depends on external Linear) | Built-in Kanban + Pipeline templates + SSE events                                                                                                                                                 |
| Deployment      | CLI only                          | WebUI + Tauri desktop + SaaS                                                                                                                                                                      |

**Key takeaway**: Codex's "Linear MCP" is simply connecting an external MCP server — something Myrm already supports with a full GUI, security scanning, and 27 prebuilt service integrations. The "PM Agent" workflow requires no new platform features; Myrm's existing template system + channel monitoring + Kanban pipeline already enables this with one-click setup.

## vs Codex (OpenAI) — Appshots & /goal GA

Codex recently shipped two flagship features: **Appshots** (window capture + text extraction via ⌘⌘) and **/goal mode GA** (long-running autonomous task execution). Here's how Myrm compares:

### Appshots (Window Capture + Text Extraction)

| Dimension               | Codex                        | Myrm                                                                                                                                                                                                                                                                                                                               |
| ----------------------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Platform                | ⚠️ macOS only                | ✅ **macOS + Windows** dual-platform full implementation                                                                                                                                                                                                                                                                            |
| macOS capture           | screencapture + text         | screencapture + AX API text extraction (up to 500 elements)                                                                                                                                                                                                                                                                        |
| Windows capture         | ❌ Not available              | ✅ PrintWindow/BitBlt + .NET UI Automation text extraction                                                                                                                                                                                                                                                                          |
| Text extraction         | Window text incl. off-screen | macOS: AX API / Windows: UI Automation (Text, Edit, Document controls)                                                                                                                                                                                                                                                             |
| Privacy protection      | ❌ None                       | ✅ App-level privacy blacklist with force-bypass (macOS + Windows)                                                                                                                                                                                                                                                                  |
| Screenshot size control | ❌ Raw size                   | ✅ 1.5MB threshold auto-downscale, saves LLM tokens                                                                                                                                                                                                                                                                                 |
| DPI handling            | Not mentioned                | Binary-search downsampling prevents Retina coordinate drift                                                                                                                                                                                                                                                                        |
| Return format           | Screenshot + text            | `list[ContentBlock]` structured multimodal (text + image)                                                                                                                                                                                                                                                                          |
| Safety                  | Computer Use permission      | 9 blocked key combos (macOS+Windows) + dangerous-text regex + **sensitive app firewall** (40+ apps × 3 checkpoints) + **TOCTOU revalidation after approval delay** + GUI BBox approval card + **cross-channel unified security** (desktop\_control ≥ shell\_exec in all modes — zero bypass vectors, 3083 security tests verified) |
| Visual approval         | Text-only or iPhone push     | **Inline BBox + AttentionBar + Tauri OS red frame** on the target monitor (screen-absolute coords, multi-monitor match)                                                                                                                                                                                                            |

**What you get**: When the agent wants to click your desktop, you see **where** — not just "Approve?" in text. On Tauri, a **system-level red box** stays visible even if the chat window is covered. Both macOS and Windows users get full Appshot capabilities — no competitor offers Windows window capture + text extraction.

**Honest limit**: OS overlay smoke requires the Tauri desktop app; browser-only WebUI gets inline + AttentionBar but not the OS frame.

### /goal Mode

| Dimension       | Codex /goal                 | Myrm Goal System                                                                                                                                                                                                               |
| --------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Planning        | Linear self-planning        | Main-agent `todo_write` + sandbox SSOT — opt-in, zero tax when off; CompletionGuard blocks early exit                                                                                                                          |
| Execution       | Linear, sequential          | DAG concurrent executor + Swarm Fission                                                                                                                                                                                        |
| Budget          | token\_budget only          | 4D budget (tokens / USD / wall-clock / turns)                                                                                                                                                                                  |
| Completion      | User checks                 | CompletionGuard — evidence-based TDD-like verification + temporal order enforcement + independent sandbox re-run                                                                                                               |
| Continuation    | "Asks if stuck"             | 11-layer dead-loop shield + Semantic Judge                                                                                                                                                                                     |
| File protection | ❌ None                      | InvariantSnapshot SHA-256 + Protected paths physical block                                                                                                                                                                     |
| Convergence     | ❌ LLM self-judges "blocked" | System-level: convergence\_window + no\_progress\_streak auto-detect                                                                                                                                                           |
| Multi-goal      | Single goal                 | Priority Queue + auto\_approve unattended serial                                                                                                                                                                               |
| Runtime adjust  | Not mentioned               | Dynamic Subgoals + Objective Hot-Edit                                                                                                                                                                                          |
| Git awareness   | Not mentioned               | Branch-Aware Stash & Migrate                                                                                                                                                                                                   |
| Frontend        | Check progress              | GoalControlPlane real-time panel + Execution Summary card                                                                                                                                                                      |
| Notification    | Built-in                    | `channel_notify_tool` — dynamic running-channel picker, pairing whitelist, workspace-bounded attachments, reliable send\_tracked delivery, in-app chat inbox (**102 pytest + live MiniMax E2E + 7 vitest + Chrome full flow**) |
| Tests           | Unknown                     | **762 tests** (continuation/manager/types/storage/audit/verification/streaming/goal\_tools/goal\_metrics/goal\_terminal/goal\_interceptor/goal\_queue/goal\_stash/steering)                                                    |

### Lock Screen & Remote

| Dimension      | Codex                           | Myrm                                                                    |
| -------------- | ------------------------------- | ----------------------------------------------------------------------- |
| Background run | Mac lock screen (not lid close) | SaaS: naturally unaffected; Local: GracefulShutdownManager + checkpoint |
| Mobile access  | ChatGPT App                     | Web frontend reconnects anytime + SSE real-time push                    |

### User Pain Points (from comments) Myrm Already Solves

| Pain Point                      | Codex Status   | Myrm Solution                        |
| ------------------------------- | -------------- | ------------------------------------ |
| Windows not supported           | ❌              | ✅ WindowsBackend with uiautomation   |
| Token consumption too fast      | No budget      | GoalBudget 4D + 6-layer Prompt Cache |
| Context compression disappeared | User complaint | 22+ middleware context pipeline      |
| Ran 30h nonstop, no auto-stop   | No limit       | max\_time / max\_turns auto-pause    |
| Linux partial support           | ⚠️ dmg-based   | ✅ LinuxBackend native implementation |

**Result: Codex's Appshots and /goal are simplified subsets of Myrm's existing capabilities. Myrm covers 3 platforms (vs Mac-only), offers DAG execution (vs linear), and provides enterprise-grade budget control and completion verification that Codex lacks entirely.**

### Vibe Canvas — "Point-and-Fix" Artifact Interaction

| Capability              | Codex @Browser                             | Myrm                                                                |
| ----------------------- | ------------------------------------------ | ------------------------------------------------------------------- |
| Annotation method       | Screenshot coordinates (area selection)    | ✅ DOM element picking (precise outerHTML)                           |
| Token efficiency        | ❌ Base64 screenshot consumes vision tokens | ✅ 600-char HTML snippet, 10x fewer tokens                           |
| Supported content types | Browser pages only                         | ✅ 10 types: HTML/SVG/Mermaid/React/code/PDF/video/audio/spreadsheet |
| Modification loop       | Annotate → Agent modifies → page refresh   | ✅ Pick element → instruction → Agent modifies → live preview        |
| Offline support         | Requires @Browser sandbox                  | ✅ Pure frontend, works offline                                      |

**What you get**: Click any element in an Artifact preview, Myrm captures the exact HTML structure and sends it to the Agent with your instruction. No screenshots, no coordinate guessing — precise DOM-level "point and fix."

### Browser Extension Bridge — Authenticated Session Takeover

| Capability           | Codex @Chrome        | Myrm                                                                      |
| -------------------- | -------------------- | ------------------------------------------------------------------------- |
| Connection           | Chrome extension     | ✅ MV3 Chrome extension + WebSocket + CDP proxy                            |
| Domain authorization | Global access        | ✅ Per-domain allowlist with wildcard patterns                             |
| Security             | Extension permission | ✅ Token auth + domain-level authorization + Approval card for each action |
| Status monitoring    | None                 | ✅ Real-time SSE status broadcast + frontend connection indicator          |
| GUI management       | None                 | ✅ Full settings UI (domains/tabs/disconnect) with i18n                    |
| Tab management       | Basic                | ✅ List/filter tabs + debugger attach/detach lifecycle                     |

**What you get**: Let your Agent use your real Chrome session (Gmail, SaaS apps, internal tools) with fine-grained domain control. Every action requires your approval. Real-time status shows exactly what the extension is doing. Myrm does **not** bulk-read your OS Chrome/Edge `History.db` or bookmark database — logged-in access is Extension Bridge + encrypted Session Vault only.

**Why Myrm doesn't need Chrome Cookie Import**: OpenClaw imports Chrome system profile cookies because it lacks persistent session storage — every browser launch starts fresh. Myrm's **SessionVault** (AES-256-GCM) + **auto\_restore\_domains** solves this at the architecture level: authenticate once via takeover → session encrypted and saved → automatically restored on every future visit. This covers all auth methods (password, 2FA, QR, OAuth), saves cookies + localStorage (not just cookies), works across all platforms and deployment modes (including cloud-hosted), and requires zero maintenance when Chrome updates its cookie format. 196 related tests passed.

## vs 360 LobsterAI — Consumer Agent Platform

360 LobsterAI is a consumer-oriented agent product (backed by Zhou Hongyi) featuring manual model-tier selection, 100+ preset "expert lobsters," and a "coaching" onboarding flow.

### Cost Intelligence

| Dimension          | 360 LobsterAI                   | Myrm                                                  | User Benefit                              |
| ------------------ | ------------------------------- | ----------------------------------------------------- | ----------------------------------------- |
| Model selection    | Manual 3 tiers (Lite/Save/Full) | **Auto ComplexityRouter** (SIMPLE/STANDARD/REASONING) | No guesswork — system picks optimal model |
| Routing algorithm  | None (human judgment)           | **2-phase (rule matching + LLM Judge)**               | Accurate even for ambiguous tasks         |
| Session continuity | Context lost on tier switch     | **Session Momentum** prevents downgrades              | Multi-turn complex tasks stay on-tier     |
| Accuracy feedback  | None                            | **PenaltyTracker** — learns from misroutes            | Gets smarter over time                    |
| Privacy routing    | None                            | **PrivacyRouter** — sensitive data stays local        | Data sovereignty built-in                 |
| Budget control     | None                            | **3D×3-level auto budgeting + SSE alerts**            | Never overspend                           |
| Cost visibility    | Basic stats                     | **15+ dimension dashboard + cache economics**         | Full cost transparency per message        |

### Agent Templates

| Dimension      | 360 LobsterAI          | Myrm                                                                                                                                        |
| -------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| Preset agents  | 100+ (quantity)        | 27 high-quality presets + 10 YAML templates (individual + team atomic creation with rollback) + unlimited custom + Org Marketplace          |
| Template depth | System prompt only     | System prompt + tools + skills + model + security overrides + MCP + subagent bundling                                                       |
| Customization  | Limited editing        | Full GUI editor + 1-click clone + import/export (HMAC + SHA-256 integrity) + Profile Time Machine (10-version rollback, industry-exclusive) |
| Onboarding     | Q\&A "coaching" wizard | PresetAgent Gallery + conversational creation + per-agent suggestion prompts                                                                |
| Anti-confusion | None                   | 5-layer anti-interference (Profile → Conditional Activation → Progressive Disclosure → Noise Gauge → Hybrid Retrieval)                      |

### Multi-Channel Access

| Dimension           | 360 LobsterAI               | Myrm                                                                            |
| ------------------- | --------------------------- | ------------------------------------------------------------------------------- |
| Channels            | 3-4 (Feishu, DingTalk, App) | **35+ providers** (Telegram, Slack, Discord, WeChat, WhatsApp, email, and more) |
| Per-channel binding | Not mentioned               | Each channel/topic can bind a different agent                                   |

### Migration from 360 LobsterAI to Myrm

Users migrating from 360 LobsterAI gain:

* **Automatic cost optimization** — no need to manually select "lite" vs "full" mode
* **Smarter routing** — system learns preferences and improves over time
* **35+ channels** vs 3-4, with per-channel agent binding
* **Enterprise security** — 6-layer defense vs consumer-grade
* **Unlimited extensibility** — Skill Marketplace + custom agents vs fixed presets
* **Full data ownership** — self-hosted option, no vendor lock-in

## Smart desktop download & release (vs Hermes / OpenClaw / Cursor)

When shipping desktop agents, competitors often send users to **GitHub Releases** or force manual CPU architecture picks; CI races can corrupt update manifests.

Myrm (**verified v0.1.39**) offers **consumer-grade download + production OTA + an honest release contract**:

| Area                       | Typical competitors                                      | Myrm                                                                                                         | User benefit                                          |
| -------------------------- | -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------- |
| **Landing CTA**            | Links to GitHub / source — confusing for non-devs        | Hero **“Download Desktop”** → `/download` or direct installer                                                | Install like normal software                          |
| **Windows installer pick** | Release mixes `.msi` + OTA `setup.exe` — order-dependent | **Installer SSOT** always picks `.msi` for the website                                                       | New Windows users never download the OTA-only package |
| **Mac M-series Safari**    | Manual ARM/Intel pick or wrong Intel dmg                 | **WebGL GPU sniffing** + download-page fallback                                                              | Most Mac users get native ARM64 with zero choices     |
| **iPad posing as Mac**     | Useless `.dmg` downloads                                 | **Touch-point detection** → SaaS WebUI                                                                       | No wasted download                                    |
| **Version & integrity**    | Mismatched filenames, no checksums                       | Tag-synced version; **SHA256** + OTA **minisign `.sig`** + `latest.json`                                     | Verify what you installed                             |
| **Release cadence**        | Wait for all platforms                                   | **macOS ships first** (\~10 min), Win/Linux follow async                                                     | Don’t wait for the slowest job                        |
| **Website sync**           | Manual site edits after release                          | **`website-v*` tag** bake + deploy + **post-deploy curl smoke**                                              | Download page matches release automatically           |
| **Unsigned OSS macOS**     | Users think the app is “broken”                          | Download page **right-click → Open** guidance                                                                | Gatekeeper expectations set clearly                   |
| **In-app auto-update**     | Often no GUI OTA or git pull only                        | **Production OTA** (minisign + 4-platform `latest.json`) + 8-phase in-app UI; pubkey safety check at startup | Silent in-app updates after first install             |

**Result: Day-one install goes from “understand GitHub” to “click Download” — the gate for mainstream users.**

## Local Migration Wizard (v1.4)

Myrm provides a **GUI-first competitor migration wizard** on Local and Tauri deployments. It supports **14 competitor adapters (12 ready)** with auto-discovery, MCP config auto-conversion, model auto-mapping, and full dry-run/confirm/rollback lifecycle.

### Five discovery sources (Local / Tauri)

| Source          | What imports automatically                                       | What you configure manually    |
| --------------- | ---------------------------------------------------------------- | ------------------------------ |
| **Hermes**      | Persona, global memory, skills (review queue)                    | Some MCP/channel extensions    |
| **OpenClaw**    | Memory MD, multi-workspace merge, `sessions.json` episodic       | Channels, gateway keys         |
| **Claude Code** | Skills, persona; instruction-only dry-run when memory lane empty | MCP servers in Settings        |
| **Cursor**      | Rules, skills, memory fragments                                  | IDE-specific paths vary by OS  |
| **Codex**       | Config and memory exports where present                          | Plus subscription not migrated |

### Four preview lanes

1. **Persona → Agent** — SOUL-style instructions attach to a target agent profile.
2. **Facts → Global memory** — structured memory rows with batch **rollback**.
3. **Skills → Review queue** — imported skills require approval before activation; optional **Agent binding**.
4. **API keys → Opt-in** — never silently copied; user confirms each secret.

### Workflow

`Scan → Preview (dry-run) → Confirm → Result` in Settings → Migration. Server-side `resolve_competitor_import_source()` forces the correct adapter (fixes OpenClaw `source=auto` mis-routing to Hermes).

### GUI-First Seamless Skill Migration & Atomic Persistence

When users import third-party ecosystem skill bundles (like Hermes ZIP exports), competitor architectures often rely on basic file overrides (`os.replace`) and sequential database writes. Under SaaS high-concurrency conditions, this leads to catastrophic "split-brain" scenarios (database records inserted but files missing) or API freezes.

Myrm introduces a **Zero-Cost Hot Migration & Atomic Persistence Engine**:

| Area                      | Hermes (Competitor)             | Myrm                                                              | User Benefit                                                                                        |
| ------------------------- | ------------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| **Import Security**       | Basic guard checks              | **Pre-emptive AST interception + Persistent Claim-Check Staging** | Completely prevents Zip Bomb, Zip Slip, and Memory OOM attacks during drag-and-drop.                |
| **Metadata Fidelity**     | Brutal overwrite                | **YAML Deep Merge Engine**                                        | 100% losslessly preserves `version`, `author`, and custom extensions in third-party Frontmatter.    |
| **Database Transactions** | Sequential loop writes          | **SQLite Executemany Bulk Transaction** (BEGIN...COMMIT)          | All-or-Nothing atomicity — zero risk of phantom skill records.                                      |
| **Directory Split-Brain** | In-place file replacement       | **Blue-Green Swap + Atomic Rename**                               | Skills update atomically via `.tmp` → `.old` swapping, ensuring directories are never half-written. |
| **UI Freezing**           | Synchronous GC blocks main loop | **FastAPI BackgroundTasks Asynchronous GC**                       | Deletes expired staging files and old directories in the background, keeping API latency at 0ms.    |

**Result: Competitor servers will crash or leak threads when 50 users upload skill ZIPs simultaneously. Myrm processes massive concurrent imports with 0ms thread-blocking and zero dirty-write risks.**

### vs Hermes `claw migrate`

| Dimension        | Hermes CLI migrate     | Myrm Wizard                                         |
| ---------------- | ---------------------- | --------------------------------------------------- |
| Interface        | Terminal               | GUI with lane-level preview                         |
| Rollback         | Limited                | Memory import batches rollback                      |
| Skill governance | Copy folders           | Review queue + Agent binding                        |
| Breadth          | Broader MCP auto hints | Narrower but explicit manual lanes for MCP/channels |

**Honest score**: **9.7/10** for local eight-source GUI migration — not “perfect for every competitor artifact.” **Not available on SaaS cloud sandboxes** (no access to the user’s host filesystem); use Local WebUI or Tauri desktop only.

### Verified (2026-06-08)

Automated regression on a developer machine (minimal batch, \~7s total):

| Suite                                                                                            | Result         |
| ------------------------------------------------------------------------------------------------ | -------------- |
| Migration system (architecture guard + discovery + loaders + split + preview + E2E + API) pytest | **125 passed** |
| Architecture `_ARCH.md` placeholder gate                                                         | **277 passed** |
| OSS scripts architecture tests                                                                   | **5 passed**   |
| `check_fractal_docs --no-stub` + line budget CI scripts                                          | **OK**         |

**Total migration-specific tests: 276 all passed** (Jul 25, 2026 — covering 14 competitor adapters / dry-run sessions / import adapters / MCP config converter / model migration / architecture guards / multi-competitor discovery / E2E / API / skill batch import). Competitors checked (OpenClaw, Hermes, DeerFlow, CodePilot, LobsterAI, CoPaw, jiuwenclaw, PilotDeck, Grok Build): **no GUI 14-source migration wizard with MCP auto-conversion**; Hermes offers CLI `claw migrate` only; Grok Build supports 2 sources (Claude + Cursor) via TUI modal.

### What you get after migrating (user-facing)

* **Keep your persona and habits** — SOUL-style instructions land on an Agent profile you pick, not a one-size-fits-all default.
* **Keep structured memory** — facts and episodic sessions import with batch rollback if you change your mind.
* **Keep skills under control** — imported skills sit in a review queue; you approve and bind them to the right Agent.
* **Keep skill usage history** — call counts, last-used dates, pinned status, and lifecycle state are automatically preserved from Hermes `.usage.json`. Your most-used skills stay prioritized; pinned skills remain pinned; no cold-start re-learning period.
* **See your savings before you commit** — the dry-run preview shows a Token Economics comparison card: your current skill-loading cost (competitor full injection) vs Myrm's on-demand loading. Typical savings: **94%** (e.g., 15 skills: 7,500 → 450 tokens per turn).
* **No silent key theft** — API keys import only when you opt in lane-by-lane.
* **Honest follow-up** — MCP servers and messaging channels are guided in Settings (we do not claim one-click channel parity with Hermes CLI hints).

**Product layers**: Open **myrm-agent-frontend** (wizard UI) + **myrm-agent-server** (discover/dry-run/confirm APIs) on Local/Tauri; the closed **harness** layer supplies import type contracts only — no separate migration UI there.

## What You Gain by Choosing Myrm

<CardGroup cols={2}>
  <Card title="Never Lose Context" icon="brain">
    42+ module memory system — the most complete AMO implementation in the industry. 8 memory types, 7-signal retrieval fusion, 8-layer staleness defense (including LLM-driven per-fact expiry review), and cross-session consolidation with one-click rollback. What Anthropic Dreaming and Mem0 partially cover, Myrm delivers end-to-end.
  </Card>

  <Card title="Work From Anywhere" icon="mobile">
    Approve tasks, steer agents, and monitor progress from any device via 35+ messaging channels.
  </Card>

  <Card title="Smart Tool Usage" icon="wand-magic-sparkles">
    3-tier tool layering + on-demand loading + 3D health monitoring + 14-type error diagnostics with expert fix suggestions. Tools are selected precisely, used effectively, and self-heal on failure.
  </Card>

  <Card title="Enterprise Security" icon="shield-check">
    6-layer defense-in-depth with budget control, PII protection, taint tracking, and audit trails.
  </Card>

  <Card title="Zero Vendor Lock-in" icon="unlock">
    100+ models, self-hosted or cloud. Your data is always yours.
  </Card>
</CardGroup>

## vs OpenClaw 2026.6.1 — 跨越"能用"到"好用"的终极形态

OpenClaw 2026.6.1 是其重磅更新，主打 Windows 原生节点、技能工坊、工作看板以及稳定性修复。然而，从其官方发布和大量用户社区反馈来看，其依然面临着"更新即崩"（如飞书/QQ断连）、任务缺乏直观可视化干预、以及"缝合感"较强的痛点。

Myrm 在架构和体验设计上实现了降维打击：

### Where Myrm Goes Further

| 维度                      | OpenClaw 2026.6.1                                               | Myrm                                                                                                                                          | 用户收益 (Migration Win)                                                      |
| ----------------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| **桌面原生体验**              | 仅提供 `Windows Companion` 节点环境                                    | **Tauri 桌面端 + macOS 刘海屏状态胶囊**                                                                                                                 | 提供系统级沉淀。当任务后台运行时，无需打开窗口，直接看菜单栏胶囊即可了解进度。                                   |
| **任务可视化干预**             | Workboard 纯展示层                                                  | **动态看板 + 实时断路器可视化 (Circuit Breaker)**                                                                                                         | 不仅能看，当子任务死循环时，系统自动熔断标红，或在手机端推送交互卡片，用户点击【Unblock】瞬间接管。                     |
| **渠道通信自愈**              | "修复"但评论区频发飞书/QQ掉线                                               | **断点续传 + SQLite 离线消息队列 + 指数退避重连 + Typing Ticket 主动刷新（monotonic clock 防漂移）**                                                                   | 即便网络波动或 Token 过期，长文本也能断点续传，不丢消息不卡死。微信长任务不再出现「正在输入...」冻结。                  |
| **技能安全演进**              | 基础 Proposal 流程                                                  | **GUI 审批流 + Quarantine 检疫隔离 + 静态扫描**                                                                                                          | AI 学习的新技能必须经过防投毒扫描，用户在前端审批后才能上线，杜绝大模型恶搞。                                  |
| **系统稳定性基建**             | `openclaw doctor` 命令行诊断                                         | **前端一键体检 + OOM 静默防护 (Cgroup-Aware) + mtime 状态存储 + 一键诊断导出 (Markdown/JSON)**                                                                    | 在 Docker 或 SaaS 下不再无故消失，通过前端即可了解所有网络、端口和 API 健康度，一键导出诊断报告反馈给开发者。          |
| **交互 UX 细节**            | 命令行打字感                                                          | **长文自动目录 (TOC) + IME 候选词保护 + Quick/Reasoning 模型秒切 + 消息队列 DnD 拖拽排序（排队中可调整发送顺序，竞品均无）+ 专业字体系统（Inter + JetBrains Mono 自托管 + 3套预设 + 无障碍字体 + 零闪烁）** | 极具质感的现代聊天界面。报告自动生成目录并跟随滚动，排队消息可拖拽调整优先级，聊天流畅度比肩原生 App，专业字体排版让长时间阅读更舒适。     |
| **Obsidian Vault 迁移闭环** | 仅 CLI `workspaceDir` JSON 手配                                    | **迁移向导 Result 卡片 + Onboarding 预填 bind → Start Chat 首条消息写 project SSOT**（5 pytest 2026-07-28）                                                  | 迁完 Obsidian vault 后无需再手动建 Project/绑路径，Files 面板与 Agent 首句即可读写 vault `.md`。 |
| **Obsidian 图片检索**       | 无 wiki asset caption 索引                                         | **Vision caption + FTS5/Qdrant · Chat Sources 缩略图 · 融合 wiki\_query/knowledge\_recall**（56 pytest 2026-07-29）                                  | 笔记里的 `![[img]]` 导入后可自然语言找图；诚实边界：文字找图，非 OpenViking 式以图搜图。                  |
| **第二大脑日常双闹钟**           | Article 8 需手配 Claude Schedule；OpenClaw/Hermes 仅通用 morning-brief | **Settings Wiki 一键 preset：06:00 稍后读 + 07:00 知识库晨间摘要（≤3 行 · `[SILENT]`）**（51 pytest 2026-07-29）                                                | 迁完 Obsidian 后不用自己拼 Cron；早上知道「昨天 vault 变了啥」。                               |

**一句话总结**：从 OpenClaw 迁移到 Myrm，你将告别"修一天跑一小时"的极客折腾期，获得一个拥有全天候健壮队列、极致 UI/UX 细节以及跨端原生体验的企业级 AI 工作站。

### 实时语音对讲（Realtime Voice & Multimodal Talk）

OpenClaw 拥有成熟的语音架构（多传输层、插件化提供商、电话集成），但 Myrm 在**用户实际体验和成本**维度实现了超越：

| 维度                              | OpenClaw                                 | Myrm                                             | 用户收益                                                                                                            |
| ------------------------------- | ---------------------------------------- | ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
| **零成本开箱**                       | 所有 STT/TTS 均需付费 API key                  | **Edge TTS 免费 + Local Whisper 免费**               | 无需任何 API key 即可开始语音对话，零成本体验完整语音功能。                                                                              |
| **隐私优先 STT**                    | 语音必须上传到云端识别                              | **Local Whisper 本地运行**                           | 语音数据不离开设备，适合企业和隐私敏感用户。                                                                                          |
| **语音+视觉融合**                     | 无                                        | **摄像头视觉理解 + 语音交互**                               | 语音对话中说"看看这个是什么"，AI 直接通过摄像头理解画面内容。                                                                               |
| **Agent 全能力闭环**                 | Agent Consult（简单工具调用）                    | **VoiceAgentBridge（全能力 Agent）**                  | 语音问"帮我搜一下今天的新闻"，Agent 直接调用搜索/记忆/MCP 全套工具链。                                                                      |
| **TTS 智能摘要**                    | 长文本原样播报                                  | **自动摘要后播报**                                      | 避免 AI 朗读 3000 字论文，自动精炼后播报，节省用户时间。                                                                               |
| **延迟观测**                        | 基础指标                                     | **三段延迟拆分（params/agent/tts）**                     | 精准定位语音响应慢在哪个环节，便于优化。                                                                                            |
| **Inline A2UI (Web / desktop)** | GPT-Live fixed preset cards (voice-only) | **Surface-gated render\_ui in Web Chat & Tauri** | In-chat forms, charts, and live panels in GUI sessions — not exposed during voice-only Realtime or Gemini Live. |

**关键数据**：**1,176 项**语音相关测试全部通过（语音核心 632 + Discord Voice 全栈 485 + Channel Security 59），覆盖 Realtime API / TTS 5 提供商 / STT 5 提供商 / WebSocket 全双工 / Barge-in / Agent Bridge / Vision 融合 / Discord Wake Word / VoiceReceiver DAVE 加密 / VoiceFollowManager 自动跟随。

## vs DeerFlow — 彻底告别大模型崩溃死循环

DeerFlow 作为一个优秀的开源智能体框架，在健壮性处理上遇到了典型的业界难题：大模型极易因为长日志和异常输出引发死循环崩溃。Myrm 将 DeerFlow 暴露出的核心痛点转化为**原生中间件级别的降维打击解决方案**。

### 工具调用安全网（Tool Calling Safety Net）

无论是使用 LangChain 还是原生 API，执行长线任务时极易遭遇致命的崩溃死循环。Myrm 实现了免人工干预的 **100% 自动容错**：

| 能力           | Myrm Agent                          | DeerFlow / 普通 LangChain Agent | 优势                                   |
| ------------ | ----------------------------------- | ----------------------------- | ------------------------------------ |
| **工具输出预算控制** | ✅ **自动截断与落盘 (Spillover)**           | ❌ 仅配置最大字符数，超长直接丢失             | **永远不会 OOM，且数据不丢**                   |
| **超长数据处理**   | ✅ **预览摘要 + 本地持久化引用**                | ❌ 粗暴截断，无法查阅全文                 | **大模型既知道结果超长，又知道去哪里读完整日志**           |
| **悬空工具调用自愈** | ✅ **Dangling Tool Call Healer 中间件** | ❌ 报错崩溃死循环                     | **自动补齐合成的错误回执，使得消息序列合法，让模型自行修复残缺调用** |

**用户感知收益**：当别的 Agent 跑到一半因为“日志太长”或“JSON 残缺”而崩溃挂起时，Myrm 会自动截取超长日志存入本地文件，并用一段礼貌的提示语告诉大模型：“输出过长已落盘，请使用读文件工具查看某某路径”。它永远能优雅地处理各种边界崩溃。

### 智能记忆检索（Context-Aware TF-IDF Memory Retrieval）

在注入长期记忆时，普通框架会盲目按时间或事实置信度排序，导致上下文被大量“高置信度但与当前任务完全无关”的噪音记忆占满，反而忘记了核心指令。

Myrm 引入了 **TF-IDF 与置信度双重加权检索**：在注水前，先利用 `tiktoken` 提取当前对话最近几轮作为 `current_context`，计算所有记忆与该上下文的余弦相似度，并结合事实的置信度进行双端加权评分（`similarity*0.6 + confidence*0.4`）。

**用户感知收益**：如果你积累了数百条记忆，迁移到 Myrm 后绝不会体验到因为“记得太多而变笨”的痛点。我们在极低的 Token 预算内提供“最精准”的记忆召回。

### 智能防泄漏与零卡顿的标题生成 (O(1) Anti-Blocking Title Generation)

当用户粘贴超大日志或代码块时，后台生成标题的正则清洗往往会卡死整个服务器（Event Loop Blocking）；此外，廉价模型生成的标题经常带有 `Title:` 等废话前缀，且容易暴露 API Key 等敏感信息。

Myrm 在底层实现了 **O(1) 早期截断**与军工级脱敏管线：

| 能力         | Myrm Agent                         | DeerFlow / 传统框架 | 优势                          |
| ---------- | ---------------------------------- | --------------- | --------------------------- |
| **防阻塞性能**  | ✅ **O(1) 早期截断**                    | ❌ O(N) 全文正则，易卡死 | **无论粘贴多大文件，前端 UI 永远丝滑零卡顿**  |
| **凭证脱敏**   | ✅ **调用 `redact_leaks` 抹除 API Key** | ❌ 原样发送给 LLM     | **彻底封堵隐式 Token 泄漏与提示词注入漏洞** |
| **深度降噪**   | ✅ **正则剥离代码块、URL、HTML**             | ❌ 原始文本直接生成      | **避免大模型被无关代码迷惑，标题更精准**      |
| **智能容错**   | ✅ **空文本 0 Token 拦截，统一英文兜底**        | ❌ 仍调用 LLM 或报错   | **极端输入下不浪费 Token，UI 保持整洁**  |
| **多语言自适应** | ✅ **`<user_input>` XML 隔离强制语种跟随**  | ❌ 易出现中英混杂       | **全球化体验更佳**                 |

**用户感知收益**：哪怕你粘贴了 1MB 的错误日志，Myrm 也能瞬间为你生成一个安全、精准、无废话前缀的标题，且整个过程对服务器性能零冲击。细节体验 100% 碾压竞品。

### 深度研究与长程任务挂机（Deep Research & Offline Guardian）

DeerFlow 1.x 作为专业 Deep Research 框架广受好评，但 2.0 已完全重写为通用 Agent Harness（README 明确说"shares no code with v1"），原深度研究能力仅在 1.x 分支维护。Myrm 提供了**完整的深度研究引擎与军工级长任务挂机保障**：

| 能力                             | Myrm Agent                                                                                                                                               | DeerFlow 2.0                      | 优势                                             |
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | ---------------------------------------------- |
| **五阶段研究编排**                    | ✅ CLARIFY→PLAN→EXPLORE→RESEARCH→REPORT                                                                                                                   | ❌ 2.0 无专用研究编排                     | **结构化五阶段编排，开箱即用**                              |
| **本地知识预查询 (EXPLORE)**          | ✅ Wiki FTS5 零 LLM 成本自动检索本地知识                                                                                                                             | ❌ 无                               | **已有知识不重复搜索，节省 token 和时间**                     |
| **研究计划确认闸门**                   | ✅ PhaseWaiter + PlanConfirmationCard（批准/编辑/跳过）                                                                                                           | ❌ 无                               | **执行前审阅计划，避免跑偏浪费 token**                       |
| **双模型成本优化**                    | ✅ 研究用轻量模型 + 主模型规划/报告                                                                                                                                     | ❌ 无                               | **研究任务 API 费用大幅降低**                            |
| **自适应思维链**                     | ✅ 非推理模型自动注入 think 工具，推理模型自动省略                                                                                                                            | ❌ 无                               | **模型切换零配置，始终保持最佳推理质量**                         |
| **断线自动后台守护**                   | ✅ OfflineDurableTask DB 持久化 + Power Lock 防休眠                                                                                                             | ⚠️ 仅内存级 DisconnectMode            | **关掉浏览器、电脑休眠，任务照跑不误**                          |
| **Server 崩溃自动恢复**              | ✅ 重启后从 DB 恢复 + 成功/失败精确分流通知（SSE error chunk 检测 + Durable Resume 失败主动告警 + 通知中心一键跳转对话）                                                                      | ❌ 进程内 RunManager 全部丢失             | **服务器意外重启？Myrm 自动接力，成功或失败一目了然**                |
| **交互式研究确认**                    | ✅ ClarificationWaiter（暂停等用户确认方向）                                                                                                                         | ✅ ClarificationMiddleware         | **研究过程可纠偏，避免跑偏浪费 Token**                       |
| **前端透明重连**                     | ✅ StreamInterruptedError → attachToChat 自动恢复                                                                                                             | ⚠️ 需手动处理                          | **网络波动？用户完全无感**                                |
| **实时成本透传**                     | ✅ 每轮研究实时推送 cost\_usd + 预算警告/超支                                                                                                                           | ❌ 无                               | **花了多少钱一目了然，超支立刻预警**                           |
| **四重编排确定性**                    | ✅ THINK 工具 + FINALIZE 条件 + max\_cycles + cycle reminder                                                                                                  | ⚠️ 依赖模型原生能力                       | **研究不会跑偏或死循环**                                 |
| **Prompt Cache 友好**            | ✅ 纯文本计划注入 system prompt 前缀，cache 命中率最大化                                                                                                                  | ⚠️ 文件落盘模式 cache 不友好               | **重复研究场景成本大幅降低**                               |
| **增量研究自动复用**                   | ✅ 旧报告 Wiki Vault 自动入库 + EXPLORE FTS5 自动检索旧知识                                                                                                             | ❌ 用户需手动指定旧文件                      | **后续研究自动衔接，无需手动切换模式**                          |
| **隐式交叉验证**                     | ✅ THINK 评估发现 + Information Integrity 标注不一致 + 偏离机制修正旧结论                                                                                                   | ❌ 无系统级机制                          | **发现旧报告错误时自动纠正，研究更可靠**                         |
| **对比评估维度模板**                   | ✅ 对比类查询自动按统一维度规划步骤 + 报告末尾生成汇总对比表                                                                                                                         | ❌ 无                               | **框架对比、技术选型场景输出专业对比表**                         |
| **Knowledge three-layer flow** | ✅ Same-session chat\_history + cross-session Wiki auto-archive with EXPLORE recall + general chat `memory_search_tool(corpus=memory)` semantic retrieval | ❌ No cross-session knowledge flow | **Research never breaks across conversations** |

**用户感知收益**：你可以发起一个数小时的深度研究任务后安心关闭浏览器甚至合上笔记本——Myrm 会自动阻止系统休眠、将任务状态持久化到数据库。即使服务器意外重启，Myrm 也会自动恢复中断的任务并在完成后推送系统通知。研究开始前，你的 Wiki 知识库会被自动检索，已有知识不再重复搜索，直接节省 token 费用；旧报告会自动入库并在后续研究中复用和验证，确保知识不断迭代更新。研究成果通过三层机制确保不丢失：同会话内直接可见，跨会话通过 Wiki 自动归档并被后续研究召回，普通对话中 AI 也能通过记忆检索工具访问历史研究。对比类查询（如"React vs Vue"）自动按统一维度规划研究步骤并在报告中生成汇总对比表。研究过程中，每轮研究的实时成本和预算使用情况都在 UI 上清晰可见。这种级别的深度研究能力与长任务可靠性，在所有竞品中独一无二。（9,487 项相关测试全部通过）

## Long Report Reading (Auto TOC)

When an Agent reply contains multiple headings, Myrm **automatically builds a table of contents** beside the message — click any chapter to jump, and the highlight follows as you scroll. ChatGPT, Hermes, and OpenClaw do not offer equivalent in-chat navigation for multi-section reports; users typically copy content into Notion or Word to get an outline.

|                       | Myrm          | Typical chat UIs |
| --------------------- | ------------- | ---------------- |
| Auto TOC              | ✅ ≥2 headings | ❌ scroll only    |
| Scroll sync           | ✅             | ❌                |
| Works while streaming | ✅ (debounced) | N/A              |

## Multi-Agent Orchestration & Zero-Trust Verification (vs Hermes Agent / Claude Code)

In the realm of Multi-Agent architectures, most frameworks rely on blind trust and non-deterministic LLM improvisation. Myrm breaks the serial bottleneck and completely eliminates the pain points of "hallucinated success" and "budget burnout" found in competitors like Hermes and Claude Code.

### Where Myrm Goes Further

| Area                  | Hermes / Claude Code             | Myrm                                      | User Benefit                                                                                                                                                            |
| --------------------- | -------------------------------- | ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Verification**      | Blind trust in LLM summaries     | **Zero-Trust Verification**               | Enforces physical verifiable credentials (e.g., file paths, exit codes). Sub-agents cannot fake success, effectively ending task hallucination.                         |
| **Sandbox Security**  | Background agents can trigger UI | **UI Interaction Blacklisting**           | `LEAF` node sub-agents are physically restricted from accessing UI/Chat interfaces, preventing them from unexpectedly interrupting the user.                            |
| **Language Context**  | Sub-agents default to English    | **Dynamic Spec Injection**                | The parent orchestrator dynamically injects the user's active language and style guidelines, ensuring the final report is completely cohesive (no more "Chinglish").    |
| **Budget Control**    | Timeouts only (burns tokens)     | **Iteration Circuit Breaker & Downgrade** | Introduces a hard limit on iteration steps to stop deadlocks instantly. Automatically downgrades non-core tasks to cheaper models when budgets run low.                 |
| **Human-in-the-Loop** | Simple "Yes/No" approval         | **Seamless Context Injection**            | During a UI breakpoint approval, users can inject corrective text directly into the agent's state machine, steering wandering agents back on track with a single click. |

### Migration Wins

If you migrate from Hermes or Claude Code's Dynamic Workflows, you gain:

* **Absolute Cost Predictability**: Never wake up to a massive API bill because an agent got stuck in a loop.
* **Genuine Execution Evidence**: When Myrm says a task is complete, it's backed by OS-level execution logs, not an LLM's imagination.
* **Flawless UI Experience**: Background agents remain strictly in the background, and human intervention is rich and corrective rather than binary.

## Visual Approval, Artifact Lifecycle & Intelligent Template Reuse (vs Codex)

Codex offers basic screenshot approval and no artifact management. Myrm delivers a **complete visual approval system across Web, Desktop, and Mobile** with a full artifact lifecycle from generation to deployment — verified by **347 artifact delivery full-stack tests** (harness registry 137 + server processing 105 + frontend Portal 105). Zero-click delivery pipeline: Agent generates file → ArtifactRegistry auto-registers with dedup → SSE event → Portal auto-opens with preview (competitors only call OS Open, no versioning, no publish, desktop-only).

### Where Myrm Goes Further

| Area                       | Codex            | Myrm                                                                                                                                                        | User Benefit                                                                                       |
| -------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| **Visual Approval**        | Basic screenshot | **17 dedicated files**: Highlight + AttentionBar + OS Overlay + RequestRenderer + PendingCard + InlineSection + UnavailableCard                             | See exactly what the Agent wants to do, approve/reject/edit with full context across all platforms |
| **Desktop Native Overlay** | ❌ No desktop app | **Tauri Rust-native** `visual_approval_overlay.rs` — transparent red frame on main screen                                                                   | Never miss a pending approval even when the app is minimized                                       |
| **Mobile Adaptation**      | ❌ None           | **MobileStatusBoard** + swipe gestures + responsive layout                                                                                                  | Full agent control from your phone                                                                 |
| **Graceful Degradation**   | ❌ None           | **VisualApprovalUnavailableCard** falls back to text-based approval                                                                                         | Works even when screenshots fail                                                                   |
| **Artifact Renderers**     | Basic            | **13 types**: PDF (text-selectable + annotation links) / Spreadsheet / Word / PPTX / React / SVG / Mermaid / Code / Document / HTML / Video / Image / Audio | Preview any file type without leaving the chat                                                     |
| **Live Code Editing**      | ❌ None           | **Sandpack ReactPreview**: preview/code/split views + ConsolePanel + Tailwind                                                                               | Edit Agent-generated React components in real-time with hot-reload                                 |
| **Precision Code Editing** | ❌ None           | **SelectionToolbar**: select code → modify/explain/optimize/comment/copy                                                                                    | Collaborate with Agent at the code-selection level                                                 |
| **One-Click Publish**      | ❌ None           | **PublishModal + Hosting Targets**: Vercel / CF Pages / Netlify / Webhook — Globe publish, zero LLM tokens + WebSocket status + preflight                   | Ship HTML artifacts to multiple platforms in seconds — no Git or Agent tools                       |
| **Version Management**     | ❌ None           | **ArtifactsCenter**: immutable timeline + SHA256 integrity + rollback; **5-locale UI** (zh/en/ja/ko/de) with automated i18n regression guards               | Enterprise-grade artifact audit trail                                                              |
| **Skill Detection**        | ❌ None           | **SkillDetectionCard**: auto-detect SKILL.md → one-click package & register                                                                                 | Turn any Agent-generated tool into a reusable skill                                                |
| **Memory System**          | ❌ None           | **14 DB models**: Profile / Procedural / Pending / SharedContext + import/archive/rollback/audit                                                            | Agent remembers your preferences, coding style, and report formats                                 |
| **Skill Evolution**        | ❌ None           | **SkillEvolutionEngine** + ConfidenceApprovalFlow + A/B testing                                                                                             | Agent automatically learns and improves from every interaction                                     |
| **Template Reuse**         | ❌ None           | **Procedural Memory** "remember this format" + automatic pattern extraction                                                                                 | Smarter than static templates — adapts to new data automatically                                   |

### Migration Wins

If you switch from Codex, you gain:

* **Multi-platform visual approval**: From basic screenshots to Web inline highlights, Tauri OS overlay, and mobile swipe gestures
* **Artifacts become permanent assets**: Complete version management with SHA256 tamper-proof verification and multi-target hosting publish from Settings
* **Agent learns your style**: No manual template saving needed — Agent automatically learns your preferred report formats and coding patterns
* **Precision collaboration**: Select any code in the Artifact Portal and trigger modify/explain/optimize/comment directly with the Agent

### AI Companion & Desktop Pet Status Visualization (vs Codex)

While Codex offers a basic floating pet showing \~4 states, Myrm provides a full AI companion system verified by **229 tests across 9 files**:

| Capability                | Codex    | Myrm                                                                             | User Benefit                                    |
| ------------------------- | -------- | -------------------------------------------------------------------------------- | ----------------------------------------------- |
| **Animation States**      | \~4      | **23 step\_key mappings** with transient/sticky/release modes                    | See exactly what the Agent is doing at a glance |
| **Agent Appearance Sync** | ❌        | **Auto-changes species + hat per agent** (5 builtin + custom emoji avatar)       | One glance tells you which Agent is active      |
| **Platform Support**      | App only | **Web + SaaS + Tauri Desktop**                                                   | Your companion follows you everywhere           |
| **Tauri Native Pet**      | ❌        | **Rust-native** transparent always-on-top window with drag + 5 sizes             | Lightweight desktop mascot, always visible      |
| **Customization**         | ❌        | Name / 15 species / 9 hats / spritesheet / 5 sizes + Codex 467+ community assets | Make the companion yours                        |
| **Evolution System**      | ❌        | 5 rarity tiers + XP + stat growth + shiny variants                               | Grow your companion over time                   |
| **Anti-Fatigue UX**       | ❌        | Routine errors → silent review, approval → friendly waving                       | No anxiety-inducing failure animations          |
| **Interaction System**    | ❌        | Snack feeding (3/day) + XP + birthday detection + mood system                    | Delightful micro-interactions                   |

**Migration win**: From a simple 4-state icon to a 23-state animated companion with Agent identity sync, evolution, and cross-platform consistency.

### Voice Input & Full-Duplex Voice Sessions (vs Codex / Claude / ChatGPT)

Myrm provides the most comprehensive voice integration among AI agents — **4,200+ lines** of full-stack voice code across 3 session modes:

| Capability                    | Codex | Claude Desktop | ChatGPT         | Myrm                                          |
| ----------------------------- | ----- | -------------- | --------------- | --------------------------------------------- |
| **Chat Mic Button**           | ✅     | ✅              | ✅               | ✅                                             |
| **Real-Time Streaming STT**   | ❓     | ❌              | ✅               | ✅ Deepgram Nova-3 + batch fallback            |
| **Push-to-Talk**              | ❌     | ❌              | ❌               | ✅ Hold-to-talk + click-to-toggle              |
| **Full-Duplex Voice Session** | ❌     | ❌              | ✅ (native only) | ✅ 3 modes                                     |
| **Agent Bridge Mode**         | ❌     | ❌              | ❌               | ✅ Server-side STT→Agent→TTS                   |
| **OpenAI Realtime WebRTC**    | ❌     | ❌              | ✅               | ✅ Sub-300ms latency                           |
| **Barge-In Detection**        | ❌     | ❌              | ✅               | ✅ Adaptive threshold                          |
| **3-Tier STT Fallback**       | ❌     | ❌              | ❌               | ✅ WebSocket → REST → Browser native           |
| **Multi STT Provider**        | ❓     | 1              | 1               | ✅ 3+ providers                                |
| **6 TTS Providers**           | ❌     | 1              | 1               | ✅ Browser/OpenAI/ElevenLabs/Fish/MiniMax/Edge |
| **Camera Vision Fusion**      | ❌     | ❌              | ✅               | ✅ Auto vision intent detection                |
| **Discord Voice Channel**     | ❌     | ❌              | ❌               | ✅ Full implementation                         |
| **Feature Gate**              | ❌     | ❌              | ❌               | ✅ Enable/disable per deployment               |

**Migration win**: From basic mic input to full-duplex voice conversations with 3 modes, adaptive barge-in, Agent Bridge for server-side execution, and zero-config browser fallback.

### Workspace Organization & Project Management (vs Codex / Claude / ChatGPT)

| Capability                  | Codex        | Claude  | ChatGPT  | Myrm                                             |
| --------------------------- | ------------ | ------- | -------- | ------------------------------------------------ |
| **Project Organization**    | Tree folders | ❌       | ❌        | ✅ Chip filter (zero vertical space)              |
| **Project Colors**          | ❌            | ❌       | ❌        | ✅ 10-color presets + right-click change          |
| **Filter Dimensions**       | 1 (project)  | 0       | 0        | ✅ 3 (project + date + channel source)            |
| **Date Grouping**           | ❌            | Basic   | Basic    | ✅ 5 tiers, collapsible                           |
| **Pin & Drag Sort**         | ❌            | ❌       | Pin only | ✅ Pin + Dnd-kit drag reorder                     |
| **Batch Operations**        | ❌            | ❌       | ❌        | ✅ Multi-select + batch delete + batch move       |
| **Export Formats**          | ❌            | PDF     | ❌        | ✅ HTML/MD/JSON/Copy                              |
| **Cron Scheduling**         | ❌            | ❌       | ❌        | ✅ Create from chat context menu                  |
| **Channel Handoff**         | ❌            | ❌       | ❌        | ✅ Cross-channel handoff dialog                   |
| **Multi-Pane Workspace**    | Single       | Single  | Single   | ✅ Multi-pane OS Context Switching                |
| **Mobile Responsive**       | Desktop only | Partial | ✅        | ✅ Full responsive + 44px touch targets           |
| **Backend API**             | Basic        | None    | None     | ✅ CRUD + move + batch-move + filter (32 tests)   |
| **Milestone Roadmap**       | ❌            | ❌       | ❌        | ✅ GUI panel + Kanban progress tracking (7 tests) |
| **Project Shared Memory**   | ❌            | ❌       | ❌        | ✅ SharedContext auto-bound on creation           |
| **Auto Context Injection**  | ❌            | ❌       | ❌        | ✅ ProjectRoadmapMiddleware (\~100 tok/turn)      |
| **Multi-Agent Concurrency** | ❌            | ❌       | ❌        | ✅ ProjectOrchestrator async lock                 |

**Migration win**: From single-dimension tree folders to 3D filtering (project + date + source), milestone roadmaps, shared memory, auto context injection, and multi-agent concurrency safety — all verified by 39 project-specific + 115 workspace tests.

### Thinking Process Visualization (vs Codex / ChatGPT / Claude)

| Capability                     | Codex | ChatGPT | Claude | Myrm                                             |
| ------------------------------ | ----- | ------- | ------ | ------------------------------------------------ |
| **Expandable Thinking Block**  | ✅     | ✅       | ✅      | ✅ + auto-collapse                                |
| **Thinking Intensity Control** | ❌     | Limited | Budget | ✅ 6 levels + custom                              |
| **Per-Model Persistence**      | ❌     | ❌       | ❌      | ✅ localStorage per model                         |
| **Model Capability Detection** | ❌     | ❌       | ❌      | ✅ Auto-hide if unsupported                       |
| **Export with Reasoning**      | ❌     | ✅       | ✅      | ✅ 3 formats + checkbox                           |
| **Multi-Tag Parsing**          | 1     | 1       | 2      | ✅ 6 thinking tags + 3-layer signature management |

**Migration win**: From limited thinking display to full 6-level intensity control with per-model persistence, 6-tag parsing for all LLMs (think/thinking/thought/antthinking/reasoning/REASONING\_SCRATCHPAD), 3-layer Thinking Signature management (proactive cleaning → error recovery → stream scrubbing), and 3-format export — verified by 152 automated tests.

## Top Agent Architecture Teardown ("Agent Harness Parsing")

In a recent industry deep dive, the "Agent Harness" (the complete software infrastructure wrapping the LLM) was confirmed as the decisive factor in Agent performance. Compared with theoretical ideals and competitor implementations, Myrm's architecture demonstrates crushing advantages in these key areas:

### How Myrm Leads

| Architecture Ideal                                      | Competitor / Traditional Frameworks                                | Myrm Implementation                                         | User Benefit                                                                                                                                                                                                                 |
| ------------------------------------------------------- | ------------------------------------------------------------------ | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **3-Tier Memory Separation & Lightweight Verification** | Full load causing OOM, or basic read/write split.                  | **Hybrid Instruction Layering & Auto Search Cues**          | Core rules go into the System prompt, unreliable experience into Human; the AI automatically senses its "brain capacity" token limits. Memory gets more accurate over time without context overflow anxiety.                 |
| **Global Observation Masking & Eviction**               | Direct truncation or letting useless logs fill the context window. | **Extreme Lazy Loading + Turn-Level Filter Processor**      | 0% System Prompt redundancy with dynamic tool mounting. Long texts (like Bash/Fetch) are automatically persisted to disk and replaced with smart previews, completely eliminating capability degradation from context bloat. |
| **Visual Verification & LLM as Judge**                  | Basic tests or blind LLM scoring.                                  | **Early Handoff + CompletionGuard**                         | Smart interrupts and popup help for unrecoverable errors prevent money burning. Cross-platform visual warnings and code execution verification eliminate half-baked AI submissions.                                          |
| **Git Worktree Sandbox Isolation**                      | Requires forced branch switching, easily messing up local code.    | **Concurrent Isolation (ISOLATED\_COPY) + Orphan Recovery** | Automatically creates lightweight physical clones in parallel mode; seamless large-scale merging. When interrupted or disconnected, OrphanRecovery reconnects in seconds.                                                    |

### Migration Wins

Moving away from competitors relying on simple ReAct loops and basic memory, you gain:

* **Never getting lost in long documents**: Smart previews and on-demand loading ensure the model always focuses on high-signal Tokens.
* **Stop paying for empty loops**: If the AI gets stuck, it immediately suspends execution and prompts you for instructions/parameters, rather than spinning in a costly loop.
* **Engineering-grade reliable delivery**: Code that hasn't passed linting cannot "claim to be done." Say goodbye to hallucinatory success.

### Automation & Hooks Configuration (vs Codex / Claude Code)

| Capability                       |                 Codex                |                Claude Code                | ChatGPT |                                          Myrm                                          |
| -------------------------------- | :----------------------------------: | :---------------------------------------: | :-----: | :------------------------------------------------------------------------------------: |
| Hook definition method           | CLI/config files ("not easy to use") | ⚠️ plugins/ JSON (5 events, command only) |    ❌    |   ✅ GUI panels + JSON hot-reload + SKILL.md frontmatter (16 events, 4 executor types)  |
| Security policy hooks            |         ⚠️ Basic permissions         |          ⚠️ 3 tiers + asyncRewake         |    ❌    | ✅ Permissions + path + PII + NL generator + LLM validation hook + SSRF-safe HTTP hooks |
| Risk rule engine                 |                   ❌                  |                     ❌                     |    ❌    |                         ✅ Custom rules + test panel (18K lines)                        |
| Event triggers                   |            ⚠️ Basic events           |                     ❌                     |    ❌    |       ✅ IM regex + webhook + system event (GUI, router SSOT, no double-dispatch)       |
| Per-agent behavior customization |                   ❌                  |                ⚠️ Projects                |    ❌    |                                ✅ 5 tabs + 10+ dimensions                               |
| Agent middleware pipeline        |                   ❌                  |                     ❌                     |    ❌    |                         ✅ 6 middleware + KV Cache optimization                         |
| Runtime extensions               |                   ❌                  |                     ❌                     |    ❌    |                      ✅ 6 extensions (security / subagent / memory)                     |
| Natural language policy          |                   ❌                  |                     ❌                     |    ❌    |                                   ✅ NLPolicyGenerator                                  |

**Migration win**: From CLI-only hooks that users report as "not easy to use" to full GUI automation panels — security policies, risk rules, event triggers, and per-agent behavior all configurable through professional visual editors. **405 automated tests** (140 Hook core + 121 Planner + 49 Middleware + 95 CompletionGuard) verify the entire lifecycle pipeline.

### Execution Safety & Error Prevention (vs Codex)

| Capability                    |             Codex             | Claude Code | ChatGPT |                           Myrm                          |
| ----------------------------- | :---------------------------: | :---------: | :-----: | :-----------------------------------------------------: |
| Pre-execution check           | Prompt-level "run git status" |      ❌      |    ❌    |           ✅ 5-layer onion engine per tool call          |
| Destructive action protection |       ❌ No auto-snapshot      |      ❌      |    ❌    |        ✅ Auto-snapshot before every file mutation       |
| Loop detection                |               ❌               |      ❌      |    ❌    |       ✅ 7 algorithms + 7 tool-specific suggestions      |
| Frequency protection          |               ❌               |      ❌      |    ❌    |          ✅ FrequencyGuard (DoS + cost overrun)          |
| Emergency stop                |               ❌               |      ❌      |    ❌    |         ✅ EStop global guard (highest priority)         |
| Shell command analysis        |               ❌               |      ❌      |    ❌    | ✅ 3-layer analyzer (70+ patterns, Unicode, quote-aware) |
| Audit trail                   |               ❌               |      ❌      |    ❌    |             ✅ 20 DecisionKind types recorded            |
| Context recovery              |  Prompt-level "restate goal"  |      ❌      |    ❌    |  ✅ 3-layer memory extensions (auto-preserve semantics)  |

**Migration win**: From "the model should check git status before editing" (prompt-level advice) to automatic 5-layer security evaluation + auto-snapshot on every file mutation + 7-algorithm loop detection — all transparent, zero user intervention. 203 automated tests verify the entire safety pipeline.

### Error Prevention UX (vs Codex)

| Capability                   |                Codex Proposal               |                                                                                                                                                        Myrm                                                                                                                                                       |
| ---------------------------- | :-----------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Code/command copy            |   "Copy to local terminal" fallback button  | ✅ 5-component system (CodeBlock + EnhancedSyntaxHighlighter + clipboardUtils + QuoteToolbar + Copy) — rich copy writes `text/plain` (Markdown source) + `text/html` (rendered format) simultaneously via ClipboardItem API; paste into Notion/Feishu/Word preserves tables, code highlighting, and list structure |
| Destructive op approval      | "Pre-calculate affected files" warning card |                                                                            ✅ Harness-level `rm -rf` BLOCK + auto-snapshot + 5-mode SingleApprovalCard + ShellCommandDisplay risk coloring + VisualApprovalHighlight + HandoverModeView                                                                            |
| Confidence badges            |    Parse `[VERIFIED]` tags into UI badges   |                                                                       ✅ A2UI v3.1: **23** structured UI components via JSON Schema + **fail-closed** validation + progressive spec (\~223 tok Turn1) — more robust than fragile text parsing                                                                      |
| Context compression UI       |           "Show compression hint"           |                                                                                                        ✅ CompactedSummaryView: editable summary + archive history + Markdown rendering + i18n + persistence                                                                                                       |
| Shell risk visualization     |                      ❌                      |                                                                                                                  ✅ Segment-level risk coloring (safe=blue, unknown=red) + SpanRiskReason tooltips                                                                                                                 |
| Visual approval overlay      |                      ❌                      |                                                                                                                         ✅ Screenshot annotation + attention bar + Tauri native OS overlay                                                                                                                         |
| Approval card editing        |                      ❌                      |                                                                                                                              ✅ Edit command content in approval card before re-submit                                                                                                                             |
| Unrecoverable error handover |                      ❌                      |                                                                                                                         ✅ HandoverModeView — early handoff to user on unrecoverable errors                                                                                                                        |

**Migration win**: Every "Error Prevention UX" enhancement proposed for Codex is already implemented in Myrm with deeper, architecture-level protection. Shell risk visualization, visual approval overlays, and approval card editing are exclusive to Myrm. 742 automated tests (163 frontend + 579 Harness) verify the entire error prevention pipeline.

## Long-Task Automated Orchestration (vs Codex Manual Workflows)

When handling long-running, multi-file refactoring tasks spanning days, many developers rely on "manual constraint workflows" popularized by tools like Codex—manually splitting subtasks, creating `.codex-work/tasks/*.md` folders, and even writing handoff documents like `handoff.md` by hand.

While this semi-manual mode prevents LLM context pollution, it should **never** be a burden for the end user. Myrm upgrades this "geek's workshop" into automated infrastructure:

### Myrm's Lead

| Domain                            | Traditional Semi-Manual Workflow (e.g., Codex)              | Myrm Agent                                  | User Benefit                                                                                                |
| --------------------------------- | ----------------------------------------------------------- | ------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| **Task Breakdown & Isolation**    | Manually creating Markdown files as isolation barriers      | **Main-agent `todo_write` + Kanban DAG**    | Internal state transitions have zero pollution on the main session, **automatic and absolutely clean**.     |
| **Parallel Execution Isolation**  | User must manually switch between Git branches or worktrees | **Native automated Git Worktree isolation** | Backend natively supports parallel isolation across multiple worktrees without interference.                |
| **Stage Execution Verification**  | Requires a human to monitor and manually approve            | **Built-in 3-Strike Protocol**              | Continuous execution failures trigger automatic escalation, forcing verification commands.                  |
| **Cross-Task Handoff & Recovery** | Manually maintaining `handoff.md` and state summaries       | **ArchiveCheckpoint + SessionNotes**        | Memory system achieves zero-token-cost lossless multi-layer archiving. Resume with one click after a crash. |

**Conclusion: Migrating to Myrm frees your hands completely. Say goodbye to the artificial workflows you imposed on yourself just to "keep the model from acting dumb." Let the machine do the orchestration it was meant to do.**

## Ready to Start?

<CardGroup cols={2}>
  <Card title="Quick Start" icon="rocket" href="/docs/getting-started/quickstart">
    Get up and running in under 2 minutes.
  </Card>

  <Card title="Local Deployment" icon="server" href="/docs/getting-started/local-deployment">
    Self-host Myrm on your own infrastructure.
  </Card>
</CardGroup>

### 记忆系统：告别臃肿与幻觉，真正“懂你”的 AI

许多竞品（如 Mem0、Hermes 或 Supermemory）在记忆系统上存在显著痛点：要么提取过多导致记忆库臃肿、检索准确率下降；要么只存摘要导致精确信息丢失；要么必须依赖云端服务。Myrm 的记忆系统在架构上实现了全面超越：

* **严格精度门控 (No-Op Default)**：我们拒绝像竞品那样“宁滥勿缺”地提取日常闲聊。Myrm 默认静默，仅在检测到高杠杆业务价值（如代码规范、架构偏好）时才提取入库，彻底解决记忆臃肿与 AI 幻觉问题。

* **原文无损保留 (Verbatim Storage)**：采用双轨存储，不仅保留用于语义检索的摘要，更 100% 无损保留原始对话和代码片段。当你需要精确数字或代码时，Myrm 绝不含糊。

* **异步画像投影 (Cognitive Deriver)**：无需你刻意调教，Agent 会在后台静默分析你的沟通风格、决策逻辑，并实时投影到下一次对话中，实现“零延迟”的默契。

* **物理级无痕模式 (Incognito Mode)**：独家支持阅后即焚，底层记忆引擎彻底卸载，确保敏感项目数据绝对零泄漏。

* **全景可视化与零配置**：提供豪华的记忆指挥中心 GUI，打破黑盒；且内置 SQLite+Qdrant，无需配置 Docker 或 API Key，断网 100% 可用。

* **记忆冲突自动裁决 (Conflict Arbitration)**：当 AI 学到的新知识与已有记忆矛盾时，自动检测并路由至用户裁决（保留旧值 / 采用新值 / 自由编辑合并 / 双弃），72h 未处理安全降级保留旧值。竞品 Cognee/Mem0 静默覆盖导致用户无感知、Hermes 只能手动编辑文件——**56 项验证测试确认**

* **7 维热门记忆浮顶 (Hot Memory Floating)**：通过 `frequency_factor` 对数衰减追踪每条记忆的访问频率，结合 semantic/recency/importance/preference/rating/confidence 共 7 维加权几何均值评分，常用的偏好和规则自动在检索中排名更高。零配置、零延迟。竞品 OpenSquilla 的 Memory Dream 仅是单一 24h 定时任务且无频率评分——**6 项验证测试确认**

* **6 层规则防护体系 (6-Layer Rule Protection)**：is\_user\_locked 防覆盖锁 + PendingRecord 强制审批 + ConfidenceApprovalFlow 多信号风控 + Evolution Lock 防进化 + ProfileSnapshot Agent级快照回滚 + Skill Growth Audit 审计，从根源防止规则损坏，比“版本历史+回滚”的事后补救更优雅。竞品 Hermes 无版本历史、无回滚、直接覆盖文件——**103 项验证测试确认**

* **多智能体记忆隔离 (Multi-Agent Memory Isolation)**：`MemoryScope` 提供 agent\_id+channel\_id+conversation\_id+task\_id 四维隔离，代码助手学到的编码规范不会污染写作助手的文风偏好。SQLite 4 张核心表均含 agent\_id 列，向量层支持 namespace-aware 多层检索。ProceduralMemory 拥有 9 个结构化字段（trigger/action/trigger\_keywords/tool\_name/tool\_rule\_priority/source/language/is\_user\_locked/scope）。竞品 Hermes 为单智能体+Markdown 文件+4 个 frontmatter 字段——**177 项验证测试确认**

* **GEPA 人机协同审批闭环 (Human-in-the-loop Approval)**：Agent 自动归纳的规则必须经过 `PendingRecord` 审批流（pending→approved/rejected），用户在 GUI 中一键批准或拒绝，支持审批时编辑内容和批量操作。用户修正过的规则自动上锁（`is_user_locked`），Agent 后台整理和维护永远跳过锁定规则。独创 `ConfidenceApprovalFlow` 多信号风控（置信度+diff比例+历史有效率），高质量规则静默通过、低质量降级人工审核。竞品 Hermes 的 Agent 直接写入规则库且自我评估“总觉得自己做得好”——**261 项验证测试确认（harness 175 + 前端 84 + server 2）**

* **Goal Learnings 避坑经验闭环 (Pitfall Extraction & Injection)**：Goal 任务完成时自动提取 3 类前瞻性经验（Patterns 有效模式 / Gotchas 坑点警告 / Context 项目事实），每条经验需通过 confidence≥0.7+importance≥0.6 双门槛质量过滤后才存储。新 Goal 启动时自动检索历史经验并注入 metadata，让后续同类任务直接受益。竞品 agentmemory 仅有单一 Lesson 类型+纯关键词 text.includes() 检索+无质量过滤——**96 项验证测试确认**

* **检索证据三层可视化 (Retrieval Evidence UI)**：每条 AI 回复显示"引用了 X 条记忆"药丸标签 + 记忆预算百分比；点击展开详情面板可查看每条引用的类型、相关度分数、内容摘要、命名空间和溯源聊天跳转；用户还可直接评分反馈，评分回流到 7 维检索系统。双通道后端架构（LLM 主动 citation + 系统级 tool lifecycle 追踪）确保引用数据完整。ChatGPT 仅显示一行"✨Using memory"无详情，Hermes/Mem0 完全没有 GUI——**51 项验证测试确认**

* **情感化 AI 伙伴系统 (Companion System)**：完全自建的 GUI 宠物系统（25 文件）——Hermes 代码库中不含任何 pet 代码，仅依赖外部 petdex.dev CLI 安装。Myrm 提供 PetGallery 内置画廊（2900+ 社区宠物搜索+懒加载+一键安装）、9 种情感动画状态 + 15 种 SSE 事件实时映射、Observer 智能观察（根据 AI 回复启发式分类生成个性化反应）、Goal 状态共鸣、完整 RPG 进化系统（5 稀有度+5 属性+生成式宠物+零食互动+生日纪念）、Codex/Legacy 双布局兼容引擎——**229 项验证测试确认**

**用户迁移收益**：从竞品迁移过来，你将获得一个不会“越用越笨”、不会丢失关键细节、不会被 AI 悄悄改回你的修正、且完全保护隐私的超级大脑。

## vs. DeerFlow 2.0: From Framework to Industrial Harness

DeerFlow 2.0 introduced a 14-layer middleware chain and Docker sandboxing, but its architecture is heavily coupled with cloud-native microservices (requiring a standalone LangGraph Server).

**Why migrate to MyrmAgent?**

1. **17+ Layer Middleware Kernel**: We provide a more granular, strictly ordered middleware chain (17+ layers) with static DI Graph validation, completely eliminating implicit dependency bugs.
2. **True Agent-in-Sandbox**: Unlike DeerFlow which creates sandboxes from within the agent, our architecture relies on the external deployment layer (Server/Tauri) to provide polymorphic sandboxing (Docker for cloud, lightweight process isolation for desktop). This ensures zero overhead on local machines.
3. **Zero-Copy ArtifactVault**: For concurrent sub-agents, we use a `vault://` pointer protocol for large files, achieving zero-copy sharing and completely preventing LLM context explosion.
4. **Security-in-Depth Skills**: While both support Markdown-based skills, we add a 3-layer defense system (Trust Decay + Security Scanning + Content Escaping) to ensure third-party skills never compromise your host.

## vs Hermes / DeerFlow / OpenClaw / Cursor — Single-Track Task Progress (2026-07-02)

Most agents ship a single todo/plan tool that is **always bound** to Turn 1 — inflating prompts and offering no guard when the model tries to finish early. Myrm converged progress to **Planning (`todo_write`) + Kanban**, all **off by default** (\~zero Turn1 token tax):

| Capability            | Myrm (2026-07-02)                                                                                                                      | Hermes                | DeerFlow                     | OpenClaw / Cursor TodoWrite |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | --------------------- | ---------------------------- | --------------------------- |
| Persistent SSOT       | ✅ `.myrm/progress/todos.json` in sandbox                                                                                               | ❌ in-memory TodoStore | thread state                 | session-only                |
| CompletionGuard       | ✅ reads workspace todos before "done"                                                                                                  | ❌                     | ❌                            | ❌                           |
| Conditional bind      | ✅ enable only when you need it (\~150 tok)                                                                                             | often always-on       | prompt-injected write\_todos | often always-on             |
| Single-track progress | ✅ Planning opt-in (no second checklist rail)                                                                                           | single `todo`         | plan\_mode + write\_todos    | TodoWrite                   |
| Progress UI           | ✅ ProgressSteps tree + step\_key merge (no duplicate nodes on re-emit) + mobile `/mobile/status` reads plan SSOT (MCP Chrome verified) |                       |                              |                             |

**User benefit**: Turn on Planning only for 3+ step jobs — you get a live todo tree in chat, Goal long tasks auto-enable it, files and guard stay in sync across reconnects, and you are not paying token tax for tools you did not ask for.

**Verified (2026-07-03)**: harness progress + todo conditional **38/38** + server planning integration **24/24 (1 skipped)** + live LLM E2E **3/3** (including resume with existing todos) + frontend `tasksStepsMerge` **5/5**; fixed two production bugs (`task_workspace_root` passthrough + `workspace_todos_exist` false negatives). Product WebUI dropped `@playwright/test` headless CI — UI integration uses **real Chrome MCP** + API prepare scripts.

## 2026 Latest Core Advantages Summary (vs Hermes, OpenClaw, DeerFlow, etc.)

Among the numerous open-source AI Agent frameworks and products, Myrm Agent stands out with its **robust underlying architecture**, **ultimate user experience**, and **enterprise-grade security isolation**:

### 1. Crash-Proof Underlying Self-Healing Mechanism

When using APIs compatible with the OpenAI format, network jitter or frequent user cancellations often interrupt tool calls, leaving invalid `tool_call_id`s in the history and causing strictly validating models to crash.
**Our Advantage**: Myrm Agent implements a transparent self-healing mechanism (`SafetyWrappedChatModel`) at the lowest level. Before every request to the LLM, the system automatically scans and cleans up orphan/invalid tool calls. The chat history remains pure, completely eliminating crashes caused by formatting errors.

### 2. Exclusive 4-Level Progressive Skill Loading

Equipping an Agent with a massive number of skills usually causes the context window to explode, increasing token consumption and degrading instruction-following capability.
**Our Advantage**: Our exclusive 4-level progressive loading strategy loads the skill body into the context only when truly needed, achieving ultra-low token consumption. Supports `/slash` commands for precise activation, perfectly combining the Agent's autonomy with your precise control.

### 3. Serverless-Grade Sandbox Hibernation & Wake-on-Demand

Traditional cloud deployments incur exorbitant costs if a resident sandbox instance is maintained for every user.
**Our Advantage**: The control plane natively supports idle hibernation and wake-on-demand for sandbox environments. When a user is offline, the state of their 100% physically isolated exclusive sandbox is persisted and put to sleep. Upon receiving a new message or a cron trigger, it wakes up instantly, drastically reducing cloud idle costs.

### 4. Diagrams Without Product Bloat

Most competitors ship heavy whiteboards or force manual layout. Myrm keeps diagrams in chat and optional MCP extensions.
**Our Advantage**: **Mermaid artifacts** and **render\_ui (A2UI v3.1)** cover most cases in-conversation. Editable whiteboards use **Excalidraw/tldraw MCP** — same industry pattern as Goose/Codex plugins, zero core maintenance.

### 5. Ultimate Omnichannel IM Coverage

Many competitors only support a few mainstream channels, with fragmented message formats and media processing capabilities.
**Our Advantage**: Natively supports 15+ channels (Slack, Discord, Feishu, iMessage, WeChat, Telegram, etc.), truly achieving "ubiquity." A unified underlying media processing pipeline ensures consistent Markdown rendering and interactive experiences across any platform.

### 6. Natural Language Driven Unattended Scheduling

The vast majority of Agents can only act as "passive response tools," requiring active user triggers to work.
**Our Advantage**: Built-in powerful unattended scheduling engine. With just a natural language sentence (e.g., "Send a briefing every morning at 8"), the Agent transforms into a proactive digital employee. Supports Webhook push and omnichannel reach.

### 7. Memory Deduplication for a Forever-Lean Brain

Over long conversations, Agents easily accumulate duplicate facts, causing the memory bank to bloat and retrieval accuracy to plummet.
**Our Advantage**: The underlying `dedup_semantics` mechanism strictly filters duplicate facts during writing (auto-deduplication for similarity ≥0.95). Keeps the memory bank forever lean and efficient, ensuring the Agent gets smarter without bloating.

### 8. Full-Chain Feedback Rejecting Silent Failures

Bulk operations without progress bars, network errors failing silently, and files deleted instantly upon "zero references" cause extreme user anxiety.
**Our Advantage**: Full-chain UI progress feedback, explicit exception Toast notifications, and retry mechanisms. Any action that jumps out of the current context has strong visual feedback. A built-in file system "Trash" soft-delete mechanism completely eliminates data loss anxiety.

### 9. Line-Level Parallel File Conflict Protection

When multiple sub-agents work on the same codebase simultaneously, file conflicts can silently corrupt code. AWS uses coarse file-path mutex waves; OpenAI Codex has no application-level protection at all.
**Our Advantage**: Three-layer defense — L1 line-level conflict detection (`check_conflict_pre_write`) blocks overlapping edits with precise line range info; L2 `FileActivityTracker` records every agent's write ranges; L3 `apply_parallel_write_isolation` auto-switches to `ISOLATED_COPY` workspace + deferred merge when multiple writers detected. Non-overlapping regions of the same file can be written concurrently (2x throughput vs AWS blocking). Automatic lifecycle cleanup on task completion — zero memory leaks. **1,199 tests verified, 0 failures.**

### 10. Industry's Most Complete HITL Security Approval System

SDK frameworks like CopilotKit only provide a simple Promise hook for approvals (respond to continue), with no risk assessment, no rollback, no batch approval.
**Our Advantage**: Myrm features a fully engineered HITL approval system — per-segment command risk annotation (safe/unknown/dangerous) + natural language impact explanation + screenshot BBox visual context + file-level snapshot rollback (pre\_rollback trigger) + external side-effect warnings + batch approval + command edit with secondary verification + 4-level Allow-always granularity (permission/tool/exact/pattern) + timeout policies + cross-platform notifications + disconnection recovery + AI reviewer smart denial. Covers Desktop, Mobile, and Web. **2,036 security tests passed (80 approval logic + 42 command parsing + 16 component-level + 33 framework approval + 1,865 security engine).**

### 11. Complete Developer Diagnostics Toolchain (Not a Simple Debug Panel)

CopilotKit provides a simple floating debug panel + console.log; Myrm provides a complete product-grade diagnostic ecosystem.
**Our Advantage**: 66+ SSE events all rendered as visual React UI + Browser/Desktop live view with element inspection + Eval Lab (8 assertion types + Recharts history) + distributed tracing (W3C traceparent) + session analytics + memory health dashboard + audit logs + session recording/replay + rate limit monitor + context health panels. **84 diagnostic tests verified.**
