frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: Beyond traces, how do you know your agent did the job?

3•rstagi•16h ago
I keep going back and forth on this.

Traces and logs tell me what the agent did: every tool call, retry, token, and step.

That's useful when something breaks. What I'm less sure about is whether that tells me the agent actually did the right thing.

A run can look clean and still miss what I wanted. Or it can "finish" without the outcome really being done. So finished and succeeded aren't the same thing.

I haven't made up my mind how to check for that, but I'm experimenting a lot with extracting intents from my agent and correlating among them.

Curious how you do it:

- Do you capture intent and outcome explicitly (e.g. giving a tool to the agent to "declare" it), or infer them after the fact from the traces?

- What kind of "questions" do you "ask" your traces?

Comments

PaulHoule•16h ago
Unit tests? Or plain ordinary testing the same way you would do for other software? (e.g. even if it not software the same idea can apply)

I have a QR code redirect system that generates unique codes for business cards, flyers and such. Previously it generated PNG files but I wanted to load a PDF template, merge in N unique QR codes, and make a new PDF with N pages. I talked it over with Claude, who offered me a test plan although I didn't ask for it -- it was roughly the same test plan I would have made myself. Like I made some flyers, checked that they looked right, checked that the QR code scanned and redirected to the right place, etc.

Claude did a pretty good job, i had to do some visual tweaks, add something manually to the back end to accomodate it and make some little fixes. If I had a junior programmer do the task it would have been the same story.

Whatever you are trying to make by any means whatsoever you are going to have to convince yourself you like the result in the end.

Ask HN: How to deal with shipping AI-written code you don't understand?

410•rzk•20h ago•553 comments

Triplet of 'Ghostly' Galaxies Hints at What Dark Matter Is – and Isn't

22•gumby•2d ago•4 comments

Ask HN: How to get the most intelligence out of your agents?

5•thechairman12•2h ago•11 comments

Ask HN: Dark mode for HN please? (2026)

13•Stitch4223•6h ago•7 comments

Ask HN: What have you built privately with AI that you'd like to share?

4•erelong•7h ago•7 comments

Ask HN: What's your SSH terminal workflow like?

2•otherayden•3h ago•2 comments

Anyone migrate off Google Voice?

8•thomas536•6h ago•3 comments

Ask HN: What happened to open weights models?

4•sparse-Matrix•9h ago•2 comments

Ask HN: Do you know Bitbucket are chaning their SSH endpoints?

3•mcrmonkey•21h ago•0 comments

Ask HN: Bring-your-own-AI hardware

2•flying_sheep•8h ago•0 comments

Ask HN: Why HN dosen't have bot problem?

6•solarpunk_enthu•16h ago•6 comments

Ask HN: Any good technical podcasts to listen to while driving?

4•0-bad-sectors•10h ago•1 comments

Ask HN: How do you deal with AI output of your boss?

17•okr•2d ago•15 comments

Ask HN: Why can't Ukraine use LoRA instead of Starshield?

4•xrd•13h ago•4 comments

Ask HN: How do you cap what your coding agents can spend?

2•Twirled•1d ago•0 comments

Tell HN: I picked up knitting while waiting for my AI agent to complete

8•amelius•1d ago•0 comments

Tell HN: Getting spam after commenting on monthly Who's Hiring posts. Who else?

6•yosito•16h ago•1 comments

Ask HN: Beyond traces, how do you know your agent did the job?

3•rstagi•16h ago•1 comments

Ask HN: Do you also feel that it's impossible to keep up with AI?

4•simonebrunozzi•1d ago•2 comments

Ask HN: What are you working on?

7•tha_infra_guy•1d ago•12 comments

Ask HN: New Outlook` sends everything through Microsoft Servers

4•NicoJuicy•1d ago•4 comments

Talk like Paul Dirac – fewer words is better

10•asen•2d ago•15 comments

Ask HN: Is anyone still running Token Ring or FDDI networks?

12•robotnikman•3d ago•3 comments

Tell HN: Massive amount of spam from "Who Wants to be hired"

10•0xmattf•1d ago•5 comments

Ask HN: System One models for autonomous agents

3•manlymuppet•1d ago•2 comments

Ask HN: What Got You into Rust?

4•cloaky233•2d ago•4 comments

Why do computers/phones have a restart option along with the power off option?

7•saonnet•2d ago•12 comments

Ask HN: How can we stop UX people from changing UIs to get promotions?

6•ex-aws-dude•2d ago•5 comments

Ask HN: Thoughts on hiring junior engineers in 2026?

13•abhishekbasu•3d ago•27 comments

Tell HN: Google Argon on a Pro subscription is worthless

14•bb88•4d ago•10 comments