{
  "sources": [
    {
      "url": "https://gist.githubusercontent.com/gtmcknight/594c47336546c8763e641b46cf9af4ec/raw/field.json",
      "quote": "{\"pr\":152596,\"name\":\"coach\",\"repo\":\"https://github.com/Printaga/Hermes-Coach\",\"sha\":\"fb3e1d931dc87e441ad425d2830ea783e901bc85\",\"subdir\":\"\"}"
    },
    {
      "url": "https://gist.githubusercontent.com/gtmcknight/594c47336546c8763e641b46cf9af4ec/raw/RUN.md",
      "quote": "Nothing here needs a model, a key or an account: the model is Nous's own scripted test stand-in, `tests/fakes/fake_llm_provider.py` in the Hermes source, which answers with the tool calls you plan and records everything Hermes sends.\n\n## 1. Hermes, once\n"
    },
    {
      "url": "https://raw.githubusercontent.com/Printaga/Hermes-Coach/fb3e1d931dc87e441ad425d2830ea783e901bc85/README.md",
      "quote": "A second model for the main Hermes agent. The agent can ask it for advice\nmid-task, ask for a plan review before starting, or hand it a finished piece of\nwork; two optional modes let it review a turn automatically or gate the agent's\n\"done\" claim.\n"
    },
    {
      "url": "https://raw.githubusercontent.com/Printaga/Hermes-Coach/fb3e1d931dc87e441ad425d2830ea783e901bc85/__init__.py",
      "quote": "HOOKS: tuple[tuple[str, str], ...] = (\n    (\"pre_verify\", \"on_pre_verify\"),\n    (\"post_tool_call\", \"on_post_tool_call\"),\n    (\"post_llm_call\", \"on_post_llm_call\"),\n    (\"pre_llm_call\", \"on_pre_llm_call\"),\n    (\"subagent_start\", \"on_subagent_start\"),\n    (\"subagent_stop\", \"on_subagent_stop\"),\n    (\"on_session_end\", \"on_session_end\"),\n)\n\n\ndef register(ctx):\n    try:\n        from .coach.plugin import ("
    },
    {
      "url": "https://raw.githubusercontent.com/Printaga/Hermes-Coach/fb3e1d931dc87e441ad425d2830ea783e901bc85/coach/secrets.py",
      "quote": "    try:\n        from agent.secret_scope import get_secret as host_get\n    except ImportError:\n        return str(os.environ.get(name) or \"\")\n    try:\n        return str(host_get(name, \"\") or \"\")\n    except Exception:\n        return \"\""
    },
    {
      "url": "https://raw.githubusercontent.com/Web3B-eth/whos-listening/a498dd769c4196d0e911b713d4ad7363c8154ba1/README.md",
      "quote": "- **Some Hermes calls skip the guard.** Hermes runs plugin middleware only on the main chat request. These calls bypass it, and any of them can carry Private memories that were added on a Private route:\n  - **Compression.** When a long chat is summarised, the older turns (memory blocks and tool results included) go to the compression model, and the summary replaces them untagged. Set Hermes' compression model to a route you trust as Private, or turn compression off."
    },
    {
      "url": "https://raw.githubusercontent.com/Web3B-eth/whos-listening/a498dd769c4196d0e911b713d4ad7363c8154ba1/whos_listening/guard.py",
      "quote": "Hermes fails open: if middleware raises, the request is sent unchanged. So nothing here may\nraise. If the normal clean-up fails, the guard removes whole memory blocks; if that fails too,\nit replaces the conversation with a short notice so the request carries no history at all.\n\nNothing here imports Hermes.\n\"\"\"\n"
    },
    {
      "url": "https://raw.githubusercontent.com/Web3B-eth/whos-listening/a498dd769c4196d0e911b713d4ad7363c8154ba1/__init__.py",
      "quote": "def register(ctx) -> None:\n    ctx.register_memory_provider(WhosListeningProvider())\n    register_hooks(ctx)"
    },
    {
      "url": "https://raw.githubusercontent.com/Joko-F/hermes-fine-print/7b574f1b5c8dc8eafe3ea9f87ae6b0111853f0ba/README.md",
      "quote": "**Hermes changes what your model sees. Fine Print shows you: with numbers, a note to the model where\nnobody else tells it, and the fix.**\n"
    },
    {
      "url": "https://raw.githubusercontent.com/Joko-F/hermes-fine-print/7b574f1b5c8dc8eafe3ea9f87ae6b0111853f0ba/fine_print/plugin.py",
      "quote": "    # tool driver: may return an annotated string; None leaves the result untouched\n    ctx.register_hook(\"transform_tool_result\", guarded(fp.tool_result, fp.stats))\n    # commit driver: one card per turn; on_session_end also closes failed or interrupted turns\n    ctx.register_hook(\"post_llm_call\", observer(fp.turn_end))"
    },
    {
      "url": "https://raw.githubusercontent.com/Joko-F/hermes-fine-print/7b574f1b5c8dc8eafe3ea9f87ae6b0111853f0ba/fine_print/commands.py",
      "quote": "    def self_test(self) -> str:\n        rules = self.fp.registry.all()\n        ids = {e.get(\"id\") for e in catalog.entries()}\n        verified = [r for r in rules if r.status == \"verified\"]\n        fixture = [r for r in rules if r.status != \"verified\"]\n        covered = {r.id for r in rules}\n        running = self.hermes_version()\n        lines = [f\"Fine Print self-test · formats pinned to Hermes v{C.HERMES_VERSION}\""
    },
    {
      "url": "https://raw.githubusercontent.com/noegng/local-hands/62327c4174582e3e8ea2d0b1e8fc57d4f4a24842/README.md",
      "quote": "**Remote brain, local hands.** Hermes runs on your VPS or home server. Its `terminal`, `read_file`,\n`write_file`, `patch`, `search_files` and `execute_code` tools run on *your own computer*, and your\ncomputer asks you first.\n\n![local-hands](docs/banner.png)\n\n```"
    },
    {
      "url": "https://raw.githubusercontent.com/noegng/local-hands/62327c4174582e3e8ea2d0b1e8fc57d4f4a24842/lh_core.py",
      "quote": "def _connect_control(ctl_path: Path, timeout: Optional[float]):\n    sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)\n    sock.settimeout(timeout)\n    try:\n        sock.connect(str(ctl_path))\n    except OSError as exc:\n        sock.close()\n        raise HubUnavailable(str(exc)) from exc\n    return sock\n\n"
    },
    {
      "url": "https://raw.githubusercontent.com/noegng/local-hands/62327c4174582e3e8ea2d0b1e8fc57d4f4a24842/hands.py",
      "quote": "            if not self.ui.tty_in:\n                return False, (\"the hands daemon on '%s' has no terminal to ask its user on. They can restart \"\n                               \"it with --approve auto to trust this Hermes host.\" % self.device)\n            answer = self._ask(job, script)\n            if answer == \"cancelled\":\n                return False, \"cancelled\"\n            if answer == \"timeout\":"
    },
    {
      "url": "https://raw.githubusercontent.com/0xNoramiya/hypnos/0a809b9085fdeaed63fd909b927afcc41de512de/README.md",
      "quote": "- Habits, not facts. Hypnos teaches procedures, and it will not make a small model know your codebase.\n- Small personal data. A day of work is tens of turns. The exam's confidence bounds are honest about that,\n  and many nights end as bad nights until enough data exists.\n- The brain answers whole, not streamed, and only for families it mastered. Everything else goes to your\n  normal model."
    },
    {
      "url": "https://raw.githubusercontent.com/0xNoramiya/hypnos/0a809b9085fdeaed63fd909b927afcc41de512de/hypnos/router.py",
      "quote": "SUPPORTED_MODES = (\"chat_completions\", \"anthropic_messages\")\n\n\n@dataclass\nclass BrainState:\n    version: int | None = None\n    families: dict = field(default_factory=dict)"
    },
    {
      "url": "https://raw.githubusercontent.com/0xNoramiya/hypnos/0a809b9085fdeaed63fd909b927afcc41de512de/tests/test_e2e_trainer.py",
      "quote": "@pytest.mark.skipif(not TRAINER, reason=\"set HYPNOS_E2E_TRAINER to a trainer interpreter\")\ndef test_real_tiny_night(tmp_path):\n    db_path = str(tmp_path / \"data.db\")\n    populate(db_path)\n    cfg = NightConfig(trainer_python=TRAINER, tiny=True, cycles=2, max_minutes=30, max_steps=40,"
    },
    {
      "url": "https://raw.githubusercontent.com/miracle352/hermes-ariadne/128c95967a0761ad24d3d224441d1502c43bbb69/README.md",
      "quote": "- Streaming is not replayed token by token; a replay hands Hermes the assembled response.\n- Hooks that fire inside the real tool dispatcher (`pre_tool_call`, terminal output transforms)\n  don't fire during a replay, because tools never run.\n- Recordings made in one surface replay in that surface (Desktop or TUI). `hermes -z` one-shot\n  recordings replay through the TUI protocol and will show surface differences."
    },
    {
      "url": "https://raw.githubusercontent.com/miracle352/hermes-ariadne/128c95967a0761ad24d3d224441d1502c43bbb69/driver.py",
      "quote": "* every approval prompt is answered **deny** by the driver — a replay never\n  approves anything (catalog rule 12);\n* the replayed Hermes runs with ``HERMES_HOME`` pointed at a scratch directory,\n  so the user's sessions, memory and config are never touched;\n* outbound proxies are pointed at a closed loopback port and the model\n  endpoint at Ariadne's loopback stub, so a replay cannot reach the network.\n\"\"\"\n\nfrom __future__ import annotations\n"
    },
    {
      "url": "https://raw.githubusercontent.com/miracle352/hermes-ariadne/128c95967a0761ad24d3d224441d1502c43bbb69/__init__.py",
      "quote": "        # A replay that cannot load its cassette must not silently go live.\n        return runtime.synthetic_response(kw.get(\"api_mode\") or \"\", \"[ariadne] replay could not load its cassette; no model was called.\")\n    if control.get(\"mode\") == \"record\":\n        return _recorder_get().llm_execution(**kw)\n    return kw[\"next_call\"](kw[\"request\"])\n\n\ndef _tool_request(**kw: Any) -> Any:\n    control = _mode()\n    if control.get(\"mode\") == \"warmup\":"
    }
  ]
}
