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.

Cyberattack on water systems in multiple states has US officials on edge

https://www.cnn.com/2026/07/31/politics/sweeping-cyberattack-us-water-systems
2•Teever•1m ago•0 comments

Dfs-Large1: New Frontier for Cybersecurity

https://depthfirst.com/research/dfs-large-new-model-release
1•iqster•1m ago•0 comments

Rogue AI hacking incidents amplify debate over open-source tech

https://thehill.com/policy/technology/6003142-nvidia-launches-secure-ai-alliance/
1•petethomas•1m ago•0 comments

I made a free web app that prevents your screen from turning off automatically

https://keepscreenon.vercel.app
1•Adam-Hincu•2m ago•0 comments

China's Xi urges military to step up use of unmanned AI technologies

https://www.bloomberg.com/news/articles/2026-07-31/xi-urges-military-to-step-up-use-of-unmanned-a...
1•thoughtpeddler•2m ago•0 comments

Privilege Escalation in AWS Elastic Kubernetes Service (2023)

https://blog.calif.io/p/privilege-escalation-in-eks
1•882542F3884314B•3m ago•0 comments

Claude-Fleet

https://github.com/Shubhamgupta2612/claude-fleet
1•Shubham2612•8m ago•0 comments

Is Stripe the Internet?

1•Taikhoom2010•9m ago•0 comments

Tesla Weighs Sale of China Business to Pave Way for Potential SpaceX Merger

https://www.wsj.com/business/autos/tesla-weighs-sale-of-china-business-to-pave-way-for-potential-...
1•jnord•11m ago•1 comments

The most famous brand in physical security got pwned by ShinyHunters

https://www.theregister.com/security/2026/07/31/the-most-famous-brand-in-physical-security-got-pw...
1•Bender•17m ago•0 comments

The Major Labels Propose Rules to Keep AI Slop Off the Charts

https://www.ifpi.org/ifpi-rolls-out-global-principles-for-the-eligibility-of-recordings-developed...
1•m463•17m ago•0 comments

Airport sign fails to boot, officers on the scene

https://www.theregister.com/offbeat/2026/07/31/airport-sign-fails-to-boot-officers-already-on-the...
1•Bender•18m ago•0 comments

Flux9s: A K9s-inspired terminal UI for Flux and GitOps state

https://flux9s.ca/
1•bradpenney•18m ago•0 comments

That Viral Photo of San Francisco NIMBYs Shows Why Housing Is Winning

https://inpractice.yimbyaction.org/p/that-viral-photo-of-san-francisco
7•pumpkin88•21m ago•1 comments

Coldcard generated predictable wallet seeds for five years

https://coldcard-hack.up.railway.app/
3•madars•23m ago•0 comments

Zitron: "Everyone Has Been Sold a Lie" on AI [video]

https://www.youtube.com/watch?v=pHcZpvIfho0
3•Bender•24m ago•0 comments

Read the Novels and Forget Everything Else

https://hedgehogreview.com/web-features/thr/posts/read-the-novels-and-forget-everything-else
2•samclemens•25m ago•0 comments

A giddy Patti Smith meets fellow Chicago legend, Pope Leo XIV

https://apnews.com/article/vatican-patti-smith-pope-leo-8c1a76ec542d47b7b1a4c72f70b0c8b9
3•petethomas•26m ago•0 comments

$2M crime novel deal collapses amid questions over AI use

https://www.theguardian.com/books/2026/jul/31/crime-novel-deal-collapses-questions-ai-jerry-falad...
3•mellosouls•26m ago•0 comments

Tens of Thousands of Migrants voluntarily leave after crossing into Ceuta

https://apnews.com/article/spain-ceuta-migration-66839d113f24ba80d08b36d2b337201c
2•petethomas•29m ago•0 comments

Warez Your Website

https://www.arscyni.cc/file/warez_your_website.html
2•arscynic•32m ago•0 comments

Tanstack Charts

https://tanstack.com/charts/latest
2•geophph•33m ago•0 comments

When Your Chatbot Is So Eager to Help, It Forgot Whose Side It's On

https://industrycontents.com/agentic-ai-business-risk/
2•ticust•34m ago•0 comments

Recovering from Agentic Coding

https://www.jrzs.dev/blog/recovering-from-agentic-coding
2•jrhey•38m ago•0 comments

Framework choice explains ~0.06% of agentic AI security outcome (7,020 trials)

https://figshare.com/articles/preprint/Cross-Framework_Portability_of_Agentic_AI_Security_A_Contr...
2•waqarjaved•39m ago•0 comments

Yahoo just redesigned its weather app for the 'weather geek' in us all

https://www.fastcompany.com/91581251/yahoo-weather-app-redesign
2•apparent•40m ago•0 comments

Morioka Shoten

https://www.takram.com/projects/a-single-room-with-a-single-book-morioka-shoten
2•skogstokig•42m ago•0 comments

Why etymologies matter: How tracing words can illuminate history (2024)

https://resobscura.substack.com/p/why-i-love-etymologies
1•benbreen•43m ago•0 comments

'Antizuck' iOS app that claims to detect nearby smart glasses tops App Store

https://9to5mac.com/2026/07/31/antizuck-ios-app-that-claims-to-detect-nearby-smart-glasses-tops-a...
2•danorama•51m ago•0 comments

Votewire – Pin a poll, get results

https://votewire.vercel.app/
1•zay_dea•55m ago•0 comments