Skip to content
@hermes-labs-ai

Hermes Labs

AI reliability engineering studio focused on retrieval, memory, agents, auditability, and the language layers around AI systems.

Hermes Labs

AI reliability engineering for product and engineering teams shipping production agents and LLM applications.

These systems can pass conventional evaluations and still fail silently in production. Instructions get dropped. Tools report success they did not achieve. Retrieved context changes meaning. Memory drifts. Policies weaken across long workflows. Evidence no longer explains why an action happened.

Hermes Labs provides engineering services to diagnose these failures and harden the operational layers where they occur: prompts, tool interfaces, retrieval, memory, policies, runtime controls, and evidence.

Site Research Open source Writing

Try an agent-instruction check · See the engineering evidence · Get help with a production failure


What we do

Hermes Labs is an AI reliability engineering studio for product and engineering teams shipping agents and LLM applications whose behavior must remain dependable, inspectable, and reconstructable under real use.

  • Diagnose. We review prompts, tools, scaffolds, configurations, memory, retrieval, and traces; run controlled adversarial probes; and deliver prioritized findings with reproducible failure cases and concrete fixes.
  • Harden. We design and integrate runtime controls, anti-fabrication safeguards, context-integrity protections, policy gates, and offline-verifiable evidence inside the stack you already operate.

Bring us a system and a symptom →


The operational layer

In agent systems, language is part of the runtime.

System prompts, tool descriptions, retrieved context, memory, summaries, policies, and evaluation criteria do not merely describe a system. They condition what it notices, chooses, remembers, and does.

We treat this operational layer as an engineering surface: something that can be inspected before deployment, tested under adversarial conditions, controlled at runtime, and verified after an action occurs.

That is where systems can remain technically healthy while silently doing the wrong thing.


Open-source reliability tools

Start here. The active public core is nine repositories, each making one part of our approach inspectable and useful on its own. Hermes Labs engagements apply, integrate, and harden these methods in production systems. Per-tool evidence boundaries are documented on the open-source catalog.

Tool Reliability role Start
lintlang 0.6.0 Static analysis for agent configurations, tool descriptions, and system prompts. Zero LLM calls. Used in Character AI's Larch CI. pip install lintlang==0.6.0
hermeneutic 0.1.12 Mine correction triples from chat logs and gate the next response before the same drift ships twice. pip install hermeneutic==0.1.12
fidelis 0.0.95 Local-first agent memory that returns your original passages verbatim, with no LLM call in the default retrieval path. pip install fidelis-memory==0.0.95 — repo, import name, and CLI stay fidelis; the unrelated PyPI package named fidelis is not ours
little-canary 0.3.6 Input-side prompt-injection detection through sacrificial canary-model probes. pip install little-canary==0.3.6
hermes-rubric 1.2.1 Evidence-first structured scoring for AI artifacts, with every dimension tied to quoted evidence. pip install hermes-rubric==1.2.1
hermes-blind 0.2.0 Recover the original goal of a long Claude Code or Codex session from its own logs, as a compact reorientation anchor. pip install hermes-blind==0.2.0
agent-kickstart 0.3.0 A guided, project-local first project for Claude Code beginners. No prior coding or terminal experience required. pip install agent-kickstart==0.3.0
zer0dex Dual-layer local memory for agents: a readable markdown index alongside vector retrieval. Reference implementation. Read the repository before adoption
agent-gorgon 0.2.0 Deterministic runtime policy decisions for autonomous agents, with forensic evidence for later review. pip install agent-gorgon==0.2.0

Research behind the engineering

Our public research examines distinct reliability problems from empirical, measurement, and conceptual perspectives. Each paper addresses a different question and should be evaluated on its own evidence.

Read the research index for abstracts, hosted copies, and citation exports.

Machine-readable publication record: JSON · JSON-LD · BibTeX.


Upstream engineering

The canonical external contribution record reports current, dated totals and separates merged engineering work, submitted fixes, integrations, documentation, ecosystem listings and research-index submissions. Structured ledger.

Merged AI/framework fixes contributed by Roli Bosch (roli-lpci), founder of Hermes Labs:

Mem0 #5250 contributed a Redis cosine-distance-to-similarity patch with regression coverage. It closed without merge after a maintainer acknowledged the conversion in a broader sweep. The case study preserves earlier community provenance and the patch’s missing clamp. Other substantive unmerged fixes remain visible in the ledger.

Typing modernization in PyTorch Ignite and Optuna, compatibility work and dependency maintenance remain credited in their own classes. Community-list and research-index submissions do not count as merged code contributions.


More from our stack

We keep additional reference implementations and research concepts public so others can inspect, test, fork, and develop them.

Public does not automatically mean flagship or production-ready. Browse the full GitHub catalog and each repository's own status, installation instructions, and limitations.


Hermes Labs was founded by Roli Bosch (Rolando Bosch in professional and academic work). roli@hermes-labs.ai · hermes-labs.ai

Pinned Loading

  1. lintlang lintlang Public

    Static analysis for AI agent configs, tool descriptions, and system prompts — catches vague tool descriptions, missing stop conditions, and schema gaps before they reach runtime. Zero-LLM, determin…

    Python 67 2

  2. little-canary little-canary Public

    Detects prompt injection by its effect on a sacrificial canary model, not just pattern matching: untrusted input hits a powerless model first, a behavioral check reads the residue, and it returns b…

    Python 29 4

  3. hermeneutic hermeneutic Public

    Mines corrections from your AI agent's chat logs to catch recurring drift and overclaiming before the next response ships. A cheap-to-expensive pre-flight gate — regex, then structured scoring, the…

    Python 7

  4. hermes-blind hermes-blind Public

    Recovers the original goal of a long Claude Code or Codex session from its first user turn, so you can restate it before continuing — plus a prompt wrapper that adds evidence and hedging constraint…

    Python 7

  5. agent-gorgon agent-gorgon Public

    Runtime policy guard for AI agent processes: watches process, file, and network activity from user space, applies deterministic policy, and attempts SIGSTOP or SIGKILL on reviewed triggers — no SDK…

    Python 2

Repositories

Showing 10 of 38 repositories
  • quick-gate-js Public

    quick-gate-js (npm: quick-gate) is a deterministic JS/TS CI quality gate that unifies ESLint, TypeScript, build, and Lighthouse checks into one fail-fast result, with bounded auto-repair and structured escalation evidence for humans or agents. Works with Next.js, React, Vue, Svelte, or any Node project. A gate-and-escalate wrapper, not a dashboard.

    hermes-labs-ai/quick-gate-js's past year of commit activity
    JavaScript 4 Apache-2.0 0 0 1 Updated Sep 13, 2026
  • rule-audit Public

    Static analyzer for AI system prompts: parses a prompt into normative rules and reports contradictions, coverage gaps, priority ambiguities, and absolute-rule edge cases - no LLM calls. Deterministic pure-Python lint with CLI, Python API, and CI exit codes. pip install rule-audit

    hermes-labs-ai/rule-audit's past year of commit activity
    Python 1 MIT 0 0 0 Updated Sep 13, 2026
  • supersearch Public

    Deadline-bounded local search fan-out with source-explicit JSON receipts for agents and engineers.

    hermes-labs-ai/supersearch's past year of commit activity
    Python 2 Apache-2.0 0 0 1 Updated Sep 13, 2026
  • quick-gate-python Public

    quick-gate-python (PyPI: pygate-ci) is a deterministic Python CI quality gate that normalizes Ruff, Pyright, and pytest results into one fail-fast decision, attempts bounded auto-repair, and escalates with machine-readable evidence for humans or agents when it cannot finish safely. A gate-and-escalate wrapper, not a lint dashboard.

    hermes-labs-ai/quick-gate-python's past year of commit activity
    Python 0 Apache-2.0 0 0 0 Updated Sep 13, 2026
  • hermes-jailbench Public

    Zero-LLM deterministic jailbreak regression benchmark: runs a repeatable battery of known-pattern attacks against an LLM endpoint and scores refusal/partial/compliance across runs. Catch when a model or prompt update silently got weaker. Single-turn, responsible-use. pip install hermes-jailbench

    hermes-labs-ai/hermes-jailbench's past year of commit activity
    Python 3 MIT 1 0 0 Updated Sep 13, 2026
  • csv-quality-gate Public

    csv-quality-gate is a command-line data quality gate that runs CSV preflight validation, failing fast before an ML or LLM pipeline ingests broken, incomplete, duplicated, or junk input. It checks missing columns, empty files, empty cells, and duplicate rows, returning pass, warn, or fail with matching exit codes. Stdlib-only, CI-ready.

    hermes-labs-ai/csv-quality-gate's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 13, 2026
  • intent-verify Public

    intent-verify is a deterministic, zero-LLM CLI that checks whether a repo's source still lexically covers the acceptance items in a markdown spec, INTENT.md, or handoff doc, returning verified, partial, or missing. A fast guardrail for catching spec-vs-code drift before review, release, or handoff. Lexical coverage, not semantic proof.

    hermes-labs-ai/intent-verify's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 13, 2026
  • langstate Public

    Inspectable context compression for LLM conversations: turn older history into visible scaffold state, keep recent turns verbatim, and check named facts with lexical receipts.

    hermes-labs-ai/langstate's past year of commit activity
    Python 0 Apache-2.0 0 0 0 Updated Sep 13, 2026
  • claude-router Public

    claude-router is a local prompt router that picks the right Claude model tier and prepends the right scaffold using local embeddings before you call the API. A deterministic routing layer for eval, research, content, and review prompts that helps teams stop overspending on Sonnet and Opus when Haiku plus structure is enough.

    hermes-labs-ai/claude-router's past year of commit activity
    Python 1 MIT 0 0 0 Updated Sep 13, 2026
  • te-drift-detector Public

    Experimental Python tool for inspecting language and task-framing changes across long AI conversations.

    hermes-labs-ai/te-drift-detector's past year of commit activity
    Python 0 MIT 0 0 0 Updated Sep 13, 2026

Most used topics

Loading…