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.

A Programmer's Introduction to Mathematics

https://pimbook.org/
1•u1hcw9nx•38s ago•0 comments

Bash and JSON Is All You Need: Microsoft Deletes Every Agent Tool, Beats Claude

https://arxiv.org/abs/2612.02442
2•mrkn1•1m ago•0 comments

Bring back Gmail "Send mail as" using JMAP

https://github.com/ndcterm/sendfromgmail
1•ndcterm•1m ago•0 comments

MedGemma 2: our most advanced open model for healthcare

https://blog.google/innovation-and-ai/technology/health/medgemma-2/
1•dvaplima•1m ago•0 comments

Show HN: CLI to share secrets with post-quantum crypto

https://github.com/scosman/secret_share
1•scosman•2m ago•0 comments

No one cares about DevEx anymore

https://leaddev.com/culture/no-one-cares-about-devex-anymore
1•mooreds•2m ago•0 comments

Craft: A Tendon-Driven Hand with Hybrid Hard-Soft Compliance

https://arxiv.org/abs/2603.12120
1•PaulHoule•3m ago•0 comments

Rex is now generally available

https://www.superlogical.com/rex
1•kylebarron•3m ago•0 comments

Three emails to send when an invoice goes late

https://4600859971805.gumroad.com/l/zyiqao
1•lateinvoice•3m ago•0 comments

Problems at SoftBank

https://hntrbrk.com/investigations/softbank
1•stevefan1999•3m ago•0 comments

Qualcomm High Bandwidth Compute (HBC) – HBM Replacement (Fused Compute+Mem Dies)

https://www.qualcomm.com/data-center/expertise/ai-accelerators
1•peter_d_sherman•3m ago•0 comments

What's the best coding agent harness? I built a benchmark to find out

https://fariszr.com/benchmarks/
2•fariszr•4m ago•0 comments

Entities Identified as Chinese Military Companies [pdf]

https://media.defense.gov/2026/Jun/08/2003945537/-1/-1/1/ENTITIES-IDENTIFIED-AS-CHINESE-MILITARY-...
2•mgh2•5m ago•0 comments

Ask HN: What if all banking records vanished worldwide?

3•michaelsbradley•5m ago•0 comments

Tinyagent – a ReAct agent loop you can read in one sitting (~600 LOC TS)

https://github.com/riverlee798/tinyagent
2•riverlee798•5m ago•0 comments

Otter Yoga

https://westmeister.com/otter-yoga/
2•mooreds•5m ago•0 comments

Proof of Geography – Verify server location via speed-of-light bounds

https://nytex.com/proofofgeography
3•robmay•5m ago•2 comments

Noden: macOS SSH, SFTP and RDP Client with a Vault

https://nodenapp.com/
2•thunderbong•7m ago•0 comments

ArkType 3.0 – Set-theoretic precompiled TS validator

https://arktype.io/docs/blog/3.0
1•ssalbdivad•8m ago•0 comments

SoftBank Props Up Arm to Fund Its AI Empire

https://hntrbrk.com/investigations/arm
2•stevefan1999•10m ago•0 comments

Ask HN: Did 'datasheets for datasets' ever take off?

2•padraic7a•11m ago•0 comments

Why Quantum Key Distribution provides permanent security

https://www.zerothird.com/technology/qkd-vs-traditional-cryptography
2•mnewme•11m ago•0 comments

Systems Research Is the Job

https://rakyll.org/systems-research/
2•aray07•12m ago•0 comments

'No longer a drill': OpenAI, Anthropic and Microsoft call for urgent switch

https://www.theguardian.com/technology/2026/dec/03/microsoft-google-apple-anthropic-open-ai-joint...
3•matanyall•13m ago•2 comments

Tesla shareholders set to meet as SpaceX merger talks loom

https://www.reuters.com/legal/transactional/tesla-shareholders-set-meet-spacex-merger-talks-loom-...
2•aghuang•13m ago•0 comments

JEPA world models need a better benchmark than Push-T

https://haddyalchaer.com/pusht-pro
1•halcdev•14m ago•0 comments

Show HN: Blur Photo Online

https://blurphoto.app/
1•artiomartiom•14m ago•0 comments

Tesla and SpaceX could merge by Christmas

https://finance.yahoo.com/technology/article/tesla-and-spacex-could-merge-by-christmas-report-163...
2•nephihaha•14m ago•0 comments

Banks are offloading AI and data center debt via risk transfers

https://www.bloomberg.com/news/articles/2026-12-03/ai-chip-loan-worth-3-1-billion-stalls-despite-...
3•Gonzih•15m ago•0 comments

Show HN: CodeYam, a free software factory for the coding agent you use

https://github.com/codeyam-ai/codespaces-starter
1•nadis•16m ago•1 comments