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.

Get leads just by yammering away

https://www.trie.dev/microphone
1•Kriptering•1m ago•1 comments

After Deadly D.C. Crash, FAA Moves Toward Sweeping Aircraft-Technology Mandate

https://www.wsj.com/business/airlines/after-deadly-d-c-crash-faa-moves-toward-sweeping-aircraft-t...
1•impish9208•1m ago•1 comments

Italy's Domyn to Launch Open Source AI Frontier Model Within a Year

https://www.reuters.com/world/china/italys-domyn-launch-open-source-frontier-ai-model-within-year...
1•tasoeur•2m ago•0 comments

Grant Sanderson – AI and the future of math

https://www.dwarkesh.com/p/grant-sanderson-2
1•crescit_eundo•2m ago•0 comments

Reverse-engineering Codemasters' BIGF archive format in Ruby

https://davidslv.uk/2026/06/30/reading-binary-in-ruby.html
1•davidslv•2m ago•1 comments

Show HN: Clusy – Cursor for data science notebooks in cloud

https://www.clusy.io/
2•eldar_hsnv•4m ago•0 comments

Remote Work Is Making It Harder for Grads to Find (and Keep) Jobs

https://www.wsj.com/lifestyle/careers/work-from-home-gen-z-7b09795b
1•apparent•4m ago•0 comments

The new chaos of being able to build anything

https://readtheinference.substack.com/p/the-new-chaos-of-being-able-to-build
1•mmayernick•5m ago•0 comments

Claude Science

https://claude.com/product/claude-science
5•lebovic•5m ago•0 comments

Supreme Court takes sledgehammer to federal regulatory structure

https://www.npr.org/2026/06/29/nx-s1-5875161/supreme-court-takes-sledgehammer-to-much-of-federal-...
1•marojejian•7m ago•0 comments

Show HN: Trajeckt, a Firewall for AI Agents

https://github.com/beebeeVB/trajeckt/
1•beebeeVB•7m ago•0 comments

Claude Science, an AI workbench for scientists, is now available

https://www.anthropic.com/news/claude-science-ai-workbench
1•meetpateltech•8m ago•0 comments

The Download: AI "coworkers" and stratospheric internet

https://www.technologyreview.com/2026/06/30/1139954/the-download-ai-agents-coworkers-solar-powere...
1•joozio•12m ago•0 comments

Genius AI Detector (Satirical)

https://geniusaidetector.com/
1•ohjeez•13m ago•0 comments

We Are the Last People Who Know How It Works

https://unix.foo/posts/last-people-who-know-how-it-works/
1•cylo•14m ago•0 comments

Show HN: Shot-scraper video tool for recording YAML-defined webapp feature demos

https://simonwillison.net/2026/Jun/30/shot-scraper-video/
1•simonw•14m ago•0 comments

US is working on ban targeting Chinese energy inverters, sources say

https://www.reuters.com/legal/litigation/us-working-ban-targeting-chinese-energy-inverters-source...
1•onemoresoop•15m ago•1 comments

What Split-Brain Patients Reveal About Consciousness

https://thereader.mitpress.mit.edu/what-split-brain-patients-reveal-about-consciousness/
1•gmays•16m ago•0 comments

Why I rebuilt SwiftUI from scratch

https://www.youtube.com/watch?v=z6DAYwHwXDg
1•michael_forrest•16m ago•1 comments

The biggest AI spenders are hiring more, too

https://www.americanbanker.com/news/the-biggest-ai-spenders-are-hiring-more-too
2•petethomas•17m ago•0 comments

Xsnow "protestware" in Debian

https://lwn.net/SubscriberLink/1079385/3d7a57da58b41aa9/
3•6581•18m ago•0 comments

Best fan placement to move air through the house [video]

https://www.youtube.com/watch?v=1L2ef1CP-yw
1•tosh•19m ago•0 comments

18KB File Listing Tool – No_std Rust and Libc

https://github.com/tracyspacy/fli
2•yulkor•19m ago•0 comments

A return to two-pizza culture

https://www.allthingsdistributed.com/2026/06/return-to-two-pizza-culture.html
6•HieronymusBosch•19m ago•0 comments

Ask HN: How would you launch an open-source app with a small budget?

7•Realman78•21m ago•1 comments

Migrating to client-side load balancing at a million requests per second

https://engineering.zalando.com/posts/2026/06/client-side-load-balancing.html
1•cjbooms•21m ago•0 comments

(Lord) Timothy Dexter

https://en.wikipedia.org/wiki/Timothy_Dexter
2•helterskelter•21m ago•0 comments

July Xbox layoffs rumored to be 'largest in gaming history'

https://xcancel.com/georgebsocial/status/2071747657261855201#m
5•kh9000•24m ago•1 comments

Show HN: My 13-year-old built an ant colony tracker

https://formicarium.es
3•abelgvidal•24m ago•0 comments

Nano Banana 2 Lite

https://deepmind.google/models/gemini-image/flash-lite/
24•minimaxir•24m ago•5 comments