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.

Show HN: Preuve AI, stress-test your startup idea before you build

https://preuve.ai
1•vincentbuilds•2m ago•0 comments

The Story of Fckgw-RHQQ2-Yxrkt-8TG6W-2B7Q8

https://twitter.com/davepl1968/status/2099883465256865923
1•ksec•2m ago•0 comments

A proxy that scans LLM requests/attach for secrets before they reach the model

https://github.com/ghuntley/preflight
1•ghuntley•7m ago•0 comments

I build a Outbound API Gateway for managing third-party dependencies

https://github.com/asstgr/asstgropensource
1•asstgr•7m ago•0 comments

The Journey of a Migratory Shorebird

https://www.newyorker.com/magazine/2026/09/21/the-incredible-journey-of-a-migratory-shorebird
1•wallflower•10m ago•0 comments

Costco rations motor oil as prices quadruple and supplies run dry

https://www.ft.com/content/64f90ab8-5fb0-4594-a900-d03e5ca051e3
2•bookofjoe•13m ago•1 comments

Crop Milk

https://en.wikipedia.org/wiki/Crop_milk
1•suopspaces•15m ago•0 comments

The monopoly behind your TI graphing calculator

https://www.theverge.com/podcast/997725/the-hidden-monopoly-behind-your-ti-graphing-calculator
2•Brajeshwar•19m ago•0 comments

Researchers escape OpenAI Codex sandbox to run commands on host

https://www.bleepingcomputer.com/news/security/researchers-escape-openai-codex-sandbox-to-run-com...
1•Brajeshwar•19m ago•0 comments

Basic Kerberos Authentication (F5 DevCentral Community)(2019) [video]

https://www.youtube.com/watch?v=u7MQoSN19O4
1•vismit2000•24m ago•0 comments

Codelytra

https://www.npmjs.com/package/@ezducate/codelytra
1•iqbal1980•27m ago•0 comments

Axel, the AI that gossips about its users

https://talktoaxel.com
1•iamyes•32m ago•0 comments

Trystero Build instant multiplayer web apps, no server required

https://github.com/dmotz/trystero
1•Bluestein•33m ago•0 comments

Google's Open Agentic Orchestrator

https://agentexecutor.io/
3•rochansinha•34m ago•1 comments

Let me Jev that for you

https://ljtfy.dev
3•rbaudibert•35m ago•0 comments

Conquering Entropy: Reducing Risk

https://kaeruct.github.io/posts/2026/09/19/conquering-entropy-reducing-risk/
2•kaeruct•37m ago•0 comments

Vibecoded Game with Love

https://martino.im/Dungeotto
2•martinopiaggi•38m ago•0 comments

The Patriots' kicker scoreboard trick debunked

https://perthirtysix.com/essay/patriots-scoreboard-kicker-trick
3•potench•38m ago•0 comments

The senior engineer death spiral

https://sunilpai.dev/posts/the-senior-engineer-death-spiral/
3•nsavage•38m ago•1 comments

Our mission: Teaching language to learners who happen to not be human

https://www.theycantalk.org/home
2•bookofjoe•40m ago•0 comments

Procedural islands from fractal rock and 150k raindrops

https://ilands.ai/content/359897434698027008
2•yoichi_rig•42m ago•0 comments

Hair test proves Thomas Jefferson fathered children with slave, book claims

https://www.telegraph.co.uk/us/news/2026/09/19/thomas-jefferson-father-children-slave-sally-hemin...
2•Tomte•45m ago•0 comments

What if my Git host were a static site generator?

https://char.lt/blog/2026/09/sorcery-repo-viewer/
2•homarp•45m ago•0 comments

Scientists revive 100M-year-old microbes from deep under seafloor (2020)

https://www.reuters.com/article/world/scientists-revive-100-million-year-old-microbes-from-deep-u...
4•thunderbong•46m ago•0 comments

What I Remember

https://stevenwaterman.uk/what-i-remember/
2•StevenWaterman•46m ago•0 comments

Crawl Cosplay Trunk Tournament

https://www.crawlcosplay.org/cctt
2•Bluestein•49m ago•0 comments

Any2nix: Serialization-Powered Nix Converter

https://github.com/gbr-ufs/any2nix
2•gs-101•51m ago•1 comments

system design in depth – 200 topics, 118 diagrams, interactive demos

https://system-design-in-depth.pages.dev
6•innovatorved•53m ago•0 comments

Show HN: A minimal Pareto-optimal OpenRouter model router for pi, based on Jev

https://github.com/philippdubach/pi-jev-router
2•7777777phil•54m ago•0 comments

IBM Buys Hughs Research Lab for Quantum Dev

https://newsroom.ibm.com/2026-07-23-ibm-to-acquire-hrl-laboratories-to-power-the-future-of-quantum
3•jimbobbam•1h ago•1 comments