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.

What does software development look like when agents write 100% of the code?

https://blog.bastion.computer/what-does-software-development-look-like-when-agents-write-100-of-t...
1•almostlit•21s ago•0 comments

See HN comments with links to specific sites

1•sillysaurusx•39s ago•0 comments

Glucosamine linked to faster dementia progression

https://www.medicalnewstoday.com/articles/pain-supplement-glucosamine-linked-to-faster-dementia-p...
1•Gaishan•2m ago•0 comments

Amazon S3 annotations: attach rich, queryable context directly to your objects

https://aws.amazon.com/blogs/aws/amazon-s3-annotations-attach-rich-queryable-context-directly-to-...
2•dabinat•4m ago•0 comments

Sparda – Turn any Express/FastAPI app into an MCP server in 3 minutes

https://github.com/zyx77550/sparda
1•residual-labs•7m ago•0 comments

Firefox is easier than ever to customize

https://blog.mozilla.org/en/firefox/firefox-settings/
1•soheilpro•8m ago•0 comments

DOJ Seeks to Halt Air Pollution Lawsuit Against xAI Data Center

https://www.nytimes.com/2026/06/16/climate/xai-musk-mississippi-grok-turbine-lawsuit-naacp.html
1•cdrnsf•12m ago•0 comments

TimeTimeTime – Clock Equation Game

https://timetimeti.me/
1•duneisagoodbook•14m ago•1 comments

HN comments with links to HN

https://news.ycombinator.com/from?site=news.ycombinator.com&kind=comment
1•sillysaurusx•15m ago•1 comments

Assume You Will Be Hacked

https://www.theatlantic.com/technology/2026/06/ai-hacking-cybersecurity-banks/687562/
4•paulpauper•16m ago•0 comments

Fable and Mythos: Model Welfare

https://thezvi.substack.com/p/fable-and-mythos-model-welfare
1•paulpauper•16m ago•0 comments

Never Cross a River Four Feet Deep on Average

https://www.astralcodexten.com/p/never-cross-a-river-four-feet-deep
2•paulpauper•17m ago•0 comments

Wolfram Language and Mathematica Version 15, AI Assistant, Symbolic Music, More

https://writings.stephenwolfram.com/2026/06/launching-version-15-of-wolfram-language-mathematica-...
2•alok-g•18m ago•0 comments

NLnet announces funding for 67 more open-source projects

https://nlnet.nl/news/2026/20260616-67-new-projects.html
14•laurenth•22m ago•2 comments

Why the President Is Wrong About the Strait of Hormuz [video]

https://www.youtube.com/watch?v=MgfuFo7jaEE[video]
2•consumer451•25m ago•0 comments

Onward, Friends

https://www.eff.org/deeplinks/2026/06/farewell-now-friends
1•davidmr•26m ago•0 comments

Calvin and Hobbes at Martijn's – Bill Watterson

https://web.mit.edu/jmorzins/www/C-H-speech.html
1•rbanffy•29m ago•0 comments

Show HN: Sley – a native-Rust Git engine, benchmarked and verified against Git

https://heddle.sh/sley-parity
1•thorne_luke•29m ago•0 comments

Show HN: Fixing grammar and spelling using on-device Apple Foundation Model

https://github.com/huytd/afm-grammar/
1•huydotnet•30m ago•0 comments

Inverse Collatz's Tape

https://gbragafibra.github.io/2025/10/15/collatz_ant10.html
1•Fibra•31m ago•1 comments

Show HN: Odocs.co – multiplayer draw.io and docs for agent and human collab

https://odocs.co
1•gmicek•33m ago•0 comments

Analysis of the PrizeBuzz phishing network and impersonated brands

https://phisheye.com/blog/prizebuzz-phishing-network
2•naveenda•36m ago•1 comments

4 in 10 AI agents headed for demotion or the rubbish bin (Gartner)

https://www.theregister.com/ai-ml/2026/05/27/4-in-10-ai-agents-headed-for-demotion-or-the-rubbish...
3•indynz•36m ago•0 comments

Portsh: A batch/shell polyglot that implements a Lisp

https://github.com/smasher164/portsh
1•smasher164•40m ago•0 comments

Humiliating IIS servers for fun and jail time

https://mll.sh/humiliating-iis-servers-for-fun-and-jail-time/
8•denysvitali•41m ago•0 comments

DNS Query Duplication

https://www.potaroo.net/ispcol/2026-06/dups.html
2•caminanteblanco•41m ago•0 comments

Among the large new rockets Amazon was counting on, only Europe has delivered

https://arstechnica.com/space/2026/06/amid-launch-bottleneck-amazon-has-hundreds-of-satellites-wa...
9•logickkk1•43m ago•0 comments

Writing as Species-Being

https://philosophyofwriting.substack.com/p/writing-as-species-being
1•herbertl•44m ago•0 comments

Peter Thiel's 'Dialog' network was super-secret. A data leak changed that

https://san.com/cc/peter-thiels-dialog-network-was-super-secret-a-data-leak-changed-that/
7•lorecore•44m ago•1 comments

Show HN: oh-my-reddit – beautiful reddit threads, live in your terminal

https://github.com/renatoworks/oh-my-reddit
1•renatoworks•50m ago•0 comments