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.

Lead Mines of Galena, Kansas

https://dustbowlhighway.com/kansas/lead-mines/
1•saltdoo•46s ago•0 comments

Show HN: I built a tool to audit error density and modern PC optimization

https://flash-auditory-1-0.trcstudiosflashaudit.workers.dev/
1•Thdrough47•2m ago•0 comments

I Democratized the AI That Learns by Failing to Break the Tech Giants' Monopoly

https://kim-ai-gpu.github.io/2026/07/04/introducing-agenlus-browser-rl/
1•umjunsik132•5m ago•0 comments

Six Months with Claude Code

https://sajith.me/blog/2026/six_months_with_claude_code.html
1•sajithdilshan•11m ago•0 comments

Two channels for the top–antitop excess

https://cerncourier.com/two-channels-for-the-top-antitop-excess/
1•visha1v•12m ago•1 comments

Illuminating Iron Clusters' Magnetism

https://physics.aps.org/articles/v19/s92
1•visha1v•14m ago•1 comments

Explanation of everything you can see in htop/top on Linux

https://peteris.rocks/blog/htop/
1•theanonymousone•15m ago•0 comments

TabFM: Zero-shot tabular foundation model from Google Research

https://huggingface.co/google/tabfm-1.0.0-pytorch
1•theanonymousone•16m ago•0 comments

The Common Lisp Cookbook – LispWorks Review

https://lispcookbook.github.io/cl-cookbook/lispworks.html
1•AlexeyBrin•18m ago•0 comments

The Most Iconic American Artwork Is the Hardest to See

https://www.nytimes.com/interactive/2026/07/02/arts/design/statue-of-liberty-history-france-us.html
1•jsenn•18m ago•0 comments

Show HN: Sandbox-proxy – A forward proxy that injects credentials to sandboxes

https://github.com/yagop/sandbox
1•yagop•19m ago•0 comments

Why AI Will Never Achieve Consciousness

https://roburie.substack.com/p/why-ai-doesnt-think-cannot-reason
1•megamike•19m ago•0 comments

Chip Industry Urges US to Avoid Moves That Distort Memory Market

https://www.bloomberg.com/news/articles/2026-07-02/chip-industry-urges-us-to-avoid-moves-that-dis...
1•giuliomagnifico•20m ago•0 comments

Show HN: Tokdash – a local dashboard for AI token and quota tracking

https://github.com/JingbiaoMei/Tokdash
1•howardme1•23m ago•0 comments

Organization as a Graph [video]

https://www.wearedevelopers.com/en/videos/2051/your-organization-as-a-graph
1•dunyakirkali•24m ago•0 comments

Critical Evidence from Early Evolution of House Dust Mites [pdf]

https://academic.oup.com/sysbio/article-abstract/62/3/411/1652447?redirectedFrom=fulltext
1•thunderbong•25m ago•0 comments

It's not me, it's the compiler

https://parsa.wtf/cast/
3•jonathandeamer•25m ago•0 comments

Olive – Lisp VSCode Extension (Alternative to Alive)

https://github.com/kchanqvq/olive
1•AlexeyBrin•29m ago•0 comments

Meta's Inevitable Cloud

https://spyglass.org/meta-cloud/
1•RickJWagner•31m ago•0 comments

Notes for June 28 – July 4

https://taoofmac.com/space/notes/2026/07/04/1230
1•rcarmo•36m ago•0 comments

It's Hard to Eval Is a Product Smell

https://hamel.dev/blog/posts/eval-smell/
2•_pdp_•36m ago•1 comments

"How do you plan to dismantle the servers of your rival AIs?" [video]

https://www.youtube.com/watch?v=aicfLYrRuUw
1•deadprogram•36m ago•0 comments

Show HN: A free, no-ad, no-account, no-server iOS calorie budgeting/diet app

https://apps.apple.com/gb/app/budgie-diet/id6670401868
3•PurestGuava•36m ago•0 comments

The Reports of Jim Carrey's Death Are a Failure Mode

https://tane.dev/2026/07/the-reports-of-jim-carreys-death-are-a-failure-mode/
1•taubek•37m ago•0 comments

Did the founders of the United States intend to create a Christian nation?

https://theconversation.com/the-us-founders-other-revolutionary-choice-separating-religion-and-go...
1•chmaynard•39m ago•0 comments

Startup Targets Datacenters with 3D-Printed Nuclear Reactor Module

https://www.theregister.com/systems/2026/07/03/startup-targets-datacenters-with-3d-printed-nuclea...
1•_pdp_•40m ago•0 comments

Polymarket-SDK-cpp – C++23 SDK for Polymarket prediction markets

https://github.com/Wammero/polymarket-sdk-cpp
1•Wammerq•44m ago•0 comments

Nexus System Manager

https://github.com/rilindbytyqi300/NexusSystemManager
1•rilindbytyqi1•44m ago•0 comments

Developer Verification – LineageOS

https://lineageos.org/Developer-Verification/
1•kevincox•46m ago•0 comments

Hot weather and low sunshine linked to mental health-related healthcare use

https://www.uea.ac.uk/about/news/article/everyday-weather-can-increase-demand-for-mental-health-s...
1•giuliomagnifico•54m ago•0 comments