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.

A BCI That Lasts 20 Years Requires Solving 4 Biological Problems

https://bioniclab.substack.com/p/what-would-a-bci-that-lasts-actually
1•u1hcw9nx•44s ago•0 comments

Show HN: A dark fantasy short story

https://lawfully.netlify.app/
1•darkhorse13•56s ago•0 comments

You can write docs in LLMese, but you don't have to

https://passo.uno/write-docs-llms-language/
1•theletterf•1m ago•0 comments

Show HN: Containix – Run Nix flakes as Kubernetes pods without images

https://containix.dev/
1•atmask•2m ago•0 comments

An new try: C++ like program with the same characteristics as rust

1•juntz•2m ago•0 comments

Indio Solari, Argentine Rocker Who Packed Stadiums, Dies at 77

https://www.nytimes.com/2026/07/06/arts/music/indio-solari-dead.html
1•bookofjoe•4m ago•1 comments

LLMs might not learn concepts

https://pastebin.com/w1HcfHvp
2•ffwd•5m ago•0 comments

Is vibe coding worth it? What the numbers say

https://okaneland.com/study/is-vibe-coding-worth-it/
1•ermantrout•5m ago•0 comments

Perfectly Hitting the Wrong Target: The Story of an AI Code Review Benchmark

https://shrsv.hexmos.com/post/perfectly-hitting-the-wrong-target
2•atomicnature•8m ago•0 comments

DNA signatures preserved in the 1978 sample collection of the Shroud of Turin

https://www.nature.com/articles/s41598-026-60684-7
1•alchemist1e9•9m ago•0 comments

Show HN: Introducing: Zotfile Agents

https://www.zot.sh/docs/zotfiles
5•patriceckhart•14m ago•0 comments

Latest Debian 12 update opens MariaDB server to the internet

2•babuskov•15m ago•0 comments

There are only bad reasons not to have a good demo

https://carom.io/notes/no-excuse-for-a-bad-demo/
1•dpc10•15m ago•0 comments

Autoresearch, Claude and Constrained Optimization

https://www.elliotcsmith.com/autoresearch-claude-and-constrained-optimization/
2•gmays•17m ago•0 comments

Show HN: I built a live streaming platform

https://pairux.com/@moshcoding
1•buffer_overlord•17m ago•0 comments

Show HN: Agent Legibility Analyzer see if AI shopping agents can read your store

https://agentmint.net/
1•Abdalsalaam•18m ago•0 comments

Handheld gaming PCs are cooked

https://www.pcgamer.com/hardware/handheld-gaming-pcs/handheld-gaming-pcs-are-cooked/
2•Brajeshwar•18m ago•0 comments

Show HN: MealPlans.dev

https://mealplans.dev/
1•thequietmind•18m ago•0 comments

Device Hub

https://developer.apple.com/documentation/xcode/device-hub
1•Austin_Conlon•20m ago•0 comments

Elon Musk's family foundation took Tommy Robinson to Russia

https://www.theguardian.com/uk-news/2026/jul/11/elon-musk-family-foundation-took-tommy-robinson-t...
3•vrganj•21m ago•0 comments

AI Bot Test: Can your AI Access AND Understand This?

https://nochan.net/test.html
1•Bender•24m ago•1 comments

GPT-5.6-sol without hitting limits

https://twitter.com/theo/status/2076078865060151465
1•tosh•29m ago•0 comments

I Use Multiple AI Agents in My Team's SDLC to Ship Production Features

https://www.petrostechchronicles.com/blog/How_I_Ship_Production_Features_With_AI_Agents
2•Aherontas•30m ago•0 comments

You are not the person you see in the mirror

https://iai.tv/articles/you-are-not-the-person-you-see-in-the-mirror-auid-3595
1•herbertl•32m ago•0 comments

The Vertical Codebase

https://tkdodo.eu/blog/the-vertical-codebase
1•fagnerbrack•32m ago•0 comments

Agent Harness Engineering

https://addyosmani.com/blog/agent-harness-engineering/
2•fagnerbrack•32m ago•0 comments

AI Integrated into My Brother's Custom Vibe Coded AAC System

https://old.reddit.com/r/whoathatsinteresting/comments/1ulwtq0/ai_integrated_into_my_brothers_cus...
1•throwaway2037•33m ago•0 comments

CityLadder

https://cityladder.xyz/
1•syn_pamylkovaj•33m ago•0 comments

The Lunduke Computer Operating System

https://github.com/BryanLunduke/LCOS
1•worldofmatthew•33m ago•0 comments

Your AI's logs can be edited. Its evidence shouldn't be

https://github.com/thekiraproject/kira-project-site/blob/main/posts/2026-07-evidence-architecture.md
2•thekiraproject•37m ago•0 comments