frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

A simple heuristic for agents: human-led vs. human-in-the-loop vs. agent-led

1•fletchervmiles•1y ago
tl;dr - the more agency your agent has, the simpler your use case needs to be

Most if not all successful production use cases today are either human-led or human-in-the-loop. Agent-led is possible but requires simplistic use cases.

---

Human-led:

An obvious example is ChatGPT. One input, one output. The model might suggest a follow-up or use a tool but ultimately, you're the master in command.

---

Human-in-the-loop:

The best example of this is Cursor (and other coding tools). Coding tools can do 99% of the coding for you, use dozens of tools, and are incredibly capable. But ultimately the human still gives the requirements, hits "accept" or "reject' AND gives feedback on each interaction turn.

The last point is important as it's a live recalibration.

This can sometimes not be enough though. An example of this is the rollout of Sonnect 3.7 in Cursor. The feedback loop vs model agency mix was off. Too much agency, not sufficient recalibration from the human. So users switched!

---

Agent-led:

This is where the agent leads the task, end-to-end. The user is just a participant. This is difficult because there's less recalibration so your probability of something going wrong increases on each turn… It's cumulative.

P(all good) = pⁿ

p = agent works correctly n = number of turns / interactions

Ok… I'm going to use my product as an example, not to promote, I'm just very familiar with how it works.

It's a chat agent that runs short customer interviews. My customers can configure it based on what they want to learn (i.e. why a customer churned) and send it to their customers.

It's agent-led because

→ as soon as the respondent opens the link, they're guided from there → at each turn the agent (not the human) is deciding what to do next

That means deciding the right thing to do over 10 to 30 conversation turns (depending on config). I.e. correctly decide:

→ whether to expand the conversation vs dive deeper → reflect on current progress + context → traverse a bunch of objectives and ask questions that draw out insight (per current objective)

Let's apply the above formula. Example:

Let's say:

→ n = 20 (i.e. number of conversation turns) → p = .99 (i.e. how often the agent does the right thing - 99% of the time)

That equals P(all good) = 0.99²⁰ ≈ 0.82

So if I ran 100 such 20‑turn conversations, I'd expect roughly 82 to complete as per instructions and about 18 to stumble at least once.

Let's change p to 95%...

→ n = 20 → p = .95

P(all good) = 0.95²⁰ ≈ 0.358

I.e. if I ran 100 such 20‑turn conversations, I’d expect roughly 36 to finish without a hitch and about 64 to go off‑track at least once.

My p score is high. I had to strip out a bunch of tools and simplify but I got there. And for my use case, a failure is just a slightly irrelevant response so it's manageable.

---

Conclusion:

Getting an agent to do the correct thing 99% is not trivial.

You basically can't have a super complicated workflow. Yes, you can mitigate this by introducing other agents to check the work but this then introduces latency.

There's always a tradeoff!

Know which category you're building in and if you're going for agent-led, narrow your use-case as much as possible.

Terminal Trove Talks with Miguel de Icaza

https://terminaltrove.com/blog/terminal-trove-talks-with-miguel-de-icaza/
1•aghuang•3m ago•0 comments

Concerning Git's Packing Heuristics (2006)

https://www.kernel.org/pub/software/scm/git/docs/technical/pack-heuristics.html
1•gsu2•5m ago•0 comments

Video2NAND – Abusing video codecs for great computational power

https://sharedobject.blog/posts/vp8-combinatorial-logic/
1•firer•8m ago•0 comments

Mysterious DNA: two unknown ancestors found in human genome

https://www.euronews.com/health/2026/08/01/mysterious-dna-two-unknown-ancestors-found-in-human-ge...
1•ike_usawa•10m ago•0 comments

Can You Beat GothamChess?

https://chess-chances.alexboden.ca
2•alexboden•12m ago•0 comments

Show HN: Rails Agent – Build Autonomous AI Agents Natively in Ruby on Rails

https://rails-agent.com
1•kannanreghu•12m ago•0 comments

Reduction to the Table Top: Systematic Discovery at Low Cost

https://chillphysicsenjoyer.substack.com/p/on-reduction-to-the-table-top
1•crescit_eundo•13m ago•0 comments

The Magic of 8 and 24

https://arxiv.org/abs/2207.03871
1•brandonb•15m ago•0 comments

How to disable or avoid intrusive AI – librarian.net

https://www.librarian.net/notoai/
2•colinprince•16m ago•0 comments

Show HN: CC Meter, a Windows Tray Gauge for Claude Code and Codex Limits

https://github.com/silverdolphin863/claude-code-meter
1•silversurfer863•18m ago•0 comments

Do Not Trust, Continuously Verify (Your AI Agents)

https://nochan.net/b/Internet-Crap/20260714-Do-Not-Trust--Continuously-Verify/
2•Bender•18m ago•0 comments

The Seinfeld Chronicles: Digital Edition

https://seinfeld.visualisingdata.com/
3•wallflower•19m ago•0 comments

Show HN: Commonplace Wiki – A Confluence Alternative Based on Git and OKF

https://github.com/commonplace-wiki/commonplace
2•aiobe•21m ago•1 comments

Rails patches critical Active Storage flaw with RCE potential

https://www.bleepingcomputer.com/news/security/rails-patches-critical-active-storage-flaw-with-rc...
2•Brajeshwar•27m ago•0 comments

Ban AI Surveillance at Live Events

https://www.banfacialrecognition.com/venues/
2•Cider9986•27m ago•1 comments

Arrakis raises $8M for AI agent runtime security

https://runtimewire.com/article/arrakis-security-raises-8-million-ai-agent-runtime-controls
2•ryanmerket•29m ago•0 comments

World-first photonic time crystal opens a new era of light control

https://www.sciencedaily.com/releases/2026/07/260731034131.htm
2•bookofjoe•29m ago•0 comments

First open-source firmware for AM5 launches – Coreboot and openSIL on Zen 4

https://www.tomshardware.com/pc-components/motherboards/first-open-source-firmware-for-am5-offici...
3•sbulaev•30m ago•0 comments

Show HN: Sagrada – a linter for instruction files' belief state

https://cruxia.dev/
2•mars-ausili•31m ago•0 comments

Show HN: Claude Code takes forever, so I filled the waiting with Pokémon

https://github.com/zamarrowski/claudemon
2•zamarrowski•31m ago•0 comments

AI Images Are Everywhere. Here's What They Do to Our Brains, and What We Can Do

https://www.wsj.com/tech/ai/ai-slop-blurring-reality-podcast-06a9e879
2•fortran77•32m ago•2 comments

Survey: From Agile to a Product Operating Model

https://age-of-product.com/survey-product-operating-model/
1•swolpers•32m ago•0 comments

Keep your vault tidy with item archiving

https://bitwarden.com/blog/keep-your-vault-tidy-with-item-archiving/
1•loughnane•33m ago•0 comments

AI and Productivity: What Firms Are Saying on Earnings Calls

https://www.stlouisfed.org/on-the-economy/2026/jul/ai-productivity-what-firms-say-earnings-calls
2•m-hodges•33m ago•1 comments

More Americans now support than oppose all-day school cellphone bans

https://www.pewresearch.org/short-reads/2026/07/29/more-americans-now-support-than-oppose-all-day...
4•Markoff•35m ago•1 comments

Systems of Agentic Leadership

https://agenticleadership.substack.com/p/systems-of-agentic-leadership
2•johnrauser•37m ago•0 comments

The adorable love story behind Wikipedia's 'high five' photos

https://www.inverse.com/input/culture/wikipedia-high-five-too-slow-photos-mystery-couple-solved
2•ceejayoz•39m ago•0 comments

Show HN: Email client TUI with messenger-like layout UI

https://gitlab.com/Linkinverse/mailchat
2•malloc-0x90•40m ago•1 comments

Shitty Sleep

https://lemurintheattic.mataroa.blog/p/shitty-sleep/
1•xyztenet•41m ago•2 comments

Zellij: Support the Kitty Image Protocol

https://github.com/zellij-org/zellij/pull/5428
1•HellsMaddy•43m ago•0 comments