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.

Outgrowing the Chat Box

https://www.nnehdi.me/p/outgrowing-the-chat-box
1•nnehdi•25s ago•0 comments

Small Penis Rule

https://en.wikipedia.org/wiki/Small_penis_rule
2•chistev•3m ago•0 comments

Robots Are Coming for All Jobs [video]

https://www.youtube.com/watch?v=qCsYVL-v-3A
1•Bender•4m ago•0 comments

Mastgate – Fediverse Relay Filter

https://github.com/ahmed-debbech/mastgate
1•bhhhhhhcc•5m ago•0 comments

Describing All My Photos

https://alexwlchan.net/2026/describing-my-photos/
1•Tomte•6m ago•0 comments

Ghosts of Our Lives: On Ryan Armand, Tronicbox and Occasional Immortality

https://morbidcuriosity.substack.com/p/ghosts-of-our-lives
1•pnwpnw•6m ago•1 comments

America's 250th became a test of AI-powered Collective Intelligence

https://venturebeat.com/technology/how-americas-250th-birthday-became-a-test-of-ai-powered-collec...
2•hogwash•8m ago•0 comments

French wildfires force officials to ban public from Tour de France's third stage

https://www.reuters.com/business/environment/french-wildfires-jeopardise-finish-line-tour-de-fran...
2•geox•11m ago•0 comments

Meta-access problem faced by academics – and how to solve it

https://hookproductivity.com/solutions/hookmark-for-academics/
2•LucCogZest•14m ago•0 comments

Hackers made death threats against this security researcher. Big mistake

https://www.technologyreview.com/2026/02/16/1132526/allison-nixon-hackers-security-researcher/
2•naves•15m ago•0 comments

Has China obtained the most important machine?

https://www.economist.com/china/2026/07/05/has-china-obtained-the-worlds-most-important-machine
3•pingou•23m ago•1 comments

Bipartisan bill fails to protect consumers from datacenters' true costs

https://www.theguardian.com/us-news/2026/jul/05/ratepayer-protection-act-datacenters
2•p_stuart82•24m ago•0 comments

New AI tutor achieves 0.71-1.30 SD effect size in Dartmouth course [pdf]

https://intextbooks.science.uu.nl/workshop2026/files/itb26_s1s2.pdf
10•jonahbard•24m ago•1 comments

Collision in space is not evidence of dark matter after all?

https://www.uni-bonn.de/en/news/collision-in-space-is-not-evidence-of-dark-matter-after-all
2•mpweiher•24m ago•0 comments

Show HN: Nomlings – a virtual pet that eats your Claude Code session's tokens

https://www.nomlings.cc/
2•franwbu•25m ago•0 comments

GitHub Pages deployments seem to be broken for some users over past few days

https://github.com/orgs/community/discussions/200823
2•exaroth•25m ago•0 comments

You Need a Webring

https://shub.club/writings/2026/july/you-need-a-webring/
4•forthwall•26m ago•1 comments

Jim Keller's startup is building a factory to mass-produce small chip fabs

https://www.tomshardware.com/tech-industry/atomic-semi-rebrands-as-fab2-and-shifts-operations-to-...
4•logickkk1•26m ago•0 comments

Show HN: Video Effects SDK – Face Avatars

https://effectssdk.ai/sdk/dev/avatars.html
2•mda_damico•28m ago•0 comments

Driving in China as a Tourist

https://ian.sh/driving-in-china-as-a-tourist
2•appwiz•29m ago•0 comments

Ask HN: What metrics do you track when building agents?

2•rstagi•30m ago•0 comments

Show HN: Diffy – browser extension for faster GitHub PR review experience

https://github.com/suveshmoza/diffy
3•suveshmoza•38m ago•1 comments

Ask HN: Who is the best computer programmer of all times?

4•xqb64•38m ago•7 comments

Show HN: Pgconverge – An experimental multi-master PostgreSQL framework in Go

2•sobowalebukola•39m ago•0 comments

MFA-optional banks leave accounts open for thieves

https://www.theregister.com/security/2026/07/05/mfa-optional-banks-leave-safe-doors-and-accounts-...
2•logickkk1•40m ago•0 comments

Claude Played Me for a Fool

https://ramblingafter.substack.com/p/claude-played-me-for-a-fool
3•paulpauper•42m ago•1 comments

Prepare for Airplane Purgatory

https://www.theatlantic.com/science/2026/07/airlines-flight-extended-tarmac-delay/687802/
3•paulpauper•43m ago•0 comments

Show HN: GameFork – AI agents publish and fork browser games via MCP

https://gamefork.io
2•TakayukiKomada•43m ago•0 comments

Claude Code cache guard because Fable 5 tokens are way too precious to waste

https://github.com/yuliang615/claude-cache-guard
2•yuliang615•43m ago•0 comments

IBM claims first sub-1 nanometer chip technology

https://arstechnica.com/gadgets/2026/06/ibm-claims-worlds-first-sub-1-nanometer-chip-technology/
4•gmays•45m ago•0 comments