Skip to content
@hermes-labs-ai

Hermes Labs

Hermes Labs is an agentic infrastructure company building the reliability layer for autonomous systems.

Hermes Labs

Hermes Labs is an agentic infrastructure company building the reliability layer for autonomous systems.

Make agent behavior easier to inspect, test, control, and explain.

Site Research Open source Writing

Browse the open-source catalog · Try LintLang · See engineering evidence · Get help with a production failure

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.


What we do

We build reliability infrastructure for 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

Choose an installation route: agent plugins for Claude Code, Codex, or GitHub Copilot; the shared Homebrew tap for packaged command-line tools. Each catalog lists its available tools; product repositories retain their source, releases, and issue trackers.

Four useful places to begin:

  • LintLang — statically check agent instructions, configuration, and tool descriptions before they ship.
  • zer0dex — explore a readable local memory index alongside vector retrieval.
  • Little Canary — probe untrusted input for prompt-injection risk before it reaches the primary workflow.
  • Fidelis — retrieve original local passages verbatim in the default memory path.

Use the open-source catalog and each repository README for current maturity, installation, limitations, and supporting evidence before adoption.


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.

This work may be executed through human-directed autonomous engineering infrastructure. Rolando Bosch is the responsible human contributor and authorizes publication from his GitHub account.


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 90 4

  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 36 6

  3. zer0dex zer0dex Public

    A local dual-layer memory pattern for AI agents: a compact, human-readable markdown index paired with semantic retrieval from a local vector store, queried before each message. For cross-project re…

    Python 60 5

  4. fidelis fidelis Public

    Zero-LLM agent memory for Claude Code and AI agents: local-first BM25, dense-vector, and reciprocal-rank-fusion retrieval. Returns original passages verbatim by default. Available on PyPI as fideli…

    Python 23 2

  5. hermes-gate hermes-gate Public

    Receipt-bound completion rail for coding agents

    Python 2 1

Repositories

Showing 10 of 32 repositories
  • 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, deterministic checks, built for CI.

    hermes-labs-ai/lintlang's past year of commit activity
    Python 90 Apache-2.0 4 2 0 Updated Sep 26, 2026
  • hermes-gate Public

    Receipt-bound completion rail for coding agents

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

    Evidence-first LLM-as-judge scoring for AI artifacts — papers, PRs, prompts, cold emails: synthesizes a rubric, collects quoted-evidence citations, scores only against that evidence, and hedges on thin evidence. Every dimension ties to a file:line or quote, with reproducibility receipts. 7 backends.

    hermes-labs-ai/hermes-rubric's past year of commit activity
    Python 2 Apache-2.0 2 0 0 Updated Sep 26, 2026
  • 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 block, flag, or pass before your primary model acts. Inbound preflight sensor, not a guarantee.

    hermes-labs-ai/little-canary's past year of commit activity
    Python 36 Apache-2.0 6 0 3 Updated Sep 26, 2026
  • 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 0 Updated Sep 26, 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 2 Apache-2.0 1 0 0 Updated Sep 26, 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 3 Apache-2.0 1 0 0 Updated Sep 26, 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 1 Apache-2.0 1 0 0 Updated Sep 26, 2026
  • fidelis Public

    Zero-LLM agent memory for Claude Code and AI agents: local-first BM25, dense-vector, and reciprocal-rank-fusion retrieval. Returns original passages verbatim by default. Available on PyPI as fidelis-memory. Apache-2.0.

    hermes-labs-ai/fidelis's past year of commit activity
    Python 23 Apache-2.0 2 3 1 Updated Sep 26, 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 26, 2026