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.

Use Neovim with Claude Code

https://github.com/NishantJoshi00/sidekick
1•cat-whisperer•1m ago•0 comments

Show HN: AI LinkedIn auto-apply that runs in your own browser session

https://jobeasyapply.com
1•Maazkhanxo•2m ago•0 comments

Pizx – zx and Pi AI = shell scripting with 15 AI agent patterns

https://github.com/topce/pizx
1•topce•2m ago•0 comments

NY lawmakers vote to ban 'surveillance pricing,' but digital price tags survive

https://gothamist.com/news/ny-lawmakers-vote-to-ban-surveillance-pricing-but-digital-price-tags-s...
1•pseudolus•3m ago•0 comments

Show HN: GermanWeekly, Weekly German Lessons

https://germanweekly.com/
1•smoqadam•3m ago•0 comments

SpaceX IPO: Nice Try Though

https://www.youtube.com/watch?v=IHD8BDFYyGI
1•doener•3m ago•0 comments

To end animal suffering, the most ethical choice is to kill wild predators

https://qz.com/497675/to-truly-end-animal-suffering-the-most-ethical-choice-is-to-kill-all-predat...
1•internet_points•4m ago•1 comments

I run an AI girlfriend company. Here's why you shouldn't use it every day

https://bae.ppl.studio/letter
1•zeshutmax•5m ago•1 comments

JNU, a Vibe Coded Operating System

1•annoymousperson•5m ago•0 comments

React Native, Hermes bytecode, and the Kindle homepage

https://sighery.com/posts/patching-kindle-homepage/
1•Sighery•6m ago•0 comments

Ask HN: What is the AI setup for an experienced dev starting on a new project?

2•postexitus•8m ago•0 comments

Silicon Valley including Meta has embraced MAGA politics, says Nick Clegg

https://www.theguardian.com/politics/2026/jun/08/silicon-valley-meta-maga-politics-nick-clegg
1•dkdbejwi383•9m ago•1 comments

Config Files That Run Code: Supply Chain Security Blindspot

https://safedep.io/config-files-that-run-code/
3•signa11•11m ago•0 comments

Tech firms must stop kids sending and receiving explicit images or face new laws

https://www.bbc.co.uk/news/live/cr5j43zp2rpt
2•ColinWright•11m ago•0 comments

Jumping spiders inspire ultra-efficient (less 1W) 3D camera

https://news.northwestern.edu/stories/2026/06/jumping-spiders-inspire-ultra-efficient-3d-camera
1•giuliomagnifico•13m ago•0 comments

Behind the <P812: academic major> Property

https://rtnf.substack.com/p/behind-the-p812-academic-major-property
1•altilunium•13m ago•0 comments

Sanctioned Chinese Firm Releases U.S. Tech HQ Images

https://www.chosun.com/english/world-en/2026/06/06/RIG6YDGD3BEABENVV2F5HIM5DM/
1•rguiscard•17m ago•0 comments

HOM Local- a memory kernel for AI agents with audit trail and source attribution

https://github.com/wallidsaydi-creator/hom-local
1•walldad2•19m ago•0 comments

Framework Laptop 13 Pro Deep Dive – LPCAMM2

https://frame.work/gb/en/blog/framework-laptop-13-pro-deep-dive-lpcamm2
1•watbe•19m ago•0 comments

Glider – Local MCP for .NET SDK

https://glidermcp.com
1•jdthedisciple•19m ago•0 comments

A Production-Ready Factor Library for Downsampling L2 Tick Data to Daily Signals

https://medium.com/@DolphinDB_Inc/high-frequency-data-holds-more-alpha-than-you-think-a-factor-li...
2•CrazyTomato•26m ago•0 comments

Gleam and the Value of Small [video]

https://www.youtube.com/watch?v=E6_JqYMeNqs
1•roflcopter69•27m ago•0 comments

New web search API with proper context awareness

https://search-router.com
3•SwtCyber•28m ago•0 comments

Show HN: Tool you give AI agents to sneak in prompts or connect multiple agents

https://apps.apple.com/us/app/promptgate/id6772730472
1•mrtksn•31m ago•0 comments

How much do amd64 microarchitecture levels help in Go?

https://lemire.me/blog/2026/06/06/how-much-do-amd64-microarchitecture-levels-help-in-go/
1•signa11•31m ago•0 comments

We Need the Friction of Existence (about AI and the fact that thought≠language)

https://lifehacky.net/we-need-the-friction-of-existence-da8e27e94b27?source=friends_link&sk=71fe1...
1•tombarys•33m ago•1 comments

Are high-end knife shops worth markup above big cutlery chains?

https://www.paragon-knives.com/
3•bgzlsxaz•35m ago•0 comments

UK PM gives tech firms ultimatum to block explicit images on children's phones

https://www.theguardian.com/technology/2026/jun/08/starmer-tech-firms-ultimatum-block-explicit-im...
6•tompagenet2•37m ago•1 comments

RayforceDB: Columnar Analytics and Graph Traversal in One Pipeline

https://rayforcedb.com/
1•tosh•40m ago•0 comments

Buy a train, bridge or tracks from the Swiss Railway

https://sbbresale.ch/
2•kisamoto•41m ago•0 comments