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: Wikipedia Importance Map. Every article sized by its pagerank on a map

https://tomthe.github.io/wiki-importance-map/
1•tomthe•35s ago•0 comments

Show HN: EarPal – private multi-speaker interpreter, on-device, 30 languages

https://apps.apple.com/us/app/earpal-translator/id6761786603
1•alEscarcha•6m ago•0 comments

colorForth

https://en.wikipedia.org/wiki/ColorForth
1•tosh•6m ago•0 comments

Show HN: Recipeviz, make compact cards for your recipes

https://hherman1.github.io/recipeviz/
1•hherman2•10m ago•0 comments

1 deceased software-frog, a rogue AI and two hacked corporations

https://twitter.com/theonejvo/status/2082319747342045267
1•tosh•11m ago•0 comments

Engineering Always-On Market Data Infrastructure for Crypto Trading

https://medium.com/@DolphinDB_Inc/engineering-always-on-market-data-infrastructure-for-crypto-tra...
1•Polly_Liu•12m ago•0 comments

Hugging Face Incident Initial Post-Mortem

https://s3.amazonaws.com/content-production.cloudsecurityalliance/semxe47vxhaqctzr4xeb1khbztvv?re...
1•_tk_•13m ago•0 comments

Post with links will no longer be nerfed on X

1•askadityapandey•14m ago•0 comments

Slid phi 4.27% smaller than fib coding

https://github.com/ceedotrock/slid-phi
1•agentrider•14m ago•0 comments

Show HN: Get a security assessment of MCP servers directly from your terminal

https://index.canopii.dev/cli
1•mavzer•14m ago•0 comments

What breaks when project management software loses internet access

https://ones.com/blog/what-breaks-when-project-management-software-loses-internet-access/
1•coding1134•16m ago•0 comments

Iceberg capsizes off the coast of Greenland

https://www.aljazeera.com/video/newsfeed/2026/7/27/aje-onl-nf_massive-iceberg-capsizes-off-the-co...
2•wiradikusuma•21m ago•0 comments

Show HN: Copy any element on a page as clean Tailwind v4 (HTML or JSX)

https://chromewebstore.google.com/detail/tailgrab-—-copy-as-tailwi/hphcddhibifkbdlakihnmdjkidpi...
1•pickrack•22m ago•0 comments

Should A.I. Move to Space? (Google's Project Suncatcher)

https://freakonomics.com/podcast/should-a-i-move-to-space/
1•eamag•23m ago•0 comments

Show HN: Code Security Skills Codex-Inspired Workflows Packaged for Claude Code

https://github.com/barvhaim/code-security-skills
1•bignet•25m ago•0 comments

RU AF jamming Sentinel-1 satellites over certain parts of Russia

https://old.reddit.com/r/UkraineRussiaReport/comments/1v9byzo/ru_pov_ru_af_jamming_sentinel1_sate...
3•paganel•26m ago•1 comments

GitHub Has Restricted Access to Star Data

https://www.star-history.com/blog/github-stargazer-api-restriction/
2•faize•28m ago•1 comments

The Actual Reason Why Google "Fell Out" of the AI Race Changes Everything

https://www.thealgorithmicbridge.com/p/the-actual-reason-why-google-fell
1•Michelangelo11•28m ago•1 comments

Daggermouth could be the first best-selling novel partly written by a chatbot

https://www.theatlantic.com/technology/2026/07/daggermouth-novel-bestseller-ai/688067/
2•Alien1Being•32m ago•0 comments

Trusting-Trust Attack Against a Linux Distribution Through Binary

https://arxiv.org/abs/2607.24888
1•sbulaev•33m ago•0 comments

Klong

https://t3x.org/klong/index.html
1•tosh•34m ago•0 comments

Exercises in benchmarking and evals, part 7: DeepSWE, Senior SWE-Bench

https://danluu.com/exercise-7/
1•ndr•37m ago•0 comments

Show HN: Wisp. A peer-to-peer encrypted messenger with no trusted server

https://github.com/xmahdi1/wisp
3•xmahdi•40m ago•0 comments

Trees

https://github.com/JohnEarnest/ok/blob/gh-pages/docs/Trees.md
2•tosh•41m ago•0 comments

Freenet Network Telemetry Dashboard

https://telemetry.freenet.org/
2•starwatch•41m ago•1 comments

Three Directions in Design: Gerald Jay Sussman [video]

https://www.youtube.com/watch?v=Tdwr9tweTDE
1•tosh•42m ago•0 comments

Fifteen Years on Apache Camel

https://camel.apache.org/blog/2026/07/echonect-fifteen-years-apache-camel/
2•diykorey•46m ago•0 comments

Plan like an adult, believe like a child, ask clearly

https://www.youtube.com/watch?v=uOcKF-aLHyw
1•modinfo•49m ago•0 comments

Cyberattack targeted 30 Minnesota water systems

https://mn.gov/mnit/media/blog/?id=38-761869
2•BlueBerry2001•53m ago•0 comments

Appliedin: The agentic workflow for applying jobs, so we can spend time prepping

https://www.appliedin.dev/
1•sayantan317•54m ago•0 comments