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 if they are all wrong? (2020)

https://igorpak.wordpress.com/2020/12/10/what-if-they-are-all-wrong/
1•kkoncevicius•29s ago•0 comments

Armored Cars, Now on the American Road

https://www.nytimes.com/2026/07/20/style/armored-cars-bulletproof-american-drivers.html
1•reaperducer•45s ago•0 comments

Building Anthropic [video]

https://www.youtube.com/watch?v=om2lIWXLLN4
1•tosh•1m ago•0 comments

Windows 11 OpenSSH agent to WSL2

https://addshore.com/2023/07/windows-11-openssh-agent-to-wsl2/
1•ankitg12•4m ago•0 comments

CodeSizer: Why is that binary so big?

https://github.com/Wren6991/CodeSizer
1•birdculture•4m ago•0 comments

Ransomware attack on fairlife (company owned by Coca Cola)

https://www.sec.gov/Archives/edgar/data/21344/000162828026048466/ko-20260716.htm
1•wolfi1•5m ago•0 comments

Daily Urban Systems: where people live and where they work (the Netherlands)

https://regio.toekom.st/
1•overboil•6m ago•0 comments

Controlling user access in ScalarDB Cluster by using OIDC-based JWT tokens

https://medium.com/scalar-engineering/controlling-user-access-in-scalardb-cluster-by-using-oidc-b...
1•josh-scalar•6m ago•0 comments

Whats App Hack

https://news.ycombinator.com/newsguidelines.html
1•Armanlhan•9m ago•0 comments

Trump administration reportedly reviving push to ban Chinese AI models, Kimi K3

https://www.tomshardware.com/tech-industry/artificial-intelligence/trump-administration-reportedl...
1•virgildotcodes•10m ago•1 comments

US is building 3000 data centers. The economics aren't as great as they seem

https://qz.com/data-center-construction-permanent-jobs-cliff-071026
1•robtherobber•13m ago•0 comments

Optique 1.2.0: fluent modifiers, deferred values, and new integrations

https://github.com/dahlia/optique/discussions/877
1•dahlia•13m ago•0 comments

Show HN: WhimPop – A macOS menu that pops up under your cursor

https://whimpop.com/
1•whimbyte•15m ago•0 comments

How to Love the World More: George Saunders on the Courage of Uncertainty

https://www.themarginalian.org/2026/07/20/george-saunders-uncertainty/
1•the-mitr•19m ago•0 comments

Show HN: Clair – open-source semantic news API

https://clair.im
1•kaanersoy•22m ago•0 comments

Visualizing the Artemis II Mission

https://foxglove.dev/blog/visualizing-the-artemis-ii-mission
1•msadowski•24m ago•0 comments

Did Claude Code became faster after Bun switch

https://claude.com/product/claude-code
1•preetham_rangu•24m ago•0 comments

Paraphraser AI – a rewriter with controls for meaning, tone, and keywords

https://tryparaphraser.com/
1•dinglumeng•25m ago•0 comments

Incremental View Maintenance on DuckDB

https://github.com/ila/openivm
2•hantusk•28m ago•0 comments

Fake kits worth £18M seized by police during World Cup

https://www.bbc.co.uk/sport/football/articles/c0rdgrkx552o
1•mmarian•32m ago•0 comments

NameRank: The Model Knows Your Project, Not You

https://01.me/research/namerank/
1•jarrett-ye•34m ago•0 comments

Escape Analysis in Go: Stack vs. Heap Allocations Explained

https://blog.jetbrains.com/go/2026/07/20/escape-analysis/
1•ingve•35m ago•0 comments

Grok Build Is Open Source, but xAI Won't Take Your Patches

https://www.vincentschmalbach.com/grok-build-open-source-contributions-closed/
1•vincent_s•35m ago•0 comments

How the Western Diet Has Derailed Our Evolution (2015)

https://nautil.us/how-the-western-diet-has-derailed-our-evolution-235683
1•XzetaU8•37m ago•0 comments

Isolation Failure from Shared Storage: Page-Cache SCA Leakage Across Containers

https://arxiv.org/abs/2607.17518
1•sbulaev•39m ago•0 comments

German government approves new gas power plant auctions to back up wind andsolar

https://www.cleanenergywire.org/news/german-government-approves-new-gas-power-plant-auctions-back...
2•leonidasrup•39m ago•0 comments

ANSI escape injection in MCP servers: Hidden from humans, visible to AI

https://brightsec.com/research/detecting-ansi-escape-sequence-injection-in-mcp-servers-with-dast/
1•xgpyc2qp•44m ago•0 comments

China's AI models have Trump's AI world at war with itself

https://www.technologyreview.com/2026/07/20/1140675/chinas-ai-models-have-trumps-ai-world-at-war-...
1•joozio•45m ago•0 comments

Show HN: SteerPlane – open-source runtime guardrails for AI agents

https://github.com/vijaym2k6/SteerPlane
1•vijaym2k6•46m ago•0 comments

Free website-cost calculator and open CC-BY dataset of what web projects cost

https://projectcostestimator.com
1•VrumVrum•49m ago•0 comments