Your brand hereYour brand hereYour brand hereYour brand hereYour brand hereYour brand here
Agents in the Wild

A local agent got tricky C++ algorithms right by testing its own mistakes

Karatsuba multiplication and a recursive halfgcd, from academic papers into an existing codebase. A Qwen-powered Hermes agent took many tries, but its own tests caught the errors.

Done withHermes AgentSpotted· by HN user nullc· Oct 16, 2026

Result Its own mutation-tested tests caught the errors

“It wrote extensive test cases and validated them with mutation testing (per my standard instructions)-- took many tries getting the algorithms right but with the tests handy it found and fixed the errors.”
From the source: Hacker News · 2026-05-18

Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.

What they did

They gave the agent a pile of relevant academic papers and their existing C++ codebase, which already had an internal field arithmetic library. They had it implement karatsuba multiplication of characteristic-2 polynomials, then the recursive halfgcd algorithm for the same polynomials. They also had it write extensive test cases and validate them with mutation testing.

How it went

The agent correctly found the optimizations that used the field’s own properties on its own. It took many tries to get the algorithms right, but with the tests in place it found and fixed the errors itself.

Try it yourself with Hermes Agent
Give your coding agent the relevant reference papers and your existing codebase, then ask it to implement a specific algorithm following the codebase's existing conventions. Tell it to write extensive tests and validate them with mutation testing, then let it iterate and fix its own errors using the test results.

A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.

Keep browsing

All 13 Hermes Agent use casesAll 90 Engineering use cases
Your brand hereYour brand hereYour brand hereYour brand hereYour brand hereYour brand here

Advertise on Agents in the Wild

Reach the people building and buying AI agents.

Every pageSidebars + phone strips
High-intentBuilders, not browsers
20/20Spots left

How it works

Your brand appears in rotating sponsor slots on desktop sidebars and in the scrolling sponsor strips at the top and bottom of the screen on phones, across every Agents in the Wild page. Sponsors rotate every 10 seconds so every advertiser gets fair visibility.

Pricing

Monthly rate: $250/month

Reserve your spot ($250/month) →

Billed monthly through Stripe. Cancel anytime. See the sponsor terms.

Submit an agent in the wild

Have an agent doing real work, or spotted one? Send the link and tell us the result. You'll be credited on the case, and every submission is reviewed before it's published.

By submitting, you agree to our Terms and Privacy Policy.