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.

I Used to Think Memory Leaks Were Loud in Java

https://medium.com/@martinastaberger/i-used-to-think-memory-leaks-were-loud-in-java-617f346e2bc3
1•theanonymousone•57s ago•0 comments

Show HN: Onboard CLI uses LLM to filter out nodes and AST to visualize codebase

https://github.com/animesh-94/Onboard-CLI
1•yr_animesh•1m ago•0 comments

AI Comes to the Ivy League

https://www.plagiarismtoday.com/2026/07/06/ai-comes-to-the-ivy-league/
1•speckx•1m ago•0 comments

Decoding 137MHz signals from passing satellites to get images with a $10 SDR

https://www.jonhilty.com/satelliteimaging
2•vitaelabitur•3m ago•0 comments

M/PC – A Concatenative OS

https://wiki.xxiivv.com/site/m_pc.html
1•caminanteblanco•6m ago•0 comments

Poison, redzones and shadows: inside KASAN

https://bootlin.com/blog/poison-redzones-and-shadows-inside-kasan/
1•rrampage•6m ago•0 comments

xAI Is Now SpaceXAI

https://x.ai
1•EvanZhouDev•6m ago•0 comments

Architecture 2.0: Designing AI-Assisted Loops for Computing Systems

https://arch2.mlsysbook.ai/book/
2•matt_d•9m ago•0 comments

Packed Bed

https://en.wikipedia.org/wiki/Packed_bed
1•tosh•10m ago•0 comments

Kernel Anti-Cheat Is an Overreach

https://nooneshappy.com/article/kernel-anti-cheat-is-an-overreach/
2•zdw•11m ago•0 comments

Utah lets AI refill prescriptions. Doctors are wary

https://apnews.com/article/ai-prescription-refill-utah-doctronic-fda-technology-cf94ce370c05f686e...
4•brandonb•12m ago•0 comments

So You Want to Work in Washington D.C.?

https://www.jessicariedl.blog/p/so-you-want-to-work-in-washington
2•paulpauper•12m ago•0 comments

UK could run out of air-con units, engineer says

https://www.bbc.com/news/articles/cp8r4g4907eo
3•paulpauper•13m ago•0 comments

Prefer the British Style of Quotation Mark Punctuation over the American

https://www.lesswrong.com/posts/3S8iiThH9QLysLtYL/prefer-the-british-style-of-quotation-mark-punc...
2•paulpauper•13m ago•0 comments

Breakup of Gondwana 100M Years Ago May Be Why Antarctica Has Ice Today

https://eos.org/articles/the-breakup-of-gondwana-hundreds-of-millions-of-years-ago-may-be-why-ant...
1•gmays•14m ago•0 comments

EU should learn from China's energy tech, say French power firm heads

https://www.scmp.com/economy/global-economy/article/3359567/eu-can-learn-chinas-energy-tech-say-h...
1•01-_-•17m ago•0 comments

Microsoft Is Cutting Jobs, and Xbox Is Taking the Brunt of It

https://comuniq.xyz/post?t=1363
2•01-_-•19m ago•0 comments

Reflections on the Life of a DBA

https://marlonribunal.com/reflections-on-the-life-of-a-dba/
1•MarlonPro•19m ago•1 comments

Getting Started with Loops

https://twitter.com/ClaudeDevs/status/2074208949205881033
1•dsr12•20m ago•0 comments

NHS accelerates AI rollout to cut waiting times and improve care for millions

https://www.england.nhs.uk/2026/07/nhs-accelerates-artificial-intelligence-rollout-to-cut-waiting...
1•mmarian•20m ago•0 comments

Solving the OAuth token expiration and session fragility problem in MCP

https://github.com/orgs/modelcontextprotocol/discussions/801
1•MawyxxY•21m ago•0 comments

Esolang: 2026 Topicality Proposal

https://esolangs.org/wiki/Esolang:2026_topicality_proposal
1•marvinborner•22m ago•0 comments

Space JUNK Mysterious 'space balls' that washed up on Australian beach spark pro

https://www.thesun.co.uk/news/39654579/mysterious-space-balls-australian-beach-toxic/
1•bookmtn•25m ago•0 comments

Verbalizable Representations Form a Global Workspace in Language Models

https://transformer-circuits.pub/2026/workspace/index.html
2•yurivish•26m ago•0 comments

Hacking from the Backcountry

https://suthakamal.substack.com/p/hacking-from-the-backcounty
1•suthakamal•27m ago•1 comments

France to Stop Certifying Non-Quantum-Safe Encryption

https://www.schneier.com/blog/archives/2026/07/france-to-stop-certifying-non-quantum-safe-encrypt...
3•enz•27m ago•0 comments

Girls Just Wanna Have Fast MPMC Queues with Bounded Waiting

https://nahla.dev/blog/waitfree_queue/
2•EvgeniyZh•28m ago•0 comments

Price per 1M tokens is meaningless

https://janilowski.pl/en/blog/2026/price-per-m-tokens/
12•janilowski•31m ago•1 comments

Show HN: I Created a CRM System in Obsidian

https://www.scottrlarson.com/blog/article-crm-obsidian/
1•trinsic2•32m ago•0 comments

The Sweet Lesson

https://joshycodes.substack.com/p/the-sweet-lesson
1•vuciv•32m ago•0 comments