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•8mo 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.

Messages in bottles across the digital sea

https://adrift.today/
1•icyfox•35s ago•0 comments

The seventh-largest Spanish company

https://en.wikipedia.org/wiki/Mondragon_Corporation
1•whitehexagon•42s ago•0 comments

Show HN: Chaos Engineering for AI Agents

https://github.com/deepankarm/agent-chaos
1•deepankarm44•2m ago•1 comments

Show HN: Eimi – Turn any information into daily cards

https://eimi.tech
1•xjconlyme•3m ago•0 comments

Oil Tanker Pursued by the U.S. Appears to Claim Russian Protection

https://www.wsj.com/politics/national-security/oil-tanker-pursued-by-the-u-s-appears-to-claim-rus...
1•JumpCrisscross•4m ago•0 comments

2026: The Year of Java in the Terminal

https://xam.dk/blog/lets-make-2026-the-year-of-java-in-the-terminal/
1•based2•4m ago•1 comments

Scaffolding to Superhuman: How Curriculum Learning Solved 2048 and Tetris

https://kywch.github.io/blog/2025/12/curriculum-learning-2048-tetris/
3•a1k0n•6m ago•0 comments

Trump administration removes three spyware-linked executives from sanctions list

https://www.reuters.com/business/trump-administration-removes-three-spyware-linked-executives-san...
2•campuscodi•8m ago•0 comments

Desktop-2FA: offline desktop application for generating, managing TOTP 2FA codes

https://github.com/wrogistefan/desktop-2fa
1•thunderbong•8m ago•0 comments

A man taking over the Large Hadron Collider – only to switch it off

https://www.theguardian.com/science/2025/dec/31/large-hadron-collider-head-of-cern-mark-thomson
1•spopejoy•10m ago•0 comments

Built a local-first crypto P&L and TurboTax Online export tool (open source)

1•metalusmonk•11m ago•0 comments

Trump Signs Defense Bill Prohibiting China-Based Engineers in Pentagon IT Work

https://www.propublica.org/article/trump-law-microsoft-digital-escort-ban-china
2•_____k•11m ago•0 comments

What I learned building an opinionated and minimal coding agent

https://mariozechner.at/posts/2025-11-30-pi-coding-agent/
1•PaulHoule•11m ago•0 comments

The Compiler Is Your Best Friend, Stop Lying to It

https://blog.daniel-beskin.com/2025-12-22-the-compiler-is-your-best-friend-stop-lying-to-it
1•based2•13m ago•0 comments

Playing to Lose

https://powering-the-planet.ghost.io/playing-to-lose/
1•DamonHD•13m ago•0 comments

The Cost of a Closure in C, the Rest

https://thephd.dev/the-cost-of-a-closure-in-c-c2y-followup
1•gsky•13m ago•0 comments

Autonomous Medical Officer Support Software on the ISS (2024)

https://ntrs.nasa.gov/citations/20240012964
1•StatsAreFun•14m ago•0 comments

PS5 ROM Keys

https://www.psdevwiki.com/ps5/Keys#PS5_ROM_Keys
2•m00dy•15m ago•0 comments

What Is Apache Spark: Complete 2026 Guide to AI-Native Big Data Processing

https://www.netcomlearning.com/blog/apache-spark
2•based2•16m ago•0 comments

The HSBC app refuses to work if "Bitwarden" is installed on user's Android phone

https://twitter.com/nixcraft/status/2006133658495656377
1•fortran77•16m ago•2 comments

The State of LLMs 2025: Progress, Problems, and Predictions

https://magazine.sebastianraschka.com/p/state-of-llms-2025
2•ModelForge•19m ago•0 comments

Stardew Valley developer made a $125k donation to the FOSS C# framework MonoGame

https://monogame.net/blog/2025-12-30-385-new-sponsor-announcement/
46•haunter•19m ago•17 comments

Online interpreter of SAKO, a Polish 1959 programming language

https://sako-zam41.netlify.app
1•nathell•21m ago•1 comments

How I Built a Full-Stack SaaS Platform in 150 Commits (and 22 Days) with AI

https://medium.com/@smccaffrey70/how-i-built-a-full-stack-saas-platform-in-150-commits-and-22-day...
1•smccaffrey•22m ago•0 comments

By how much does your memory allocator overallocate?

https://lemire.me/blog/2025/12/30/by-how-much-does-your-memory-allocator-overallocates/
1•gsky•23m ago•0 comments

What I've done with all the extra time gained from learning the Ian Knot

https://blog.klungo.no/2025/12/31/two-years-of-the-ian-knot/
1•danielskogly•25m ago•0 comments

Notes on Building Agentic Tools Using Local LLMs

https://rdrn.dev/ai-agents/
1•sails•28m ago•1 comments

Show HN: OpenCode plugin for interactive plan annotation

https://github.com/backnotprop/plannotator/tree/main/apps/opencode-plugin
2•ramoz•28m ago•0 comments

The new bootc kickstart command in Anaconda

https://fedoramagazine.org/introducing-the-new-bootc-kickstart-command-in-anaconda/
2•coldsunrays•29m ago•0 comments

Show HN: Multimodal Search over the National Gallery of Art

https://mxp.co/r/nga
1•Beefin•30m ago•0 comments