OpenProgram Docs

Framework comparison

Whole frameworks only. Subsystem detail stays in the linked comparisons.

Conclusions

FindingResult
StrongestSessions are graphs, and code execution is recorded as nodes.
WeakestStandard local entry points exist; a stable remote-control contract does not.
UnexpectedCodex code mode: model-written code invokes tools.
Strongest: evidence
  • No second implementation among the twelve was confirmed to record the function call tree in conversation history.
  • Model tool results and successfully persisted Agent method calls (session DAG recording on, expose not hidden) are code nodes. They share caller and predecessor edges with user and llm nodes, in the session's append-only log. Multiple heads reference different history branches.
  • OpenClaw Control UI has fork, rewind and branch; pi-mono JSONL carries parentId and /tree switches branches. OpenProgram adds one DAG across user, llm and code nodes, where code nodes hold both tool results and nested calls.
  • Transcript branches and worktrees are independent. Agent branches share the working directory; only jobs bound to worktree_id isolate file changes.

runtime/context/git/dag.py · state/store/session/session_store/ · runtime/agent/call_state.py

Weakest: evidence
  • Present: bundled, dynamic community and custom providers, MCP client, skills, plugins, an authenticated stdio MCP server for tools, an ACP server for sessions and an OpenAI-compatible /v1/chat/completions on the Worker.
  • Unconfirmed: stable versioned remote-control SDK, complete public headless event protocol, maintained IDE extension. Owner-authenticated WebSocket and Python library entry points are internal or embedded and promise no external compatibility.
  • OpenProgram and OpenClaw both keep agent guidance in agent workspaces. OpenClaw ships migrate-claude and migrate-hermes; Codex desktop and CLI import Claude Code and Cursor setup and recent work. OpenProgram has no importer for external sessions, configuration or skills.

extensions/mcp/server/server.py · interfaces/acp/server.py · interfaces/cli/commands/capabilities/mcp.py · runtime/agent_registry/workspace.py

Unexpected: evidence
  • The model writes JavaScript that invokes tools in the current turn. In CodeModeOnly the visible tools are only exec and wait. Four crates and a V8 runtime implement it; the feature registry disables it by default, so checking default behaviour misses it.
  • OpenProgram generates a workflow package and runs a versioned Python workflow after static validation and atomic publication. It has neither per-turn code mode nor a surface reduced to exec and wait.

codex-rs/features/src/lib.rs · code-mode, code-mode-host, code-mode-protocol, code-mode-runtime, v8-poc

By use case. Coding: three core Python and TypeScript LSP tools (diagnostics, references, definition); no maintained IDE extension, formatter collection, tree-sitter index or GitHub Action. General harness: OpenClaw and Hermes have far more integrations than OpenProgram's four channels.

OpenProgram

A general-purpose Python agent harness for one local user: the openprogram command and a persistent worker on port 18100.

Surfaces
TUI (Ink and React), Web (Next.js), Electron desktop, four channels: Telegram, Discord, Slack, WeChat
Turn processing
Surfaces share ChatAgent().run_turn; the Python library enters through Agent or Runtime straight into agent_loop. Context assembly L0, L1, L2; compact when over budget; tool.before gate can deny; finalize writes ContextCommit output and Git commits
Threads
Web and TUI: daemon thread per turn. JobRunner: bounded pool. Dispatcher: asyncio loop per turn. Scheduler: threads and processes
Session storage
One append-only log per session is the source of truth, three roles (user, llm, code), caller and predecessor edges, branch heads. context/commits/ holds per-turn context records
Other storage
usage.db: SQLite usage ledger. Memory: Markdown with rebuildable in-memory BM25 and embedding indexes, background writes, three memory_* tools
Tools
Dynamic registry in four domains (todo, task, agent, message); deferred catalog plus tool_search
Extensions
MCP client and server, ACP, skills, plugins, 37 events, agent.json; bundled, dynamic and custom providers
Authentication
Web and WebSocket: owner_auth with a per-start token and profile-specific cookie. Channels: pairing and allowlists (interfaces/channels/inbound/_access.py), a separate source-identity boundary. Not multitenant

Codebase size

ProjectFirst-party lines
openclaw1,987,813
codex-cli1,070,595
hermes-agent544,917
opencode366,499
OpenProgram254,320: Web 73 thousand, TUI 35 thousand, openprogram/ 134 thousand
pi-mono116,599
weclaw5,723: WeChat forwarding and ACP calls
pi-ai4,021: read-only slice of pi-mono packages/ai, protocol reference for the Python Codex provider, no capability comparison

Only .py, .ts, .tsx, .js, .rs, .go; no tests, node_modules, dist, target or vendor. Static counts at fixed revisions. Size indicates complexity, not quality. OpenClaw and Codex's lead is mainly channels, TUI and IDE integration.

Twelve references

Claude Code, Codex, OpenClaw and OpenCode capabilities come from the official stable releases in evidence. Code counts, internals and other references come from fixed versions. These are not one audit.

Four execution models

ModelShapeExamples and state
Single processTerminal, agent loop, model. Exits when donepi-mono: JSONL session tree, parentId links, leaf is current. weclaw: forwards to an external ACP agent
Local client and serverTUI client over RPC to an HTTP server in a workeropencode only: SQLite and Drizzle, messages in a seq log, system-context snapshots in an epoch table
Persistent daemonChannels, Web and TUI share one process with session routing and a registryOpenProgram: append-only log per session. hermes-agent, codex: SQLite. openclaw. claude-code: JSONL per project
Remote executionLocal session, remote or cloud commandscodex: remote and cloud tasks. claude-code: cloud teleport. openclaw: optional cloud workers, managed worktrees. hermes: seven backends. OpenProgram: docker.py, ssh.py backends, no sandbox integration or hosted service

By dimension

DimensionOpenProgramStanding
Product formGeneral-purpose harness—
Target userSingle local user—
Execution modelPersistent workerComparable
State storageAppend-only log per sessionAhead
Context assemblyL0/L1/L2 component registryAhead
Project instructionsAGENTS.md in agent workspaceComparable
Tool surfaceDynamic registry; persistent presets + deferred tool_search catalogComparable
Permission approvalFive modes + rules + tool.before gateComparable
ExtensionsPlugins + skills + MCP client + 37 eventsComparable
ChannelsFourBehind
InterfacesTUI + Web + ElectronComparable
External interfacesAuthenticated stdio MCP server + ACP; no stable remote SDKComparable
Observability and billingAppend-only ledger with cache reads/writes and itemized costsComparable
The other seven, by dimension
Dimensionclaude-codecodexopencodepi-mono
Product formCoding CLI + cloudCoding CLI + cloudCoding CLI + SaaS servicesCoding TUI + library
Target userIndividual, subscription or enterpriseIndividual; seven configuration layersIndividual developerSingle local user
Execution modelIn-process + background supervisor + cloud VMsIn-process + App Server + cloudLocal client/server separationSingle process
State storageJSONL files per projectRollout JSONL + five SQLite databasesSQLite + DrizzleJSONL session tree
Context assemblyStable content first for prompt cachingPer-model prompts compiled into the binary13 model-specific prompt setsPrompt restricted to enabled tools
Project instructionsFour CLAUDE.md levels, including system-wideAGENTS.md accumulated below Git rootGlobal + project; first matchAll ancestor directories
Tool surfaceAbout 45 in the official reference, many conditional; ToolSearchAbout 28; code mode can reduce to two16; model-dependent apply_patchSeven; three disabled by default
Permission approvalSix modes: default/acceptEdits/plan/auto/dontAsk/bypassPermissionsFour, including Granular; execpolicy DSLAsk by default; Bash command tokenizationNone; tool allowlist only
ExtensionsPlugin marketplace + 33 hook events; command count undocumentedPlugin marketplace + 11 hooks; model can self-installPlugins with 19 hooks; can render inside TUIAbout 40 events + package manager; no MCP
ChannelsRemote Control, Slack; Telegram, Discord and iMessage channels in research previewSlack integration; depends on cloud account and workspace configurationGitHub + Slack + ACP + two IDEsNone
InterfacesTerminal UI + Vim + voice dictationratatui; IDE context over socketsOpenTUI + Web + ElectronCustom TUI framework that can run DOOM
External interfacesAgent SDK + Remote ControlApp Server + Python/TypeScript SDK; codex mcp-server deprecatedHTTP service + JS SDK + ACPRPC mode + JSON mode + SDK
Observability and billingOTel; print-mode budget cap and spend limitsOTel + analytics; tokens but no currency amountsOTel + data lake; stats commandOptional installation counts; scripted cost aggregation
Dimensionopenclawhermes-agentweclaw
Product formMultichannel gateway platformPersonal assistant + research harnessWeChat relay
Target userSingle operator; multiple channel usersIndividual; pairing codes for strangersIndividual; no authentication
Execution modelGateway + paired devices, opt-in cloud workers and managed worktreesIn-process + gateway daemonForwarding daemon
State storagePer-agent SQLite for runtime state and transcripts; JSONL only for archives or legacy migrationSQLite + FTS5In memory; lost on restart
Context assemblyWorkspace files + bootstrap budgetThree layers: stable/context/volatileNone
Project instructionsWorkspace AGENTS/SOUL/TOOLSFour formats + subdirectory guidanceNone
Tool surfaceAbout 35 in 11 groups; tool_searchAbout 82; 32 toolsetsZero
Permission approvalLayered restrictions; approval cards in chat55 dangerous patterns; auxiliary-LLM auto-approvalAutomatically approve all
Extensions126 plugins + 59 skills + ClawHub20 hooks + shell-script hooks + 178 skillsConfiguration file only
ChannelsTen native channels; over 20 plugin channelsAbout 26, plus webhooks and cronOne
InterfacesTUI + control panel + macOS/iOS/watchOS/Android nodesInk TUI + React WebTerminal only
External interfacesThree MCP server forms + OpenAI compatibility + 74 RPCsMCP server + OpenAI compatibility + ACPLocal HTTP push
Observability and billingTrace export + OTel + PrometheusLog redaction + Langfuse; provider quota retrievalOne log file

OpenProgram, OpenClaw and Hermes all serve multiple entry points from persistent services. Remaining gaps: channel breadth, stable remote SDK, cross-worker session placement, complete versioned headless event contract. Unpinned star, fork and skill counts are not evidence.

Separate pages

PageContents
Missing capabilitiesWhat the twelve have that subsystem comparisons missed
Distinctive mechanismsWhat OpenProgram has, and its closest counterparts
Four Chinese CLIsWhat each Tencent CLI changes from upstream

Candidates

ItemStateWhere
Scripted providerPartial: test-onlytests/component/providers/scripted_provider.py
MCP serverDone: authenticated stdio, allowed tools only, existing registration, permission modes and allow patterns. No remote SDK, OpenAI-compatible endpoint or inbound webhooksextensions/mcp/server/server.py, interfaces/cli/commands/capabilities/mcp.py
Trajectory exportPartial: Markdown or HTML, redactedstate/store/session/reading/export.py
Recoverable deletionPartial: trash list, trash restore, manifesthost/sandbox/recoverable_delete.py, interfaces/cli/commands/maintenance/trash.py
Feature registry and default stagesNot implementedNone
External session and configuration importNot implemented. External-CLI credential discovery migrates none of thisNone

Remaining work needs separate design, estimation and approval. Excluded: training-data pipelines, a native mobile app, a complete formatter collection, a new execpolicy-style argument DSL. ToolName prefix, glob and exact rules and the Python and TypeScript LSP tools stay; more languages follow concrete demand.

Target

GoalTarget
A session is portable, shareable and reproducibleThe session log already holds the whole graph. Transfer it to another machine, publish it redacted, branch from any node: one representation, not three export formats.
Other programs operate OpenProgram through stable contractsMCP server and ACP exist. Still needed and unapproved: a stable versioned remote-control contract and external session and configuration import.
One capability registry, one reproducible recordEach capability has a stage and default switch; every run can export a redacted complete trajectory.

Evidence

ReferenceEvidenceNotes
OpenProgramCurrent code, CLI, Web and TUI entry points and their testsMCP server, ACP, LSP, mid-turn steering, Scheduler, cross-session agent provenance, session export, cross-provider history compatibility and recoverable deletion were checked against current implementation boundaries. Design-only candidates are not marked complete.
claude-codeOfficial stable release v2.1.252 and official documentationOnly public documentation and releases are used; anything they do not describe is treated as undocumented.
codexOfficial stable release rust-v0.152.0 and official documentationWorktrees, cloud, Web, GitHub, Slack, Automations, import and App Server/SDK count as official public capabilities. Older local source only supplements internal structure.
openclawOfficial stable release v2026.8.1 and official documentationsession SQLite/search/archive, paired devices, cloud workers requiring explicit profile configuration, managed worktrees, Control UI and Workboard were checked against documentation for the corresponding release.
opencodeOfficial stable release v1.18.25, tag-pinned source and official documentationScout has a documentation/source discrepancy and remains unconfirmed in stable source. Worktree core exists, but routing remains experimental.
Four other referencesreferences/ fixed source: Hermes, pi-mono, weclaw and the pi-ai protocol referenceNot claimed to be the latest releases; capability conclusions are limited to the specified evidence.
Four Chinese projectsLocal~/.npm-global/lib/node_modules/ npm packages; inspect dist/bundled artifactsThe first three are wrappers whose changes focus on environment and configuration; the Gemini variant is a source fork.
TraeImplementation unavailableNot installed locally; absent from /Applications, application-support directories, and VS Code/Cursor extension directories. No speculation.

Official pages behind changed assessments: feature matrix evidence.

Source discrepancies

ItemSourceAssessment
Codex long-term memoryA complete subsystem in source (two-stage read/write pipeline and its own database), marked Stable in the feature registry but default_enabled: false. Looking only at default behavior would incorrectly suggest it is absent; an earlier assessment made this error.Counts as present. A default-off subsystem still exists; an earlier assessment missed it.

Status and related pages

Candidates are not approvals, and the target is not fully implemented. Code size and internal structure describe fixed local versions.

Framework overview
How one conversation runs inside OpenProgram
Feature matrix
Same twelve references by feature inventory: 160 canonical entries, 56 candidate differences. Counts do not combine with this page
Sandboxing
Architecture diagram
Agent collaboration
Only OpenProgram limits subagent tools by remaining message budget
Long-term memory
Adoption
Speaker identity
Multi-user conversations
Chat attachments
Context composition
Extension admission
Last updated · 2026-11-25