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.

EU to force Google to share search data and open up AI on Android

https://arstechnica.com/gadgets/2026/07/its-official-eu-will-force-google-to-share-search-data-an...
1•goplayoutside•3m ago•0 comments

Show HN: Vulnsy – A platform for vulnerability management and reporting

https://www.vulnsy.com
1•MrTurvey•5m ago•0 comments

Now, even Russia's most elite hackers are using Clickfix to infect devices

https://arstechnica.com/security/2026/07/now-even-russias-most-elite-hackers-are-using-clickfix-t...
2•joozio•6m ago•0 comments

ScreenWall – Turn old phones into synced widgets for your space

https://screenwall.app/
1•buibuibui•7m ago•0 comments

Soofi – Sovereign Open Source Foundation Models

https://www.soofi.info/
1•sebastian_z•8m ago•0 comments

Rokit to launch what it calls first human kidney regeneration surgery in July

https://www.koreabiomed.com/news/articleView.html?idxno=32016
1•deno•9m ago•0 comments

Show HN: Sandboxd – Self-Hosted app Builder (agents, sandbox, preview url)

https://github.com/tastyeffectco/sandboxd
1•tastyeffectco•9m ago•0 comments

What Early Hackers Got Right About Today's AI [video]

https://www.youtube.com/watch?v=XHeMsXDyw2A
1•pierrephpguru•16m ago•1 comments

Huawei could become a DRAM fabber

https://www.blocksandfiles.com/ai-ml/2026/07/16/huawei-could-become-a-dram-fabber/5273853
1•rbanffy•17m ago•0 comments

Show HN: Customizable SAP MCP Server

https://superglue.ai/mcp/sap/
1•sfaist•17m ago•0 comments

Comptime Is Funtime: Per-Span State Without a Hash Map

https://david-bach.com/pages/posts/2026-07-15-comptime-is-funtime/index.html
1•eoxxs•19m ago•0 comments

Domain Specific Harnesses

https://alanyahya.com/writing/domain-specific-harnesses
2•alansaber•19m ago•0 comments

Ask HN: Any AWS billing issues known? Amazon forecast of 3 billion dollars

3•mstolpm•22m ago•2 comments

How the Black Death shaped human evolution

https://www.nih.gov/news-events/nih-research-matters/how-black-death-shaped-human-evolution
1•thunderbong•22m ago•0 comments

Inaccurate Estimated Billing Data (AWS)

https://health.aws.amazon.com/health/status?nonce=ae879
1•nocam•23m ago•1 comments

Tesla driver in fatal Texas crash pressed accelerator 100%, NTSB confirms

https://techcrunch.com/2026/07/15/tesla-driver-in-fatal-texas-crash-pressed-accelerator-100-ntsb-...
1•gsky•26m ago•0 comments

But what is the Central Limit Theorem?(2023) 3B1B [video]

https://www.youtube.com/watch?v=zeJD6dqJ5lo
1•o4c•28m ago•0 comments

Show HN: InteractInk – Anonymous Text Board

https://interactink.vercel.app/interactink.html
1•squeezes•28m ago•1 comments

China's EV pirate ship is coming for Western carmakers

https://www.politico.eu/article/china-ev-pirate-ship-is-coming-for-western-carmakers-byd/
1•ironyman•30m ago•0 comments

Just got an AWS billing alert projecting my monthly cost at $140B

8•mirzap•32m ago•3 comments

Show HN: EasyDocs – generate OpenAPI docs from real traffic

https://github.com/RubenGlez/easydocs
1•rubenglez•33m ago•0 comments

TSMC Expands US Semiconductor Investment to $265B

https://www.hpcwire.com/off-the-wire/tsmc-expands-us-semiconductor-investment-to-265b/
1•rbanffy•33m ago•0 comments

High temperatures put French gas plant at risk of outage

https://www.reuters.com/business/energy/high-temperatures-shut-french-gas-plant-adding-heat-relat...
1•leonidasrup•34m ago•0 comments

Mass Surveillance Wasn't an Accident

https://www.youtube.com/watch?v=mvsgrhS5bV8
4•soupspaces•40m ago•0 comments

US postgraduate student visas will be limited to 4 years

https://www.dhs.gov/news/2026/07/16/trump-administration-issues-final-rule-end-foreign-student-vi...
2•macleginn•44m ago•3 comments

Ask HN: What are you working on(2026)?

3•adithyaharish•46m ago•1 comments

Mario Kart Wii recompiled for PC using AI, with 4K potential and uncapped FPS

https://www.tomshardware.com/video-games/retro-gaming/mario-kart-wii-recompiled-for-pc-using-ai-w...
3•gloxkiqcza•50m ago•0 comments

Is the AI Boom over for Kospi and Asian Tech Stocks?

https://www.disruptionbanking.com/2026/07/17/is-the-ai-boom-over-for-kospi-and-asian-tech-stocks/
1•technewssss•50m ago•0 comments

Time-Series Language Models for Reasoning over Multivariate Data at Scale (ICML)

https://www.aioniclabs.ai/research/opentslm
10•rjakob•52m ago•6 comments

Company Blew $500M on Claude Because Nobody Set a Spending Limit

https://mrkt30.com/company-blew-500m-on-claude-because-nobody-set-a-spending-limit/
3•technewssss•52m ago•0 comments