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.

AMA: I'm a Random HN User, ask me anything (and I might respond)

1•SpyCoder77•52s ago•0 comments

Show HN: AgentCarousel – behavioral tests for AI agents, with signed evidence

https://github.com/agentcarousel/agentcarousel
1•neemsio•58s ago•0 comments

Social Security Now Expects Shortfall Earlier, in Late 2032

https://www.wsj.com/politics/policy/social-security-trust-insolvency-2032-d26bf25e
2•JumpCrisscross•1m ago•0 comments

An Early Step on the Long Road to Photosynthesis

https://www.quantamagazine.org/an-early-step-on-the-long-strange-road-to-photosynthesis-20260610/
1•daesorin•1m ago•0 comments

New Anthropic privacy policy: age/identity verification for consumer accounts

https://www.anthropic.com/legal/privacy
1•vhantz•1m ago•0 comments

Air Canada pilot accused of flying over 900 flights without valid license

https://www.cbsnews.com/news/air-canada-pilot-arrested-hundreds-flights-no-valid-license/
1•naturalmovement•2m ago•0 comments

DiffusionGemma: 4x Faster Text Generation

https://blog.google/innovation-and-ai/technology/developers-tools/diffusion-gemma-faster-text-gen...
4•meetpateltech•3m ago•0 comments

Show HN: Extend UI – open-source UI kit for modern document apps

https://www.extend.ai/ui
1•kbyatnal•3m ago•0 comments

Detection of animal sounds using data augmentation and transfer learning

https://www.nature.com/articles/s41598-026-48308-6
1•PaulHoule•4m ago•0 comments

Show HN: AI watched my screen for a year. Weather beat sleep

https://donethat.ai/blog/dogfooding-donethat
1•christoph123•4m ago•0 comments

It Is the Nature of Desire Not to Be Satisfied

https://kammartinez.wordpress.com/2012/03/03/it-is-the-nature-of-desire-not-to-be-satisfied-a-rev...
1•jruohonen•5m ago•0 comments

Anthropic support does not exist

https://mg0x7be.github.io/anthropic-support-does-not-exist.html
1•VimEscapeArtist•5m ago•0 comments

Moniker.com shuts down startup without warning

1•alexanderlabrie•7m ago•0 comments

Gemma-4-31B at 256K context on a $1,400 AMD GPU – measured, with patches

https://github.com/KaiFelixBennett/gemma4-turboquant-rdna4
1•alsaha•7m ago•0 comments

Postgres by Example

https://github.com/boringcollege/postgres-by-example
3•thenewedrock•7m ago•0 comments

Would Claude Fable's shadownerfing making an anticompetitive class action case

2•hashmap•8m ago•0 comments

Conway's Game of Life as an artillery game [video]

https://www.youtube.com/watch?v=2olkLmmO8TU
1•lafferty•8m ago•0 comments

Anatomy of a high-performance EP kernel

https://fergusfinn.com/blog/anatomy-of-a-high-performance-ep-kernel/
1•kkm•8m ago•0 comments

Pentagon Official Admits Boat Strike May Have Killed Human Trafficking Victims

https://theintercept.com/2026/06/10/trump-boat-strikes-human-trafficking-victims/
1•ceejayoz•9m ago•0 comments

City Chicken vs. City Chicken: Berlin's Bloody Rotisserie Feud

https://www.heistberlin.com/news/nhas-city-chicken-sonnenallee-feud-prison-ramtin-torture/
1•randycupertino•12m ago•0 comments

Avalanche's desktop fusion reactor delivers blistering-hot plasma

https://techcrunch.com/2026/06/10/avalanches-desktop-fusion-reactor-delivers-blistering-hot-plasma/
1•Brajeshwar•12m ago•0 comments

An Interview with Jen Schreiber (2025)

https://ciamweekly.substack.com/p/an-interview-with-jen-schreiber
1•mooreds•12m ago•0 comments

Show HN: strangeClaw – a self-hosted agent running inside a Firecracker microVM

https://github.com/itsthestranger/strangeClaw
1•pstrange•13m ago•0 comments

Tell HN: Stack Overflow seems down

2•tom1337•14m ago•1 comments

My Journey in Open-Source Library Development

https://olegdubovoi.com/publications/my-journey-in-open-source-library-development/
1•empiree•14m ago•0 comments

Summary of recent buggy Kindle updates since Nov 2025: dictionary, fonts, manga

1•seam_carver•15m ago•0 comments

Reusing code can be a sunk cost fallacy in the LLM era

https://www.nvegater.com/blog/build-specific
1•nvegater•16m ago•0 comments

The Last Evolution, by John W Campbell Jr. (1932)

https://www.gutenberg.org/files/27462/27462-h/27462-h.htm
3•cf100clunk•16m ago•0 comments

Show HN: Building a Resume ontology and tooling for LLMs CV management

https://github.com/kelu124/Resume_RDF_update/tree/main
1•kelu124•16m ago•0 comments

Show HN: Rscrypto 0.4 treats constant-time as a release gate

https://github.com/loadingalias/rscrypto/releases/tag/v0.4.0
1•LoadingALIAS•16m ago•0 comments