frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

A simple heuristic for agents: human-led vs. human-in-the-loop vs. agent-led

1•fletchervmiles•2mo 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: Git command for creating snapshot commits on a not checked-out branch

https://github.com/meribold/git-snap
1•meribold•1m ago•0 comments

Philip K Dick FBI file

https://www.spyculture.com/philip-k-dick-fbi-file/
2•m-hodges•1m ago•0 comments

TIME100 Most Influential Companies 2025

https://time.com/collections/time100-companies-2025/7289661/google-deepmind/
1•tzury•2m ago•0 comments

AMD bets on rack-scale compute to boost AI efficiency 20x by 2030

https://www.theregister.com/2025/06/12/amd_20x_30/
1•PaulHoule•2m ago•0 comments

GPT4Free: "educational project" for free LLM inference from various services

https://github.com/xtekky/gpt4free
1•bobbiechen•3m ago•0 comments

Entropy of a Mixture

https://cgad.ski/blog/entropy-of-a-mixture.html
2•cgadski•3m ago•0 comments

Embracing the power of the empty set in API design: Requesting zero items

https://devblogs.microsoft.com/oldnewthing/20250630-00/?p=111320
2•ingve•4m ago•0 comments

A Possible Connection Between Mental Illness and Diet

https://undark.org/2025/06/24/mental-illness-ketogenic-diet/
2•gmays•4m ago•0 comments

Embodied AI Agents: Modeling the World

https://arxiv.org/abs/2506.22355
2•lucaspauker•4m ago•0 comments

Show HN: C.O.R.E – Opensource, user owned, shareable memory for Claude, Cursor

https://github.com/RedPlanetHQ/core
2•Manik_agg•4m ago•0 comments

ChatGPT intercepts clear cache keyboard shortcut in Brave

2•VibeCobold•8m ago•0 comments

LLVM: InstCombine: A PR by Alex Gaynor and Claude Code

https://simonwillison.net/2025/Jun/30/llvm/
1•mseri•9m ago•0 comments

Skyrocketing HBM Will Push Micron Through $45B and Beyond

https://www.nextplatform.com/2025/06/30/skyrocketing-hbm-will-push-micron-through-10-billion-and-beyond/
1•rbanffy•9m ago•0 comments

Connected Gmail mcp to AI voice

https://harmony.com.ai
2•bigonion•10m ago•1 comments

Boeing to Replace CFO Brian West with Former Lockheed Finance Chief

https://www.bloomberg.com/news/articles/2025-06-30/boeing-to-replace-cfo-west-with-former-lockheed-finance-chief
1•Bluestein•10m ago•0 comments

Simple low-dimensional computations explain variability in neuronal activity

https://arxiv.org/abs/2504.08637
1•iNic•13m ago•0 comments

From Pokémon Red to Standardized Game-as-an-Eval

https://lmgame.org
3•Yuxuan_Zhang13•15m ago•1 comments

The Whole Country Is Starting to Look Like California

https://www.theatlantic.com/economy/archive/2025/06/zoning-sun-belt-housing-shortage/683352/
4•ryan_j_naughton•16m ago•0 comments

Eigenvalues of Generative Media

https://stackdiver.com/posts/eigenvalues-of-generative-media/
3•d0tn3t•16m ago•1 comments

Universities Are Making You Look Stupid

https://arealsociety.substack.com/p/universities-are-making-you-look
2•arealsociety•19m ago•0 comments

Brazil's Supreme Court clears way to hold social media liable for user content

https://apnews.com/article/brazil-supreme-court-social-media-ruling-324b9d79caa9f9e063da8a4993e382e1
2•rbanffy•19m ago•0 comments

The New Skill in AI Is Not Prompting, It's Context Engineering

https://www.philschmid.de/context-engineering
4•robotswantdata•21m ago•0 comments

Ask HN: When will YC do a batch in Europe and/or Asia?

3•HSO•21m ago•2 comments

Repurposed Materials

https://www.repurposedmaterialsinc.com/view-all-products/
1•bookofjoe•22m ago•0 comments

Liberals, you must reclaim Adam Smith

https://davidbrin.blogspot.com/2013/11/liberals-you-must-reclaim-adam-smith.html
3•matthest•23m ago•1 comments

Symbients on Stage Coming Soon: Autonomous AI Entrepreneurs

https://www.forbes.com/sites/robertwolcott/2025/06/30/symbients-on-stage-coming-soon-autonomous-ai-entrepreneurs/
1•Bluestein•23m ago•0 comments

Can Large Language Models Help Students Prove Software Correctness?

https://arxiv.org/abs/2506.22370
1•elashri•27m ago•0 comments

Developing with GitHub Copilot Agent Mode and MCP

https://austen.info/blog/github-copilot-agent-mcp/
1•miltonlaxer•27m ago•0 comments

I got removed from GitHub for making open source stuff

2•Hasturdev•29m ago•2 comments

NASA plans to stream rocket launches on Netflix starting this summer

https://www.cnbc.com/2025/06/30/nasa-rocket-launches-netflix.html
2•rustoo•30m ago•2 comments