Hacker News new | ask | show | jobs
by warkdarrior 5 days ago
Don't leave us hanging, man. What would need to be true so you wouldn’t need to verify what the agents are doing by hand anymore?
7 comments

For me it was just start doing it.

TUIs help here.

It’s going to fail, catastrophically at times, so start in low risk ventures. Build up a workflow that covers the key priorities explicitly. Create constraints to manage scope. Inform the models as best you can about ecosystem, environment, controls. Mix model providers if you can. Test, test and retest. Embrace your role as conjurer.

It’s not one thing, but a lot of things.

I want a certain folder structure (custom linting rules) I want low complexity, I want one function per file I really want to trust my ci pipeline and e2e tests.

I want monitoring, alerts on my phone when any unit economics move (even ads etc).

Nothing freaky, mainly proper monitoring, alerts, wide logging and I think the 'newest' part is my reviewer model, for every feature I usually launch a reviewer with it, that looks into customer journeys once to twice a day if something unexpected happens that we couldn’t solve before. This is in particular useful for AI workflows, as these are tricky to get right from the get go.

I then also did monitoring on my reviewers if as I would hope they find less over time. Later I needed to optimize the cost of all that infra. I needed to think about proper naming. It’s really a lot of things that totally sound like groq overcomplicating now, but the guardrails, data models and unit economics I really think through in a way that they guarantee what I want them to guarantee. I’m not saying my approach is the best and I’m not even recommending my approach to others, I would just say it should be considered in building the pipeline versus building the software, but it totally depends as everything. For me in web application development it’s been right so far.

It’s more of a philosophy approach and what needs to be true is different than 'ensuring quality'

Please keep spreading this message. There was another thread recently that echoes this. You are now an architect. The quality of the code is no longer directly a thing you control, but you need to be able to verify the quality. The abstraction has moved up (again), adjust accordingly.

It sucks for people who largely want to be left alone to live in their own heads, writing code and understanding things at a deeper level. It’s great for people who have broader interests and curiosity.

I did my best to keep this concise.

With agents I’ve become even more of a zealot for consistency. High level approach:

1. Deterministic code generators (not just the api layer) 2. Custom linters (deterministic, of course) 3. Generative tests (property based tests, model based tests) with snapshot/goldens and runtime assertions 4. Templates - template repos, template patterns, bespoke templates for a particular project so I can generate more code 5. Observability and analysis - Leveraging observability tooling locally. LGTM stack locally by default. I can generate traffic and observe my system locally and debug before I even open a PR.

I find code gen particularly powerful. By actually automating (not agentic automation), I reduce the surface area required to review. Agentic review does not reduce the surface area required of a review, it just outsources it. I still use agentic review, but it doesn’t waste tokens looking at generated code.

I’ve been working like this before LLMs and now with LLMs amplifying this pattern has only been better. I’ve eliminated BS work either for myself or my coworkers (where they agreed to adopt).

For whatever reason, I’m consistently met with resistance to codegen but somehow AI adoption is more acceptable. I have resorted to pairing my codegen with a “skill” to make it palatable.

Unfortunately, none of this solves the biggest problem which is bad ideas, poor taste. Code gen can also make shitty patterns 100% consistent and amplify them. IMO it is easier to reauthor templates and regenerate code than it is to prompt your way out of it.

Not OP, but giving agents a way to verify their work is key. The closer to the real-world workflow they can run the better. How easily/efficiently they run it also matters.
This has been my experience as well. Once you build up a goal state and a testing / experimentation apparatus that gives enough observability that they can move closer to the goal state without human interpretation of results then the closer you are to just letting them go.

What I'm finding challenging tho is aligning teams using agents on this. Teams of people right now are a mess without everyone running their own bespoke process and agents and you get vast varying levels of output quality.

I don’t have a team. I’ve been a solo dev from the start :/

People should have responsibilites and they should be good in achieving them in whatever way they can.

It's going to click in 3 days, just wait!
It's pretty simple. At first, I didn't realize what would need to be true so you wouldn’t need to verify what the agents are doing by hand anymore, but after a while it clicked and now I realize what would need to be true so you wouldn’t need to verify what the agents are doing by hand anymore.
Whatever it is, it's going to be less and less, because AI labs will make it true.
I’m just trying to survive to the next day…