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.

AI Has Hacked the Code of Human Civilization – Yuval Noah Harari

https://www.youtube.com/watch?v=hBtVGwuJzpk
1•doener•4m ago•0 comments

Sick leave: Germany rising but not the worst in Europe

https://www.dw.com/en/sick-leave-germany-rising-but-not-the-worst-in-europe/a-77815488
2•bushwart•10m ago•0 comments

What should a personal website be?

https://ratfactor.com/cards/personal-website
1•tolerance•10m ago•0 comments

Elon Musk posted twice as often on UK race and immigration as about SpaceX IPO

https://www.theguardian.com/technology/2026/jul/04/elon-musk-uk-race-immigration-spacex-ipo
4•iamflimflam1•10m ago•0 comments

National Institute of Standards and Technology | NIST | Official US Time

https://time.gov/
1•Bender•10m ago•0 comments

No more than 100 000 faint satellites should orbit Earth

https://www.eso.org/public/news/eso2607/
1•Breadmaker•11m ago•0 comments

Review-flow – automate 80% of code review so humans focus on the 20%

https://github.com/DGouron/review-flow
2•DGouron•11m ago•0 comments

Lessons from a Year of Exploring Common Ground

https://americans-agree.org/insights/lessons-from-a-year-of-exploring-common-ground
2•quadtree•13m ago•0 comments

Only 1 of the Top AI Coding Models on WebDev Arena Isn't Chinese

https://arena.ai/leaderboard/code/webdev?rankBy=labs
1•SweetSoftPillow•15m ago•0 comments

Using Local Coding Agents – By Sebastian Raschka, PhD

https://magazine.sebastianraschka.com/p/using-local-coding-agents
1•rbanffy•16m ago•0 comments

Game Boy Advance Dev: Logging to the Console

https://www.mattgreer.dev/blog/gba-dev-logging/
1•jandeboevrie•16m ago•0 comments

Shipping post-quantum cryptography to Python – The Trail of Bits Blog

https://blog.trailofbits.com/2026/06/30/shipping-post-quantum-cryptography-to-python/
1•rbanffy•16m ago•0 comments

MITS - Micro Instrumentation and Telemetry Systems

https://www.abortretry.fail/p/micro-instrumentation-and-telemetry
2•rbanffy•20m ago•0 comments

EndBASIC 0.14: Are we multimedia yet?

https://www.endbasic.dev/2026/07/endbasic-0.14.html
2•jmmv•20m ago•0 comments

Security Roundup: Apple's Hide My Email Service Fails to Hide Your Email

https://www.wired.com/story/security-roundup-apples-hide-my-email-service-fails-to-hide-your-email/
1•joozio•27m ago•0 comments

Liquid transforms into an energy-rich gel that stores power for months

https://news.northwestern.edu/stories/2026/06/cell-inspired-material-captures-energy-and-releases...
2•geox•27m ago•0 comments

Up and Down the Ladder of Abstraction

https://worrydream.com/LadderOfAbstraction/
2•highfrequency•30m ago•0 comments

Good APIs Age Slowly

https://yusufaytas.com/good-apis-age-slowly
19•thunderbong•30m ago•0 comments

How Tier-1 capital market is using AI Agent architecture

https://electronictradinghub.com/the-ai-agent-architecture-is-published-the-thresholds-are-not/
2•silahian•31m ago•0 comments

Plein Air

https://art.joonas.wtf/
2•bookofjoe•33m ago•0 comments

Finland's last analogue landline phones go silent after 150 years

https://www.euronews.com/next/2026/06/30/finlands-last-analogue-landline-phones-go-silent-after-1...
7•ohjeez•34m ago•0 comments

Show HN: AI Interview Coach – practice with honest hiring-manager-grade feedback

https://aiinterviewcoaches.com
1•Aldasams•35m ago•0 comments

Understanding Is the New Bottleneck

https://www.geoffreylitt.com/2026/07/02/understanding-is-the-new-bottleneck.html
1•backlit4034•36m ago•0 comments

OEIS: Number of stars on the US flag since 1775

https://oeis.org/A140646
3•Reasonablefish•37m ago•1 comments

Google Books (or similar) all book scans – $200k bounty

https://software.annas-archive.gl/AnnaArchivist/annas-archive/-/work_items/234
3•Cider9986•37m ago•0 comments

OpenScience: Workbench for scientific research using custom LLMs

https://github.com/synthetic-sciences/openscience
3•ignoramous•38m ago•0 comments

DCA: Arithmetic for Finite Computation

https://github.com/superalp1985/DCA-Discrete-Computer-Arithmetic
1•superalp•38m ago•0 comments

OverGraph: Embedded Graph Database

https://overgraph.io
1•gjmveloso•40m ago•0 comments

Canada's only watchmaking school still ticking after 80 years

https://www.cbc.ca/news/canada/montreal/canada-s-only-watchmaking-school-9.7254211
2•throw0101a•42m ago•0 comments

Meta data center water discharges suspended for contaminating water supply

https://www.tomshardware.com/tech-industry/data-centers/cheyenne-suspends-data-center-fill-and-fl...
3•sensanaty•43m ago•0 comments