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.

Russia bans diesel exports after Ukrainian attacks, straining global market

https://www.cnn.com/2026/07/09/business/russia-diesel-ban-ukrainian-strikes-intl
1•breve•5m ago•0 comments

What Happens When the Public Record Shrinks

https://www.theatlantic.com/newsletters/2026/07/trump-administration-public-record-data-holes/687...
1•paulpauper•6m ago•0 comments

Childhood and Education #20: Phones and Screens

https://thezvi.substack.com/p/childhood-and-education-20-phones
1•paulpauper•8m ago•0 comments

AI #176 Part 1: Doing It Live

https://thezvi.substack.com/p/ai-176-part-1-doing-it-live
1•paulpauper•9m ago•0 comments

Show HN: Fortress – Give your agents unlimited access to the web

4•armanluthra_•12m ago•0 comments

Ambient Website Background Clouds

https://github.com/paradise-runner/background-clouds
1•dividedcomet•19m ago•0 comments

I Made a JavaScript Obfuscater

https://potassiumv1.netlify.app/
1•ImOnHere•22m ago•0 comments

Command and Conquer: Red Alert Mac/Android/iOS ported using Codex

https://github.com/dk8827/ra-port
1•bananaboy•24m ago•1 comments

UST is bringing Claude to physical AI

https://www.anthropic.com/news/ust-claude
1•surprisetalk•24m ago•0 comments

China's giant Gobi solar plant runs after dark on salt, not batteries

https://electrek.co/2026/07/09/china-hami-solar-molten-salt-storage/
1•Bender•25m ago•0 comments

LibreOffice 26.8 Beta Released for Improving This Free Software Office Suite

https://www.phoronix.com/news/LibreOffice-26.8-Beta-1
3•Bender•25m ago•1 comments

Linux Prepares for New USB-C Security Feature on Lenovo ThinkPads

https://www.phoronix.com/news/ThinkPad-USB-C-Restricted-Mode
2•Bender•26m ago•0 comments

Phone on Feminism

https://conversationalist.org/2019/09/13/feminism-explains-our-toxic-relationships-with-our-smart...
3•cratermoon•26m ago•0 comments

Karl Sims – Liquid Selves (1992)

https://www.karlsims.com/liquid-selves.html
1•connorboyle•28m ago•0 comments

Focus

https://boz.com/articles/focus
3•iacguy•28m ago•0 comments

Building an AI legal companion for domestic and sexual violence survivors

https://apps.apple.com/us/app/lea-by-legali-ai/id6759547127?see-all=reviews&platform=iphone
1•irawati_puteri•36m ago•1 comments

Volkswagen to Slash Half Its Models as Sales Fall

https://www.nytimes.com/2026/07/09/business/volkswagen-china-sales.html
3•bookofjoe•37m ago•1 comments

Stack Rankings: A Comprehensive Guide

https://www.thehumancapitalhub.com/articles/stacked-rankings-a-comprehensive-guide
1•akkartik•40m ago•0 comments

Can A.I. Keep a Parent Alive?

https://www.newyorker.com/news/as-told-to/can-ai-keep-a-parent-alive
1•petethomas•44m ago•0 comments

Study: "Mommy, do you love your phone more than me?"

https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2026.1766665/full
2•hbcondo714•49m ago•0 comments

Show HN: I built a free app for New Yorkers to save money on groceries

https://sbnyc.app/
8•eli_yumnik•51m ago•1 comments

Fraym – AI that creates product demo videos for you

https://tryfraym.com
1•jrud•52m ago•0 comments

Just shipped rate limiting for hypersonic.js

https://github.com/hypersonic-js/hypersonic-js
1•joaquim_d•52m ago•1 comments

What will define Elon Musk's legacy? DOGE cuts to USAID Ebola programs

https://www.theguardian.com/technology/2026/jul/07/elon-musk-doge-cuts-usaid-ebola
6•tastyface•54m ago•3 comments

We cannot wait for better post-quantum signature algorithms

https://blog.cloudflare.com/ml-dsa-will-have-to-do/
3•mappu•57m ago•0 comments

Cleveland Fed's Hammack says AI could fuel inflation, rate hikes may be needed

https://www.cnbc.com/2026/06/30/cleveland-fed-president-hammack-sees-ai-fueling-inflation-says-ra...
3•mapping365•58m ago•0 comments

The 'Father of the Internet' is finally retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
2•compiler-guy•1h ago•0 comments

Surgeons face higher infertility rates. UC may make it even harder to have kids

https://sfstandard.com/2026/07/09/ucsf-surgical-residents-fertility-benefits-occupational-hazard/
3•littlexsparkee•1h ago•1 comments

Warsh picks ex-BoE chief Mervyn King and tech boss Marc Andreessen to reform Fed

https://www.ft.com/content/e45a34e0-cd96-4b72-9ff3-380efc28a705
1•JumpCrisscross•1h ago•0 comments

Ukraine: How a kamikaze drone partially AI operated is attacking Russian convoys

https://www.france24.com/en/europe/20260601-ukraine-kamikaze-drone-partially-operated-ai-attackin...
2•rawgabbit•1h ago•0 comments