TechBeat Canada
  • AI
  • Founders
  • Security
  • Funding
  • Upcoming Tech Events Canada
  • 2026 Summit
  • Partner with us
No Result
View All Result
TechBeat Canada
  • AI
  • Founders
  • Security
  • Funding
  • Upcoming Tech Events Canada
  • 2026 Summit
  • Partner with us
No Result
View All Result
TechBeat Canada
No Result
View All Result
Home Featured

Gubernaut: Dushyant Sharma on stopping AI Agent loops

Dushyant Sharma explains how Gubernaut detects repeating AI calls, the limits of its measured cost savings, and his plans to extend its governor beyond API requests.

by TechBeat Canada
October 7, 2026
in Featured, Founders, Latest news
Reading Time: 4 mins read
A A
Gubernaut Founder -Dushyant Sharma

Gubernaut Founder -Dushyant Sharma

Share on Facebook

What happened that made me realize AI agents needed a way to detect when they were stuck in a loop?

Dushyant Sharma: Runaway API loop cost is a widely known problem in the modern day, especially in the developer community. AI agents are built to have instructions and actions, but they sit in the same pipeline. Anything written in that pipeline can be argued with the request.

Metacognition means a system watching its own run and flagging it as thinly evaluated; that was the gap in front of me, not a missing feature but a missing governor.

So, I built one.

Since Gubernaut sits outside the model. It does not read the prompt. A sensor writes three numbers about the turn, and the governor reads only those; that’s what led to Gubernaut keel and Gubernaut Tiller.

A loop is not a bug in the model. It is a machine with no valve.

Gubernaut-Explainer-1-the-line

For someone who has never built an AI agent, how does Gubernaut recognize a loop and stop it before another paid call?

Dushyant Sharma: Gubernaut stops a repeating AI agent at the fourth call, so that call is never billed.

An AI agent is a program that calls a model, reads the answer, and calls again. Each call is a charge. When it gets stuck, it does not pause. It calls again.

Gubernaut sits on that path. Your code still believes it is talking to the model, but it is talking to Gubernaut Tiller, a local proxy. A proxy is a program that receives the call, watches it, and then passes it on, or does not. You put it there by changing one address: the base URL, which is the line that says where calls go.

No new app. No account. Tiller speaks the OpenAI API, so an existing client can point at it.

It does not read the words. A sensor writes three numbers.

  1. Intensity is how heated the turn is.
  2. Valence is how friendly it is.
  3. Repetition is how much it copies the last turn.

The governor reads only those numbers. On a copy-paste loop, the stop lands at turn 4. The first three calls still go out and still cost money. The fourth is never sent, so it cannot be billed.

Gubernaut Keel is the same decision inside the program. Keel decides; the calling code does the stopping. Tiller stops the call itself.

Gubernaut-Explainer-2-The-Fourth-call-Scaled
Gubernaut-Explainer-2-The-Fourth-call-Scaled

Your site shows substantial cost savings in tests where agents repeated the same request. What have you seen in real customer use, and where are the limits of those results?

Dushyant Sharma: Customer data regarding savings is not available to us, since it is open-source software and we don’t track consumer data.

The savings are from measured test runs, not from a named customer. On one runaway loop, the bill fell from $0.1669 to $0.0068, mathematically saving approximately 95% on that loop spend.

That run was GPT-5.6 Sol. Across seven measured configurations and four model families, Gubernaut cut 79.8 to 95.9 percent of a runaway loop’s token bill, because the next call was never sent. The governed arm paid 23 to 63 percent of the unguarded baseline.

The usual fix made it worse. A static calming prompt cost 117 to 192 percent of the unguarded bill. More words. Same loop. Asking nicely is how the invoice grows.

It saves money only when an agent is stuck repeating itself. An agent that never loops saves nothing. On the published test set, the repetition check caught 10 of 10 calm loops and recorded 0 of 30 false stops on ordinary traffic. A politely worded push can still slip past, not a copy-paste loop.

Gubernaut-Explainer-3-the-bridge

Who is using Gubernaut today, and what kinds of AI workflows are they protecting?

Dushyant Sharma: Gubernaut is free, open source under Apache-2.0, and runs on your own machine. It reports nothing home.

So, the only available stats are what’s in the public record as of today.

Paper – Live track ( 298 views, 58 downloads https://doi.org/10.5281/zenodo.21303518 )

Core – live count (41 downloads – https://crates.io/crates/gubernaut-core )

Gubernaut Tiller is the proxy. Gubernaut Keel is the library inside the program. A developer installs one of them and points an existing agent at it.

The workflow it is built for is any AI agent that calls a model in a loop. A tool that retries. A run that keeps going after it has stopped making progress. A support agent, a research agent, a coding agent, anything where the next call is another line on the invoice. It does not score the model. It watches the path and closes the valve when the calls start repeating.

The first check takes about thirty seconds, and it does not need an API key: https://github.com/thegubernaut/gubernaut/blob/main/docs/REPRODUCE.md

Gubernaut: Agi faculty radar
Gubernaut: Agi faculty radar

What is the hardest technical problem you’re tackling now, and where do you want to take Gubernaut next?

Dushyant Sharma: The hard problem is the reader, not the valve. A copy-paste loop is caught. A politely worded push often is not. That sharper reader is not in this release.

The governor does the right thing with the numbers it gets. Those numbers are still a basic reading of the turn. Today the valve closes on an API call. Next, it would close on an action the agent is about to take, still outside the model, still unable to be talked out of stopping. That step is drawn, not built. A loop that can look back at its own run is drawn, not built. The long direction is a physical machine, like a humanoid system, where the same idea would stop a motor instead of a request.


Links: Gubernaut website | Gubernaut on GitHub | Research paper on Zenodo | Gubernaut Core on crates.io

Tags: AI agentsAPI CostsArtificial Intelligencedeveloper toolsDushyant SharmaGubernautOpen Source

Recommended

Gubernaut Founder -Dushyant Sharma

Gubernaut: Dushyant Sharma on stopping AI Agent loops

October 7, 2026
Made in Canada, Your Data stays in Canada: Why cDox is built for Data Sovereignty

Made in Canada, Your Data stays in Canada: Why cDox is built for Data Sovereignty

February 4, 2026
Yasser Elsaid, Founder, Chatbase.co(Photo Courtesy: Chatbase)

No Permission Required: How Chatbase’s Yasser Elsaid built a $10M ARR company without a cent of venture capital

June 24, 2026
Moad Rahali Semlali, Co-Founder, Eclatira at ALL IN, Montreal

Eclatira’s Moad Rahali Semlali: Building AI Agents that hear, see and respond

October 1, 2026
Protected: Bryce McLaughlin: Building AB Films TV streaming platform for Independent Filmmakers

Protected: Bryce McLaughlin: Building AB Films TV streaming platform for Independent Filmmakers

October 15, 2026
From Belfast to Bay Street: David Sheridan puts Totalmobile on Canada’s Field Service Map

From Belfast to Bay Street: David Sheridan puts Totalmobile on Canada’s Field Service Map

October 15, 2026
The Tech Festival Canada

The Tech Festival Canada | Toronto: 26 Oct

October 12, 2026
Cybermonth - Canada October 2026

Your Best Defence Is You: Canada Marks Cyber Security Awareness Month 2026

October 12, 2026
LinkedIn Instagram Youtube
TechBeat Canada Logo

TechBeat.ca is your go-to destination for the latest in Canadian tech news, startups, security, AI, IoT, apps, and fintech, all tailored to keep you connected with the tech world.

Follow TechBeat

  • ✨ Wow stunning! 🎬📸

We loved seeing everyone celebrating the magic of film at our TIFF event! Thank you!!!

Share your favourite photos and please tag us so we can see and repost them:

@abfilmstv
@onsidecanada
@actratoronto
@listocalisto
@talentosaproductions

#TIFF2026 #TorontoFilm #CelebratingIndieFilms #TIFFEvents #TorontoEvents #FilmCommunity #IndieFilm
  • 🎬 TONIGHT IN TORONTO! 

Join us for the AB Films TV x ACTRA Toronto x TechBeat Mixer: Celebrating Indie Films during TIFF 2026!

Connect with filmmakers, producers, actors, crew, storytellers, creators and tech professionals for an evening of great conversations, new connections and a celebration of Canadian storytelling.

📅 Tuesday, September 15
⏰ 5:00–10:00 PM
📍 Northeastern University Toronto
375 Queen Street West

Premier Partner: ACTRA Toronto
Supporting Partners: TechBeat Media | Listocalisto | Prospera Labs

Registration is subject to approval. Reserve your spot on Eventbrite

#TIFF2026 #TorontoEvents #IndieFilm #CanadianFilm #ACTRAToronto #TechBeat #ABFilmsTV #Filmmakers #TorontoFilm #FilmIndustry #NetworkingEvent #CelebratingIndieFilms

Links

  • Who we are
  • Partner with us
  • Become a supporter
  • Contact Us
  • Terms and Conditions

Stay ahead with TechBeat

Get the latest in tech & business!

© 2026. TechBeat Media All Rights Reserved. Privacy | Cookies | Terms & Conditions.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

TechBeat Canada
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
No Result
View All Result
  • AI
  • Founders
  • Security
  • Funding
  • Upcoming Tech Events Canada
  • 2026 Summit
  • Partner with us

© 2026. TechBeat Media All Rights Reserved. Privacy | Cookies | Terms & Conditions.

TechBeat Canada Newsletter

The only briefing you need for the week ahead.

Weekly deep-dives into the deals, tech, and people shaping North American innovation - delivered straight to your inbox. Please read our Privacy policy.

Enter your email address

Thanks, I’m not interested