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.

Running the '80s DECUS Star Trek game on my new MUMPS 76 interpreter

https://github.com/rochus-keller/MUMPS/blob/main/Readme.md
1•Rochus•22s ago•0 comments

A philosophical and neurocognitive manifesto on AI and ontological trauma

https://github.com/RiccardoGenco/genesis-2.0/blob/master/README.md
1•obs3ssion•1m ago•0 comments

Ask HN: Can you prove that my puzzle is always solvable with unlimited moves?

1•amichail•1m ago•0 comments

Home made GPU escalated quickly [video]

https://www.youtube.com/watch?v=qMR3IXF2sWw
1•erichocean•2m ago•0 comments

Astryx Design System

https://astryx.atmeta.com/
1•ildon•5m ago•0 comments

QEMU-portable bundled QEMU for Node.js, no install required

https://github.com/Giulio2002/qemu-portable-ts
1•funnygiulio•9m ago•0 comments

Process Market Fit

https://kingsleyk.substack.com/p/process-market-fit
1•vinnyglennon•10m ago•0 comments

Educators disciplined over Charlie Kirk posts are securing big payouts

https://www.nbcnews.com/news/us-news/educators-disciplined-charlie-kirk-posts-are-securing-big-pa...
13•Anon84•11m ago•2 comments

The Engineer in the Half-Space

https://yusufaytas.com/the-engineer-in-the-half-space
16•yusufaytas•13m ago•1 comments

ComplianceAgent: Open-source EU AI Act compliance scanner

https://github.com/latreon/compliance-agent
1•latreon•15m ago•0 comments

Space TV

https://apps.apple.com/au/app/space-tv/id6772833511
1•sighmon•16m ago•0 comments

Binstack: Making a maximal multi-dimensional decision (2022)

https://longform.asmartbear.com/maximized-decision/
1•tosh•16m ago•0 comments

The fundamentals of AI transformation (that most orgs are getting wrong)

https://www.northshore.studio/blog/the-fundamentals-of-ai-transformation-that-most-organisations-...
1•adrianhoward•16m ago•0 comments

Opus Magnum Tournament [video]

https://www.youtube.com/watch?v=MmGhJhJpNiM
1•ivanjermakov•26m ago•0 comments

Prediction Markets Offer Bets on Wildfires

https://www.motherjones.com/politics/2026/07/prediction-markets-polymarket-wildfire-bets-ethics-a...
4•cdrnsf•26m ago•3 comments

The Wormhole Hall of Shame

https://rznicolet.com/2026/07/05/wormhole-hall-of-shame/
2•rznicolet•27m ago•3 comments

Show HN: A Mac switchboard for Claude Cowork skills

https://skillswitch.cc/
1•pardzzz•28m ago•0 comments

White House deletes web pages about energy conservation as heatwave slams US

https://www.theverge.com/policy/961449/white-house-mamdani-heatwave-deletion
4•amarcheschi•30m ago•0 comments

Show HN: Gubbi – Minimalist LLM Chatbot

https://github.com/prahladyeri/gubbi
2•pyeri•33m ago•0 comments

Our New American Kei Truck

https://www.youtube.com/watch?v=vJJa9zBDa6A
2•initramfs•34m ago•2 comments

Show HN: KiCad in the Browser

https://demo.pcbjam.com/
4•ViktorEE•34m ago•1 comments

Unofficial Starlink Global Gateways and Pops

https://www.google.com/maps/d/viewer?mid=1805q6rlePY4WZd8QMOaNe2BqAgFkYBY&hl=en
1•jenders•36m ago•0 comments

Show HN: Agent Torrent, a BitTorrent inspired mesh for idle coding agents

https://github.com/raghavan/agent-torrent
3•raghavankl•36m ago•0 comments

PrimeNG is no longer open source

https://primeui.dev/nextchapter
2•charlesabarnes•40m ago•0 comments

Cannabis Users Face Substantially Higher Risk of Heart Attack

https://www.acc.org/about-acc/press-releases/2025/03/17/15/35/cannabis-users-face-substantially-h...
5•RickJWagner•42m ago•1 comments

Show HN: TraceTree – Sandboxed behavioral analysis for NPM and PyPI packages

https://github.com/tejasprasad2008-afk/TraceTree
1•Tejas_dmg•43m ago•0 comments

Sycophantic AI decreases prosocial intentions and promotes dependence

https://www.science.org/doi/full/10.1126/science.aec8352
3•delichon•47m ago•0 comments

Introduction to Compilers and Language Design

https://dthain.github.io/books/compiler/
3•AlexeyBrin•47m ago•0 comments

Show HN: Ferroterm – Rust / WebAssembly Terminal Emulator and Library

3•sylwester•49m ago•0 comments

Programmers need to start meditating now

1•pythonRon•49m ago•1 comments