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

Gemini built a trie-based HTTP router and saved them a couple of hours

They'd written one by hand years before, so they knew exactly what they wanted. In VS Code's Agent Mode, Gemini built it and refactored it into a Python decorator. One dumb corner case slipped through.

Done withGeminiSpotted· by HN user rcarmo· Oct 18, 2026

Result One dumb corner case slipped through

“it generated a pretty useful piece of code that saved me a couple of hours”
From the source: Hacker News · 2025-04-27

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

What they did

They asked Gemini, running in VS Code’s Agent Mode, to build an HTTP-like router using a trie data structure and then refactor the result as a Python decorator. They had built something similar by hand a few years earlier, so they knew exactly what they wanted.

How it went

Gemini generated a pretty useful piece of code that saved them a couple of hours, other than a somewhat dumb corner case it failed at.

Try it yourself with Gemini
Ask [your coding agent] in its agent mode to build [a specific data-structure-backed utility, e.g. a trie-based HTTP router] for [your language/framework], then have it refactor the result into [a reusable decorator or function]. Review the output carefully for edge cases before using it in production code.

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 20 Gemini 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.