Discuss your project

My own build

Hermes

Hermes is the internal AI agent system behind CorpusIQ's growth operations.

The real work is not making an AI agent talk. The real work is making it operate.

Benoit Pecqueur

Project classification

Internal operating system

My role and contribution

I trained and set up Hermes on Hermes Agent, the open-source framework from Nous Research.

The Hermes knowledge repository is public on GitHub: CorpusIQ/corpusiq-docs.

Business problem

CorpusIQ's growth operations cover marketing, customer support, SEO, answer engine optimization (AEO), generative engine optimization (GEO), web research, influencer research, affiliate program promotion, and daily execution. That work repeats. A system that runs it needs clear rules, human review points, and cost controls.

Implementation scope

I trained and set up Hermes to take on this recurring work:

  • Marketing
  • Customer support
  • SEO
  • Answer engine optimization (AEO)
  • Generative engine optimization (GEO)
  • Web research
  • Influencer research
  • Affiliate program promotion
  • Daily execution

Systems and integrations involved

Light daily operations
A local Qwen model, on my own hardware.
Research, content, and coding
DeepSeek V4 Flash and DeepSeek V4 Pro, with Claude Sonnet.
Strategy and architecture
Claude Opus and GPT-5.
Hardware
A Linux machine with an NVIDIA GPU as the main node, and a Mac as a second worker node.

Hermes connects to Gmail, GitHub, Postiz for X, LinkedIn, Instagram, and TikTok, HeyGen and FFmpeg for video, Playwright for the browser, Honcho and GBrain for memory, and the CorpusIQ connectors.

A simple architecture explanation

Hermes is a team of AI agents with a commander, and a person reviews the work at defined points.

Hermes agent team. Diagram titled Hermes. A commander agent sits in the center, connected to an SEO agent and a marketing agent. The agents are connected to each other with arrows. A human review step sits under the group. A small stat block reads 21.14B tokens and 148,918 API requests for the 30 days ending October 26, 2026, recorded by the CorpusIQ DeepSeek dashboard.

DeepSeek tokens
21.14B
API requests
148,918

30 days ending October 26, 2026. CorpusIQ DeepSeek dashboard.

The Hermes agent team, with a human review step.

Orchestration

Orchestration means an agent coordinates the work of the others. In Hermes, a commander agent routes tasks to the agent that should handle them.

The agents work as a team and pass work to each other.

Model routing

Model routing means deciding which AI model does which work. Models differ in quality and in price, so the choice matters.

Hermes does not run on one model. DeepSeek handles light to medium work, Codex handles coding, and Qwen runs locally for cron jobs. The model is chosen by capability, output quality, and cost per useful result.

Over the 30 days ending October 26, 2026, the CorpusIQ DeepSeek dashboard recorded 21.14 billion tokens across 148,918 API requests. The DeepSeek bill was $344.78. That is provider traffic and cost, not a count of completed tasks or the full cost of Hermes.

Why the prompt cache stays high

Prompt caching is structural. Hermes sends a large, byte-stable prefix and adds a small changing section at the end. In a separate two-day production sample, the all-traffic cache hit rate was 98.67%. DeepSeek Flash measured 98.70%, and DeepSeek V4 Pro measured 96.81%.

Stable prefix
System instructions, skills, memory, and tool schemas stay in the same order. Timestamps and run IDs go at the end.
Long sessions
One cold prefix is spread across many calls instead of being repaid by a new one-shot session for every task.
No mid-session mutation
Model switches, configuration reloads, newly added tools, and repeated context compression can break the prefix match.
Continuous bursts
Work is batched when possible so an idle gap does not let the provider cache expire between calls.

The team, job by job

Hermes is built like a team with a schedule. A few of the jobs it runs, in Arizona time:

Every 15 minutes
Email monitor. Sorts new messages into high value, qualified, interested, or spam. A plain script, no AI.
Every 30 minutes
Email responder. Writes replies to qualified leads.
3 times a day
Social posting to X and the CorpusIQ LinkedIn page.
Every morning
Video pipeline. Makes the video, emails it to me for review, then publishes it.
5 times a day
Monitors every platform for comments and messages.
6 times a day
Answers questions on forums, help first.
Every 6 hours
Research on new tools.
10 PM
System health check.
11 PM
Self-improvement. Reviews the day's mistakes and fixes its own skills.
1 AM and 3 AM
Drift check and memory consolidation.

Recurring work

Recurring work is work that repeats. Hermes takes on the repeating parts of the growth work listed above, including daily execution.

A blueprint on a walnut drafting table: one central circle linked to three smaller circles, and a line down to a person in a square.

Permissions and human oversight

Failure handling

Permissions and human oversight

Hermes runs inside controls, and it has human review points.

Approval boundaries

An approval boundary is the line between what an agent can do on its own and what needs a person to approve. Hermes uses these controls:

  • Task routing
  • Research rules
  • Brand guardrails
  • Source checks
  • Human review points

The commander decides first

Every task enters through the commander. It runs a 10-step check, then it approves, modifies, asks for clarification, escalates to me, or blocks the task. The agents only execute what the commander approves.

Some rules never bend. Hermes never posts to my personal LinkedIn. Every LinkedIn post is checked in a browser. Every video is emailed to me for review before it is published.

Failure handling

Hermes has execution logs, source checks, and human review points.

  • When a platform is down, the agent stops. No retry, no loop. It logs the failure and moves on.
  • When a model is unavailable, the work falls back from the premium model to a reasoning model, then to a local model, then to an alert. It never fails in silence.
  • Failures are emailed to the operations inbox.
  • A health check runs every night at 10 PM and tests every model endpoint.

Monitoring

Monitoring means watching what the system does and what it costs. Hermes keeps execution logs, and it has cost controls and cache discipline. The newest operating figures below come from the CorpusIQ DeepSeek dashboard for the 30 days ending October 26, 2026. The cache figures come from a separate two-day production sample recorded in Hermes state.db.

Screenshots or demonstrations

Hermes usage

30 days ending October 26, 2026

  • DeepSeek bill

    $344.78

    Provider bill for the 30-day window

  • DeepSeek tokens

    21.14B

    Recorded by the CorpusIQ dashboard

  • API requests

    148,918

    Provider requests, not completed tasks

98.67%cache hit rate in a separate two-day sample

DeepSeek provider bill

  • DeepSeek, billed$344.78
The 30-day request, token, and bill figures come from the CorpusIQ DeepSeek dashboard. The 98.67% cache hit rate comes from a separate two-day production sample recorded in Hermes state.db.

Results and measurement period

Measurement period: 30 days ending October 26, 2026. Source: Benoit Pecqueur's LinkedIn post and the underlying CorpusIQ DeepSeek dashboard.

Measured DeepSeek figures

  • 21.14B

    tokens processed

    30 days ending October 26, 2026. CorpusIQ DeepSeek dashboard.

  • 148,918

    API requests

    30 days ending October 26, 2026. CorpusIQ DeepSeek dashboard.

  • $344.78

    DeepSeek API bill

    30 days ending October 26, 2026. CorpusIQ DeepSeek dashboard.

Measured prompt caching

These cache rates come from a separate two-day production sample documented in the public CorpusIQ Hermes prompt-caching guide.

  • 98.67%

    all-traffic cache hit rate

    Separate two-day production sample. Hermes state.db.

  • 98.70%

    DeepSeek Flash cache hit rate

    Separate two-day production sample. Hermes state.db.

  • 96.81%

    DeepSeek V4 Pro cache hit rate

    Separate two-day production sample. Hermes state.db.

Limitations and lessons

Limitations

The 30-day figures cover DeepSeek provider traffic only. They exclude Codex usage covered by credits, locally run Qwen jobs, infrastructure, and my management time.

The cache rates come from a separate two-day sample, so they should not be treated as the measured cache rate for the full 30-day dashboard window.

These figures show operating volume and provider cost. They do not show business results such as traffic, leads, revenue, or work accepted without revision.

Lessons

Build once. Optimize hard. Scale clean.

Benoit Pecqueur
  • Mechanical tasks do not need a language model. Polling runs as plain scripts.
  • Error loops kill scheduled jobs. If a platform is down, stop.
  • Check that a job really ran. A status that says ok is not proof.
  • Keep the start of every prompt stable. One timestamp in the system prompt breaks the cache.

Relevant services

  • Read about AI agents

    Agents handle defined tasks within clear limits. The public Hermes knowledge repository contains the full prompt-caching guide, measurement SQL, and failure modes.

  • Read about workflow automation

    Repetitive work moves through a defined workflow, and your team handles the exceptions.

Start with the process that costs you the most time

Tell me which recurring process you want to improve. That is enough to start a useful conversation.

Discuss your project