The Core Stack: What You Actually Need
Forget the Python libraries and vector databases for a minute. For 90% of business process automation, your agent stack is simpler and cheaper than you think. You need three things: a brain, a body, and a memory.
1. The Brain (LLM API): This is the language model that does the thinking. Your main choices are OpenAI (GPT models) or Anthropic (Claude models). I’ve run production workloads on both. Right now, I think Anthropic’s Claude 3 Sonnet offers the best performance-to-cost ratio for agentic tasks. It’s smart enough to follow complex instructions and format JSON reliably, but costs significantly less than GPT-4o. You’re paying per API call, so this matters.
2. The Body (Orchestration): This is the tool that connects your agent to the outside world. It listens for triggers (like a new email) and executes actions (like sending a Slack message). Your best bets are Make (formerly Integromat) or Zapier. Zapier is easier for beginners, but its task-based pricing gets expensive fast. I build almost everything in Make.com. Its visual builder is better for complex, multi-step logic, and the pricing is more predictable. The Core plan at $9/month is plenty to start.
3. The Memory (A Database): Your agent needs to remember what it did, what it learned, and what conversations it’s had. Don’t overcomplicate this. A simple Airtable base or even a Google Sheet is a perfect starting point. My gripe is that using Google Sheets as a database feels unprofessional and can be slow, but it absolutely works for a V1 and costs nothing. Airtable is a much cleaner solution and the free plan is generous.
What Most ‘AI Agent’ Guides Get Wrong
Most tutorials on how to create an ai agent are written by academics or developers building theoretical tools. They aren’t written by operators trying to solve a real business problem, like clearing an inbox.
AI Side Hustles
Practical setups for building real income streams with AI tools. No coding needed. 12 tested models with real numbers.
Get the Guide → $14
They’ll send you down rabbit holes with frameworks like LangChain or AutoGPT. These are powerful, but they’re massive overkill for structured business tasks. They introduce a ton of complexity and failure points. Building a reliable lead qualifier doesn’t require a Python framework that can browse the web and write its own code. That’s a science project, not a business system.
Most business automation isn’t about open-ended web research. It’s about receiving a piece of data—an email, a form submission, a support ticket—and processing it according to a specific set of rules. The goal is structure and repeatability, not unbounded exploration.
These guides also fail to emphasize the most important part: non-AI guardrails. Simple if/then logic and filters that run *before* the AI ever sees the data are what make an agent safe and reliable. The AI is just one step in the assembly line, not the entire factory.
You don’t need a complex AI agent framework to get started.
Step-by-Step: Building a Lead Qualification Agent in Make.com
Let’s make this concrete. Here’s a common scenario: you have a `leads@mycompany.com` inbox that gets a mix of serious inquiries, spam, and questions. You want an agent to read each email, identify the real leads, extract their info, and tee up a reply.
Here’s the operator playbook for building this in about an hour.
- The Trigger: Watch Emails. In Make.com, the first module is a trigger. Use the ‘Watch Emails’ module for Microsoft 365 or Gmail. Set it to run every 15 minutes on your leads inbox.
- The Guardrails: Simple Routers. Before you even think about AI, add some Routers. These are simple filters. Router 1: If subject line contains ‘unsubscribe’ or sender is on a blocklist, stop the process immediately. Router 2: If the email content mentions ‘invoice’ or ‘support ticket’, forward it to your support tool and stop. This prevents your sales agent from trying to reply to a billing question.
- The Brain: The First LLM Call. Now, for the emails that pass the guardrails, send the body text to an LLM. Use the OpenAI or Anthropic module in Make. This is where the prompt engineering happens. Don’t just ask it to ‘summarize the email’. Give it a specific job and a required output format.
Here’s a prompt that actually works:
<prompt>
You are a B2B sales development representative's assistant. Your task is to analyze inbound emails to identify and qualify potential leads. Read the following email content and extract the information into a structured JSON object.
The JSON object must have these exact keys:
- lead_name (string or null)
- company_name (string or null)
- summary (a one-sentence summary of their request)
- urgency ('high', 'medium', 'low')
- qualification_status ('hot', 'warm', 'cold', 'not_a_lead')
Here is the email content:
---
{{email_body_text}}
---
Return only the JSON object and nothing else.
</prompt>
4. The Memory: Log to Airtable. The LLM will return a JSON string. Use Make’s ‘Parse JSON’ module to turn it into usable data. Then, use the ‘Create a Record’ module for Airtable. Map the data from the LLM directly to fields in your ‘Leads’ table. This is my favorite part of the process. The moment that messy, unstructured email becomes a clean, structured row in a database is magical. You now have a permanent, searchable log of every lead processed.
5. The Action: Draft a Reply. Add another LLM module. This time, the prompt will use the structured data from Airtable to generate a personalized reply. For example: `”Draft a friendly, concise reply to {{lead_name}} from {{company_name}} about their request: ‘{{summary}}’. Acknowledge their request and tell them our team will follow up within 24 hours.”` The crucial step here is to connect the output not to an email sending module, but to a ‘Create a Draft’ module in Gmail or Outlook. Never let an agent send an email without human review, at least not until you’ve watched it run for weeks and trust its judgment completely.
