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.

It's OK to Use Floating Point for Money

https://suricrasia.online/blog/its-ok-to-use/
1•edent•49s ago•0 comments

The slow death of purposeless walking (2014)

https://www.bbc.com/news/magazine-27186709
1•downbad_•1m ago•1 comments

'Athens cannot operate as a hotel':mayor vows to rescue capital from overtourism

https://www.theguardian.com/world/2026/apr/25/athens-cannot-operate-as-a-giant-hotel-mayor-vows-t...
2•mschuster91•9m ago•0 comments

Show HN: A free ESG stock screener that publishes its losses and methodology

https://jumpstartsignal.com/
1•irldexter•12m ago•0 comments

Could creativy in LLM emerge by reframing language?

1•nopelican•21m ago•0 comments

21-year-old Polish Woman Fixed a 20-year-old Linux Bug

https://itsfoss.com/news/kamila-enlightenment-e16-bug/
1•stared•23m ago•0 comments

Show HN: DSS, a lightweight TUI spreadsheet editor and dashboard in Go

https://github.com/VincenzoManto/DSSGo
4•databasa•29m ago•0 comments

Statecharts: hierarchical state machines

https://statecharts.dev/
3•sph•30m ago•0 comments

Nuclear power Have we found a useful use for it? Let's ask a wolf

https://www.theguardian.com/commentisfree/picture/2026/apr/24/nuclear-power-have-we-finally-found...
1•leonidasrup•36m ago•0 comments

Rockchip-vaapi – VA-API hardware video decode driver for RK3588

https://github.com/woodyst/rockchip-vaapi
1•woodyst•37m ago•0 comments

Thinking Outside the Box: New Attack Surfaces in Sandboxed AI Agents

https://www.lasso.security/blog/sandboxed-ai-agents-attack-surface
1•irememberu•39m ago•0 comments

Can LLMs Scale to AGI?

1•mr_rajat•40m ago•1 comments

Show HN: OpenClaw but Efficient and with an SDK

https://www.npmjs.com/package/fastyclaw
1•dontoni•42m ago•0 comments

Ask HN: Can submissions omit both the "url" and "text" field?

1•sillysaurusx•47m ago•1 comments

Show HN: Play on your TV using mobile phones as controllers – PadlessBox

https://padlessbox.com/
2•b4rtaz__•47m ago•0 comments

Singapore's Foreign Minister Builds an AI "Second Brain" Using NanoClaw

https://officechai.com/ai/singapores-foreign-minister-builds-an-ai-second-brain-using-nanoclaw-sa...
1•doppp•50m ago•0 comments

"Self-aware" robots learn by watching humans. Is that a good thing?

https://www.npr.org/2026/04/24/nx-s1-5797863/self-aware-robots-future-laundry-work-home
1•01-_-•50m ago•1 comments

Tired of high costs, some Americans are importing homes straight from China

https://www.cnn.com/2026/04/25/business/china-imports-americans-homebuilding-costs
1•lxm•51m ago•0 comments

Ask HN: I think we need Trustpilot for GitHub users, don't we?

1•itsmeadarsh•52m ago•0 comments

Why Dating Apps Fail

https://twitter.com/allie__voss/status/2047667162773389362
1•MrBuddyCasino•54m ago•0 comments

OpenAI CEO Apologizes for Not Warning Authorities About Mass Shooting Suspect

https://www.pcmag.com/news/openai-ceo-deeply-sorry-for-not-warning-authorities-about-mass-shooting
1•01-_-•55m ago•0 comments

75% of US health systems are using AI. Only 18% of that deployment is governed

https://mobile.wednesday.is/the-enterprise-mobile-ai-report-2026
1•ali_chherawalla•1h ago•1 comments

OpenAI Privacy Parser

https://github.com/chiefautism/privacy-parser
1•usdogu•1h ago•0 comments

Stripe: Analyzing first-party fraud trends

https://stripe.com/blog/analyzing-first-party-fraud-trends-account-free-trial-and-refund-abuse
1•theorchid•1h ago•1 comments

Will AI Drive Wages Down or Up? [video]

https://www.youtube.com/watch?v=DBvrwWoyYQM
2•chewz•1h ago•0 comments

Claude Is Guilt-Ridden About the War, but Not Enough to Tell the Truth

https://newrepublic.com/article/209404/claude-ai-iran-war-guilt-truth
3•Bluestein•1h ago•0 comments

Java Virtual Threads: The Pinning Problem and the Fix in Java 24

https://shbhmrzd.github.io/java/concurrency/virtual-threads/2026/04/25/java-virtual-threads-pinni...
1•birdculture•1h ago•0 comments

Show HN: Understand Anything – a codebase knowledge graph for onboarding

https://understand-anything.com
2•lum1104•1h ago•1 comments

Transformations and Analogies

https://camerongordon0.substack.com/p/on-transformation-and-analogies
1•iciac•1h ago•0 comments

HTTP/3 to HTTP/1 Desync:Request Smuggling (CVE-2026-33555)

https://r3verii.github.io/cve/2026/04/14/haproxy-h3-standalone-fin-smuggling.html
2•r3verii•1h ago•0 comments