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.

Partially Observable Stochastic Games for Cyber Deception [pdf]

https://www.gamesec-conf.org/2020/GameSec_Proceeding_2020/Paper%202.4.pdf
1•jruohonen•53s ago•0 comments

20 Year time-lapse video of stars orbiting a supermassive black hole

https://www.youtube.com/watch?v=TF8THY5spmo
1•revicon•1m ago•1 comments

Hot and stuck in Paris and London: homes not built for heat

https://www.reuters.com/business/environment/hot-stuck-paris-london-homes-not-built-heat-2026-06-26/
1•rawgabbit•1m ago•0 comments

Framesmith 1.7 – a quality gate that tells an AI agent when a UI is done

https://github.com/vicmaster/framesmith
1•vicvelazquez•3m ago•0 comments

Finding Community Events in SF Easily

https://alexroginski.com/stuff_to_do/
1•alexroginski•3m ago•0 comments

Ask HN: What's a pirate's favorite programming language?

2•dieselgate•5m ago•2 comments

Erdős problem #870 solved with ChatGPT-5.5-Pro and Lean

https://twitter.com/DavidTurturean/status/2070531663461756950
2•asparagui•5m ago•0 comments

A personal meta harness for work on the go

https://herd.gehirn.ai/
2•nickguyai•7m ago•1 comments

Open AI SDR – An Open Source Version of the Artisans Ava BDR

https://opencomputer.dev/blog/open-ava-bdr-agent/
1•iacguy•7m ago•0 comments

Using GitHub Actions to Build Linux Kernels – 萌え豚's Blog

https://moebuta.org/posts/using-github-actions-to-build-linux-kernels/
3•abdelhousni•8m ago•0 comments

Reviewing the Experience of Italy in the 1970s

https://mondediplo.com/1998/09/11negri
1•jruohonen•9m ago•0 comments

Cairn – self-hosted health OS that connects labs, training and meals

https://github.com/zilet/cairn
1•miloszikic•10m ago•0 comments

Baguette: Headless iOS Simulator control via private SimulatorKit APIs

https://github.com/tddworks/baguette
1•loa_observer•10m ago•0 comments

MySQL's New Governance Model: Two steps forward and one step backwards

https://villagesql.com/blog/mysql-governance/
2•deesix•12m ago•2 comments

The Industry Mourns the Loss of Bruce Clay – The Father of SEO

https://www.seroundtable.com/bruce-clay-rip-41581.html
1•speckx•13m ago•0 comments

New split layout framework for nearly all Apple platforms (macOS, iOS, etc.)

https://twitter.com/mitchellh/status/2070273858154987537
1•simonebrunozzi•17m ago•0 comments

Rejecting Emails on AS Level

https://blog.vasi.li/june-spam-wave/
1•vsviridov•18m ago•1 comments

Tachio – Free esports API covering 13 games

https://tachiosports.com
1•domktt•19m ago•0 comments

YayText

https://yaytext.com/
1•visviva•21m ago•0 comments

Show HN: Mantis, A self-hosted LLM gateway

https://github.com/mantis-llm-gateway
2•rizsyed1•23m ago•0 comments

VibePHP

https://github.com/mnapoli/vibephp
1•_Microft•24m ago•0 comments

Building Voice AI Workflows with Branches Instead of One Giant Prompt

https://github.com/team-telnyx/telnyx-code-examples/tree/main/build-conversational-workflow-nodejs
2•anushathukral•24m ago•0 comments

Show HN: A free ACP payments module that adds Stripe payments to MCP tools

https://www.afcommerce.com/free-acp-payments-module/
1•abratabia•26m ago•0 comments

From API to Ontology: An Architecture for On-Demand Semantic Digital Twins

https://blog.ptidej.net/from-api-to-ontology-an-architecture-for-on-demand-semantic-digital-twins/
4•viniciusmioto•26m ago•0 comments

Summary of METR's predeployment evaluation of GPT-5.6 Sol

https://metr.org/blog/2026-06-26-gpt-5-6-sol/
1•pongogogo•26m ago•1 comments

Long Wave radio era set to end with Droitwich switch-off

https://www.bbc.com/news/articles/c74yn7v7k4qo
1•speckx•26m ago•0 comments

Amazon wouldn't let me, so I built my own 20TB Snowball [video]

https://www.youtube.com/watch?v=v0DEI4Ad7Ik
3•tambourine_man•27m ago•0 comments

Akrites: The Latest Attempt to Protect Open-Source from AI Attacks Has Arrived

https://devops.com/akrites-the-latest-attempt-to-protect-open-source-from-ai-attacks-has-arrived/
1•CrankyBear•28m ago•0 comments

A list of software and other offerings with free developer tiers

https://github.com/ripienaar/free-for-dev
2•faradtech•31m ago•0 comments

The French are painting their windows with chalk to beat the heat

https://www.bbc.com/future/article/20260625-why-the-french-are-painting-chalk-on-their-windows
5•geox•32m ago•0 comments