cd /news/ai-agents/how-to-set-up-a-project-to-let-agent… · home topics ai-agents article
[ARTICLE · art-104405] src=augmentedswe.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

How to set up a project to let agents validate work

Software engineer and DeepFocusTimer creator shared a prompt to help developers set up projects so AI agents can validate their own work by running tests and using the app, addressing the challenge of closing the feedback loop in agentic software engineering. The prompt instructs agents to document how to run tests and interact with the application, improving agent effectiveness.

read1 min views4 publishedAug 20, 2026
How to set up a project to let agents validate work
Image: Augmentedswe (auto-discovered)

The biggest benefits of agentic software engineering are hidden behind one key challenge.

Your agents have to be able to validate their own work.

Agents aren’t super useful without being able to close the feedback loop on their work. They’ll write code, but then you have to poke around your app and paste any feedback. It’s a waste of time.

But that’s how software is made. You write some code. You run some tests. You iterate.

You wouldn’t write and ship code without trying to validate that it works, and you shouldn’t do it with agents either.

But your agents should actually be able to run tests, and ideally, use the app.

Why many projects fall short #

Closing the feedback loop is often done in two ways:

Running tests (like unit tests) Performing actions against your application

For an API, performing actions might be making API calls. Maybe it’s automated, maybe it’s Postman/cURL. But for web apps or mobile apps, it gets more complicated. For DeepFocusTimer, I run a development server, visit the app in my browser, and manually validate changes. Most apps, it’s a bit of both.

So most of the time, agents need to be able to:

Run tests

Manually use the app

The first of these is easy. Agents can often figure out how to run tests, but apps that have explicit instructions on how to run tests in their AGENTS.md

or CLAUDE.md

get better results.

A prompt to get your project ready for agent-validation #

You can fix all of the above problems manually, but I have a prompt that I’ve been using to fix all my projects. Here it is:

── more in #ai-agents 4 stories · sorted by recency
── more on @deepfocustimer 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-set-up-a-proj…] indexed:0 read:1min 2026-08-20 ·