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.

I Built LuoluoAI

https://www.indiehackers.com/post/why-i-built-luoluoai-d84a9938c9
1•siofeng•30s ago•0 comments

Agentic Fitness Functions: Extending Architecture Beyond Deterministic Rules

https://www.infoq.com/articles/agentic-fitness-functions-evolutionary-architecture/
1•cebert•1m ago•0 comments

DD Squad: Testing The Law of Relative Motion at 80 km/h (50 MPH) [video]

https://www.youtube.com/watch?v=jV96uhFWgmA
1•gus_massa•2m ago•1 comments

Flock, Mass Surveillance, and the Collapse of Crime

https://www.richardhanania.com/p/flock-mass-surveillance-and-the-collapse
1•bko•4m ago•0 comments

Concurrent Servers: Part 8 – Go

https://eli.thegreenplace.net/2026/concurrent-servers-part-8-go/
1•ibobev•6m ago•0 comments

Show HN: Winnow – scores X posts by freshness and headroom, no AI, no login

https://winnowapp.app/
3•alexcloudstar•6m ago•1 comments

Java's String.indexOf can be slow (quadratic)

https://lemire.me/blog/2026/08/22/javas-string-indexof-can-be-slow-quadratic/
1•ibobev•6m ago•0 comments

A Syncthing and SQLite Gotcha

https://borretti.me/article/a-syncthing-and-sqlite-gotcha
1•ibobev•7m ago•0 comments

Structured, Customized Interview Course generation and progress tracking

https://www.interviewbasecamp.com/
1•balkrishnajha•7m ago•0 comments

Counterpoise: An open-source personal finance app built for the AI-coding era

https://github.com/jeffjjohnston/counterpoise-ledger
1•jeffjj•8m ago•0 comments

QSBS stacking and packing: A founder's exit strategy

https://carta.com/learn/startups/tax-planning/qsbs/stacking-packing/
1•simonebrunozzi•8m ago•0 comments

Postgres CDC in Production: Handling Failover, Retries, and Duplicates

https://vertexfrontier.com/postgres-cdc-in-production/
1•karlmush•8m ago•0 comments

Americans bought 12% less soda under new SNAP restrictions

https://www.statnews.com/2026/08/24/snap-restrictions-12-percent-drop-soda-purchases/
2•elo2000•8m ago•2 comments

The Durable Shape of Product Engineering

https://juanloco.dev/posts/durable-shape-of-product-engineering/
2•juanloco•10m ago•0 comments

Best Coffee Will Be Harder to Get as Downpours Hit Brazil's Trees

https://www.bloomberg.com/news/articles/2026-08-23/brazil-s-heavy-rains-hit-arabica-quality-squee...
2•blondie9x•10m ago•0 comments

Show HN: Undercover – Hire top talent through games

https://undercover.games/play
4•arpit_bansal•11m ago•1 comments

Prairie Fires Restore Water to Soil and Why Prairies Need to Burn [video]

https://www.youtube.com/watch?v=HDVcfSYcxc0
2•simonebrunozzi•11m ago•0 comments

Experiments with Plotter Art

https://sometimes.digital/posts/experiments-with-plotter-art/
2•surprisetalk•12m ago•0 comments

Farewell Golioth and Hello Nordic

https://danielmangum.com/posts/farewell-golioth-hello-nordic/
2•hasheddan•13m ago•0 comments

Moderna and Merck's cancer vaccine triumph

https://www.statnews.com/2026/08/24/inside-moderna-and-merck-cancer-vaccine-triumph/
1•elo2000•13m ago•1 comments

ICT 1301 – A 1960's Computer (2022)

https://www.i-programmer.info/history/9-machines/4972-a-1960-computer-the-ict-1301-flossie-.html
1•mooreds•13m ago•0 comments

Postmortem for the Lean Kernel Soundness Bug Hunt

https://leodemoura.github.io/blog/2026-8-24-postmortem-for-the-kernel-soundness-bug-hunt/
1•EvgeniyZh•14m ago•0 comments

What my dad taught me about AI coding in the 90s

https://askmike.org/articles/ai-coding-lessons-in-the-90s-from-my-dad/
1•askmike•14m ago•0 comments

Show HN: A public record of open-source software health

https://inspect.software/
1•Nayjest•14m ago•0 comments

Show HN: Alignr – Does pre-AI reflection preserve cognitive independence?

https://alignr.streamlit.app
1•synthrakx•15m ago•0 comments

AI Stock Research Assistant · Streamlit

https://ai-stock-research-kiaan.streamlit.app
1•KiaanKothari•16m ago•0 comments

PDF field detection: what broke across 23 real forms

https://pdf2fill.com/blog/pdf-field-detection-real-forms.html
1•hackerfory•16m ago•0 comments

Indoor Farming Market

https://www.grandviewresearch.com/industry-analysis/indoor-farming-market
2•Rutujad•16m ago•0 comments

Computer Aided Engineering Market (2026 – 2033)

https://www.grandviewresearch.com/industry-analysis/computer-aided-engineering-cae-market
1•Rutujad•17m ago•0 comments

Show HN: A techno machine in one HTML file, with verifiable renders

https://ssx360.github.io/rack-02/?src=hn
1•ssx360•17m ago•0 comments