frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Principles for production AI agents

https://www.app.build/blog/six-principles-production-ai-agents
72•carlotasoto•10h ago

Comments

carlotasoto•10h ago
Practical lessons from building production agentic systems
roadside_picnic•6h ago
Did we just give up on evaluations these days?

Over, and over again my experience building production AI tools/systems has been that evaluations are vital for improving performance.

I've also see a lot of people proposing some variation of "LLM as critic" as a solution to this, but I've never seen empirical evidence that this works. Further more, I've worked with a pretty well respected researcher in this space and in our internal experiment we found that LLMs where not good critics.

Results are always changing, so I'm very open to the possibility that someone has successfully figured out how to use "LLM as critic" but without the foundations of some basic evals to compare by, I remain skeptical.

Aurornis•5h ago
Evals are a core part of any up to date LLM team. If some team was just winging it without robust eval practices they’re not to be trusted.

> Further more, I've worked with a pretty well respected researcher in this space and in our internal experiment we found that LLMs where not good critics

This is an idea that seems so obvious in retrospect, after using LLMs and getting so many flattering responses telling us we’re right and complementing our inputs.

For what it’s worth, I’ve heard from some people who said they were getting better results by intentionally using different LLM models for the eval portion. Feels like having a model in the same family evaluate its own output triggers too many false positives.

Uehreka•5h ago
I once asked Claude Code (Opus 4) to review a codebase I’d built, and threw in at the end of my prompt something like “No need to be nice about it.”

Now granted, you could say it was “flattering that instruction”, but it sure didn’t flatter me. It absolutely eviscerated my code, calling out numerous security issues (which were real), all manner of code smells and bad architectural decisions, and ended by saying that the codebase appeared to have been thrown together in a rush with no mind toward future maintenance (which was… half true… maybe more true than I’d like to admit).

All this to say that it is far from obvious that LLMs are intrinsically bad critics.

Herring•4h ago
I have an idea. What if we used a third LLM to evaluate how good the secondary LLM is at critiquing the primary LLM.
colonCapitalDee•4h ago
The problem isn't that LLMs can't be critical, it's that LLMs don't have taste. It's easy to get an LLM to give praise, and it's easy to get an LLM to give criticism, but getting an LLM to praise good things and criticize bad things is currently impossible for non-trival inputs. That's not say that prompting your LLM to generate criticism is useless, it's just that any LLM prompted to generate criticism is going to criticize things are that actually fine, just like how an LLM prompted to generate praise (which is effectively the default behavior) is going to praise things that are deeply not fine.
sudhirb•2h ago
For coding agents, evaluations are tricky - thorough evaluation tasks tend to be slow and/or expensive and/or display a high degree of variance over N attempts. You could run a whole benchmark like SWE Bench or Terminal Bench against a coding agent on every change but it quickly becomes infeasible.
roadside_picnic•1h ago
I used to own the eval suite for a coding agent, it's certainly doable, even when it requires SQL + tables etc. We even had support for a wide range of data options ranging from canned csv data to plugging into prod to simulate the user experience, all easily configurable at eval run time. It also supported agentic flows where the results from one eval could be chained to the next (with a known correct answer being an optional send to check the framework end to end in the case of node failure).

Interestingly enough, we started with hundreds of evals, but after that experience my advice has become: less evals tied more closely to specific features and product ambitions.

By that I mean: some evals should serve as a warning ("uh oh, that eval failed, don't push to prod"), others as a mile stone ("woohoo! we got it work!"), and all should be informed by the product road map. You basically should understand where the product is going just by looking over the eval suite.

And, if you don't have evals, you really don't know if you're moving the needle at all. There were multiple situations where a tweak to a prompt passed an initial vibe check, but when run against the full eval suite, clearly performed worse.

The other piece of advice would be: evals don't have to sophisticated, just repeatable and agnostic to who's running them. Heck even "vibe checks" can be good evals, if they're written down and they need to pass some consensus among multiple people around whether they passed or not.

prats226•6h ago
I see that in tool calling, we usually specify just the inputs to functions and not what typed output is expected from function.

In DSL style agents, giving LLMs info about what structured inputs are needed to call functions as well as what are outputs expected would probably result in better planning?

SrslyJosh•6h ago
"Don't."
lacoolj•5h ago
Always hard to take an article seriously when it has typos, some of which are repeated ("promt" in the graphic on Principle 2)
henriquegodoy•51m ago
I've been tinkering with agentic systems for a while now, and this post nails some key pain points that hit close to home. The emphasis on splitting context and designing tight feedback loops feels spot on—I've seen agents go off the rails without them, hallucinating solutions because the prompt was too bloated or the validation was half-baked. It's like building a machine where every part needs to click just right, or else you're debugging forever.

What really resonates is the bit about frustrating behaviors signaling deeper system issues, not just model quirks. In my own experiments, I've had agents stubbornly ignore tools because I forgot to expose the right APIs, and it made me rethink how we treat these as "intelligent" when they're really just following our flawed setups. It pushes us toward more robust orchestration, where humans handle the high-level intentions and AI fills in the execution gaps seamlessly.

This ties into broader ideas on how AI interfaces will evolve as models get smarter. I extrapolate more of this thinking and dive deeper into human–AI interfaces on my blog if anyone’s interested in checking it out: https://henriquegodoy.com/blog/stream-of-consciousness

Show HN: Use Their ID – Use Your Local UK MP's ID for the Online Safety Act

https://use-their-id.com/
516•timje1•5h ago•126 comments

FinTech Dystopia

https://fintechdystopia.com/
29•LasEspuelas•1h ago•5 comments

I designed my own fast game streaming video codec – PyroWave

https://themaister.net/blog/2025/06/16/i-designed-my-own-ridiculously-fast-game-streaming-video-codec-pyrowave/
216•Bogdanp•7h ago•66 comments

Danish Study: No link between vaccines and autism or 49 other health conditions

https://en.ssi.dk/news/news/2025/large-danish-study-no-link-between-vaccines-and-autism-or-49-other-health-conditions
112•healsdata•3h ago•57 comments

Copyparty – Turn almost any device into a file server

https://github.com/9001/copyparty
564•saint11•12h ago•97 comments

Tao on “blue team” vs. “red team” LLMs

https://mathstodon.xyz/@tao/114915604830689046
399•qsort•12h ago•136 comments

Sign in with Google in Chrome

https://underpassapp.com/news/2025/7/5.html
199•frizlab•6h ago•109 comments

Different Clocks

https://ianto-cannon.github.io/clock.html
122•pppone•7h ago•18 comments

Claude Code weekly rate limits

397•thebestmoshe•8h ago•474 comments

SQLx – Rust SQL Toolkit

https://github.com/launchbadge/sqlx
90•stmw•3d ago•41 comments

AI Is Wrecking a Fragile Job Market for College Graduates

https://www.wsj.com/lifestyle/careers/ai-entry-level-jobs-graduates-b224d624
36•alephnerd•1h ago•34 comments

Show HN: (Ask HN) Color Me Same – A New Kind of Logic Game – Pursue It Further?

https://color-me-same.franzai.com/
8•franze•2d ago•4 comments

GLM-4.5: Reasoning, Coding, and Agentic Abililties

https://z.ai/blog/glm-4.5
170•GaggiX•12h ago•94 comments

Simplify, then add delightness: On designing for children

https://shaneosullivan.wordpress.com/2025/07/28/on-designing-for-children/
121•shaneos•11h ago•46 comments

The Vatican Observatory Looks to the Heavens

https://www.newyorker.com/magazine/2025/08/04/the-vatican-observatory-looks-to-the-heavens
29•pseudolus•5h ago•6 comments

Enough AI copilots, we need AI HUDs

https://www.geoffreylitt.com/2025/07/27/enough-ai-copilots-we-need-ai-huds
821•walterbell•1d ago•235 comments

Interstellar Comet 3I/Atlas: What We Know Now

https://skyandtelescope.org/astronomy-news/interstellar-comet-3i-atlas-what-we-know-now/
72•bikenaga•8h ago•31 comments

Cells that breathe oxygen and sulfur at the same time

https://www.quantamagazine.org/the-cells-that-breathe-two-ways-20250723/
55•sohkamyung•3d ago•3 comments

Show HN: 433 - How to Make a Font That Says Nothing

https://untested.sonnet.io/notes/433-how-to-make-a-font-that-says-nothing/
14•rpastuszak•3d ago•2 comments

Shrinkle – Shrink words, find hidden phrase

https://www.shrinkle.org/
47•onion92•7h ago•12 comments

Robot hand could harvest blackberries better than humans

https://news.uark.edu/articles/79750/robot-hand-could-harvest-blackberries-better-than-humans
72•PaulHoule•6h ago•32 comments

AV-Racer Devlog (1): Getting a functional car model

https://wassimulator.com/blog/programming/av-racer/devlog_1.html
3•mooreds•1d ago•0 comments

Terminal app can now run full graphical Linux apps in the latest Android Canary

https://www.androidauthority.com/linux-terminal-graphical-apps-3580905/
165•thunderbong•3d ago•66 comments

How to make websites that will require lots of your time and energy

https://blog.jim-nielsen.com/2025/how-to-make-websites-that-require-lots-of-time-and-energy/
231•OuterVale•19h ago•183 comments

Structural-Demographic Theory

https://peterturchin.com/structural-demographic-theory/
17•rzk•4h ago•4 comments

FDA has approved Yeztugo, a drug that provides protection against HIV infection

https://newatlas.com/infectious-diseases/hiv-prevention-fda-lenacapavir/
306•MBCook•11h ago•131 comments

Principles for production AI agents

https://www.app.build/blog/six-principles-production-ai-agents
72•carlotasoto•10h ago•12 comments

The Geological Sublime

https://harpers.org/archive/2025/07/the-geological-sublime-lewis-hyde-deep-time/
68•prismatic•13h ago•26 comments

‘I witnessed war crimes’ in Gaza – former worker at GHF aid site [video]

https://www.bbc.com/news/videos/cy8k8045nx9o
518•nathanyz•7h ago•435 comments

SIMD within a register: How I doubled hash table lookup performance

https://maltsev.space/blog/012-simd-within-a-register-how-i-doubled-hash-table-lookup-performance
172•axeluser•21h ago•33 comments