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 is the shortest paper in the history of mathematics? (2015)

https://hsm.stackexchange.com/questions/3099/what-is-the-shortest-paper-in-the-history-of-mathema...
1•azeemba•1m ago•0 comments

Show HN: Mumble Dictation – local dictation that learns your vocabulary

1•tarafans7•1m ago•0 comments

Agents Found Three RCEs as System (and Root) on Bing Image Search

https://xbow.com/blog/bing-images-rce-vulnerabilities
1•fedek_•1m ago•0 comments

The Ads on Apple News Continue to Suck, but at Least There Are a Lot of Them

https://daringfireball.net/2026/07/ads_on_apple_news_suck
1•CharlesW•2m ago•0 comments

A coding agent in 5 files, plus a skeptic that catches fake fixes

https://github.com/Saivineeth147/skeptic
1•Vineeth147•2m ago•0 comments

DKSplit – Fast Word Segmentation for Python

https://github.com/ABTdomain/dksplit
1•rzk•3m ago•0 comments

Show HN: Bookshelf – book quotes that appear between Claude Code and Codex turns

https://github.com/Amal-David/bookshelf
1•amaldavid•4m ago•0 comments

New flapping robot swims and flies like a diving bird

https://news.mit.edu/2026/new-flapping-robot-swims-and-flies-like-diving-bird-0709
1•Jimmc414•5m ago•0 comments

Which AI models understand insurance work?

https://www.coveragecat.com/ai/leaderboard
1•botacode•7m ago•0 comments

Solar Open 2: Korea's Sovereign Foundation Model, Built for Agentic Use

https://www.upstage.ai/blog/en/solar-open-2
2•maxloh•9m ago•0 comments

Why care about programming languages

https://ebellani.github.io/blog/2026/why-care-about-programming-languages/
1•rbanffy•9m ago•0 comments

Her rape kit had a DNA match. In San Francisco, that's not enough

https://sfstandard.com/2026/07/20/sfpd-rape-kit-investigation/
1•computerliker•10m ago•0 comments

Agent Host Protocol

https://microsoft.github.io/agent-host-protocol/
1•gokhan•14m ago•0 comments

Data Science Weekly – Issue 661

https://datascienceweekly.substack.com/p/data-science-weekly-issue-661
1•sebg•14m ago•0 comments

Dinitz-Garg-Goemans conjecture is false

https://xcancel.com/DmitryRybin1/status/2079904005652893709
1•franzb•14m ago•0 comments

Why AI Challenges Us: Ego, Awareness, and the Illusion of Ascent

https://www.immaculateconstellation.info/why-ai-challenges-us-part-2-ego-pure-awareness-and-the-i...
1•manjuc•15m ago•0 comments

Doesn't OpenAI have every incentive to destroy HuggingFace?

3•jrm4•16m ago•1 comments

Computational Arbitrage in AI Model Markets via Routing, Finetuning

https://arxiv.org/abs/2603.22404
1•blackcat201•17m ago•0 comments

AMD calls CUDA a 'non-event'

https://www.pcgamer.com/hardware/amd-calls-cuda-a-non-event-says-companies-are-programming-at-lev...
2•neilfrndes•20m ago•0 comments

First experimental evidence of recursive self-improvement (RSI)

https://threadreaderapp.com/thread/2077079778793042425.html
2•gmays•21m ago•0 comments

What we know about the typical Polymarket user

https://www.pewresearch.org/short-reads/2026/07/22/what-we-know-about-the-typical-polymarket-user/
2•gnabgib•23m ago•0 comments

Show HN: AI-factory – a spec-driven pipeline that stops AI agents rotting code

https://github.com/highflame-ai/ai-factory
1•sharathr•26m ago•0 comments

Deleting Systems You Don't Understand

https://idiallo.com/blog/deleting-systems-you-dont-understand
1•firefoxd•27m ago•0 comments

AMD EPYC 9006 Venice Announced and Looks Poised to Be a Grand Slam

https://www.phoronix.com/review/amd-epyc-9006-venice
3•rbanffy•29m ago•1 comments

Looking for Feedback on Website

https://www.what2do.me/
1•gnrlnoob•30m ago•3 comments

How Tether Benefited as Trump Insiders Shaped First Crypto Law

https://www.bloomberg.com/features/2026-howard-lutnick-bo-hines-trump-tether-crypto-law/
5•petethomas•30m ago•0 comments

The Gospel of Gains: How Fitness Culture Went Mainstream

https://greyenlightenment.com/2026/06/30/the-all-the-gospel-of-gains-how-fitness-culture-went-mai...
1•paulpauper•31m ago•0 comments

Microsoft deleted Nokia's archive of unreleased ringtones in 2016 HMD sale

https://bsky.app/profile/techprodbangers.bsky.social/post/3mr4askb6tk2i
2•scblzn•32m ago•0 comments

Kalytera – tells you why your AI agent failed, not just that it did

https://kalytera.dev/
1•mathurpriya19•34m ago•0 comments

Locked in An Escape Room with Jacob Tsimerman

https://www.begiant.ca/stories/people/jacob-tsimerman-math
1•tibbar•34m ago•0 comments