
Loading summary
A
I just read a study that by 2030, AI is going to create 170 million new jobs. But they won't be jobs where you just sit there and chat. With AI, There'll be jobs where you build AI agents. And I get it. The AI space is moving crazy fast. I mean, what even is an AI agent? Not too long ago, I was right there with you. But after going deep myself in building dozens of agents, I found out it's actually way easier to build and manage these agents than it looks. So much so that my whole team and I have hundreds of AI agents doing 92% of all the work across my companies. So today, we're going to go through every step on how you can build your first AI agent, starting with AI chat bot versus AI agent. A chat is like a meeting. An agent is like an employee. Chat is you ask it a question, and then you get an answer. And a lot of people, there's copy and paste things and do something with it. With an agent, you actually tell it what you want to do, and it runs the full, full workflow. Think of it like these are the body parts. I call it data. So one is D. It can diagnose. It can actually figure out what the problem is and solve it on your behalf. Kind of like hiring a consultant. Next is a. It can assemble, it can build a plan, it can design tools. In that way, I think of it like an architect. It knows all the different pieces that it can pull together to get something done. Next, we have t. It can take action. And that way, I think about it like somebody that executes tasks. And finally a. It can assess. It can check its own work, see where the opportunities are, and then make sure that it landed on the right answer. And if not, it can review itself and make itself better. This whole thing is called a loop. And without a loop, an agent would just do the job and then stop. That's called an automation. But with an agent, it keeps learning. It keeps getting better. It kind of acts like a person, which with chat, it pulls on us. It's asking us, what do you want me to do? We prompt it, and then we wait. With an agent, it pushes on us. It's doing things and changing things all the time, and it's checking in to make sure that it did it the right way. So you might be able to buy back your time with chat, but you'll actually learn to let go of whole areas with an agent. But how do we even know if it's worth giving something to an agent instead of just doing it ourselves. For that I use the rule of R. The first one is repetitive. Is this a task that I'm going to do every week? Two is rules based. Does it take the same input and generate the same output every time? The third is, does it generate a return on my time for the amount of time it takes me to build this thing? I'll show you. How will I actually get my time back if the task takes two minutes, but it would take me two weeks to build this agent, how about I just keep doing the two minute task? But if you think about it and the task is only done once in a while, doesn't follow a clear process or get to a specific outcome, and doesn't save you more time to automate it than just doing it manually, Then stick with what you got. Use the chat. So now that we know the difference between chat and agents, how do we build one to make an agent? It's super easy and I even turned it into an acronym called agent. And the first step is A, which means aim for a specific outcome. When I'm sitting down and I'm like, ooh, I want to build an agent for this, I have to first ask myself, what is the specific goal? Start with the outcome the agent is going to give you. It's like if I'm climbing a mountain. Taking a step is the task, getting to the top is the outcome. I, I want to define the outcome and be really crystal clear. Because the cool part with AI and agents is that the AI can actually figure its way there. This is why creating AI agents is hard for people, because they want to control every step. But the truth is it may know how to get there way better than you can figure it out. Think about it like when you hire a person, you say, here's your job. When they applied for the job, they had these specific outcomes that they would need to accomplish, like grow the business or get more customers or sell and get people to buy from you. Those are the outcomes. You don't start by telling them how to do the job. You tell them what you're going to need from them. That's the outcome. Aim the agent at the outcome you're looking for. So like, how do we make sure we're being clear to the agent about what kind of outcome we want to achieve? The first is we gotta give it the why before the how. Tell it why you're trying to achieve the goal so that it can make some smart decision on its own. To make this really easy for you. I'm Gonna use an example. We're gonna build together an agent to manage your inbox as an outcome. I would prompt it and say I need to spend less time managing my email inbox. See how? I'm not telling how to do it yet. I'm just saying this is the outcome. The second is we have to write what's called a DoD or a definition of done. It's giving them the instructions to know if they achieved the thing. We want to be specific, we want it measurable and ideally have it in one sentence. So for example, building our agent for our inbox, we would not say handle my emails, instead we would say done means Every morning at 9am the inbox is empty, replies are drafted in my voice and. And anything that needs me is flagged to the top and nothing important slips. If you can't picture it done, the agent can't hit it. It's like a target they can't see. And finally, we gotta start with the end and it's called reverse prompting. But we wanna tell it the results that you want. Then we tell it to ask you the question it needs to get full clarity. This is the advanced move. This is what nobody out there is teaching you. Then we let the AI do its thing. Cause it's better than us in a lot of stuff. And it be builds the plan itself. And the truth is if we can't state the outcome in one sentence, we're not ready to build. If you can talk the task, like explain to somebody else, then the AI can do the task. And the cool part is you knowing this already puts you ahead of most people using AI today. Even folks, you're like, oh, this person's so smart, they don't know this stuff. And we're just getting started. So we've got the agent, it has its reason, we have a clear target. And now it has clarity. And now the next step is, is g give it an identity. Truthfully, out of the box, AI knows a little bit about everything, but it doesn't know anything specifically well. So an identity allows us to focus its power in the right expertise. So when we build the identity, instead of it knowing a little bit about everything, it gets really sharp above that one thing that you've hired Slash built it to do. And the best part is that the tighter we define who it is, the better it works. The better the outcome is, the better the agent is an agent. The I remember reading a report where they built a bunch of AI agents to do customer support for an airline and then they removed all the rule books its identity from the agent, and it dropped from 33% success rate down to 11%. So we're talking same model, same task, same request, and it got three times stupider because it forgot who it was. Think of your agent as a genius. And he's sitting at a desk and he's wearing a blue shirt and he's got great hair. This genius has infinite potential. But until you tell them the job, they just sit there doing nothing because they don't know what they're supposed to do. So what we need to do is tell it what his job description is and set some rules for how to do the work. So this is how we create the agent's job description using three plain English files. The first one is the soul file, right? It's the agent's personality. I have a lot of fun when I create my agents. I tell it what kind of quirks I want, what kind of values does it have, how does it talk? It. It's essentially defining how it behaves. The second file is the identity file. That's its DNA, that's its name. That's a description of its role. For example, one of my primary agents, his name is Kai. I just worked with him for two weeks and we built a bunch of stuff. And I said, hey, man, it's time for you to give yourself a name, because I feel weird not knowing who you are. And he's like, oh, how about this? And here's why. And he gave me all the reasons, and I said, cool. Update your identity file. So now he knows who he is to the world. The third is the user file, and this is the context your agent needs to know with you. It knows who it's going to be interacting with, so it can adjust its loops to get better for you. So, for example, in this file, you might have your goals, your role, how you like things done, but essentially it defines who we are. The soul file is how it behaves. The identity file is who it is, and then the user file is who we are. Now, here's a pro tip. Don't write these files yourself. No, no, no. Let's tell AI to write it. As we build the inbox agent, here's the prompt that you use to generate them. I want to build an AI agent that runs my inbox. Your AIM from the previous step. We insert that there, create its three identity files, a sole file, an identity file, and a user file, and ask me any question. You need to fill these in accurately, then write all three. Notice we did the reverse Prompting where we asked it to ask us questions. So now it'll go do the research and then it'll hand back a template that is 99% awesome and complete for. For example, here's what our inbox agent identity files might look like after the AI interviews you soul file, how it behaves, rights in my voice, concise, direct zero corporate fluff, calm and reassuring, never pushy or salesy. And avoids phrases like I hope this email finds you well. Of course it found you well. When it's unsure, it flags. Instead of guessing identity file, who it is, it has its name, Amelia Emailing. See what it did there? Isn't that cool? It's got personality. The role, personal inbox manager. The job. You read, you sort, you draft replies to every new email lane. This is the parameters. Inbox only. Never touch my calendar. Don't you touch my money or anything outside my email. Now we got the user file, who it works for. I'm a founder who gets around a hundred emails a day. We prioritize people. My team, my current clients, my VIP list. I have multiple AI companies, a media company. It might list them all with these three files. Our inbox agent knows how to behave, who it is and who it's working for. And look, building one agent changes how we work. But if you're a CEO or founder, the real unlock is a whole team of them. That's why I put together, my full AI company OS playbook. It's the best way to plug AI agents into every single department in your business. If you want it, just DM me the word AI business on Instagram and I'll send it right over. So now our agent knows the job it needs to do, but we haven't given it the necessary tools to do the job with. This is where we got to go to E, which is equip it. Like any human team, an agent is going to need some context, is going to need some tools. It needs some logins to systems so it can actually do its work. When we give our agent the context, the history, the data, the tools, that's actually when it gets to do the real work. And in all agent design, the context is the moat. Because garbage context in, garbage context out. Think of this whole desk as what's called the context window. I am the AI, the LLM, and I'm the genius. And I'm sitting at the desk over here. I've got my playbooks. These are the processes and procedures on how to do my work. On top of it, I've placed my Identity files, the things we just created so that I understand how I'm supposed to behave and who I'm working for. This is like my constitution. And then over here, I've got the tools. These are the laptops, the monitor, the mouse, anything I need to use to connect to other systems. And above that, I've got my loops. These are the schedules, the heartbeat that I talked about earlier so that I know when I'm supposed to get things done by. It's like the calendar. It's my schedule. And then under the desk is where I have my filing cabinets. This is my memory. This is where things that can't fit on my desk sit so that it's available. But I'm not creating clutter on my desk. If you've ever heard of context rot, that's when you just load the desk with a bunch of files and it becomes complicated and I can't find things quickly. And all of a sudden I'm answering questions but I'm not clear about it because I'm not certain about it. Whereas a clear context window is when everything on the desk is neatly put away so that I can refer to it. So that's why we have to equip our agent with the right context. So now that we're here, how do we equip the genius agent with all the right context in the tools? First off, we have to capture our processes so we can let IT know how to do the work. For this, I've got two ways. The first way, which I've been teaching forever, not the best way, is the camcorder method. You do the work, you record yourself using Zoom Video or any kind of recording software, and then you can give that to an AI to turn it into a. A playbook, and then you feed that to the agent as like a procedure. Think about our inbox. It's like, do you have a documented process for how to label your emails and triage your emails and write replies on your behalf? Just make sure that when you're recording yourself, you're talking through the task so that when the AI takes that to create the playbook, it has all the details. The better way, and this is my recommendation, is to reverse engineer it from the source. If I'm building an agent to manage my inbox, I can actually connect using the connector tool to my email, in my case, Gmail, and ask the AI to reverse engineer and create a playbook based on historical emails. See, you've already been in your inbox replying and doing stuff. The AI can Actually use that to train itself. And that is actually the way I build most of my agents. If I have the source information, I just ask it to learn how I've done it in the past and then create a procedure, go find the pattern, go find the best practices, go find the little intricacies based on how I've done it and all the people in the relationships and you write that file. So for example, if you want the prompt to do this, here's what you write. Connect to my email, read the last 50 messages that I've sent, study how I actually write, my tone, my greetings, how I do sign offs, how long my sentences are, the phrases I use most often. Then write a style guide that captures my voice and tone. And to test it, ask it to draft a reply on your newest emails that are unread as you based on what it learned. Then you can rewrite those so that it can use that to learn and tighten it up like it already knew who it was. And the best practices based on its research, that's in the soul file. But now it has clear templates, the step by step instructions and even examples that it can use to do this on your behalf. So now that it's captured all the information, it still hasn't kind of solidified it into an actual playbook. And that's what we call a system prompt. So then what you do is for each sub process in the agent's activities, like drafting emails. But maybe it needs to sort emails. You can have it do the same activity. Either you tell it how to do it, or it researches and then it creates all these system prompts based on the work you need it to do. Like I have it for my inbox, sort, reply forward, that's a big one. And even escalate things that it needs to show me and the reporting I want every day. So then at this point you actually have an AI agent running. This is exciting stuff. You might feel right now you're like, oh man, I'm going to give everything I got at it. Don't do that. The end in the agent framework is to narrow the scope. The agent needs to have a narrow scope of what it does so it doesn't confuse itself. If you start asking it to do 17 other things, then all of a sudden this desk can get rid of really busy, which means it's not going to be a great agent anymore. Just like you wouldn't give your administrative assistant the responsibility to do marketing and take sales calls, you want to make sure the scope is narrow. For each agent as an example, I have an agent that writes code and then I have an agent that reviews code. And those are separate agents and they work together. See how narrow the scope is? We need to focus the agent down to one specialist per job. Each agent. Great at one thing. Instead of having one agent do everything Bing, which is what people usually do. That's a mistake. We'll have sub agents that do specialized tasks under it. That way it keeps all the context for the agent super clean. It doesn't get confused. We don't have context for it. We don't want to have a mega agent. Instead we need to spread out the task to other sub agents so that it can handle other agents below it. So for example, Kai, who's like my orchestration agent, he's the one that not only creates other agents, he also coordinates the tasks to the different agents. Like my research agent and my relationship agent and and my coding agent and my reporting agent. He then he pulls it all together and gives me answers. So instead of giving every task to one agent, this is what we should do. Instead. We build a manager agent. It's only job is literally to manage and specialize in the management of the sub agents. Think of it like a real manager agent. You are my manager agent. I need you to manage my sub agents and I need you to make sure that you monitor the jobs and make sure they're moving along. And if they're not working, you fix them and you decide what agents need to exist. So for example, we built our inbox agent, but we don't want to have to manage the inbox agent. We create a manager agent that talks to the inbox agent that might be responsible for a lot of different things like our inbox, but also sending stuff to other people on our team. But we want to make sure each sub agent reports to that manager agent so that it takes care of it. So you might want to give it a prompt like this. You're my manager agent. You never do any tasks yourself. When it comes in, you only move it to other sub agents that are dedicated for that one specific job. You hand it the task and then you let it run. So you. So it's like one agent, one lane. And if a job touches multiple areas, split it into the separate sub agents, one per area. You are the one that coordinates and reports back to me. Like I said, mine's called Kai. He's awesome. I talked to Kai. Kai talks to all the sub agents. I have one agent I gotta talk to. If you want a Pro tip and I don't want to overwhelm you, but there's different AI models. So for example, within Anthropic you have Haiku. This is like for simple and high volume stuff. If you want to sort things, you want to label things, quick draft and it's the cheapest. Then you might go to Sonnet. Sonnet's great for like day to day work, research, writing most code at a higher level, you've got Opus. This is a powerful model, good at reasoning complex builds, being a manager of agents. But now you have Fable, and that just dropped a few weeks ago. That's more like an orchestrator, a consultant. It has full capabilities of Opus, but it's even more state of the art. It's extremely good at long running tasks and real complex things when you don't have a lot of information to give it. But it's the most expensive. So depending on your task you might want to give it different models because it'll cost less and it may not need that level of horsepower to get the work done. So for example, my inbox agent, since it's always running every 15 minutes, I just use Sonnet because I don't need an Opus level genius to run a process that we've already defined. To build the agent, I might use Opus. That way it helps me create it. I might even use Fable. But then to run it, I'm going to run it on Sonnet. One time I had to do this whole refactor on my code base and I could have used a powerful model like Opus. It probably would have cost me 150 bucks and instead I use Haiku and it only cost me a $50 as of today. Here's a chart with GPT and other AI equivalents that it's on screen so you can just take a screenshot of it to help guide you. But this is now changing every couple weeks. If you've made it this far and you're still interested, congratulations. But I need you to know something. You're literally ahead of 99.999% of the people out there and you're crushing it. We've learned to aim the agent at an outcome. Give it an identity so it knows its job, equip it with the right context and tools so it can do the job and narrow the scope so it doesn't get overwhel. Instead, use sub agents to accomplish specific tasks. Now this last step is where our agent truly becomes autonomous. T and it stands for trust, because we gotta do it in stages. Building an Agent is actually the easy part. Once you understand how to do that and you prompt it, it just gets done. The scary part is letting it act without us. And I understand, especially as we talk about our inbox having somebody else write emails as you calm down. I'm not doing that. I'd rather it give me some ideas for copy. The truth is, is we don't give the agent the keys to the car on day one. And what we do is we, like, give it stuff, see what it does, then we see if its response is what we expected. If we do this right, you sleep well at night. If you don't, you will not sleep. The whole point of creating an agent is so that you can go do other stuff. If you're sitting there babysitting or worrying about it all the time, it doesn't help you. So up until now, we've let the agent help us manage some emails. Think about it first. You might sure, it's doing its job properly. When we tested it to write those drafts to unread emails, it and we looked at how it did it. At first, we're micromanaging him a lot, but then we gotta learn to trust in stages. So maybe the first stage is just like, hey, can you sort the email? And then we see what it does and we're like, okay, that's good. Then we, like, ask him to do more drafts. We already tested it, but now let's let it really do it. So now it's running drafts, and we're like, okay, I like those drafts. Change this, do this. Okay, now it's doing its thing. Then we might let it start sending emails on our behalf, but not all of them. Maybe just even forwarding emails to finance to our team, because it has the logic. It saw how we handled those emails in the past. Maybe it categorized certain emails, like Slack notifications into a specific label. But eventually we want this genius to manage our whole inbox without us even opening it. That's the equivalent of us leaving the room and having the agent at the desk do all the work for us. Because at this step, we learn to let go. We've trusted it fully. Cause if you don't do this, it's like hiring a driver to drive your car. And you got your hand on the wheel. Now we got to take our hand off the wheel and let the driver drive. Here's how you can do it in a really safe way. You set the guardrails first. You can actually set that up in its identity files. What is it capable to do on Our behalf. Maybe it has the ability to spend money. Maybe has the ability to make decisions. Maybe has the ability to write drafts only not send yet. It's always your call. And you can define those two. Approve everything at first. I've never created an agent and just like yolo, go nuts. No, show me what you would do. I like what you did. Do it again. Tweak it. Just like I just talked about for our inbox agent. Third, we loosen the leash, right? It's like a dog you're walking with and you're like, hey, I trust you more. I trust you more. And all of a sudden the leash goes limp, but he still holds the heel. And then four would be give it a heartbeat that it can run on its own. Set up that schedule, that reoccurring task. So maybe before did it once and you reviewed everything. Now I might do it every 15 minutes, you know, every morning at 9am it did it once. Now why are we waiting? Why wait until the next day? Why don't we have it run all the time? This process is scary, but the whole point of learning to let go is to buy back our time to have the agent do the work for us. And learning to let go is part of the process, if you trust. So for example, when I showed this agent to my executive assistant, she thought she was out of a job. Instead, it actually freed her up to do things that actually mattered, not sorting emails and writing drafts or telling me what's in there. The AI can do that. I'd rather pay her to do higher quality work, manage higher level projects. Then we rolled out the same system to the whole team. I taught everybody how to do this. Now I want to say congratulations. We just tackled a topic that most people don't even want to learn. They're like, that's not for me. I hear about agents, I don't get it. I'm confused. But no, you didn't. You went all the way till the end. And I want you to understand that you might feel a little behind in this AI world, but here's where I've gotten to. I've accepted that I will always feel behind and I could never be on top of all of it. I. But you just learned a strategy, a shift, a different way of doing work, that if you can learn how to direct the AI, you will co create with it. If you don't, don't be surprised if one day you might be working for it. Remember the rules of R, repetitive rules based and return on time. That's where we want to start looking for opportunities to put an agent in there instead of you keep doing it. And I'm going to give you the pro tip of all pro tips. You grab the link to this video, you give it to your AI and you tell it to use everything I've shared to create the AI for you and watch it cook. Because it can do it. Now here's what I want to know from you. We have some fun below in the comments. Answer this question. If an AI agent could manage your inbox and buy you back all this time scheduling things on your behalf, what would you have more time for? I'm curious. Post a comment below and let me know. And if you want my whole system, the playbook that I use to manage AI in all my different businesses, just DM me the word AI business on Instagram and I'll send it right over. And if you want to know what AI businesses are worth starting in 2026, click here and I'll see you on the other side.
The Martell Method with Dan Martell
Host: Dan Martell
Date: July 20, 2026
Dan Martell demystifies the world of AI agents for entrepreneurs and business owners, emphasizing that the evolving AI landscape offers unprecedented opportunities—even for those feeling "behind." Drawing from his journey and hands-on experience automating 92% of his business operations with hundreds of agents, Dan provides a full, step-by-step guide (with actionable frameworks and real-world stories) for building your first AI agent. The goal: Make AI work for you so you can buy back your time, avoid burnout, and unlock explosive business growth.
AI agents will define the next wave of jobs:
By 2030, AI is expected to create 170 million new jobs focused on building and managing AI agents, not simply chatting with AI.
"A chat is like a meeting. An agent is like an employee." (01:37)
Difference: AI Chatbot vs. AI Agent
D.A.T.A. (Diagnose, Assemble, Take action, Assess)
"Chat is you ask it a question and then you get an answer... With an agent, you actually tell it what you want to do, and it runs the full, full workflow." (02:44)
Start with why and a crystal-clear outcome—not steps.
Use "reverse prompting": Clearly state the desired result and let the AI figure out how to get there.
"I need to spend less time managing my email inbox." (08:14)
Write a Definition of Done (DoD):
"If you can't picture it done, the agent can't hit it... It's like a target they can't see." (09:48)
Without a defined identity, agents underperform (as shown in airline customer support tests).
Define its:
Pro tip: Let the AI generate these files using reverse prompting and self-interview.
Example:
Quote:
"The tighter we define who it is, the better it works." (14:01)
"Now, here's a pro tip. Don't write these files yourself. No, no, no. Let's tell AI to write it." (17:59)
Give agents everything they need:
How to train your agent:
Option 1: Camcorder method—record yourself doing the task and have AI turn it into a playbook.
Option 2 (preferred): Reverse engineer from existing data (have AI analyze your last 50 sent emails and create a style guide).
Quote:
"Garbage context in, garbage context out." (22:08)
Agents should specialize, not try to do everything ("mega agents" fail):
Each agent gets one clear responsibility.
Use manager agents to coordinate sub-agents, mirroring real-world organizational structure.
Example: "Kai" manages other specialized agents.
Quote:
"Each agent. Great at one thing. Instead of having one agent do everything... That's a mistake." (29:10)
"If a job touches multiple areas, split it into the separate sub agents, one per area. You are the one that coordinates and reports back to me." (33:16)
Model selection:
Start by monitoring outputs and approving actions.
Loosen guardrails as confidence builds (e.g., from sorting emails, to drafting replies, then sending on your behalf).
Use identity files to set permissions (what it can/can’t do).
Quote:
"Building an Agent is actually the easy part... The scary part is letting it act without us." (36:09)
"You set the guardrails first... Approve everything at first... Then we loosen the leash." (40:41)
On feeling behind in AI:
"You might feel a little behind in this AI world, but here's where I've gotten to. I've accepted that I will always feel behind and I could never be on top of all of it... If you can learn how to direct the AI, you will co-create with it. If you don't, don't be surprised if one day you might be working for it." (46:34)
Big mindset unlock:
"You might be able to buy back your time with chat, but you'll actually learn to let go of whole areas with an agent." (07:01)
The ultimate pro tip:
"You grab the link to this video, you give it to your AI and you tell it to use everything I've shared to create the AI for you and watch it cook. Because it can do it." (48:37)
Dan reassures listeners: Everyone will feel behind in AI, but those who learn to thoughtfully direct agents will thrive. AI isn’t here to replace your ambition; it’s here to replace the repetitive grind, so you can work at your highest level.
Prompt for listeners:
"If an AI agent could manage your inbox and buy you back all this time scheduling things on your behalf, what would you have more time for?" (48:58)
For more playbooks, case studies, and "AI business" ideas for 2026, follow Dan Martell’s links in the show notes.