freshcrate
Home > MCP Servers > hermes-agent-rs

hermes-agent-rs

Hermes Agent rewritten in Rust: production-grade multi-platform AI agent runtime with gateway adapters, tool orchestration, MCP, memory plugins, and cost-safe autonomous loops.

Description

Hermes Agent rewritten in Rust: production-grade multi-platform AI agent runtime with gateway adapters, tool orchestration, MCP, memory plugins, and cost-safe autonomous loops.

README

⚑ Hermes Agent

The self-evolving AI agent. One binary. Every platform.

Rust rewrite of Hermes Agent by Nous Research.

110,000+ lines of Rust Β· 1,354 tests Β· 17 crates Β· ~16MB binary

English Β· δΈ­ζ–‡ Β· ζ—₯本θͺž Β· ν•œκ΅­μ–΄


Why Hermes?

πŸš€ Zero dependencies β€” Single static binary. No Python, no pip, no Docker. Copy it to a Raspberry Pi, a $3 VPS, or an air-gapped server and run it.

🧠 Self-evolution engine β€” Multi-armed bandit model selection, long-task planning, and prompt/memory shaping. The agent gets better the more you use it.

πŸ”Œ 17 platforms, 30+ tools, 8 memory backends β€” Telegram, Discord, Slack, WhatsApp, Signal, Matrix, and 11 more. File ops, browser, code execution, vision, voice, web search, Home Assistant, and beyond.

⚑ True concurrency β€” Rust's tokio runtime dispatches tool calls across OS threads. A 30-second browser scrape doesn't block a 50ms file read. No GIL.

Quick Start

# Install
curl -fsSL https://raw.githubusercontent.com/Lumio-Research/hermes-agent-rs/main/scripts/install.sh | bash

# Set your API key
echo "ANTHROPIC_API_KEY=sk-..." >> ~/.hermes/.env

# Run
hermes

That's it. You're in an interactive session with tool access, memory, and streaming.

What Can It Do?

Chat with any LLM β€” switch models mid-conversation:

hermes
> /model gpt-4o
> Summarize this repo and find security issues

One-shot tasks from the command line:

hermes chat --query "Refactor auth.rs to use the new error types"

Multi-platform gateway β€” connect Telegram, Discord, Slack, and more simultaneously:

hermes gateway start

Run anywhere β€” Docker, SSH, or remote sandboxes:

# ~/.hermes/config.yaml
terminal:
  backend: docker
  image: ubuntu:24.04

MCP + ACP β€” connect external tool servers or expose Hermes as one:

mcp:
  servers:
    - name: my-tools
      command: npx my-mcp-server

Voice mode β€” VAD + STT + TTS pipeline for hands-free interaction.

Architecture

hermes-cli                    # Binary entry point, TUI, slash commands
β”œβ”€β”€ hermes-agent              # Agent loop, LLM providers, memory plugins
β”‚   β”œβ”€β”€ hermes-core           # Shared types, traits, error hierarchy
β”‚   β”œβ”€β”€ hermes-intelligence   # Model routing, prompt building, self-evolution
β”‚   └── hermes-config         # Config loading, YAML/env merging
β”œβ”€β”€ hermes-tools              # 30+ tool backends, approval engine
β”œβ”€β”€ hermes-gateway            # 17 platform adapters, session management
β”œβ”€β”€ hermes-environments       # Terminal: Local/Docker/SSH/Daytona/Modal/Singularity
β”œβ”€β”€ hermes-mcp                # Model Context Protocol client/server
β”œβ”€β”€ hermes-acp                # Agent Communication Protocol
β”œβ”€β”€ hermes-skills             # Skill management and hub
β”œβ”€β”€ hermes-cron               # Cron scheduling
β”œβ”€β”€ hermes-http               # REST/WebSocket API server
β”œβ”€β”€ hermes-auth               # OAuth token exchange
β”œβ”€β”€ hermes-eval               # SWE-bench, Terminal-Bench, YC Bench
└── hermes-telemetry          # OpenTelemetry + Prometheus

Key traits: LlmProvider (10 providers) Β· ToolHandler (30+ backends) Β· PlatformAdapter (17 platforms) Β· TerminalBackend (6 backends) Β· MemoryProvider (8 plugins)

Tool call parsers: Hermes, Anthropic, OpenAI, Qwen, Llama, DeepSeek, Auto

Install

One-liner (auto-detects OS and CPU):

curl -fsSL https://raw.githubusercontent.com/Lumio-Research/hermes-agent-rs/main/scripts/install.sh | bash

From source:

cargo install --git https://github.com/Lumio-Research/hermes-agent-rs hermes-cli --locked

Manual download: grab the binary for your platform from Releases.

Docker:

docker run --rm -it -v ~/.hermes:/root/.hermes ghcr.io/lumio-research/hermes-agent-rs

Contributing

Contributions welcome. Run the test suite before submitting:

cargo test --workspace        # 1,354 tests
cargo clippy --workspace      # Lint
cargo fmt --all --check       # Format

See AGENTS.md for architecture details and coding conventions.

License

MIT β€” see LICENSE.

Based on Hermes Agent by Nous Research.

Release History

VersionChangesUrgencyDate
v0.0.4Latest release: v0.0.4Medium4/12/2026
v0.0.3Release v0.0.3Medium4/12/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

sofos-codeAI coding agent for your terminal, implemented in pure Rustv0.2.2
edgecrabEdgeCrab πŸ¦€ A Super Powerful Personal Assistant inspired by NousHermes and OpenClaw β€” Rust-native, blazing-fast terminal UI, ReAct tool loop, multi-provider LLM support, ACP protocol, gateway adaptersv0.8.0
crab-codeπŸ¦€ Open-source alternative to Claude Code, built from scratch in Rust. Agentic coding CLI β€” thinks, plans, and executes with any LLM. Compatible with Claude Code workflows.main@2026-04-21
ryvosOpen-source autonomous AI assistant with 5-tier security, 62 tools, 14 LLM providers. Written in Rust. Single binary.v0.9.0
oh-my-piβŒ₯ AI Coding agent for the terminal β€” hash-anchored edits, optimized tool harness, LSP, Python, browser, subagents, and morev14.1.2