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.

Loop engineering, latest AI buzzword, still needs humans in the loop

https://www.theregister.com/ai-and-ml/2026/06/24/loop-engineering-latest-ai-buzzword-still-needs-...
1•Bender•18s ago•0 comments

Companies are not looking before they're leaping into the AI playpen

https://www.theregister.com/devops/2026/06/24/companies-are-not-looking-before-theyre-leaping-int...
1•Bender•43s ago•0 comments

Hotly anticipated Grand Theft Auto VI will cost more than other AAA games

https://arstechnica.com/gaming/2026/06/grand-theft-auto-vi-will-cost-80-without-a-physical-disc/
1•Bender•1m ago•0 comments

Show HN: Find the Shortest Path in 24 steps

https://pathology.thinky.gg/level/hi19hi19/against
1•k2xl•4m ago•0 comments

Security tools inside coding agents get ignored unless we do things

https://www.boringappsec.com/p/edition-34-a-consensus-is-finally
1•joj123•9m ago•0 comments

You all think it's normal to sit behind a laptop all day

1•shoman3003•9m ago•0 comments

Yunwu

https://yunwu.ai/
2•handfuloflight•21m ago•0 comments

Wan Streamer v0.1: End-to-End Real-Time Interactive Foundation Models

https://wan-streamer.com/
1•ilreb•24m ago•0 comments

Powerful back-to-back earthquakes strike Venezuela, collapsing buildings

https://www.bbc.com/news/live/c621z18wznet
1•tartoran•28m ago•1 comments

Projectlens v1.0.6 released, supports npkill

https://www.npmjs.com/package/projectlens
1•dagmawibabi•29m ago•1 comments

Alternatives to Nested If Function

https://medium.com/@crispomwangi/7-alternatives-to-nested-if-function-a9cb07f3df1e
1•andsoitis•39m ago•0 comments

LXM: Better Splittable Pseudorandom Number Generators (and Almost as Fast) [video]

https://www.youtube.com/watch?v=XXh86oA-WOE
1•matt_d•40m ago•0 comments

The Unbearable Cheapness of Open Weight Models

https://jamesoclaire.com/2026/06/25/the-unbearable-cheapness-of-open-weight-models/
3•ddxv•41m ago•0 comments

Europe swelters under deadly 'Omega' heatwave, more records broken

https://www.reuters.com/business/environment/power-cuts-france-leave-thousands-sweltering-amid-sc...
3•rawgabbit•42m ago•2 comments

This One's Not AI

https://blog.tacoda.dev/this-ones-not-ai-992c95537790
2•tacoda•43m ago•2 comments

Calculus in Coinductive Form (1998)

https://ieeexplore.ieee.org/document/705675
1•measurablefunc•47m ago•0 comments

Tldr we built the fastest and most compact embedded vector database in the world

https://github.com/Egoist-Machines/LodeDB
1•erinmeryl•50m ago•1 comments

Ask HN: Where is our profession (programmer) going?

7•syntaxbush•51m ago•2 comments

China's Electric Vehicle Exports Reach Record High in May

https://www.bloomberg.com/news/articles/2026-06-24/china-s-electric-vehicle-exports-reach-record-...
3•xbmcuser•51m ago•0 comments

Home Feed does not show releases

https://github.com/orgs/community/discussions/146124
1•oaix•52m ago•0 comments

Supeintelligence Future

1•Siarchitect•54m ago•3 comments

Satteri: A Markdown pipeline forged in Rust for the JavaScript world

https://satteri.bruits.org/
1•handfuloflight•1h ago•0 comments

Show HN: Drive your already-logged-in Chrome from any AI agent

https://github.com/leeguooooo/chrome-use
1•leeguoo•1h ago•0 comments

Medical students are using popular research tool to pump out misleading studies

https://www.science.org/content/article/medical-students-are-using-popular-research-tool-pump-out...
2•rndsignals•1h ago•0 comments

Chinese scientists unveil glowing Avatar-like plants that could light cities

https://www.euronews.com/next/2026/04/02/chinese-scientists-unveil-glowing-avatar-like-plants-tha...
3•thunderbong•1h ago•0 comments

Are you better than the screen watchers?

https://sailsandcommas.com/2026/05/30/are-you-better-than-the-screen-watchers/
1•Curiositry•1h ago•0 comments

Cloudflare launched self-managed OAuth for all

https://blog.cloudflare.com/oauth-for-all/
16•terryds•1h ago•2 comments

Libaui – Tk clone in XCB and C

https://github.com/onanaxm/libaui
2•onuelito•1h ago•0 comments

Zombie unicorns are haunting Silicon Valley

https://www.economist.com/business/2026/06/21/zombie-unicorns-are-haunting-silicon-valley
3•andsoitis•1h ago•2 comments

Electronics can now be printed onto living tissues

https://www.economist.com/science-and-technology/2026/06/24/electronics-can-now-be-printed-onto-l...
3•andsoitis•1h ago•0 comments