How to Build Your First AI Agent: One File, No Code
Drop my AI Agent Builder into Claude or Codex on your computer and it interviews you and builds your first AI agent: three files for its identity, your rules, and its memory. Every click, from making the folder to calling your agent by name.
Save it, print it, read it offline. It's yours.
An AI agent does more than answer you. It has one main job, it knows how you like things done, and it does the work right on your computer: it writes the draft, saves it to a folder, and picks up tomorrow right where you left off. I run my entire business with one AI agent named Apollo. This guide gives you my AI Agent Builder, one file that interviews you and builds your first agent for you in Claude or Codex, with no code.
Download the AI Agent Builder, build-my-agent.md. Make a new folder called My AI Team and put the file inside. Open that folder in the Claude app's Code tab. Type Read build-my-agent.md and follow it. Answer its questions. When it asks for permission to create files, say yes. Then call your agent by name any time.
The Claude desktop app, signed in on a paid plan (Pro or higher). Or the ChatGPT app for Mac, which has Codex built in; how much you can use it depends on your ChatGPT plan. The AI Agent Builder file, build-my-agent.md. About 30 minutes, more if you have a lot to tell it. The steps below show a Mac.
Every agent starts with one main job. It’s a thinking partner who’s great at one part of your life or your work. Mine is content: Apollo is my whole content team. He does my research, schedules my posts, and builds my newsletters and guides. Yours could plan your week, run your small business’s social media, help you study, keep your household organized, or be whatever you want it to be.
“Agent” sounds technical, but it’s just three files on your computer, and Claude writes every one of them for you during the interview:
Your agent lives in its own folder. This is the step where most people get stuck, so go slowly.
- Download the file: build-my-agent.md. It lands in your Downloads folder.
- Make a new, empty folder somewhere easy to find. On a Mac, open Finder and press Shift + Command + H. That opens your home folder, the one with the house icon. Right-click an empty spot and choose New Folder. Name it My AI Team. A crowded Desktop is the hardest place to find it again, especially if your Desktop is stored in iCloud.
- Move build-my-agent.md into My AI Team. Drag it from Downloads into the folder.
- Don’t open the file. Double-clicking it opens it in whatever app your computer picked for .md files, which can be anything (on my Mac, it opened in Canva). You never need to open it yourself. Claude reads it for you.
- Open the Claude desktop app and click the Code tab, the </> icon at the top left.
- Find the folder name in the bar under the message box. That bar has three things in a row: This computer, then a folder name (it might say Documents, No folder, or the name of another folder), then Worktree. The only one you’ll click is the folder name in the middle. Don’t click This computer or Worktree.
- Click the folder name and choose Open folder… A window titled Select folder opens.
- Click My AI Team once so it’s highlighted. Click the folder, not the file inside it. Then click Open.
- Check the bar. It should say My AI Team. If it says another folder name with + 1 after it, two folders are open. Click it, choose Open folder…, and pick My AI Team so it’s the main folder with the checkmark. If anything is still listed under Also included, click the × next to it. Your agent should only see its own folder.
Open Finder, find My AI Team, and drag the folder right onto the Select folder window. It jumps straight there. Then click Open.
Write a brain dump, or talk one into a voice memo and copy the text: where you've been, what you do now, what you want, what you're tired of repeating, and your dreams for the next few years. Drop it in during Round 4. It's the fastest way to give your agent the whole picture.
Click in the message box, type this, and press Return:
Read build-my-agent.md and follow it.
That’s the only thing you type that isn’t a conversation. From here, Claude interviews you one question at a time and tells you why it’s asking each one. Answer in your own words, as if you were talking to a new assistant on their first day.
Give it as much as you can. This is the most important part of the whole guide. The more your agent knows about you, the better it works from day one: your history, your work, your life, your dreams, your goals, and where you’re going. A short answer gets you a generic agent. A full answer gets you one that feels like it has known you for years.
Here’s what the interview covers, in four rounds:
After Round 2 and Round 3, it checks in: keep going, give it notes to read, or build now. Keep going. You can say build it at any point, but the agents that feel real are the ones that got all four rounds.
Passwords, credit card or bank numbers, Social Security numbers, medical records, or API keys. Your agent saves what you tell it in plain files, so keep those out. The file reminds you, too.
When it asks for permission to create files, say yes. That’s your agent being saved into your folder. It creates the three files, a short note for today, and a shortcut so you can call it by name.
When it’s done, it greets you as your new agent, tells you how to call it back, and offers three small things it can do for you right now. Pick one. That’s the moment it feels real.
Every time you want your agent, open a fresh session in the same folder and call it by name:
- Open the Claude desktop app and click the Code tab, the </> icon at the top left.
- Click + New at the top of the left sidebar. This opens a fresh session.
- Check the folder name in the bar under the message box. If it doesn’t say My AI Team, click the folder name and pick My AI Team from the Recent list. It shows up there after the first time.
- Type / and your agent’s name in the message box, like /maple, and press Return. It reads its three files and opens with Here’s where we are.
- Work with it. When you tell it something worth keeping, it saves it right away and shows a line that starts with 📝 Remembered.
- Correct it when it gets something wrong. It fixes it and asks if that should always be the rule. Say yes, always and it goes into RULES.md.
- Type wrap up when you’re done for the day. It saves where you left off, so next time you don’t start over.
The same file works in Codex, which comes with ChatGPT. Use the ChatGPT app on your Mac, not the ChatGPT website. On the website, Codex only works in the cloud and asks you to connect GitHub. It can’t see a folder on your computer.
- Open the ChatGPT app on your Mac and click Work at the top, next to Chat.
- Look at the bar under the message box. It shows Choose project, Files, and Plugins, with a small laptop icon on the right, which means it’s working on your computer. If a blue box pops up about running chats in the cloud, close it. Don’t click Try now.
- Click Choose project, then click New project, the first item under the search box.
- Name it My AI Team. Under Source folders, make sure it says Add a folder on this computer, click Add, and pick your My AI Team folder.
- Click Create project.
- Type: Read build-my-agent.md and follow it. It runs the same interview and builds the same three files.
- When it asks for permission to create files, say yes.
- To call your agent back, start a new chat in the My AI Team project and type $ and its name, like $maple.
Your agent starts by knowing you. Connect it to your apps and it can do things for you too: read your email, check your calendar, make a Canva design, post an update to Slack, or add a page to Notion. You run the show.
- Open a regular Claude chat (not the Code tab), click the plus button in the message box, and choose Connectors.
- Turn on the apps you use, like Gmail, Google Calendar, Canva, Slack, or Notion. Each one asks you to sign in to that app once.
- Go back to your agent. Apps you connect to your Claude account work in the Code tab too.
- Ask your agent in plain English: “Check my calendar and plan my week,” or “Draft a reply to the last email from my landlord.”
Start with one app. Have it ask before it sends, posts, or deletes anything, and add that as a rule: “Always ask me before you send or post anything.”
That's the foundation: an agent with a name, a personality, your rules, and a memory that grows every time you use it. There's a lot more you can do with it, and more is coming on how to get the most out of your agent. Follow along so you don't miss it.
Want more like this?
One simple AI win in your inbox every Sunday. No jargon, no overwhelm, unsubscribe whenever you like.
Want more like this?
Free AI guides added regularly. No jargon, no overwhelm.
kellystrattonai.com
