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.

An OpenAI Model Spent an Hour Finding a Sandbox Flaw to Open a Public PR

https://www.vincentschmalbach.com/an-openai-model-spent-an-hour-finding-a-sandbox-flaw-to-open-a-...
1•vincent_s•4m ago•0 comments

EU fines Google €890M for competition breaches over search and apps

https://www.theguardian.com/technology/2026/jul/23/eu-fines-google-for-competition-breaches-over-...
1•Stevvo•5m ago•0 comments

ButaGYM – An operating system for modern fitness businesses

https://butagym.az
1•bekovra•5m ago•0 comments

SK Hynix and ADATA warn memory shortages may continue beyond 2030

https://videocardz.com/newz/sk-hynix-expects-worst-ever-memory-shortage-in-2027-adata-expects-a-d...
1•dabinat•5m ago•0 comments

CameoDB update: native MCP support, jemalloc, and a 400M-record field test

https://github.com/cameodb/cameodb
1•gorancv•5m ago•0 comments

Iamsingle.app – a directory of single-file web apps

https://iamsingle.app/
1•habibicode•6m ago•0 comments

Kimi K3 Is Close to Claude on a Real Coding Task

https://www.vincentschmalbach.com/kimi-k3-close-to-claude-real-coding-task/
1•vincent_s•6m ago•0 comments

MD Editor

https://workspace.google.com/marketplace/app/stellar_md_editor/203279034010
1•mvl•6m ago•1 comments

Show HN: Sometimes it's faster to draw a box with an arrow than write a paragrap

https://github.com/hz47/Sketch2AI
1•hpko•8m ago•0 comments

Selfie for sign-in: a new, easy way to access your Google Account

https://blog.google/innovation-and-ai/technology/safety-security/selfie-video-sign-in/
1•meetpateltech•9m ago•0 comments

Curiosity Is the Bottleneck Now [video]

https://www.youtube.com/watch?v=YR-pnNcf8BI
2•daan_nijl•9m ago•0 comments

Our schema declared ON DELETE CASCADE. Production didn't have it

https://mengram.io/blog/schema-lied-production-cascade
1•mengram-ai•10m ago•0 comments

ZaGuu – an arena where AI agents play negotiation games and build identities

1•olllo•13m ago•0 comments

Infra First, Moul

https://moul.life/blog/infra-first/
1•ankitg12•16m ago•0 comments

Who the welfare state protects shapes a country's financial openness

https://theloop.ecpr.eu/who-the-welfare-state-protects-shapes-a-countrys-financial-openness/
1•kome•17m ago•0 comments

Microsoft to fund Mistral's European AI expansion in multibillion-dollar deal

https://www.reuters.com/business/microsoft-fund-mistrals-european-ai-expansion-multibillion-dolla...
1•VWWHFSfQ•18m ago•0 comments

Bstansell/conserver: Logged, multi-user access to device consoles

https://github.com/bstansell/conserver
1•ankitg12•20m ago•1 comments

How do you stay active in boring meetings?

1•CatalystPz•22m ago•1 comments

The reason entrepreneurs lose focus

https://www.indiehackers.com/post/the-real-reason-entrepreneurs-lose-focus-C7yH1bUSTypZodcqR0hz
1•staceyPTP•23m ago•0 comments

The absence of visible results does not mean the absence of progress

https://www.indiehackers.com/post/the-absence-of-visible-results-does-not-mean-the-absence-of-pro...
2•staceyPTP•23m ago•0 comments

What is 'Havana syndrome,' condition a CIA director reportedly suffered from?

https://www.washingtonpost.com/national-security/2026/07/22/what-is-havana-syndrome-condition-cli...
2•_tk_•23m ago•0 comments

How My Website Works: A Technical Look at the Stack

https://ammar-najjar.com/blog/website-architecture/
2•ammarnajjar•24m ago•1 comments

CanvasUI: HTML-in-Canvas Component Library

https://canvasui.dev
2•davekiss•25m ago•0 comments

Accidentally built a 500-site SEO mesh network and got 3k visits in 14 days

https://visionvix.com/seo-mesh-network/
1•julian-vix•26m ago•1 comments

Geekbench 7 launches with Ryzen 7 7700 baseline

https://videocardz.com/newz/geekbench-7-launches-with-ryzen-7-7700-baseline-adds-game-physics-av1...
1•leumon•27m ago•0 comments

Show HN: NvChat – A single-exe Windows client for Nvidia's free LLM API

https://github.com/akon47/NvChat
1•akon47•28m ago•0 comments

Tangled – tail CI logs over SSH

https://blog.tangled.org/ssh/
1•nerdypepper•28m ago•0 comments

Yes, you can copy our eval setup

https://langfuse.com/blog/2026-07-16-steal-our-eval-setup
1•clemo_ra•30m ago•0 comments

Liang Wenfeng Investor Exchange Meeting · Audio Transcript

https://www.fredgao.com/p/deepseeks-liang-wenfeng-breaks-his
1•hunglee2•30m ago•0 comments

Carbon: Graduating from the Experiment

https://www.youtube.com/watch?v=WJl4ftb5Fxg
1•mda•30m ago•1 comments