Skip to content

About

GitHub Desktop tutorial repository

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

Hermes Orchestrator

A free, open-source AI orchestrator configured with the Fable 5 production-build doctrine — the method a four-day, 105-commit, 38-PR sprint used to ship a paid macOS app with no human engineer reading the code.

This repo recreates that orchestration "personality" as a runnable agent: it takes Hermes Agent (Nous Research, MIT-licensed, open source, model-agnostic) and injects the Fable doctrine into it — then wires it to free, no-credit-card AI backends (local Ollama, OpenRouter, GitHub Models, Google Gemini).

"This is a vibe-coded app. I'm not even looking at the code." — the single most important sentence from the Fable 5 handover. The orchestrator is the only quality gate between an agent's confident diff and a paying user's machine. Everything here exists to make that gate strong enough to bear the weight.


What you get

  • A persona (SOUL.md) — the Fable orchestrator voice: direct, honest, verification-obsessed, reports numbers not adjectives.
  • An operating doctrine (AGENTS.md) — the rules: orchestrator plans/reviews, agents implement, never review your own code, independent verification every merge, cross-model review pipeline, skills-as-memory, honest states.
  • Four reusable skills (skills/) — the procedures that make the method survive agent turnover:
    • cross-model-review — adversarially review a diff with a different model family (the single biggest quality lever)
    • verification-doctrine — rebuild/test/eval personally before every merge; golden set; frozen data; honesty rules
    • skills-as-memory — encode a fix into a skill after it fails twice
    • handover-discipline — write in-flight state for a cold-started, different-model orchestrator
  • Free-backend config (config.yaml.example, .env.example) — Ollama by default, plus OpenRouter / GitHub Models / Gemini as drop-in switches. No credit card.
  • The full source doctrine (docs/fable-5-handover.md) — the original handover, cleaned, so the method is auditable.

How the Fable method maps onto Hermes

Fable concept Hermes mechanism
Orchestrator plans/reviews; agents implement KANBAN orchestrator mode + delegate_task (leaf children)
Cross-model review pipeline (Codex reviews Opus) delegation.model/provider override → a reviewer profile on a different family
Verification doctrine (rebuild/test/eval personally) Orchestrator runs the gate itself before merge
Skills as memory Hermes skills/ directory + self-improvement
Honesty rules / reward push-back agent-prompt license to STOP-and-report
Session-cap economics / batch & filter per-model operational guidance + parallel-tool-call guidance
Free, no-credit-card backends Hermes is model-agnostic; config.yaml points at Ollama/OpenRouter/GitHub/Gemini

Why a different model family for review? An author model's tests encode its own mental model, so they pass exactly where that model is wrong. A different family brings a different prior over "what tends to be broken." In the original sprint, a cross-model reviewer found real, confirmed bugs in five straight author batches — orderings, un-armed gates, short-circuits, assumed-but-absent mechanisms. See docs/fable-5-handover.md §II.3 for the evidence table.


Quick start

# 1. Install Hermes Agent (open source, MIT) — one command:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

# 2. Install THIS config (persona + doctrine + skills + reviewer profile):
git clone https://github.com/<you>/hermes-orchestrator
cd hermes-orchestrator
./scripts/install.sh

# 3. Get at least one free backend key (no credit card):
#    Ollama (local, zero cost):  ollama pull qwen3 && ollama serve
#    Gemini reviewer:            https://aistudio.google.com/apikey  ->  GOOGLE_API_KEY
#    (full walkthrough: docs/provider-setup.md)

# 4. Run it:
hermes chat -q "Who are you and what are your ten rules?"

Detailed steps, the reviewer profile, and smoke tests: docs/install.md.


The cross-model review pipeline (the crown jewel)

Mandatory for any diff >400 lines or touching security/payments/concurrency/migrations/ranking:

author (Ollama)  --implements batch-->  reports explicit CLAIMS
        │
reviewer (different family, e.g. Gemini)  --attacks the named claims-->  findings w/ severity + file:line
        │
author  --remediates, each finding gets a pinning test-->
        │
orchestrator  --rebuild + test + eval personally, line-level sweep-->  merge

The exact adversarial prompt and the reviewer profile setup live in skills/cross-model-review/SKILL.md.


Repository layout

hermes-orchestrator/
├── README.md                      # this file
├── SOUL.md                        # persona (identity tier, loaded every message)
├── AGENTS.md                      # operating doctrine (context tier, auto-loaded)
├── config.yaml.example            # Hermes config: Ollama default + free alternatives
├── .env.example                   # free API key template (no credit card)
├── skills/
│   ├── cross-model-review/        # adversarial review pipeline (procedure)
│   ├── verification-doctrine/      # independent rebuild/test/eval gate
│   ├── skills-as-memory/           # encode fixes into skills after 2 failures
│   └── handover-discipline/        # write in-flight state for cold start
├── docs/
│   ├── fable-5-handover.md         # the full source doctrine (cleaned)
│   ├── install.md                  # detailed install + smoke test
│   ├── provider-setup.md           # free key acquisition (no credit card)
│   └── reverse-engineering-notes.md# how this was derived from Hermes source
├── scripts/
│   └── install.sh                 # one-command wiring into ~/.hermes
└── LICENSE                        # MIT (matches Hermes Agent)

Provenance

This is a grounded recreation, not a guess. We read Hermes Agent's actual source (agent/system_prompt.py, hermes_cli/default_soul.py, agent/prompt_builder.py, cli-config.yaml.example, the delegate_task and skill subsystems) and mapped each piece onto the Fable doctrine. The full provenance — file by file — is in docs/reverse-engineering-notes.md.

License

MIT — same as Hermes Agent. The Fable 5 handover (docs/fable-5-handover.md) is reproduced here as method reference; attribute Fable 5 / Seb as the source of the doctrine.

About

GitHub Desktop tutorial repository

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors