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.

Tipp-Kick

https://boardgamegeek.com/boardgame/1644/tipp-kick
1•ofrzeta•1m ago•0 comments

Codex (GPT-5.5, Plus plan) – rate-limit cost per token jumped 10x+ since June 16

https://github.com/openai/codex/issues/28879
1•e2e4•3m ago•0 comments

AI Is Discovering the Doorman Fallacy [video]

https://www.youtube.com/watch?v=f-QzIum9bNU
1•bane•5m ago•0 comments

Europe swelters under heatwave, France restricts alcohol consumption

https://www.reuters.com/business/environment/europe-swelters-under-heatwave-prompting-crisis-talk...
1•montalbano•9m ago•0 comments

A short story about Indian scammers who called the cops on themselves

https://xcancel.com/zachxbt/status/2067938523986932005#m
1•Cider9986•13m ago•0 comments

The Scorpion and the Frog

https://en.wikipedia.org/wiki/The_Scorpion_and_the_Frog
1•password54321•13m ago•0 comments

Show HN: Alloy – a PyTorch backend and inference engine for Apple Silicon

https://github.com/rayanht/alloy
1•rayanht•14m ago•0 comments

Ask HN: Why are desktop AI apps so heavy?

1•yconst•16m ago•1 comments

Show HN: Botacts – Phonebook of AI Bots

https://botacts.com
1•christoph123•20m ago•0 comments

Dallas Fed: 30% of housing cost increase driven by unauthorized immigration [pdf]

https://www.dallasfed.org/~/media/documents/research/papers/2026/wp2607.pdf
9•silexia•22m ago•3 comments

EEG Machine

https://micahetter.me/EEGMachine/
2•geerlingguy•26m ago•0 comments

DOS Library utilizing a second CPU core

https://github.com/arjunae/2core_dos
1•beebix•31m ago•0 comments

Ask HN: What is your #1 practical lesson or "aha" moment from coding with AI?

2•johndavid9991•33m ago•1 comments

Supermarket giant Tesco sues VMware for breach of contract

https://www.theregister.com/software/2025/09/03/supermarket-giant-tesco-sues-vmware-for-breach-of...
10•wglb•37m ago•1 comments

A Day with Laravel #59 – Hand-curated Laravel packages, tutorials and trends

https://a-day-with-laravel.happyto.dev/p/a-day-with-laravel-059
1•happytodev•44m ago•1 comments

Show HN: LoopFlow – loop engineering for Claude Code

https://github.com/faisalishfaq2005/loopflow
2•faisalishfaq•45m ago•0 comments

Linux Eliminates the Strncpy API After Six Years of Work, 360 Patches

https://www.phoronix.com/news/Linux-7.2-Drops-strncpy
25•simonpure•47m ago•4 comments

You're Accountable for the Team. You're Not in Charge of It

https://yourdevteamcoach.com/blog/youre-accountable-for-the-team-youre-not-in-charge-of-it
2•sea-gold•49m ago•1 comments

The UK will scan asylum seekers' faces for age checks

https://www.wired.com/story/facial-age-estimate-uk-asylum-seekers/
6•Lihh27•54m ago•0 comments

Trump says he no longer views Anthropic as a threat after G7 meeting

https://thenextweb.com/news/trump-anthropic-not-national-security-threat-axios-interview
19•billybuckwheat•56m ago•2 comments

Incorrectly Generated RSA Keys: How I Learned to Recover Lost Plaintexts

https://academic.oup.com/comjnl/article-abstract/66/6/1342/6995423?redirectedFrom=fulltext
2•rbanffy•57m ago•0 comments

Seeing the world in radio waves with the QuadRF

https://hackaday.com/2026/06/20/seeing-the-world-in-radio-waves-with-the-quadrf/
11•ikbdsk•59m ago•0 comments

RFC 9958: Post-Quantum Cryptography for Engineers

https://datatracker.ietf.org/doc/html/rfc9958
2•hasheddan•59m ago•0 comments

Solo Founder Sales Playbook –sales tools for technical founders who hate selling

https://getsalesspark.com/
1•erichensley•59m ago•0 comments

Workflow builder built with just Sandboxes

https://twitter.com/karatzas_thomas/status/2061840456992919997
1•szaneer•1h ago•0 comments

Pulse – a local dashboard for Claude Code, approve tool calls from your phone

https://github.com/nikitadoudikov/claude-pulse
2•nikitadvd•1h ago•0 comments

MosaicLeaks: Can your research agent keep a secret?

https://huggingface.co/blog/ServiceNow/mosaicleaks
1•gmays•1h ago•0 comments

The Tech Billionaire Plan to Destroy Democracy – GIL Duran – TMR [video]

https://www.youtube.com/watch?v=stPijjCneXM
3•wturner•1h ago•0 comments

'Helmsniff'; a Helm Security Scanner

https://github.com/VahidR/helmsniff
2•vahid_r•1h ago•0 comments

Why the EU rewrote its landmark AI law

https://www.theparliamentmagazine.eu/news/article/why-the-eu-rewroteits-landmark-ai-law
2•thinkingemote•1h ago•0 comments