BSD Ports

misc/hermes-agent 0.21.5 DragonFly

AI agent with built-in learning loop

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
misc, python
Package size
15747.9 KiB, 58483.6 KiB installed

Description

Hermes is a self-improving AI agent that creates skills from experience and improves them during use. It runs as a CLI on a developer's machine and supports a pluggable toolset system, multiple LLM backends (OpenAI, Anthropic, Mistral, Bedrock, ...), web search and crawling integrations, voice / TTS / messaging connectors, and an agent-control protocol (ACP) adapter.

This port installs the core CLI plus the optional [web] dashboard backend (FastAPI + Uvicorn). The dashboard's static frontend assets (hermes_cli/web_dist/) are produced by an upstream npm pipeline that is not run in the ports build environment. Other upstream extras such as Modal, Daytona, Vercel, faster-whisper, Telegram, Discord, Slack and the [rl] training loop are not packaged.

Because Hermes ships top-level Python packages with generic names (tools, agent, gateway, plugins, ...), the source tree is installed under ${PREFIX}/lib/hermes-agent/ rather than site-packages, matching upstream's own Docker / Nix / Homebrew packaging. The wrappers in ${PREFIX}/bin prepend that directory to sys.path before invoking each entry point.

The skills/ and optional-skills/ template directories ship under ${DATADIR}/. Hermes reads its working set from ${HOME}/.hermes/.

In the other systems

The newest version among them is 0.23.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlymisc/hermes-agent0.21.5 behind since 2026-10-27none known-[email protected]-
FreeBSDmisc/hermes-agent0.23.0_1 newestnone known-[email protected]2026-11-07
HardenedBSDmisc/hermes-agent0.21.5 behind since 2026-10-27no data-[email protected]-
GhostBSDmisc/hermes-agent0.22.5 behind since 2026-11-06no data-[email protected]-

Version history 1

  1. 0.21.5

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install hermes-agent

From DPorts:

cd /usr/dports/misc/hermes-agent && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 41

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Hermes stores its working set under ${HOME}/.hermes/.  Before the first
run, bootstrap that directory and configure API keys with:

  hermes setup

The bundled skill templates live under /usr/local/share/hermes-agent/skills/ and
/usr/local/share/hermes-agent/optional-skills/; Hermes copies the ones it needs into
${HOME}/.hermes/skills/ on demand.

To run Hermes as a service, enable one or both of the rc(8) scripts:

sysrc hermes_gateway_enable="YES"
sysrc hermes_gateway_user="<account whose ~/.hermes is used>"

sysrc hermes_dashboard_enable="YES"
sysrc hermes_dashboard_user="<account whose ~/.hermes is used>"

See /usr/local/etc/rc.d/hermes_gateway and hermes_dashboard for all
tunables (host, port, profile, extra flags).