frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Germany plans ban on disposable e-cigarettes

https://aa.com.tr/en/europe/germany-plans-ban-on-disposable-e-cigarettes/3931799
1•ofrzeta•18s ago•0 comments

Show HN: PostDew – LinkedIn posts that don't sound like AI

https://www.postdew.com/
1•okchildhood•55s ago•0 comments

Policy Gradient Methods

https://chizkidd.github.io//2026/05/07/rl-sutton-barto-notes-ch013/
1•ibobev•1m ago•0 comments

Ask HN: How Would Go About (Legally) Cracking a Game?

1•MarcellusDrum•1m ago•0 comments

The Big Book of LLMs

https://book.theaiedge.io/
1•ibobev•2m ago•0 comments

How the Bolsheviks Destroyed Russian Mathematical Education

https://valeman.medium.com/how-the-bolsheviks-destroyed-russian-mathematical-education-by-importi...
1•ibobev•2m ago•0 comments

Context Engineering for Agents: A Goal, a Map, and a Way to Know It Arrived

http://instructionmanuel.com/context-engineering-for-agents
1•eigenBasis•3m ago•0 comments

Show HN: We built a tool that generates 3D objects with editable, separate parts

https://nova3d.xyz/
1•baigy•3m ago•0 comments

Swift Charts

https://developer.apple.com/documentation/Charts
1•tosh•3m ago•0 comments

An open-source, self-hosted alternative to SaaS monitoring for Laravel

https://github.com/laraowl/laraowl
1•megoxv•4m ago•0 comments

Is ProgramBench Impossible?

https://www.lesswrong.com/posts/3pdyxFi6JS389nptu/is-programbench-impossible
1•frmsaul•5m ago•0 comments

US Border Spending Spurs Boom in AI-Infused Surveillance

https://www.wsj.com/tech/trumps-border-spending-spurs-boom-in-ai-infused-surveillance-4714521b
2•fortran77•5m ago•1 comments

Bjarne Stroustrup: How do I deal with memory leaks?

https://www.stroustrup.com/bs_faq2.html#memory-leaks
2•theanonymousone•7m ago•0 comments

Markdown archive for the public war.gov UFO/PURSUE Release 01 files

https://github.com/DenisSergeevitch/UFO-USA
1•SweetSoftPillow•7m ago•0 comments

Show HN: Keep coding agents on track with shared Git hooks

1•gardnr•9m ago•0 comments

Write Linux-PAM's Authentication Modules in GNU Guile

https://juix.org/manuals/guile-pam.html
1•lechner•9m ago•0 comments

San Francisco's 'useless' Safeway bag nightmare continues

https://www.sfgate.com/food/article/sf-safeway-bags-handles-22247847.php
1•mikhael•10m ago•1 comments

The Download: AI malaise and babymaking tech

https://www.technologyreview.com/2026/05/08/1136985/the-download-ai-malaise-babymaking-ivf-tech/
1•joozio•10m ago•0 comments

Reproducing all of Schmidhuber's papers with Claude

https://cybertronai.github.io/schmidhuber-problems/visual-tour.html
2•hardmaru•12m ago•0 comments

Elasticsearch's BBQ vs. TurboQuant: 10–40× faster on CPU and lower ranking noise

https://www.elastic.co/search-labs/blog/elasticsearch-bbq-osq-vs-turbo
2•eigenBasis•12m ago•0 comments

Show HN: Mobile-ink, an open-source mobile infinite drawing canvas

https://github.com/mathnotes-app/mobile-ink
1•markm39•12m ago•0 comments

Labour set for historic defeat in Wales as Reform surge continues in elections

https://www.bbc.com/news/live/c1428pev1n0t
1•Cider9986•13m ago•0 comments

My Foray into Self-Hosting

https://ahmadelfa.substack.com/p/my-foray-into-self-hosting
1•ahmad_el•13m ago•0 comments

GPT-5.5 low vs. medium vs. high vs. xhigh: the reasoning curve on 26 real tasks

https://www.stet.sh/blog/gpt-55-codex-graphql-reasoning-curve
2•bisonbear•16m ago•0 comments

'Hondurasgate,' the alleged US and Israeli plot to destabilize governments

https://english.elpais.com/international/2026-05-07/hondurasgate-the-alleged-us-and-israeli-inter...
1•spankibalt•16m ago•0 comments

Ask HN: What is the future of software manager job?

2•utilitycomp•16m ago•0 comments

If someone can watch it, they can steal it

https://www.mux.com/blog/if-someone-can-watch-it-they-can-steal-it-securing-video-content-on-the-...
1•skadamat•17m ago•2 comments

Dora: ROI of AI Calculator

https://dora.dev/ai/roi/calculator/#staff_size=500&salary=176000&revenue=100000000&downtime_cost_...
1•swolpers•17m ago•0 comments

Show HN: PDF 2 Context – Convert PDF text to JSONL files

https://github.com/EwanValentine/pdf2context
1•vegancap•18m ago•0 comments

Whales Are Screaming in the Strait of Gibraltar

https://nautil.us/these-whales-are-screaming-in-the-strait-of-gibraltar-1280580
2•Brajeshwar•18m ago•0 comments