Skip to content

About

Reformed Agent: a Rust port of Hermes Agent that runs without Python or Node.js.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Latest commit

 

History

2,193 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reformed Agent. A Rust port of Hermes Agent that runs without Python or Node.js. Pixel art of a hammer striking an anvil beside the Reformed Agent wordmark in slab-serif block letters.

Rust-first autonomous agent runtime with functional parity goals against NousResearch/hermes-agent. Reformed Agent is a fork of Hermes Agent Ultra and keeps its reliability, security and operator-control layer. It installs as Rust binaries and needs no Python or Node.js runtime to run the agent, whilst upstream's source installer adds Python 3.14, Node.js, npm, pnpm, ripgrep and FFmpeg; tools that call another program, such as FFmpeg for video or npx for some MCP servers, still need it.

Install

Prebuilt binaries

Linux and macOS (x86_64, aarch64):

curl -fsSL https://github.com/yungSNAT/reformed-agent/releases/latest/download/install.sh -o install.sh
bash install.sh

Windows (x86_64, PowerShell):

irm https://raw.githubusercontent.com/yungSNAT/reformed-agent/main/scripts/install.ps1 -OutFile install.ps1
.\install.ps1

Homebrew (macOS and Linux):

test -d "$(brew --repository local/reformed)/Formula" || brew tap-new --no-git local/reformed
curl -fsSL https://github.com/yungSNAT/reformed-agent/releases/latest/download/hermes-agent-ultra.rb -o "$(brew --repository local/reformed)/Formula/hermes-agent-ultra.rb"
brew install local/reformed/hermes-agent-ultra

The repository copy of the formula is packaging/homebrew/hermes-agent.rb.

Before unpacking a release asset, both install.sh and scripts/install.ps1 verify it against the release's SHA256SUMS and, when cosign is on PATH, verify SHA256SUMS against its signature from this repository's release workflow for that tag. Releases after v0.22.0 are signed with cosign 3: verify them with cosign 3.0 or later, and use each archive's own <archive>.sigstore.json bundle with cosign verify-blob --bundle. Set HERMES_REQUIRE_SIGNATURE=true to refuse any install that cannot be verified that way. Both installers install hermes-agent-ultra and hermes-ultra, leaving any existing hermes command untouched.

From source

cargo install --git https://github.com/yungSNAT/reformed-agent hermes-cli --locked --bin hermes-agent-ultra --bin hermes-ultra

This installs hermes-agent-ultra and hermes-ultra only, leaving any existing hermes command from upstream NousResearch Hermes untouched. Run setup afterwards with hermes-ultra setup.

From a checkout

git clone https://github.com/yungSNAT/reformed-agent.git
cd reformed-agent
bash scripts/install.sh

The installer checks for a matching prebuilt release archive first and falls back to building from source with cargo when run from a checkout for a target without a release asset. Set a custom install path with INSTALL_DIR=/usr/local/bin, and pass --setup to run the setup wizard after installing.

Use

Need a shorter path? See README_QUICKSTART.md.

Setup:

hermes-ultra setup

Interactive session:

hermes-ultra

Interactive mode is single-instance per Hermes home by default (prevents accidental parallel TUI sessions sharing the same state).
If you intentionally want parallel interactive sessions, run:

HERMES_ALLOW_PARALLEL_INTERACTIVE=1 hermes-ultra

One-shot query:

hermes-ultra chat --query "summarize this repository"

A one-shot run (-z "<prompt>" or chat --query) can be capped for that run alone. --max-turns <N> overrides max_turns, HERMES_MAX_TURNS and HERMES_MAX_TURNS_UNLIMITED; --max-cost <USD> overrides agent.max_session_cost_usd and must be 0 or a positive number. 0 lifts either limit for the run (config takes 0 for the cost cap, not for max_turns). A command run without a query and slash commands such as -z "/init" refuse the flags. When a flag's limit stops the run, the reply so far is still printed and stderr names the limit:

hermes-ultra -z "fix the failing test" --max-turns 20 --max-cost 0.50
Exit code One-shot outcome
0 Finished, or stopped by a limit set only in config (a cost stop prints the guard's note on stderr)
1 Error; the flags outside a query run, on a slash command or on a -z run under HERMES_ONESHOT_APP_RUNTIME or HERMES_QUORUM_AUTO_ARM, which they do not cover; or --max-cost on a run whose estimated spend stayed $0 (no usage or price reported, or a $0 price), which it could not stop, even when --max-turns also stopped it (an interrupted run excepted)
2 Usage error, such as --max-cost NaN
3 Stopped by --max-turns or --max-cost, also when the reply that crossed the cost cap was the complete final answer

The cost cap is an estimate from each reply's reported usage and the model's listed price. It is checked after each reply, so spend can pass it by up to one reply; the reply that crosses it is kept and its text, if any, is printed, and the exit code is 3 even when that reply was the complete final answer (stdout then holds the whole answer). A reply with no usage or no listed price counts as $0, so a run that moves to such a model part way can pass the cap. At 80% of the cap the run switches to the first fallback model (fallback_model, fallback_models or HERMES_FALLBACK_MODELS), or to openai:gpt-4o-mini on OpenAI when none is set. A --max-turns stop asks the model for a summary in one more request, which the cost cap does not count. The summary request after a tool-loop guard stop (tool calls failing turn after turn) is not counted either; it cannot follow a cost stop, so spend still passes the cap by at most one reply. A query run the flags accept starts no sub-agent: delegate_task returns a pending request and spends nothing. Either flag also turns off, for that run, the end-of-run memory and skill review and the running of cron jobs (due jobs and the cronjob tool's run, which is refused), as each runs its own loop, which the limits would not count. A slash command (such as /init or a skill command) and a -z run under HERMES_ONESHOT_APP_RUNTIME or HERMES_QUORUM_AUTO_ARM run in the app runtime, which can start one, so the flags refuse both. Requests a tool makes itself (vision_analyze, video_analyze, browser_vision, image_generate, video_generate, text_to_speech, tts_premium, web_search, web_extract, web_crawl, session_search summaries and mixture_of_agents) are not counted by either flag.

Gateway mode, in the foreground. Without chat platforms the gateway serves only cron jobs and HTTP webhooks; hermes-ultra gateway setup enables platforms:

hermes-ultra gateway run

On Linux and macOS, gateway run also serves Hermes Desktop's local mode: the desktop starts and finds the local gateway, then chats over its session protocol (hermes-gateway-v1): new sessions, prompts with streamed replies and reopening a saved session. Turns run without tools, and a prompt sent whilst a turn runs is refused rather than queued. gateway run holds gateway.lock in the Hermes home, so a second gateway run for the same home exits at start-up. It listens on one 127.0.0.1 port, answers the desktop on gateway.sock (mode 0600) and writes gateway_state.json. SIGTERM stops it as Ctrl+C does. The desktop starts it with hermes gateway ensure --json. Local mode is off, with a warning, in a home too deep for a socket path or where gateway.lock cannot be locked safely (some network file systems). Creating, renaming and deleting profiles from the desktop is not served yet.

Deep diagnostics bundle:

hermes-ultra doctor --deep --snapshot --bundle

Migrating from Hermes

hermes-ultra migrate moves a Hermes Agent home into Reformed's:

hermes-ultra migrate                            # plan only: lists each item and writes nothing
hermes-ultra migrate --apply                    # migrate into a new home
hermes-ultra migrate --apply --into-existing    # add to a home that already exists
  • It reads ~/.hermes (%LOCALAPPDATA%\hermes on Windows, with HERMES_DATA_DIR_SUFFIX) unless --from names another home or a profile, and writes Reformed's home unless --to names another.
  • It moves config.yaml, .env, the sessions in state.db, memories/, skills/, SOUL.md, plugins/, cron/jobs.json and scripts/. It does not move auth.json: sign in to each provider again.
  • It replaces nothing. An item already in the Reformed home is listed and left unchanged, and a new home is removed again if the run fails. Links are neither followed nor copied, no file content is printed, and on Unix every file written is owner-only.
  • Sessions convert as import-hermes-sessions converts an export. state.db is opened read-only; if it reports unapplied changes, stop Hermes, or start and stop it once.
  • Cron jobs are written paused, because Reformed reads schedules in UTC. Cron expressions keep their fields, so check each one's time; interval and one-off jobs keep their times; a job Reformed cannot run the same way is skipped with its reason. Start each with hermes-ultra cron resume <id>.

Importing from Claude Code or Codex

hermes-ultra import-agent claude-code or hermes-ultra import-agent codex brings that agent's setup into this home:

hermes-ultra import-agent claude-code            # plan only: lists each item and writes nothing
hermes-ultra import-agent claude-code --apply    # import
hermes-ultra import-agent codex --apply          # the same for Codex
  • It reads ~/.claude (Claude Code, with ~/.claude.json beside it for MCP servers) or ~/.codex (Codex, with MCP servers from config.toml) unless --source names another folder. It never reads either agent's credentials.
  • CLAUDE.md, or Codex's AGENTS.md and memories/*.md, become entries in memories/MEMORY.md, within the memory tool's 2,200-character limit and scan; the old file is backed up first. MCP servers go into config.yaml (and mcp_servers.json for a command's arguments and environment); Codex's env_http_headers and bearer_token_env_var become ${VAR} references. Each skill folder with a SKILL.md goes into skills/claude-code-imports/ or skills/codex-imports/.
  • It replaces nothing: a server or skill this home already has is listed and left alone. Environment variables and headers whose names look like secrets are left out and named, as are a memory entry or a skill that looks like it holds a credential; add them yourself. Permission rules and custom slash commands have no equivalent here and are listed as skipped.

Embedding in another program

hermes_agent::embed runs the agent loop inside another Rust program, with that program's own provider and tools:

let agent = Agent::builder(provider)              // any LlmProvider
    .model("gpt-4o-mini")
    .tool(schema, |args| Ok(answer(args)))        // the program's own tools
    .build()?;
let reply = agent.ask("What time is it?").await?; // reply.text, reply.ending
  • By default the agent runs in its own empty home, removed when it is dropped, and reads nothing of the person running the program: no SOUL.md, memories or skills from HERMES_HOME, and no AGENTS.md, @file: references, code index or LSP notes from the working folder. It posts no checkpoint anywhere. .home(path) points it at a Hermes home instead.
  • A model is required, and max_turns defaults to 30. reply.ending says whether the run finished or stopped at the turn limit, the cost cap, an interrupt or another reason.

Against Hermes Agent

What Reformed has against Hermes Agent v0.23.1 (3b421578, released 10 November 2026), checked on 16 November 2026 against this repository's main and Hermes's source at that tag. Each cell links its evidence.

Area Reformed Agent Hermes Agent v0.23.1
Runtime One Rust binary; no Python or Node.js (Footprint) Python 3.14, Node.js, npm, pnpm, ripgrep and FFmpeg, from its installer (README)
Start-up and size 35.5 ms cold --version; 59.7 MB binary (Footprint) 881 ms cold --version; 901.6 MB install directory (Footprint)
Install Prebuilt release binaries (Linux, macOS and Windows) via scripts/install.sh, scripts/install.ps1 and Homebrew formula, plus cargo install from source; no Termux APT repository or MSIX package (Install) One-line installers for Linux, macOS, WSL2 and Windows, a Termux APT repository and an MSIX package (README)
Desktop app None Hermes Desktop (apps/desktop)
Terminal UI Yes, on Ratatui (hermes-cli/src/tui) Yes (README)
Chat platforms 17 built in: BlueBubbles, DingTalk, Discord, Email, Feishu, Home Assistant, Matrix, Mattermost, ntfy, QQ Bot, Signal, Slack, SMS, Telegram, WeCom, Weixin and WhatsApp (platforms, enabled by gateway-adapters-all) 26 bundled, adding A2A, Buzz, Google Chat, IRC, LINE, Photon, Raft, SimpleX, Teams and WhatsApp Cloud (plugins/platforms); Home Assistant is an official plugin (catalogue)
API server and webhooks Yes (api_server, webhook) Yes (api_server.py, webhook.py)
Terminal backends Local, Docker, SSH and Singularity in every build. Modal and Daytona are left out of the build; configuring one stops commands and file operations with an error rather than running them locally (manager.rs) Local, Docker, SSH, Modal, Daytona and Vercel Sandbox (tools/environments); Singularity is an official plugin (catalogue)
Importing another agent From Hermes (migrate, with a dry run by default), Claude Code and Codex (import-agent, likewise) and OpenClaw (claw migrate) From OpenClaw, Claude Code, Codex and others through the official agent-importers plugin (catalogue)
Cron, MCP, ACP, skills, subagents Yes (hermes-cron, hermes-mcp, hermes-acp, hermes-skills, delegation.rs) Yes (README, MCP, acp_adapter)
Batch trajectories and RL training None. The rl_* training tools and the batch runners behind them were removed: they reported simulated runs and wrote fixed text without calling a model Yes (README, batch_runner.py, trajectory_compressor.py)
Documentation This README and the guides under Documentation, in the repository; no published site A site at hermes-agent.nousresearch.com/docs
Licence MIT for the fork's contributions (LICENSE) MIT (LICENSE)

Slash-command and surface parity is measured against upstream v0.23.5, the pinned revision; see Status.

Against OpenClaw

What Reformed has against OpenClaw v2026.11.4 (d843d6af, released 16 November 2026), checked on 16 November 2026 against this repository's main and OpenClaw's source at that tag. Each cell links its evidence.

Area Reformed Agent OpenClaw v2026.11.4
Runtime One Rust binary; no Python or Node.js (Footprint) Node.js 24.16 or later, or 26.1 or later; its installers provide one when needed (README)
Start-up and size 46.7 ms cold --version; 44.8 MB binary (Footprint, measured against v2026.11.3) 577 ms cold --version; 546.8 MB npm prefix, at v2026.11.3 (Footprint)
Install Prebuilt release binaries for Linux, macOS, WSL2 and Windows, Homebrew formula, and cargo install from source; no npm package (Install) Installers for macOS, Linux, WSL2 and Windows, and the openclaw npm package (README)
Desktop and mobile apps None Apps for macOS, iOS, Android, Windows and Linux (README, apps)
Chat platforms 17 built in (Against Hermes Agent); OpenClaw has no channel for BlueBubbles, DingTalk, Home Assistant, ntfy, QQ Bot, WeCom or Weixin 25 bundled channel plugins, adding Buzz, ClickClack, Google Chat, iMessage, IRC, LINE, Microsoft Teams, Nextcloud Talk, Nostr, Raft, Synology Chat, Tlon, Twitch, X, Zalo and Zalo Personal (the plugins in extensions whose openclaw.plugin.json has the channels category); email arrives through an IMAP trigger (imap)
Importing another agent From Hermes (migrate), Claude Code and Codex (import-agent) and OpenClaw (claw migrate) From Hermes, Claude Code and Claude Desktop (migrate-hermes, migrate-claude)
Licence MIT for the fork's contributions (LICENSE) MIT (LICENSE)

Status

  • Base: Hermes Agent Ultra v0.22.0 at commit c002f8c4.
  • History: Ultra's plans, roadmaps and release notes up to the fork stay in Hermes Agent Ultra at that commit: docs and PARITY_PLAN.md.
  • Releases: published on GitHub Releases from v0.22.0 with checksummed, cosign-signed prebuilt archives (Linux x86_64/aarch64/musl, macOS x86_64/aarch64, Windows x86_64), install.sh and hermes-agent-ultra.rb (see Install).
  • Names: the binaries keep Ultra's names, hermes-agent-ultra and hermes-ultra, and its config home, ~/.hermes-agent-ultra.
  • Parity: the parity dashboard reports the latest checked comparison against the pinned upstream revision. See the slash-command divergences for missing commands, the intentional divergence rules for omitted files, the shared-file backlog for deferred reviews and the test coverage audit for missing or outdated evidence. The global parity proof records the release gate result and the checks that determine it.
  • Drift: upstream has moved since the pin. The daily Parity Audit run reports the current gap against upstream main in its job summary.
  • Windows: hosted CI only cross-builds for Windows. The tests of hermes-config, hermes-cron, hermes-environments and hermes-tools pass in a local Windows run (cargo test -p hermes-config -p hermes-cron -p hermes-environments -p hermes-tools); the other crates' tests have not been run on Windows. Local shell commands and cron scripts need a POSIX sh from Git for Windows or MSYS2 on PATH. They run without shell init files.
  • Code analysis: the SonarCloud ratings cover the Rust crates in crates/ and the other files outside the excluded paths. Content inherited from Ultra (scripts/, skills/, optional-skills/, ui-tui/, plugins/, tests/ and website/) and the vendored crates in third_party/ are excluded from analysis; .sonarcloud.properties lists each path and why.

Footprint

Reformed Agent v0.22.0 had the smallest installed payload of the 4 Linux builds in the 28 November 2026 footprint benchmark. Its 41.49 MiB executable was 18.1% smaller than the next smallest build.

Measured on 13 November 2026 against Hermes Agent v0.23.1 and on 15 November 2026 against OpenClaw v2026.11.3.

Measure Reformed Agent at 5cdde8fd Hermes Agent v0.23.1 (3b421578)
Installed size 59.7 MB binary (21.0 MB as the release .tar.gz) 901.6 MB install directory, 2.68 GB home after install
--version, cold page cache 35.5 ms, 13.9 MiB peak RSS 881 ms, 36.5 MiB peak RSS
--version, warm 4.6 ms, 13.9 MiB 353 ms, 37.0 MiB
doctor, cold page cache 55.0 ms, 14.2 MiB not comparable (see below)
doctor, warm 9.2 ms, 14.3 MiB not comparable

Method:

  • Machine: one x86_64 Linux machine (AMD Ryzen 7 4800H, 4 CPU threads available to the run, 31 GiB RAM) running CachyOS with Linux 7.3.3 and rustc 1.99.1. It was not idle: the load average was 2.46 before the runs and 2.35 after.
  • Network: none. Both tools ran in a network namespace with no interfaces up, each in its own scratch home (empty before the first run for Reformed, as the installer left it for Hermes), with no account or key.
  • Builds: Reformed was built with cargo build --locked --release -p hermes-cli --bin hermes-agent-ultra. Hermes was installed by its own installer (install.sh --non-interactive --skip-browser --skip-computer-use).
  • Figures: wall-clock medians of 5 cold runs (page cache dropped before each) and 10 warm runs. Peak RSS is the largest resident set of any process in the run.
  • Hermes doctor: it runs 44 network connectivity checks, so offline it took about 95 s and exited 1. That is not a start-up time.

Against OpenClaw, measured on 15 November 2026 on the same machine with the same method except as noted:

Measure Reformed Agent at a9fa2077 OpenClaw v2026.11.3
Installed size 44.8 MB binary 546.8 MB npm prefix, 332.9 MB home after install
--version, cold page cache 46.7 ms, 12.4 MiB peak RSS 577 ms, 65.8 MiB peak RSS
--version, warm 5.2 ms, 12.3 MiB 98.2 ms, 66.2 MiB
  • OpenClaw was installed by the npm route in its README (npm install -g [email protected] --allow-scripts=openclaw) into a scratch prefix and home, with the machine's Node.js v26.13.1, which the installed size leaves out. Both tools ran with an empty scratch home.
  • The machine was busier than for the Hermes table: the load average was 7.19 before the runs and 5.28 after, so Reformed's figures here differ from the table above.

These are start-up and size figures from 1 machine, not a general speed comparison.

What Reformed changes

  • Reformation skin: the default terminal theme, a palette for a pure black canvas
  • Hermes history import: hermes-ultra import-hermes-sessions <export.jsonl> --profile-dir <dir> converts a Hermes JSONL session export into resumable, searchable sessions in a new profile
  • Hermes home migration: hermes-ultra migrate (see Migrating from Hermes)
  • Tool guard: security.tool_guard names a program that speaks Claude Code's PreToolUse hook format; when it is set, local terminal commands, write_file, patch and cron scripts ask it first and run only on a clean allow (see security.md)
  • Stream lifetime cap: agent.stream_max_lifetime, ported from Hermes
  • Pinned parity reference: the parity gates compare against one recorded upstream revision, so a day's upstream commits cannot fail an unrelated change
  • Provider routing: retries keep the configured endpoint and provider-specific credentials. Vertex AI supports service-account credentials and application default credentials.
  • Gateway replies: API replies keep the final answer after tool progress messages and handle streaming previews and UTF-8 chunks.
  • Browser tools: local and cloud browsers use Chrome DevTools Protocol, with HTTP discovery for cloud sessions and screenshot analysis through the configured vision model.
  • Windows: cron scripts and local shell commands find sh through the inherited PATH, cron refuses rooted and drive-relative script paths, text-to-speech command providers run without a shell and debug builds of the CLI no longer overflow the stack.
  • Container image: the Dockerfile builds with the pinned toolchain and the image runs as an unprivileged user.
  • Lint gate: cargo clippy --workspace --all-targets -- -D warnings passes on Linux and Windows, and the warning allowlist is empty.

Documentation

Guides for this fork live in the repository; there is no published documentation site yet.

The user guide under website/docs is inherited from Hermes Agent and Ultra and is only partly updated for this fork. Where it disagrees with this README, the README describes this fork; for example, its configuration page lists 7 terminal backends, but this fork's build has 4: local, Docker, SSH and Singularity (see Against Hermes Agent).

Development

Repo-local CI is the authoritative gate for development and release confidence. GitHub Actions are a hosted mirror of the repo contract when they run; they are not required as the source of truth.

The parity governance tests use pytest 9.2.0. Set PARITY_PYTHON to the Python executable for that environment if it differs from python3.

CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-target} bash scripts/run-repo-ci.sh

The Rust toolchain is pinned in rust-toolchain.toml. See docs/demo.md for the one-command demo/readiness path.

Interested in helping? Start with CONTRIBUTING.md for setup, PR expectations, parity rules, and the no-stub completeness gate.

Inherited from Hermes Agent Ultra

Everything in this section is inherited from Ultra and describes the runtime this fork builds on.

What You Get

  • Fully Rust-native core runtime (agent loop, tools, gateway, skills, CLI/TUI)
  • Multi-provider inference routing and OAuth-capable provider flows
  • First-class local/self-host backends: Ollama, llama.cpp/llamafile, vLLM, MLX, Apple ANE endpoint, SGLang, TGI, LM Studio, LMDeploy, LocalAI, KoboldCpp, text-generation-webui, TabbyAPI
  • Tool runtime with policy enforcement, MCP integration, cron, and memory backends
  • Parity upkeep system for upstream drift triage and controlled roll-forward
  • Production operations surface (doctor, replay traces, sync gates, parity artifacts)

Why Ultra Exists

NousResearch/hermes-agent is the canonical upstream product surface.
Hermes Agent Ultra keeps that surface in scope while focusing on:

  • deterministic Rust execution paths
  • explicit safety and policy controls
  • better observability and incident debugging
  • easier operator workflows for long-running local and gateway sessions

Differentiation vs Upstream

Ultra keeps parity work separate from intentional extensions.

  • Runtime policy engine: enforce/audit/simulate tool policy decisions at runtime
  • Session branching + time-travel: checkpoint/rollback/replay navigation from the TUI
  • Tool-call simulator: preview policy allow/deny outcomes before running risky tool invocations
  • Adaptive repo-review budget controls: tune discovery-loop trimming live (balanced/aggressive/relaxed/off)
  • Semantic repo graph: inspect dependency hubs/edges with inline Mermaid preview
  • Provider QoS router controls: inspect route learning/health and apply autotune from chat
  • Live session eval harness: score real saved sessions and gate quality trends from actual usage
  • RTK raw-mode controls: inspect unwrapped tool payloads when debugging integrations
  • Memory fusion: ContextLattice + external memory providers with scoring/fusion logic
  • One-true-harness cockpit: /harness and harness_cockpit unify skills, proof, OIDC, replay, objectives, onboarding, and chaos probes
  • Ultra autonomy cockpit: ultra_autonomy, /harness autonomy, and harness.autonomy expose task boards, loop detection, resource-governed subagents, ContextLattice-first memory lifecycle, channel surfaces, and objective-to-board planning
  • One-command always-on UX: hermes-ultra up composes gateway service install/start/status into a single operator command
  • Advanced sync gates: differential parity checks, red-team/adversarial gating, elite sync gate
  • Operational tooling: deep doctor snapshots, replay traces, queue-based upstream webhook sync
  • Rust-only implementation strategy: parity in Rust first; no direct Python runtime vendoring

Memory Setup

Mem0 memory setup supports cloud, self-hosted, and OSS-style endpoints:

hermes-ultra memory setup mem0 --mode selfhosted --host http://127.0.0.1:24220 -y

Add --api-key ... only when the self-hosted server requires auth; Hermes writes the host to mem0.json and the secret to $HERMES_HOME/.env.

Skip API-key collection With Nous Portal

Hermes Agent Ultra still supports direct provider and per-tool keys. If you prefer one managed subscription for model access plus hosted tool backends, Nous Portal can cover:

  • 300+ models, selectable with /model <name>.
  • Tool Gateway routing for web search, image generation, text-to-speech, and cloud browser backends.

Fresh install path:

hermes-ultra setup --portal

That starts Nous OAuth setup, sets Nous as the provider, and enables Tool Gateway routing. Inspect the current state with:

hermes-ultra portal info

You can still bring your own keys for individual tools; gateway routing is per backend, not all-or-nothing.

Operator Commands

Optional Sentrux MCP profile:

Full MCP guide: docs/mcp.md

hermes-ultra mcp sentrux
hermes-ultra mcp sentrux-status

With many MCP servers, set mcp_tool_mode: gateway in config.yaml. The model then sees one mcp tool that searches and calls the servers' tools, so its tool list stays the same as servers connect or change their tools, and the provider's prompt cache keeps hitting. The default, direct, lists every MCP tool. The mode covers the servers in config.yaml, not those an ACP client passes; with a tool policy allowlist, allow mcp as well as the MCP tools.

Key operator commands:

# Capability diagnostics for current or target model
/model explain
/model why-not --cap tools,reasoning --min-context 200000
/swarm status
/swarm plan graph
/swarm run 4 sequential

# Deterministic trace controls
/raw trace status
/raw trace verify
/raw trace export 200

# Runtime policy packs
/policy list
/policy strict
/policy standard
/policy dev

# Adaptive intelligence-performance autopilot
/ops autopilot status
/ops autopilot run
/ops autopilot recommend
/ops autopilot apply

# OpenHuman-derived P0/P1 operator control-plane
/commands search boot
/boot quick
/boot profile prod
/walkthrough start quick
/walkthrough insights
/integrations status
/integrations repair
/integrations snapshot
/triage eval webhook "secret leak panic outage"
/triage feedback webhook critical "secret leak panic outage"
/subconscious status
/subconscious profile strict
/subconscious run 2 --dry-run
/compress rules recommend
/compress rules autotune apply user

# Session time-travel + simulation
/timetravel list
/timetravel goto <snapshot>
/simulate terminal {"cmd":"ls -la"}

# QoS + eval runtime surfaces
/qos status
/qos health
/ops budget balanced
/ops eval run

Local Backends

hermes-ultra setup now includes local/self-host provider options with no mandatory API key:

  • ollama-local (default http://127.0.0.1:11434/v1)
  • llama-cpp (default http://127.0.0.1:8080/v1)
  • vllm (default http://127.0.0.1:8000/v1)
  • mlx (default http://127.0.0.1:8080/v1)
  • apple-ane (default http://127.0.0.1:8081/v1)
  • sglang (default http://127.0.0.1:30000/v1)
  • tgi (default http://127.0.0.1:8082/v1)
  • lmstudio (default http://127.0.0.1:1234/v1)
  • lmdeploy (default http://127.0.0.1:23333/v1)
  • localai (default http://127.0.0.1:8080/v1)
  • koboldcpp (default http://127.0.0.1:5001/v1)
  • text-generation-webui (default http://127.0.0.1:5000/v1)
  • tabbyapi (default http://127.0.0.1:5000/v1)

Override endpoint URLs via env vars:

  • OLLAMA_BASE_URL
  • LLAMA_CPP_BASE_URL
  • VLLM_BASE_URL
  • MLX_BASE_URL
  • APPLE_ANE_BASE_URL
  • SGLANG_BASE_URL
  • TGI_BASE_URL
  • LMSTUDIO_BASE_URL
  • LMDEPLOY_BASE_URL
  • LOCALAI_BASE_URL
  • KOBOLDCPP_BASE_URL
  • TEXT_GENERATION_WEBUI_BASE_URL
  • TABBYAPI_BASE_URL

Detailed guide: docs/local-backends.md

Built-In Context + Memory Behavior

Ultra auto-loads high-value project and persona context:

  • SOUL.md
  • AGENTS.md
  • DESIGN.md
  • .hermes.md / HERMES.md
  • MEMORY.md / USER.md

Subdirectory discovery is enabled so context follows the code path being edited.

Skills and Registry Surface

Skills commands support multi-registry search/install and local tap flows.

  • Default GitHub skill taps include OpenAI, Anthropic, VoltAgent, Matt Pocock, Addy Osmani, Google, Obsidian, design-skill, Loopy, GitHub Copilot, gstack, and MiniMax roots where those repos expose a clear skill directory.
  • Registry-aware installs include:
    • official/...
    • skills.sh/...
    • github/...
    • lobehub/...
    • clawhub/...
    • claude-marketplace/...
  • Mandatory skill security scanning runs before install and before use.

Use /harness in the TUI or the harness_cockpit tool for the curated one-true-harness index, including Matt Pocock teach, domain-modeling, grill-with-docs, codebase-design, and architecture-deepening workflows. Use /harness autonomy or the ultra_autonomy tool for board execution, loop detection, resource admission, ContextLattice-first memory lifecycle, and objective-to-board planning. Dashboard clients can call harness.autonomy via /v1/rpc; see Ultra Autonomy Surfaces.

Dashboard OIDC

hermes-http supports a Rust-native dashboard OIDC mode while preserving HERMES_HTTP_API_KEY bearer access for machine clients.

Minimum OIDC env:

HERMES_DASHBOARD_AUTH_PROVIDER=oidc
HERMES_DASHBOARD_OIDC_ISSUER=https://issuer.example
HERMES_DASHBOARD_OIDC_CLIENT_ID=hermes-dashboard
HERMES_DASHBOARD_SESSION_SECRET='replace-with-strong-random-secret'

Optional env includes HERMES_DASHBOARD_OIDC_CLIENT_SECRET, HERMES_DASHBOARD_OIDC_REDIRECT_URI, HERMES_DASHBOARD_OIDC_SCOPES, HERMES_DASHBOARD_OIDC_ALLOWED_EMAILS, HERMES_DASHBOARD_OIDC_ALLOWED_DOMAINS, HERMES_DASHBOARD_COOKIE_SECURE, and explicit authorization/token/JWKS endpoint overrides.

OpenHuman runbooks and matrices:

  • docs/implementation/openhuman-p0-p1-runbook.md
  • docs/implementation/openhuman-p0-p1-surface-matrix.md
  • docs/implementation/openhuman-p2a-p2b-runbook.md
  • docs/implementation/openhuman-p2a-p2b-surface-matrix.md
  • docs/implementation/openhuman-p3-swarms-runbook.md
  • docs/implementation/openhuman-p3-swarms-surface-matrix.md

Security Posture

  • Skill content security scanning blocks dangerous patterns and restricted URL targets
  • Skill guard modes: strict (default), relaxed (only blocks destructive rm ops), off
  • Policy-controlled tool execution modes: off, audit, simulate, enforce
  • Tool policy presets: strict, balanced, dev, relaxed
  • Sensitive field redaction in traces/log surfaces
  • Loaded secret values are matched exactly, whatever their shape. A loaded secret is the value of an environment variable whose name names a credential (*_API_KEY, *_TOKEN, *_SECRET, *PASSWORD, *_PASS, *_AUTH, Authorization and similar; not *_PATH, *_FILE, *_URL or *_ID), whether it came from the profile's .env, a vault or the shell, or a credential-named value in config.yaml. Values under 8 characters, short words, paths, ${VAR} references and documented placeholders such as not-needed or lm-studio do not count. Tool output and redacted text show *** in place of the value, so a file read through a tool shows *** and writing it back whole would store ***. A tool call whose arguments contain the value is refused, naming the variable or config key but not the value. There is no allow-list: to use such a value in a tool call on purpose, rename or unset the variable, or move the value out of the credential-named key. Encoded or split copies are not matched, and tokens held only in the auth stores are covered by shape redaction alone.
  • Guardrails for path traversal, unsafe file ops, and runtime boundary violations

Operator runtime overrides (env):

  • HERMES_SKILL_GUARD_MODE=relaxed
  • HERMES_SKILL_LOAD_GUARD_MODE=relaxed (scan mode for skills already on disk when loaded for use; strict, relaxed or off, unknown values mean strict; when unset, loading follows HERMES_SKILL_GUARD_MODE, which still governs install and creation)
  • HERMES_TOOL_POLICY_PRESET=relaxed
  • HERMES_MAX_TURNS_UNLIMITED=1 (or set max_turns: 0 in config/profile)
  • HERMES_FORCE_RUNTIME_AUTH_REFRESH=1
  • HERMES_AUTH_REFRESH_MAX_RETRIES=6

Upstream Sync and Parity Upkeep

Ultra uses controlled sync workflows, not blind merges.

  • Upstream source of truth: NousResearch/hermes-agent
  • Fetch/sync tooling:
    • scripts/sync-upstream.sh
    • scripts/upstream_webhook_sync.py
  • Parity artifacts:
    • docs/parity/
    • .sync-reports/

Note: this repository intentionally tracks parity via queue/gate workflows because upstream and ultra history can diverge materially.

Architecture Map

Primary Rust workspace crates:

  • crates/hermes-agent: agent loop, memory orchestration, provider control
  • crates/hermes-tools: tool registry and execution backends
  • crates/hermes-cli: CLI/TUI, setup, model/personality switching, operator commands
  • crates/hermes-gateway: gateway adapters and live runtime paths
  • crates/hermes-skills: skill storage, guardrails, hub and registry pathways
  • crates/hermes-mcp: MCP transport/client/server support
  • crates/hermes-config: config model and runtime loading
  • crates/hermes-telemetry: tracing and metrics surfaces

Credits

Canonical/official upstream references:

Integrated ecosystem references used in Ultra workflows:

Additional ownership, provenance, and credit notes are maintained in UPSTREAM_ATTRIBUTION.md.

The banner's lettering uses Cascadia Mono and Besley glyphs (SIL OFL 1.1); its anvil emblem is hand-drawn pixel art.

Licence

Distributed under this repository's license and notices: the MIT licence in LICENSE covers contributions made in the fork after it diverged from its upstream, and does not relicense upstream-authored work.
See LICENSE, NOTICE, and UPSTREAM_ATTRIBUTION.md.


Post tenebras lux.
Made by yungSNAT. Ad gloriam eius, non meam.

About

Reformed Agent: a Rust port of Hermes Agent that runs without Python or Node.js.

Topics

Resources

Contributing

Security policy

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages