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: RAIF – an experimental structured I/O format for LLMs

https://github.com/skrrt-sh/raif-standard
1•truehazker•2m ago•0 comments

Abu Fanous

https://en.wikipedia.org/wiki/Abu_Fanous
2•joebig•4m ago•0 comments

Zinnia: A modular 64-bit Unix-like kernel written in Rust

https://zinnia-os.org/
2•mrunix•6m ago•0 comments

Brains And LLMs Converge On A Shared Conceptual Space Across Different Languages

https://arxiv.org/abs/2506.20489
2•optimalsolver•8m ago•0 comments

Proteus the Infinite Fractal Object

https://sand-morph.up.railway.app/proteus-2
2•echohive42•9m ago•0 comments

The Visa Empire: Borders as a Business

https://www.lighthousereports.com/investigation/the-visa-empire-borders-as-a-business/
1•karakoram•9m ago•0 comments

Angry Meta employee hijacks company presentation unleash profanity-laced tirade

https://www.dailymail.com/news/article-15897199/Meta-employee-hijacks-company-presentation-unleas...
2•Bender•10m ago•0 comments

More Expensive, Somehow Worse [video]

https://www.youtube.com/watch?v=5k-j4VVCVR8
1•Bender•10m ago•0 comments

Hillock – Local, brain-inspired AI memory using SQLite and HDC

https://github.com/roandejager/Hillock
1•roandejager•11m ago•0 comments

Fermat's last theorem in the natural ring of ordinals

https://www.infinitelymore.xyz/p/fermats-last-theorem-in-the-ordinals
2•FillMaths•12m ago•0 comments

Show HN: Buildtopia1 – A sandbox game where an AI builds for you with chat

https://buildtopia1.com
1•dtran24•12m ago•0 comments

SillyTavern provides a single unified interface for many LLM APIs

https://github.com/SillyTavern/SillyTavern
1•doener•14m ago•0 comments

Multimodal Neurons in Artificial Neural Networks

https://distill.pub/2021/multimodal-neurons/
1•montyanderson•14m ago•0 comments

Changing Careers, Cutting Expenses: Software Engineers Contend with AI

https://www.wsj.com/lifestyle/careers/changing-careers-cutting-expenses-software-engineers-conten...
2•variety8675•16m ago•1 comments

RhinoCollab a plugin for real-time editing for Rhino 3D

https://rhinocollab.com
1•Ashxius•28m ago•0 comments

The APLR(1) algorithm for compact LR(1) parsers is simpler and more capable than

https://branchtaken.com/reports/aplr1/aplr1
3•fanf2•29m ago•0 comments

Compiling Isn't Running: Functionally Testing DuckDB-WASM Extensions

https://rusty.today/blog/testing-duckdb-wasm-extensions/
1•rustyconover•33m ago•0 comments

Show HN: AI Cell Enrichment Workflow API

https://ampledata.io
1•blagoysimandoff•35m ago•0 comments

Grasping Exponentialism, Efficient AI, Talent Density, & the Pursuit of Together

https://www.implications.com/p/grasping-exponentialism-efficient
1•momentmaker•36m ago•0 comments

Smaller Code, Better Code

https://www.sacrideo.us/smaller-code-better-code/
2•tosh•39m ago•1 comments

The University in the AI Era

https://htmx.org/essays/universities-and-ai/
1•_doctor_love•42m ago•0 comments

Show HN: Folent – interpolate text between different font typefaces

https://mabugis.github.io/Folent/
1•mabugis•42m ago•0 comments

Agents as Code

https://destiner.io/blog/post/agents-as-code/
1•Destiner•42m ago•0 comments

Section 702 lapsed for the first time since 2008

https://www.axios.com/2026/06/14/trump-fisa-renewal-save-america-act
2•Arodex•43m ago•1 comments

Show HN: Tool for creating step-by-step tutorials from screen recordings. No AI

https://framepin.com/
3•aksuta•44m ago•0 comments

Condom-maker is getting squeezed

https://www.economist.com/business/2026/05/27/the-worlds-top-condom-maker-is-getting-squeezed
1•andsoitis•45m ago•0 comments

A thousand Postgres branches for $1

https://xata.io/blog/a-thousand-postgres-branches-for-1
1•tudorg•47m ago•0 comments

The Sign-Off Layer Is Becoming the Real Engineering System

https://newsletter.thelongcommit.com/p/the-sign-off-layer-is-becoming-the
2•jason_s•52m ago•0 comments

AI is code – and can't be prompted into being smarter

https://www.theregister.com/ai-and-ml/2026/06/14/ai-is-code-and-cant-be-prompted-into-being-smart...
3•wglb•53m ago•0 comments

Why Linux Still Feels Unstable

https://www.whileforloop.com/blog/2026/06/14/why-linux-still-feels-unstable/
3•wook__•55m ago•3 comments