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.

Non-invasive brain regeneration for neurodegenerative diseases

https://www.ukdri.ac.uk/news-and-events/brain-regeneration-without-drugs-or-surgery-new-approach-...
1•mrtedbear•1m ago•0 comments

Modeling and simulation of wave propagation and attenuation in sea ice [video]

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

Pentagon boasts of using AI to write reports mandated by Congress

https://arstechnica.com/ai/2026/06/pentagon-boasts-of-using-ai-to-write-reports-mandated-by-congr...
1•FrustratedMonky•2m ago•0 comments

A 24-byte TAR-like file system for microcontrollers

https://github.com/clisystems/utfs
1•drewcg•2m ago•0 comments

Frame perfect: Syncing cursor position and app rendering

https://github.com/michalsustr/egui-cursor
1•michalsustr•3m ago•0 comments

Show HN: ITransBook,a Local-First AI Document Translation Tool

https://www.itransbook.com
1•itransbook•5m ago•0 comments

SpaceX is going to acquire cursor?

https://dhsmith.dev/blog/spacex-is-going-to-acquire-cursor/
1•cubeDHS2017•5m ago•0 comments

How to get your agent to use Pyrefly for type checking [video]

https://www.youtube.com/watch?v=YHJ6tUPnKhY
1•ocamoss•6m ago•0 comments

CTO is fleecing you (and AWS thanks you for it)

https://justinedwards.me/writing/your-cto-is-fleecing-you/
1•jedwardsdev•7m ago•0 comments

The Typing Was the Safety Harness

https://leadership.garden/typing-was-the-safety-harness/
2•speckx•7m ago•0 comments

AI demands more engineering discipline. Not less

https://charitydotwtf.substack.com/p/ai-demands-more-engineering-discipline
3•BerislavLopac•7m ago•0 comments

Japan raids ice cream giants over price-fixing allegations

https://www.bbc.com/news/articles/c0ly0k88e61o
1•e2e4•10m ago•0 comments

I built a 1:1 solar system with Fable 5 before it was pulled offline

https://dev.to/eric_he/ive-wanted-this-for-years-then-fable-5-dropped-and-in-48-hours-i-crammed-t...
1•hyqzz8•10m ago•0 comments

Ask HN: Confidence and Determination. How?

1•NarcisMirandes•11m ago•1 comments

Shoehorning R-Type into the ESP32

https://taoofmac.com/space/blog/2026/06/17/1200
1•rcarmo•12m ago•0 comments

Mastodon 4.6 – Collections, profiles, and other improvements

https://blog.joinmastodon.org/2026/06/mastodon-4.6/
6•jrepinc•13m ago•0 comments

The coming El Niño could be the strongest ever recorded

https://www.economist.com/science-and-technology/2026/06/16/the-coming-el-nino-could-be-the-stron...
2•andsoitis•13m ago•0 comments

I Spent $47,000 on Claude Code in 90 Days. My CTO Asked Me One Question and

https://medium.com/@developer_programmer/i-spent-47-000-on-claude-code-in-90-days-my-cto-asked-me...
4•ashurov•17m ago•0 comments

How We All Became Little Blue Dots on a Digital Map

https://lithub.com/how-we-all-become-little-blue-dots-on-a-digital-map/
1•pseudolus•17m ago•0 comments

Making budget models punch above their weight with a smart Rust harness

https://yogthos.net/posts/2026-06-08-dirge-code.html
2•yogthos•18m ago•0 comments

Eventual Consistency

https://en.wikipedia.org/wiki/Eventual_consistency
1•cl3misch•19m ago•0 comments

Can LLMs be trusted as EDA analysts? Read our paper

https://arxiv.org/abs/2606.00051
1•Applied_AI•20m ago•0 comments

The Arm That Floats Under Your Hand – Industrial and Manufacturing

https://atomsfrontier.substack.com/p/the-arm-that-floats-under-your-hand
1•jpatel3•20m ago•0 comments

Amit Patel (Red Blob Games) on Making Things

https://digitalseams.com/blog/amit-patel-on-making-things
1•bobbiechen•20m ago•0 comments

Updated Anthropic Privacy Policy (effective 7/8/26)

https://www.anthropic.com/legal/privacy
1•maxutility•21m ago•0 comments

ICE Appears to Be Buying Immigrants' Tax Identifiers from a Data Broker

https://www.404media.co/ice-appears-to-be-buying-immigrants-tax-identifiers-from-a-data-broker/
4•ilreb•22m ago•0 comments

Lightpanda Agent and PandaScript – LLM at buildtime, not runtime

https://lightpanda.io/blog/posts/introducing-lightpanda-agent-and-pandascript
4•fbouvier•22m ago•0 comments

Thirdpass – The app I wanted every time I left the house

https://thirdpass.pages.dev/
3•yakuh•23m ago•0 comments

Japan's railways stayed one while splitting apart

https://arun.is/blog/jr-logo/
1•ddrmaxgt37•24m ago•0 comments

'Student Geng' ignites China research-integrity scandal calling out sr academics

https://www.nature.com/articles/d41586-026-01902-0
2•randycupertino•24m ago•1 comments