Every agent running my two businesses is built the exact same way, in four parts. Here’s the full structure with real examples, plus a prompt to start your first one.
A chatbot waits for a question and gives a general answer. An agent has a job. It knows your business, it’s plugged into your real data, it follows set processes and it remembers what happened last time.
Think of each agent as an employee with one role. On my team I have a Meta media buyer, a Google Ads buyer, an email marketing strategist, a creative director and a co-founder agent. Every single one is built with the same four parts.
01
Context
Files that teach the agent your business. Not a one-line prompt. A set of documents it reads every time you work together. Every agent of mine gets four:
The most common mistake is one giant prompt. If you have to re-explain your business every session, you have a chatbot, not an agent.
02
Connections
The live data the agent pulls from, so it works from what’s happening right now and not just what it was trained on. Mine connect to Shopify, Klaviyo, Meta Ads, Google Ads, my customer service platform, competitor ad libraries and a list of experts on X I want to keep up with.
In Claude, many of these are one-click connectors under Customize. For the rest, Claude Code can write the connection for you. My first agent took a weekend. Every one after that took a few hours, because the pattern repeats.
03
Workflows
The agent’s repeatable processes, written down and named, so it runs them the same way every time.
04
Memory
The part that makes it compound. The agent saves decisions, outcomes and lessons to a file, so every session builds on the last one instead of starting from zero.
For example: "We cut this ad on May 3 because people had seen it 8 times and it cost 3x our target per purchase." When I push back on a recommendation, that pushback gets saved with the reason too, so next time it thinks differently.
There’s a huge debate online about whether agents are overhyped. They’ve completely changed my business. But they’re not for everyone. If you’re brand new to AI, start with regular chats and Projects. And if your work fits inside Claude Cowork, stay there.
If you have a real use case and agents still aren’t working, it’s almost always one of two mistakes:
01
Building too many agents
Start with one agent doing one specific job. Add the next only when the first one is saving you real time.
02
Giving every agent every tool
Your media buyer doesn’t need your inbox, and your email agent doesn’t need your ad account. Give each agent only the tools and data its job needs. In Claude, you can set each connector tool to Always allow, Needs approval or Blocked.
What A Good Team Looks Like
Clear jobs, great memory and only the tools each agent needs. In my setup, one manager agent oversees the agents beneath it. And a human, me, always makes the final call.
Pick one job you do over and over. Open Claude Code in an empty folder and paste this. It interviews you, then builds the four parts as files.
I build every agent in Claude Code. That’s where the context files, connections, workflows and memory live. You can run an agent completely by hand from there.
OpenClaw is my optional second layer. It’s a free, open-source assistant that runs on your own computer and lets me message my agents in Telegram. They run on a schedule and send me their reports, so my media buyer’s brief is waiting every morning without me asking. To use Claude inside OpenClaw you need a Claude API key, because Anthropic doesn’t let Pro or Max logins power outside tools.
Prefer to stay inside Claude? Paid plans can now run scheduled tasks in the Claude app and in Claude Code, no extra tools needed.
You don’t need both on day one. Don’t automate something you don’t trust yet.
Want to see two of my agents up close? Here’s my Meta Media Buyer Agent and my Google Ads Agent.