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.

Show HN: Wrapper – Yet Another Agent Framework

https://github.com/xatuke/wrapper
1•satuke•1m ago•0 comments

Show HN: Saymade, a coding agent for building ambitious software efficiently

https://saymade.com
1•domag•1m ago•0 comments

Even if 90% of AI-discovered vulnerabilities are made up, it's still terrifying

https://kerkour.com/ai-slop-vulnerabilities-terrifying
2•redcannon218•3m ago•0 comments

You Have Become a Fat King

https://highstandards.substack.com/p/you-have-become-a-fat-king
1•speckx•4m ago•0 comments

Agents can now run the full SDLC. What do engineers do now?

https://www.augmentcode.com/blog/what-do-engineers-do-when-agents-run-the-full-sdlc
1•knes•4m ago•0 comments

Show HN: A prompt to make LLMs write property-based tests

https://github.com/e35zhang/property-testing-skill
2•e35zhang•4m ago•0 comments

Self-Hosted VPN Servers

https://bryanhu.com/easyVPN/
1•thatxliner•5m ago•1 comments

DKIM2: Successor to Arc and DKIM

https://dmarcguard.io/blog/arc-to-dkim2-future/
1•meysamazad•5m ago•0 comments

Ask HN: Why is this Microsoft Outlook page sending me elsewhere?

1•zwilderrr•6m ago•0 comments

Cloudflare Identifies Race Condition in Hyper's HTTP/1 Implementation

https://www.infoq.com/news/2026/07/cloudflare-hyper-bug-fix/
1•theanonymousone•6m ago•0 comments

Silverstone 2026 British GP

https://edleeman.co.uk/posts/silverstone-2026-british-gp/
1•meysamazad•6m ago•0 comments

Debian New Maintainers' Guide

https://www.debian.org/doc/manuals/maint-guide/index.en.html
1•gregsadetsky•6m ago•0 comments

Designing APIs for Agents

https://www.freestyle.sh/blog/opinion/designing-apis-for-agents
1•benswerd•7m ago•1 comments

How This Blog Is Deployed

https://connermccall.com/blog/2026/07/06/deployment/
1•meysamazad•7m ago•0 comments

Show HN: Anonymous LLM proxy. Pay in crypto, no account needed

https://nullsink.is/
1•not_wowinter13•9m ago•0 comments

Prefect Acquires Dagster

https://www.prefect.io/prefect-acquires-dagster
2•theanonymousone•10m ago•0 comments

Show HN: Topsoil – I turned my MacBook's notch into a dashboard for coding agent

https://topsoil-two.vercel.app/
1•davey2wavey•11m ago•0 comments

Alberta government wins secrecy award for opaque access-to-information process

https://cfe.torontomu.ca/news/blanket-smother-alberta-government-wins-secrecy-award-opaque-access...
1•lukeinator42•11m ago•0 comments

Bobbin: A diskless, API-only AppView for Tangled

https://blog.tangled.org/bobbin/
1•toomuchtodo•13m ago•0 comments

If You Can't Be Replaced You Can't Be Promoted

https://www.scarletink.com/if-you-cant-be-replaced-you-cant-be-promoted-career-growth-through-suc...
2•sharjeelsayed•14m ago•0 comments

Google Gemini's SynthID AI Watermark Detector Appears to Mix Up Results in Chat

https://leadstories.com/analysis/2026/07/google-gemini-synthid-detector-confuses-results-within-s...
1•mschenk•14m ago•0 comments

Show HN: Claude Organizer, folders and search for Claude.ai, all local

https://chromewebstore.google.com/detail/claude-organizer-folders/pnbhfiebkknicpbljchmgibnpmlgebif
1•Birodar•14m ago•0 comments

Just Let Me Write Digits

https://gendignoux.com/blog/2026/07/13/input-digits.html
1•gendx•14m ago•0 comments

Ask HN: If AI existed before CRMs, what would we have?

1•nutanc•15m ago•1 comments

Eurostar orders trains that can cope with 55C 'Saudi' Summers

https://www.ft.com/content/b9ed4857-18bc-41c8-b24e-806534a35c23
1•crowdhailer•16m ago•0 comments

Apple's new SpeechAnalyzer API, benchmarked against Whisper and its predecessor

https://get-inscribe.com/blog/apple-speech-api-benchmark.html
10•get-inscribe•16m ago•2 comments

Show HN: Spellfolio – my stock market game with news events and inside info

https://www.spellfolio.com/
2•pandaman28•16m ago•0 comments

Statistically Undetectable Backdoors in Deep Neural Networks

https://arxiv.org/abs/2607.09532
1•sbulaev•17m ago•0 comments

Altman vs. Musk

https://twitter.com/sama/status/2075982617976230043
3•sanj•17m ago•1 comments

Friendship Is an Exponential Function

https://brianschrader.com/archive/friendship-is-an-exponential-function/
1•sonicrocketman•18m ago•0 comments