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.

Expat 2.8.2 released, fixes 13 vulnerabilities

https://blog.hartwork.org/posts/expat-2-8-2-released/
2•spyc•1m ago•0 comments

Show HN: OpenKnowledge – open-source alternative to Obsidian/Notion

https://openknowledge.ai/
6•engomez•3m ago•1 comments

Show HN: A Kanban for vibe coding in Claude Code and Codex

https://www.fredrin.dev
2•jaequery•3m ago•0 comments

1,600°C reactor can melt raw Moon dust into finished solar cells, glass and wire

https://www.autonocion.com/us/reactor-moon-solar-cells/
4•Jimmc414•4m ago•0 comments

IBM Outlines Sub-1nm Nanostack Transistor Technology

https://www.servethehome.com/ibm-outlines-sub-1nm-nanostack-transistor-technology/
2•ksec•5m ago•0 comments

What is the best way to get survey answers?

3•Lil-Finance-Bro•7m ago•0 comments

Tabularis: Open-source desktop SQL client your AI agent can use

https://tabularis.dev/
2•maxloh•7m ago•0 comments

Code review is dead. Long live code review

https://blog.codacy.com/code-review-is-dead-why-ai-generated-code-needs-verification-not-human-ap...
3•claudiacsf•8m ago•0 comments

Windows 10 quietly gets one more year of support and updates

https://www.neowin.net/news/windows-10-quietly-gets-one-more-year-of-support-and-updates/
2•bundie•8m ago•0 comments

Measuring tech debt in tokens instead of engineering hours

https://heysoup.co/notes-tech-debt-token-function
2•heysoup•8m ago•0 comments

Show HN: Use AI once to build the automation, then run it with $0 in AI

https://www.visualbuild.me
3•visualbuildme•11m ago•0 comments

Show HN: VibeDrift – measuring AI coding drift across open source repos

https://www.vibedrift.ai
3•samiahmadkhan•11m ago•0 comments

The Boeing 747 Begins Its Final Descent

https://www.theatlantic.com/magazine/2026/07/boeing-747-retirement/687304/
3•dbl000•13m ago•1 comments

Cultures of Making and Relating

https://blog.khinsen.net/posts/2026/06/25/cultures.html
3•akkartik•13m ago•0 comments

Ghostty/Agents.md

https://github.com/ghostty-org/ghostty/blob/main/AGENTS.md
2•adithyassekhar•13m ago•0 comments

Technical feedback on a client-side microkernel enclave?

https://eunomia.adeno.ltd/portal/eunomia-demo.html
2•renrenrenren•15m ago•1 comments

Daytona is going closed source

https://www.daytona.io/dotfiles/updates/daytona-is-going-closed-source
2•ushakov•15m ago•0 comments

In Meta's Reality Lab: Your body's data was only valuable once

https://www.nplusonemag.com/online-only/online-only/in-the-reality-lab/
2•johnshades•16m ago•0 comments

The principle of least power (2007)

https://blog.codinghorror.com/the-principle-of-least-power/
2•pramodbiligiri•16m ago•0 comments

YouTube Video ID Allowance

https://michaelchadwick.info/blog/2026/02/02/youtube-video-id-allowance/
4•speckx•16m ago•1 comments

Everyone's Been Drawing Pterosaur Wings Wrong

https://nautil.us/everyones-been-drawing-pterosaur-wings-wrong-1282235
2•Brajeshwar•19m ago•0 comments

Object-oriented OS with many features of popular niche Linux distributions

https://github.com/Jonathan-R-Anderson/anonymOS/
2•rockbeatspaper•19m ago•1 comments

Show HN: Hikaru Labs – Bulk image and file processing, 100% in-browser

https://hikarulabs.xyz
2•CFBL•19m ago•1 comments

Calling everything AI-generated is lazy

https://00f.net/2026/06/25/stop-calling-everything-ai-generated/
1•Tomte•19m ago•0 comments

A Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
1•verditelabs•19m ago•1 comments

Billionaire's Warning: I'm Selling. The Crash Is Here [video]

https://www.youtube.com/watch?v=32u5T6lO8qk
2•hsnewman•22m ago•0 comments

Claude Code Hints at Fable Return

https://twitter.com/synthwavedd/status/2069813760622043483
4•thedebuglife•22m ago•3 comments

The Trump White House Is over Anthropic CEO Dario Amodei

https://www.wired.com/story/the-trump-white-house-is-over-anthropics-dario-amodei/
4•thedebuglife•23m ago•0 comments

What if some of history's earliest kings were queens?

https://www.nationalgeographic.com/history/article/history-earliest-kings-ur-sumeria
2•bookofjoe•23m ago•0 comments

Route Through Dead Zones. 302x Faster Than Google

https://www.elara-cortex.com/
1•jkuria•23m ago•0 comments