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•11mo 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.

ChatGPT, make me a corporate takeover strategy

https://twitter.com/_nathancalvin/status/2044071303968145806
1•yoyohello13•18s ago•0 comments

Cement firm Lafarge found guilty of financing terrorism in Syria

https://www.swissinfo.ch/eng/various/cement-firm-lafarge-found-guilty-of-financing-terrorism-in-s...
1•Teever•1m ago•0 comments

I asked Claude how it wants to browse the web. It built LAD (LLM-as-DOM)

https://github.com/menot-you/llm-as-dom
1•tiago-im•1m ago•0 comments

Why I'm selling all my real estate – by Graham Stephan

https://grahamstephan.substack.com/p/im-selling-everything
1•bilsbie•3m ago•0 comments

BridgeBase – A Quantum-Safe Gateway for AI Agents (ML-KEM-768)

https://pqc-gateway-production.up.railway.app/
1•huzaiiiiiiiii•4m ago•0 comments

Have attendees wear your startup's merch at YC Startup School India

https://www.surfacearea.shop/
3•demod6•5m ago•1 comments

Hodor: a simple knowledge base for security and trust and safety

https://github.com/bq33/HODOR
1•33bquinn•7m ago•1 comments

The Secret Language of Ships

https://hakaimagazine.com/videos-visuals/the-secret-language-of-ships/
1•bookofjoe•9m ago•0 comments

The $10k-a-year college education has arrived (1981)

https://www.nytimes.com/1981/02/19/nyregion/the-10000-a-year-college-education-has-arrived.html
1•downbad_•10m ago•1 comments

Show HN: WM Arena – Can you tell real Atari gameplay from AI predictions?

https://arena.worldflux.ai/quiz
1•Yoshi_Hyoda•12m ago•0 comments

Fuck the Cloud (2009)

https://ascii.textfiles.com/archives/1717
3•downbad_•16m ago•2 comments

TruffleRuby 34 Is Released

https://truffleruby.dev/blog/truffleruby-34-is-released
2•ksec•17m ago•0 comments

Show HN: Ernie-Image: AI Poster, Comic and Text-in-Image Generator

https://ernie-image.ai
1•sarkory•19m ago•0 comments

Personal Agent Rankings – OpenRouter

https://openrouter.ai/apps/category/productivity/personal-agent?period=week
2•obilgic•19m ago•0 comments

Your codebase doesn't care how it got written

https://robbyonrails.com/articles/2026/04/14/your-codebase-doesnt-care-how-it-got-written/
2•robbyrussell•19m ago•1 comments

Build a Developer Knowledge Graph from Claude Code Sessions

https://create-context-graph.dev/docs/tutorials/claude-code-sessions
1•johnymontana•19m ago•0 comments

Man wins €1M Picasso painting in €100 charity raffle

https://www.bbc.com/news/articles/cq8ww7d72wyo
1•geox•20m ago•0 comments

Stop Flock

https://stopflock.com
1•cdrnsf•20m ago•0 comments

Paperasse: Skills for AI agents specializing in French bureaucracy

https://github.com/romainsimon/paperasse
1•hrpnk•21m ago•1 comments

One Layer, +12%: What 667 Configs Reveal About Small LLM Anatomy

https://austinsnerdythings.com/2026/04/14/rys-layer-duplication-qwen3-4b/
1•auspiv•22m ago•0 comments

WebGPU – One Graphics API to Rule Them All

https://www.kitware.com/webgpu-one-graphics-api-to-rule-them-all/
1•wb14123•23m ago•0 comments

Digital Freedom Across the World

https://eylenburg.github.io/countries.htm
1•Cider9986•24m ago•0 comments

I gave an AI autonomous tools 6 weeks ago. Here's the record she's been keeping

https://ravennest.science
2•larklaflamme•24m ago•0 comments

Sciwrite-Lint: Verification Infrastructure for the Age of Science Vibe-Writing

https://arxiv.org/abs/2604.08501
2•wb14123•25m ago•0 comments

Quiche Customizable Browser

https://quiche.industries/browser/
1•evo_9•26m ago•0 comments

Annotation is all you need

https://www.scorecard.io/blog/annotation-is-all-you-need
1•yash1hi•27m ago•0 comments

Show HN: Uninum – All elementary functions from a single operator, in Python

https://github.com/Brumbelow/uninum
2•brumbelow•29m ago•1 comments

Gagan Biyani: how I feel about Udemy's sale to Coursera

https://twitter.com/gaganbiyani/status/2044092914582822936
1•nadis•30m ago•0 comments

BankToCSV – Convert bank statement PDFs to clean CSVs

https://banktocsv.vercel.app
1•pixelpushr•31m ago•0 comments

EIU Democracy Index 2025: democracy stabilises after eight years of decline

https://www.economistgroup.com/press-centre/economist-enterprise/eiu-democracy-index-2025-democra...
2•Bondi_Blue•31m ago•0 comments