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: A complete AI agency at your fingertips

https://github.com/msitarzewski/agency-agents
1•adithyaharish•1m ago•0 comments

Chemurgy

https://en.wikipedia.org/wiki/Chemurgy
1•petethomas•1m ago•0 comments

State of X402 – Independent Audit – Every Faciliator, Every Chain

https://x402stats.io
1•pro_methe5•3m ago•0 comments

Zig - All Package Management Functionality Moved from Compiler to Build System

https://ziglang.org/devlog/2026/?2026-06-30#2026-06-30
2•Retro_Dev•5m ago•0 comments

Ask HN: What are you building first with Fable?

2•akashwadhwani35•14m ago•0 comments

Trump's plan to redesign every .gov website leads to AI-designed horrors

https://arstechnica.com/tech-policy/2026/06/trumps-plan-to-redesign-every-gov-website-leads-to-ai...
2•duxup•18m ago•1 comments

Understanding Why Language Models Hallucinate: Testing Reasoning Against Priors

https://neohughus.github.io/Understanding_Why_Language_Models_Hallucinate/
1•ilreb•19m ago•0 comments

Who Shuts Down the Internet the Most?

https://pulse.internetsociety.org/en/shutdowns/
1•Bender•21m ago•0 comments

White House accelerates plans for AI model standards

https://www.ft.com/content/0bb7e2f9-007b-4577-9c4a-858948ee969a
1•OutOfHere•21m ago•0 comments

Carson Block: If you thought the global financial crisis was bad

https://www.economist.com/by-invitation/2026/06/28/if-you-thought-the-global-financial-crisis-was...
1•burntcaramel•22m ago•0 comments

Circle of Empathy

https://video.cirquedusoleil.com/originals/cirque-du-sound/season-1/ep5
1•andsoitis•23m ago•0 comments

Your AI lover will change you

https://www.newyorker.com/culture/the-weekend-essay/your-ai-lover-will-change-you
1•andsoitis•24m ago•0 comments

Arena, the AI leaderboard everyone uses, is now a $100M business

https://techcrunch.com/2026/06/29/arena-the-ai-leaderboard-everyone-uses-is-now-a-100m-business/
2•doppp•31m ago•0 comments

Ask HN: What things might help me to become inference engineer?

2•chalshik•34m ago•1 comments

Apple 'Hide My Email' Vulnerability Reveals Peoples' Real Email Addresses

https://www.404media.co/apple-hide-my-email-vulnerability-reveals-peoples-real-email-addresses/
2•phyzome•38m ago•0 comments

Show HN: One Page Life Calendar

https://beta.actions.life
1•eltonlin•38m ago•0 comments

Egg Libor Was Also Manipulated

https://www.bloomberg.com/opinion/newsletters/2026-07-01/egg-libor-was-also-manipulated
1•greyface-•43m ago•0 comments

The Graduate-School Dropout Toppling China's Academic Stars

https://www.wsj.com/science/the-graduate-school-dropout-toppling-chinas-academic-stars-3c1e5d86
1•petethomas•46m ago•0 comments

UK-US trade deal will lead to more than 200k avoidable deaths

https://www.theguardian.com/society/2026/jul/01/us-uk-drug-deal-could-result-in-229000-excess-dea...
2•secretslol•49m ago•0 comments

Stashing data in WOFF2 color glyphs to get free Brotli decompression via Canvas

https://github.com/EtherDream/brpack/
1•etherdream•50m ago•0 comments

MacBasic (1985)

https://www.folklore.org/MacBasic.html
1•andsoitis•56m ago•0 comments

Ask HN: noticed how HN performs sentiment-analysis on everything posted here?

1•bridgettegraham•59m ago•6 comments

Nvidia Through a Crypto Miner's Eyes

https://vincentping.com/en/nvidia-through-miner-eyes
1•vincentping•1h ago•1 comments

Check Out My Website

https://topic-chat-hub--seattlem112.replit.app/
1•computerwonder•1h ago•1 comments

Kids learn to bully from adults' threats, manipulation and criticism

https://theconversation.com/kids-learn-to-bully-from-adults-threats-manipulation-and-criticism-a-...
5•1659447091•1h ago•1 comments

Show HN: Rust Backed Fast Dataloader

https://github.com/midhunharikumar/ferroload
1•midhunharikumar•1h ago•1 comments

Meta to sell excess compute, like SpaceX

https://techcrunch.com/2026/07/01/meta-like-spacex-looks-to-turn-excess-ai-compute-into-cash/
2•noashavit•1h ago•2 comments

Databricks LTAP Explained

https://sys0.substack.com/p/databricks-ltap-explained-turning
1•shenli3514•1h ago•0 comments

Konsistent: Enforce consistent code for agents and humans

https://vercel.com/changelog/enforce-consistent-code-for-agents-and-humans-with-konsistent
2•handfuloflight•1h ago•0 comments

Show HN: Meow – The 4th and final JavaScript runtime and toolchain

https://meow.style
13•ccheshirecat•1h ago•7 comments