Marks / Runtime
hermes-agent
Programmable capabilities
- 3 Capability interface Plugins plus MCP, toolset filtering, tool_search deferral; host-executed tools not shown. unresolved: host-executed tool interface
- 2 Reusable computation Skills with scripts persist; no unit re-run with inputs; execute_code kernel per conversation; cron stores prompts only
Review finding
- 2 Capability transfer Skills-hub install with quarantine; children always fresh, no fork-vs-fresh choice shown (level 3 unmet). unresolved: session fork
Review finding
Skills are portable directories, installed from the skills hub through a quarantine step or copied. A fresh agent sees an
<available_skills>index. Environment requirements are declared, not bundled. Delegated children start without the parent transcript or context files and get only goal and context text. P33P34P35P36
Evidence and memory
- 3 Durable evidence Configurable retention (auto_prune off); rewind soft-deletes, compaction keeps rows; agent-unalterable records absent (level 4 unmet)
- 3 Context recovery Default session_search FTS5 search/read over kept compacted rows; no in-tree relevance injection (providers external)
Review finding
- 3 Memory maintenance Default background review and idle curator archiving; failures swallowed at debug, not retried (level 4 unmet)
Review finding
Specialist collaboration
- 2 Specialist definition Model via delegation.model, roles leaf/orchestrator; L3 unmet: no declarative per-specialist tool scope; unresolved: profile-route toolsets
Review finding
Built in (
delegate_task). Fresh agent per child: parent toolsets minus a blocklist (delegate, clarify, memory, send_message, cron), parent model unlessdelegation.modelis set. Roles: leaf/orchestrator only, plus profile routes. CLI children cannot prompt; they auto-deny by default C32–C37; Note C-3. - 3 Continuation Child transcripts persist; resumable_subagents rows survive restart (48 h TTL); L4 unmet: no durable child mailbox
- 3 Coordination Depth 1, 10 concurrent, parent interrupt fans out (background units excepted); L4 unmet: no delegate messaging, no tree budget
Execution controls
- 1 ↑3 Confinement opt: terminal.backend docker Default approval layer only; docker backend confines shell and file tools (they use the terminal env); network on, so not L4
Review finding
No OS boundary by default (
terminal.backend: local). Approval gatesmart(an auxiliary-LLM guardian) runs after hardline command floors that cannot be bypassed;--yoloallows everything else. Contexts with no matching unattended rule are allowed. File tools deny writes (not reads) to credential and system paths. [opt: docker (cap-drop ALL, network on by default), modal, daytona, vercel, ssh]. X33X34X35X36X37X38X39 Note X-3 - 2 Credential handling Local subprocesses get env minus provider/cloud blocklist; L3 unmet: no cleared env; .env/auth.json readable
Review finding
Partial, built in. Local subprocesses inherit the env minus a blocklist of provider, messaging and cloud keys plus registry key vars; other variables pass through. MCP stdio servers get an allowlist. Secret redaction is on by default for logs, terminal output and child summaries.
.envandauth.json(0600) stay readable to the local shell. X40X41X42X43X44 - 1 ↑2 Budget enforcement opt: run_budget_seconds Iterations unlimited by default, $ reporting only; opt-in wall-clock run budget is a level-2 work limit (R3)
Review finding
Iterations are unlimited by default (
max_iterations=sys.maxsize), reset each turn. Each subagent gets its own 250-iteration budget, not drawn from the parent's. $ is estimated after each call from a bundled price snapshot plus models.dev, for reporting only. No $/token admission check. [opt:run_budget_seconds; context preflight; API 429 at 10 concurrent runs]. X45X46X47X48
Product integration
- 4 Embedding interfaces In-process
AIAgentwith callbacks plus an ACP stdio server (new/load/resume/prompt/cancel) with an approval callback; two default bindings - 2 Declarative configuration Structural checks warn, and unknown root keys are deliberately ignored. Not rejected, so level 3 unmet
- 3 Durable execution Turn lease serializes (interrupt default), and a recovery turn re-drives
resume_pending. Disconnect survival is opt; unresolved: whether/v1/runsresumes after restartReview finding
Varies by surface. Gateway: per-session turn lease; busy input interrupts by default [opt: queue, steer]; shutdown marks sessions
resume_pendingand re-drives them. API SSE disconnect interrupts the run;/v1/runsis connection-independent with idempotency keys. No step replay after a crash (Note I-4). I41I42I43I44I45I46
Operations and verification
- E+O * Service dependencies SQLite store; clients start the gateway on demand, and an auto-started gateway exits after 600 s idle
- 2 Execution records SQLite transcripts with tool calls and
end_reason; rewritable. unresolved: optional OTel or similar telemetry is not in the report, so level 3 unmetReview finding
- 2 Result checks Stop gates re-prompt up to 3 times, then release the held answer; the schema is passed on unvalidated. unresolved: outcome recorded
Reproducibility
- Repository
- https://github.com/NousResearch/hermes-agent
- Branch
- main
- Exact revision
3ef8bf4f68c91dce2870eba5625426b32ac6ba58- Commit date
- 2026-11-28T03:40:45-08:00
Metadata
- Exact revision
3ef8bf4f68c91dce2870eba5625426b32ac6ba58, committed 2026-11-28T03:40:45-08:00- Version (source)
- No version in manifests:
pyproject.toml0.0.0andpackage.json1.0.0are placeholders by policy; versions are stamped at release time. In-tree compat table suggests post-v0.23.1 (rc toward v0.23.2) M7M8M9 - License
- MIT (
LICENSE;pyproject.toml) M7 - Audited component / deployment
- Python core:
run_agent.py,agent/,tools/,persistence/, plugin system, and embedding surfacesacp_adapter/,tui_gateway/,gateway/(incl. API server),cron/M10 - Supported runtime platforms
- Python ≥3.11,<3.15, only 3.14 actually supported [S]; Linux, macOS, WSL2, native Windows, Android/Termux aarch64 [D]; Debian-trixie Docker image M7M11
- Evidence coverage
- Deep: tool registry, delegation, approval, config, memory/skills headers, session schema, hooks. Skimmed: API server, ACP, Docker backend, compression. Not: desktop/TUI/web TS, platform adapters,
evals/,pm/(~3,600 non-test .py files)
Pinned external dependencies (capability-supplying)
- Package@version
[email protected](core);[email protected](extramcp);[email protected](extraacp);[email protected]- Role
- LLM wire client; MCP; ACP; Anthropic
- Lockfile / source
uv.lock:4344-4345,:3554-3555,:37-38M11
- Package@version
[email protected],[email protected],[email protected](extras);[email protected];[email protected](extra);fastapi/uvicornranges only- Role
- remote sandbox backends; cron; keychain; dashboard
- Lockfile / source
pyproject.toml/uv.lock
Specialist collaboration: Supporting table: parent→child authority
- Approval / permission policy passed to child
- CLI: non-interactive callback, auto-deny (opt auto-approve). Gateway: per-session approval queue (code comment) C35
- OS-level confinement of child
- Same terminal backend as the parent (not separately traced)
- Widening path found
- Global
delegation.subagent_auto_approveC36
Operations and verification: Notes
- Finished process
- Session
end_reason - Delivered answer
- Gateway delivery status (not traced)
- Structural validity
- Delegation
output_schema - Task correctness
- Opt-in only (see below)
Operations and verification: Notes
Part A: platforms, clients, IDE, messaging
- Native platforms
- Linux, macOS, native Windows, WSL2, Android/Termux [D]; Docker image M11
- Terminal / web / desktop clients
cli.pyREPL; Ink TUI over authenticated WS [D]; web dashboardhermes dashboard[S] A9A10; Electronapps/desktop(outside audited component, not reviewed)- IDE & coding integrations
- ACP server
acp_adapter/A11 - Messaging channels
- 26 platform plugins (Slack, Discord, Telegram, Signal, WhatsApp, Matrix, Teams, email, SMS, IRC, WeCom, Feishu, LINE, …) [S listing; adapters not audited] A12
Part B: voice/media, onboarding/routing, fleet administration
- Voice / media
- TTS/STT, voice mode, image/video generation, browser automation, computer-use extra [S presence]
- Onboarding & session routing
- Session key
<ns>:<platform>:<chat_type>[:chat_id][:thread][:user], per-user group sessions by default; deny-by-default authz chain; DM pairing codes (8 chars, 1 h, lockout after 5 failures) A48A49A50 - Fleet administration
- Isolated profiles served by one process, API under
/p/{profile}; stable/canary update channels [S partial]; no multi-host control plane found A51
Source/doc conflicts
- Conflict
- Manifests say 0.0.0 / 1.0.0; real version only from build stamps or tags, neither present M7M8
- Which side the audit entry follows
- compat table as nearest anchor
- Conflict
- Iteration-budget docstring/defaults vs code (audit reports parent unlimited, each child a fresh 250) M55
- Which side the audit entry follows
- code, per audit (docstring itself says child budgets are separate)
- Conflict
- Config comment says retention runs at CLI/cron startup; no call site found
- Which side the audit entry follows
- code
Coordinator re-checks
- Claim
- Subagents inherit the parent's iteration budget (in-code docstring/comment:
agent/iteration_budget.py:1-5gives 500/50,agent/agent_init.py:2097says children inherit) - Lines read
tools/delegate_tool.py:334(iteration_budget=None, # fresh budget per subagent);agent/agent_init.py:2098- Result
- Code contradicts its own comments: each child gets a fresh budget (250 by config); website docs not involved