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.

Ian Fleming Explains How to Write a Thriller

https://lithub.com/ian-fleming-explains-how-to-write-a-thriller/
1•frereubu•24s ago•0 comments

We built the fastest API for GLM-5.2

https://twitter.com/philipkiely/status/2069212319746506968
1•ljosifov•1m ago•0 comments

The curious history the invention of the CMD+K quick switcher

https://ux.stackexchange.com/questions/153299/how-did-cmd-k-come-to-be-the-standard-shortcut-for-...
2•birdculture•6m ago•0 comments

Digital Health Tools Are Reshaping Healthcare in the United States

https://nyulangone.org/news/digital-health-tools-are-reshaping-healthcare-united-states
2•giuliomagnifico•11m ago•0 comments

Kafka's Broken Promise: There Is No Goldilocks Log

https://www.opendata.dev/blog/announcing-opendata-log/
2•rmoff•13m ago•0 comments

Israel targeted Gaza children resulting in genocide, UN inquiry says

https://www.reuters.com/world/middle-east/israel-targeted-gaza-children-resulting-genocide-un-inq...
5•supercopter•14m ago•0 comments

We ran 1k queries through ChatGPT: 48 domains produced 22.5% of citations

https://growtika.com/blog/chatgpt-citation-economy
4•Growtika•15m ago•0 comments

N8n 2026 AI agent builder report

https://n8n.io/reports/2026-ai-agent-development-tools/
3•johannesishere•18m ago•0 comments

Synthetic Infrastructure Testing with Canary Checker and Flux

https://flanksource.com/blog/infrastructure-testing-with-canary-checker-and-flux
2•yashmehrotra•25m ago•1 comments

Crypto in 2026: Oh, This Is the Bad Place

https://www.stephendiehl.com/posts/bad_place_2026/
4•ibobev•27m ago•0 comments

Prism: An Impure Functional Language with Typed Effects

https://www.stephendiehl.com/posts/prism/
2•ibobev•27m ago•0 comments

Show HN: Shumai – open-source Frame.io alternative for creative work

https://github.com/shumaiOne/shumai
2•Yiling-J•28m ago•0 comments

What Is Software, and Will LLMs Replace It?

https://tomassetti.me/what-is-software-llms-interface-layer/
2•ftomassetti•28m ago•0 comments

Divergent Histories

https://buttondown.com/jaffray/archive/divergent-histories/
3•ibobev•28m ago•0 comments

Risk Assessment in under 5 minutes for NIS2

https://nisd2.eu/risikobewertung
1•cjhisey•33m ago•0 comments

You already have a Git server

https://gopeek-lovat.vercel.app/blog-you-already-have-a-git-server.html
4•sheelagay•39m ago•0 comments

Show HN: SaaS Pegasus – the original Django boilerplate, now MIT-licensed

https://github.com/saaspegasus/django-boilerplate
1•czue•44m ago•1 comments

Elon's Net Worth Today

https://whatselonworth.com/
2•Malfunction92•46m ago•1 comments

See How Sam Altman's Personal Investments Benefit from Ties to OpenAI

https://www.wsj.com/tech/ai/see-how-sam-altmans-personal-investments-benefit-from-ties-to-openai-...
2•thm•47m ago•0 comments

Show HN: DomainDash – uptime/SSL/domain checks for client sites

https://domaindash.io
1•edcs•47m ago•0 comments

Ask HN: Does in your workplace employee engagement / recognition is important?

5•mattsadowsky•47m ago•4 comments

Fil-C Linux/x86_64 version 0.680 Latest

https://github.com/pizlonator/fil-c/releases/tag/v0.680
3•sibellavia•49m ago•0 comments

Recursively Diff Packages

https://github.com/anthraxx/diffoscope
1•ankitg12•49m ago•0 comments

OCaml 5.5.0 Released

https://discuss.ocaml.org/t/ocaml-5-5-0-released/18265
2•dtoma•50m ago•0 comments

Run isolated sandboxes with full lifecycle control: AWS introduces MicroVMs

https://aws.amazon.com/blogs/aws/run-isolated-sandboxes-with-full-lifecycle-control-aws-lambda-in...
2•justincormack•51m ago•0 comments

I built a GPU back end for Emacs

https://en.andros.dev/blog/4b707a03/how-i-built-a-gpu-backend-for-emacs/
3•andros•52m ago•0 comments

Show HN: I built a PC-part picker that handles compatibility and shortages

https://pc-cool.com/
2•mesahm•53m ago•0 comments

Show HN: OpenTerm – A tiny, fast SSH client (no login, no cloud, free)

https://github.com/zhangshuo1991/openterm
1•zhangshuo1991•54m ago•0 comments

Sakana.ai releases a model competiting with Fable

https://sakana.ai/fugu-release/
2•LexSiga•54m ago•0 comments

A game where you're an OS and have to manage processes, memory and I/O events

https://github.com/plbrault/youre-the-os
2•exploraz•55m ago•1 comments