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.

The Case for Compilers: A Look at SPEC CPU 2026 on LLVM 22

https://www.servethehome.com/the-case-for-compilers-a-look-at-spec-cpu-2026-on-llvm-22/
1•csmantle•1m ago•0 comments

Tokenspeed – How fast is 10 tokens per second really?

https://mikeveerman.github.io/tokenspeed/?rate=30&mode=code
1•javatuts•2m ago•0 comments

Rule of Thirds

https://en.wikipedia.org/wiki/Rule_of_thirds
1•nomilk•4m ago•0 comments

NPM invalidates use of fine-grained tokens that bypass 2FA

https://docs.npmjs.com/trusted-publishers/
1•meander_water•10m ago•0 comments

How to Kill a Blog

https://robertbirming.com/how-kill-blog/
2•James72689•15m ago•0 comments

Your Read Model Doesn't Always Need a Database

https://docs.eventsourcingdb.io/blog/2026/05/21/your-read-model-doesnt-always-need-a-database/
1•goloroden•19m ago•0 comments

Show HN: ISSforAPUSH is conducting an "aggregated interview"

https://issforapush.netlify.app
1•audreyfei•26m ago•0 comments

Show HN: QuiteGPT – makes GPT response shorter

https://quiet-gpt.craftgarden.io/
1•leapoahead1•28m ago•0 comments

I made an AI Interior consultant

https://studio.mystofa.com/en-US
1•assorium•29m ago•0 comments

Bitcoin's Power Law: Weak Structure, Strong Forecasts

https://arxiv.org/abs/2605.21316
2•CarlosBaquero•30m ago•0 comments

Consciousness, Gödel, and the Boundary of the Box

https://twitter.com/VFD_org/status/2057053649315013042
1•__patchbit__•32m ago•0 comments

YAML? That's Norway Problem

https://lab174.com/blog/202601-yaml-norway/
1•theanonymousone•37m ago•1 comments

New on Platform

1•rockstaradi•39m ago•0 comments

Ye Olde RFC

https://github.com/gabinante/ye-olde-rfc
1•oooyay•40m ago•0 comments

Nostr-VPN Is one of the most useful things in open source

https://git.iris.to/#/npub1xdhnr9mrv47kkrn95k6cwecearydeh8e895990n3acntwvmgk2dsdeeycm/nostr-vpn
1•abhsag24•40m ago•0 comments

70% of Faculty Vote to Overhaul Harvard Grading with a Cap

https://www.thecrimson.com/article/2026/5/20/fas-passes-a-grade-cap/
1•k2enemy•40m ago•0 comments

List of Alleged Extraterrestrial Beings

https://en.wikipedia.org/wiki/List_of_alleged_extraterrestrial_beings
3•thunderbong•45m ago•0 comments

Software engineering is the tipping point [video]

https://www.youtube.com/watch?v=9t9Kj2f6wtU
1•azhenley•47m ago•0 comments

The Mysterious XF86AudioPlay Issue

https://michael-prokop.at/blog/2026/05/20/the-mysterious-xf86audioplay-issue/
2•JNRowe•52m ago•0 comments

VPNs: The "Most Trusted" Security Tool Until Claude Roasts It in a Weekend

https://www.hacktron.ai/blog/cve-2026-0265-panos-globalprotect-cas-auth-bypass
3•jordybg•53m ago•0 comments

Show HN: Macfigure – Mac configuration in pkl. Simple alternative to Nix-Darwin

https://github.com/Quintisimo/macfigure
1•quintisimo•54m ago•0 comments

Ask HN: Transition from Engineering Manager to IC

1•lavsv•55m ago•0 comments

The Secrets Revealed in SpaceX's IPO Filing

https://www.wsj.com/business/spacex-ipo-takeaways-cea33689
1•1vuio0pswjnm7•56m ago•0 comments

SpaceX Filing Reveals $4.28B Loss, Musk's Tight Grip (3)

https://news.bloomberglaw.com/capital-markets/musks-spacex-files-publicly-for-nasdaq-ipo-under-sy...
3•1vuio0pswjnm7•57m ago•0 comments

SpaceX IPO filing lays bare losses and Musk control as it stakes future on AI

https://www.reuters.com/legal/transactional/bound-mars-elon-musks-spacex-unveils-filing-blockbust...
3•1vuio0pswjnm7•59m ago•0 comments

Reconnecting. – – 5/5 why don't they fix codex

1•apoorvdarshan•1h ago•0 comments

Why is writing good test cases still painfully manual in 2026?

https://calendly.com/qualityfolio2026/30min
1•Daniel_Carter•1h ago•0 comments

Lazydiff: Terminal PR Review with AST-Aware Semantic Diff Rendering

https://github.com/Ataraxy-Labs/lazydiff
1•rohanucla•1h ago•0 comments

Is Python Becoming Pinyin?

https://lernerpython.com/2026/05/19/is-python-becoming-pinyin/
3•reuven•1h ago•0 comments

Rewrite System Showdown: Stochastic Search vs. EqSat

https://arxiv.org/abs/2605.19005
1•pcfwik•1h ago•0 comments