frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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: Transposify–change Spotify song key from your menubar for singing

https://github.com/evanhu1/transposify
1•evanhu_•2m ago•0 comments

Angry devs vow to flee GitHub Copilot as metered billing takes hold

https://www.theregister.com/ai-and-ml/2026/06/02/github-copilot-users-threaten-exit-as-metered-bi...
1•jay_kyburz•3m ago•0 comments

Neuropixels Opto: combining high-resolution electrophysiology and optogenetics

https://www.nature.com/articles/s41592-026-03076-z
1•bookofjoe•7m ago•0 comments

How to Optimize a CUDA Matmul Kernel for cuBLAS-Like Performance: A Worklog

https://siboehm.com/articles/22/CUDA-MMM
1•Areibman•10m ago•0 comments

Starbucks retired its AI agent just months after deployment

https://finance.yahoo.com/sectors/technology/articles/starbucks-quietly-retired-ai-agent-19225909...
1•cdrnsf•14m ago•0 comments

Show HN: Playing with genomics foundation models | Tutorial/Explainer article

https://dillondesilva.substack.com/p/playing-with-genomics-foundation
1•dillondesilva•16m ago•0 comments

More Time to Think

https://ma.ttias.be/more-time-to-think/
1•nreece•23m ago•0 comments

macOS Needs Its Grid Back

https://blog.hopefullyuseful.com/blog/macos-needs-its-grid-back/
10•ranebo•29m ago•0 comments

Interop 2026: Continuing to improve the web for developers

https://web.dev/blog/interop-2026
2•Topfi•32m ago•0 comments

Miasma supply chain attack: malicious code found in RedHat-cloud-services NPM

https://snyk.io/blog/miasma-supply-chain-attack-malicious-code-redhat-cloud-services-npm-packages/
1•jruohonen•34m ago•0 comments

Crystal Nights (2008)

https://www.gregegan.net/MISC/CRYSTAL/Crystal.html
4•rorylawless•35m ago•0 comments

Let the agents democratize open source

https://world.hey.com/dhh/let-the-agents-democratize-open-source-9fd630a9
2•doppp•37m ago•2 comments

DeepMind CEO says those cutting jobs because of AI 'lack imagination'

https://www.inc.com/jessica-stillman/nobel-prize-winner-demis-hassabis-says-ai-job-cuts-are-dumb-...
4•cpeterso•37m ago•0 comments

AI costs how much? GitHub Copilot users react to new usage-based pricing system

https://arstechnica.com/ai/2026/06/ai-costs-how-much-github-copilot-users-react-to-new-usage-base...
2•spenvo•41m ago•0 comments

Show HN: NUA an agent that tests for product correctness

https://trynua.dev/
5•Paster335•42m ago•2 comments

Building an Open-Source Verilog Simulator with AI: 580K Lines in 43 Days

https://normalcomputing.com/blog/building-an-open-source-verilog-simulator-with-ai-580k-lines-in-...
2•hasheddan•48m ago•0 comments

US Online Banking Security Fail

https://adir1.com/2026/online-banking-security-fail
1•adir1•49m ago•2 comments

BorrowSanitizer: Find Rust aliasing violations even with FFI

https://github.com/borrowSanitizer/bsan
1•afdbcreid•50m ago•0 comments

How the hell is Groq raising more money?

https://www.zach.be/p/how-the-hell-is-groq-raising-more
3•hasheddan•53m ago•0 comments

Building a life and shipping code: An immigrant's journey

https://ranpara.net/posts/the-outsider-who-shipped-anyway/
2•DevarshRanpara•58m ago•0 comments

Chinese firm developing AI to predict dissent, leaked documents show

https://www.nytimes.com/2026/06/01/us/politics/china-ai-predicting-dissent.html
2•wunderlotus•58m ago•1 comments

Show HN: Native Markdown Reader for macOS

https://github.com/creativefisher/mdreader
1•intrepidsoldier•59m ago•0 comments

aweskills: Let Your AI Agent Manage skills for You

https://aweskill.webioinfo.top/articles/let-your-ai-agent-manage-aweskill-for-you/
1•mugpeng•1h ago•0 comments

Colorado Rolls Back Landmark AI Governance Law

https://www.bankinfosecurity.com/colorado-rolls-back-landmark-ai-governance-law-a-31804
2•mooreds•1h ago•0 comments

Response to Cegłowski on Superintelligence (2017)

https://intelligence.org/2017/01/13/response-to-ceglowski-on-superintelligence/
1•Jach•1h ago•0 comments

Vegvisir – Agentic Harness Built for Software Developers

https://github.com/Honorbound-Innovation/Vegvisir-harness
2•unkn0wnable•1h ago•1 comments

Show HN: Ported Cerebras REAP to MLX – Prune MoE Experts on a MacBook

https://github.com/egesabanci/reap-mlx
1•egesabanci•1h ago•0 comments

Tiny Guyana poised for big Iran oil gains and growth strains

https://www.reuters.com/business/energy/tiny-guyana-poised-big-iran-oil-gains-growth-strains-2026...
1•JumpCrisscross•1h ago•0 comments

LLM and Clojure

https://tusshah.codeberg.page/
1•mmts•1h ago•0 comments

Anthropic files for blockbuster initial public offering

https://www.ft.com/content/4f82f41c-24e7-4323-899a-17a04badd29e
2•geoffbp•1h ago•0 comments