0.4.0: the harness
Guardrails from your own ontologies, a live log of every tool call, shared skills and agents, a Settings view and a navbar.
HerdHound 0.4.0 adds the harness: guardrails for your agents, built from ontologies you write.
Guardrails from ontologies
Write your domain as Turtle: concepts, a taxonomy, and rules. Claude Code hooks in every container then:
- match each tool call to your concepts,
- apply your rules: deny the call, ask you, or warn the agent,
- log what went in and what came out.
A rule can require that something happened first in the session, like tests before a commit. Agents are told about the guardrails when every session starts, and pointed at the concept to look up when a rule fires.
:NoDestroy a hh:Rule ; hh:appliesTo :Destructive ; hh:severity "deny" ;
hh:message "Never delete recursively or force-push; ask the user." .
The terms are described at herdhound.dev/ns.
Seven ontologies built in
Turn the harness on and you start with 91 rules across seven ontologies, each with a matching skill:
- ACID transactions
- application security
- clean code
- code comments
- harness protection
- infrastructure as code
- secrets
They update with new releases until you edit them, and they stay yours once you do.
New views
- Harness (ctrl+b o) has four tabs: Ontologies, Rules with how often each fired, a live Activity log of prompts, calls and results, and a graph of your concepts, rules and the tools that hit them.
- ✦ Ask AI opens Claude in a new tab to interview you and write your ontology.
- Skills & Agents (ctrl+b A) shows shared skills and agents, which sync to every running session, alongside your personal and built-in ones.
- Settings (ctrl+b S) switches the harness and views on and off and saves them to your config file, with your comments kept.
- A navbar across the top while an opt-in view is on.
- Resources now fills the screen like the other views.
New command
herdhound harness concepts | explain | rules | classify | check | log, for you and for agents.
Read the harness docs to get started.