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.

Who decides when AI is too dangerous?

https://www.theverge.com/podcast/951542/anthropic-claude-fable-5-mythos-ban-pentagon-ai-regulatio...
1•andrewstetsenko•11s ago•0 comments

Windows ME released June 19, 2000

https://dfarq.homeip.net/windows-me-released-june-19-2000/
1•HotGarbage•44s ago•0 comments

Tell HN: Raspberry Pi Connect Terms of Service Go Full GDPR

https://www.raspberrypi.com/acceptable-use/
1•cf100clunk•1m ago•1 comments

Building a robotics research setup that lives next to my desk

https://dfdxlabs.com/research/2026/robotics-setup/
1•mplappert•1m ago•0 comments

Show HN: Ironsmith – Generate personal native Mac apps with local LLMs

https://github.com/Jeidoban/Ironsmith
1•jeidoban•2m ago•1 comments

Making Type Coverage Visible in Dify's CI

https://pyrefly.org/blog/dify-pyrefly-coverage-ci/
1•ocamoss•2m ago•0 comments

If AI is sentient, then so is "Age of Empires II"

https://www.404media.co/if-ai-is-sentient-then-so-is-age-of-empires-ii/
1•chipotle_coyote•3m ago•0 comments

Launch HN: TesterArmy (YC P26) – Agents that test web and mobile apps

https://tester.army
4•okwasniewski•3m ago•0 comments

What it's like being the only security company in your YC batch

https://ventureinsecurity.net/p/what-its-like-being-the-only-security
2•alexchantavy•4m ago•0 comments

Hacker Simulator 2077 – Terminal-based hacking game (open source)

https://github.com/DlopedDtorred/hacker-simulator
1•Dloped•4m ago•0 comments

Perplexity Is Open-Sourcing Bumblebee

https://www.perplexity.ai/hub/blog/perplexity-is-open-sourcing-bumblebee
1•speckx•4m ago•0 comments

Hugeicons: An icon library for modern products

https://hugeicons.com
1•masum_parvej•5m ago•0 comments

Show HN: SunCalc v2 – a tiny JavaScript library for sun and moon calculations

https://github.com/mourner/suncalc
1•mourner•5m ago•0 comments

Sooner than expected? Useful quantum error correction promised for 2028

https://arstechnica.com/science/2026/06/amazon-quera-promise-useful-quantum-error-correction-by-2...
1•Brajeshwar•6m ago•0 comments

Show HN: Language1 – Benchmarking LLM comprehension of vague prompts via Taboo

https://language1.app/
1•kaandemirel•6m ago•0 comments

Sentinel- map any codebase for AI agents in 55s, no cloud, zero deps

https://github.com/Ntooxx/Sentinel
1•Ntox•7m ago•0 comments

What was nice about the UI of Windows 2000

https://movq.de/blog/postings/2026-06-16/0/POSTING-en.html
1•npongratz•7m ago•0 comments

ACLU: Do Automatic License Plate Readers violate privacy under the 4th Amendment

https://www.aclu.org/cases/schmidt-v-norfolk
3•StatsAreFun•8m ago•0 comments

Annotate Git diff with explanation generated by AI for easier reviews

https://github.com/kooskoos20/git-diff-ai-explainer-interactive-filter
2•kooskoos•9m ago•1 comments

Drilling Holes in the Space Station to Fix Leaks in the Space Station [video]

https://www.youtube.com/watch?v=4VpD9KgbId4
1•newer_vienna•9m ago•0 comments

.NET: Introducing the Half type (2020)

https://devblogs.microsoft.com/dotnet/introducing-the-half-type/
2•tosh•10m ago•0 comments

Gregory Williams, Academic with an Uncommon Perspective on Race, Dies at 81

https://www.nytimes.com/2026/06/16/books/gregory-williams-dead.html
1•leephillips•11m ago•0 comments

OpenAI is a non profit after all

https://lemmy.ml/post/48910247
2•trilogic•13m ago•3 comments

Layr – a modular UX and product constraint system for AI-built interfaces

https://github.com/layr-hq/layr
5•layrhq•14m ago•0 comments

Mea Maxima Culpa

https://ozybrennan.substack.com/p/mea-maxima-culpa
1•barry-cotter•15m ago•0 comments

If your Mac blocks a Terminal command paste or script

https://support.apple.com/en-us/127377
1•mritzmann•16m ago•0 comments

Show HN: RottenFiles a lightweight Windows app that auto-deletes files

https://www.producthunt.com/products/rottenfiles
1•Shashvi_l•16m ago•0 comments

More people get their news from social media than anywhere else – globally

https://werd.io/more-people-get-their-news-from-social-media-than-anywhere-else-globally-the-plat...
1•benwerd•16m ago•0 comments

Show HN: An open-source DSL for building FHE apps without a crypto background

https://github.com/NiobiumInc/niobium-client
1•barrus•17m ago•0 comments

India sparred with Telegram days ahead of blocking the app

https://www.reuters.com/business/media-telecom/how-india-sparred-with-telegram-days-ahead-blockin...
1•JumpCrisscross•17m ago•0 comments