I'm a cloud engineer with a wide technical base. Writing software was never my trade. In the last couple of years AI coding agents have written the code for my side projects: a controller board, a live scoreboard, online play for an old arcade game, the app I write my stand-up in. I designed them and directed the work.
You can do this too, to a degree. This is what I'd tell a friend before they start. If you haven't read it yet, start with Mining for gold: it covers how to learn a field with AI, and everything here builds on it.
Want this as instructions for your coding agent? The free starter kit has a page you hand to your agent at the start of a project: BUILDERS-START-HERE on GitHub.
Want the parts list? The builder's cheat sheet walks through what you are building floor by floor: the words, the open-source parts we use, and a ready-made expert page for each floor.
1. You are the architect
You don't need to write the code. You do need to know what the pieces are and how they connect. In my experience, an agent with no direction builds a mess, confidently.
Before you ask for anything to be built, ask to be taught:
- "What are the parts of an app like this, in plain words, and what does each one do?"
- "What are my choices for each part, and what does each choice cost me later?"
- "Draw me the simplest version that could work. What can wait?"
- "What do beginners get wrong when they build this?"
When you can explain your own app back in a few sentences, you're ready to build.
2. Don't build what already exists
GitHub is a public library of other people's code. Millions of projects, most of them free to read. Open source means the author has published the code and said what you may do with it.
I've found that almost nothing I want is new. A sign-in screen, payments, a booking calendar, sending email: someone has made it, tested it and fixed the bugs you haven't met yet. So before your agent writes anything, send it looking:
- "Search GitHub for open-source projects that already do this. Give me the top five with links."
- "For each one: when was it last updated, how many people use it, how many open problems, and what is the licence?"
- "Which would you build on, and what would we still have to write ourselves?"
How to judge a project. Updated recently. Used by a lot of people. Problems get answered. Clear instructions. If it was last touched four years ago, I walk on.
Licences, in one breath. MIT and Apache: use it, even in something you sell. GPL: you can use it, but you may have to publish your own code too. No licence at all: it is not yours to use. Ask your agent which one a project has before you build on it.
Verify before you trust. Anyone can publish code, including people with bad intentions. Look-alike names are a common trick, and popularity can be faked. Have your agent check, and stop before it installs anything:
- "Verify this project before we use it. Confirm this is the official repository: the project's own website or package page should link to it. Make sure it is not a look-alike with a similar name."
- "Tell me who maintains it, how long it has been around, when the last release was, and whether it has any known security advisories."
- "Tell me exactly what it would install or run on my machine. Do not download, install or run anything until I say so."
Use proven code as it is. When something works, don't let the agent "improve" it or rewrite it from scratch. In my experience, rewrites bring the old bugs back.
3. Give your agent a memory
AI does not remember yesterday. Every new session starts from zero unless you hand it the past. Two documents fix this:
- An expert page for each area of the project: what it is, how it works, the rules. The template is in the first guide.
- A project journal: what you decided and why, what you tried that failed, and every fact marked proven, assumed or unknown.
For me, the failed attempts have mattered most. Without them, your agent will cheerfully try the same dead end next week.
4. "It runs" is not "it works"
An agent will tell you the job is done. In my experience it often isn't. Make it prove it:
- "Show me it working, with the actual output."
- "Write a test for this. First show me the test failing, then show it passing."
- "What did you not check?"
A test that can't fail proves nothing. I learned that the slow way.
5. Watch it work
Don't send it off and walk away. You can see the moment an agent stops solving your problem and starts solving a smaller one of its own. Catch it early and one sentence fixes it. Catch it late and you have a pile of confident, wrong work to undo.
It will also agree with you when you're wrong, and apologise while changing nothing. I once asked one to show me what it had changed, and it replied that I was correct, the code was the same as before. I was about to start an argument with a robot.
6. What goes wrong
- Secrets in public. Passwords and keys pasted into code, then published. Keep them out of the code, always. Ask your agent how.
- No way back. Save your work in version control and commit often, so any bad day can be undone.
- Deleting things. Tell your agent to ask before it deletes or overwrites anything. Then make it show you what it is about to remove.
- The live system. Never let an agent change the real, running thing without your say-so each time.
- The bill. Put a spending limit on every AI and cloud account before you start.
- Code you can't explain. If you couldn't tell a friend what a part does, ask until you can.
Where the limit is
AI has got me to a working first version far faster than I ever could before. What it has not done is tell me whether the design will hold when real people use it, whether it is safe, or what it will cost to run. I see that as the architect's job, and it is the part I'd get a second opinion on before taking money from customers.
This is one person's method, written down as it is used. Tools change quickly, and nothing here is a promise of results or legal advice on licences. How we work with founders.