Guide · For first-time builders
How to build an AI agent: a beginner's guide to types, platforms and costs
What an AI agent is, the kinds you can build, the best no-code and code platforms, what it really costs in 2026, and a step-by-step plan for your first agent.
You've watched an AI book a table, sort an inbox or answer a phone call, and now you want to build one yourself. Good news: you can. You don't need a computer science degree, and your first working agent can cost less than a lunch.
The catch is that most guides either drown you in jargon or sell you a platform. This one does neither. It explains what an AI agent actually is, the kinds you can build, where to build them, what they really cost, and the steps that separate a fun demo from something people can rely on.
We build AI phone agents for small businesses, so you'll also find the lessons we learned the hard way.
What is an AI agent?
An AI agent is software that is given a goal and works out the steps to reach it. It uses a large language model (the kind of AI behind ChatGPT, Claude or Gemini) to decide what to do next, and tools to actually do it: look something up, check a calendar, send an email, save a record.
The difference from a plain chatbot is that loop. A chatbot answers. An agent answers, acts, checks the result, and keeps going until the job is done.
One distinction worth knowing early, from Anthropic's widely shared guide Building effective agents:
- A workflow follows steps you defined in advance: "when an email arrives, summarize it, then file it."
- An agent decides its own steps as it goes.
Most useful "agents" in the real world are mostly workflow, with a little agent where judgment is needed. That's not a weakness. Predictable is good.
Types of AI agents
The textbook types
If you search "types of AI agents" you'll meet five classic categories from AI textbooks:
- Simple reflex agents act on what they see right now, with fixed if-then rules.
- Model-based reflex agents also keep track of what happened before.
- Goal-based agents plan steps toward an objective.
- Utility-based agents weigh options and pick the one with the best outcome.
- Learning agents get better over time from feedback.
They're useful for understanding the idea. But when you sit down to build, you'll think in different terms.
The kinds of agents people actually build
- Chat agents on a website or in WhatsApp: answer questions, qualify leads, book appointments.
- Voice agents that answer or make phone calls: take messages, triage urgent calls, book visits.
- Workflow (automation) agents that work behind the scenes: sort emails, update a spreadsheet or CRM, draft replies for you to approve.
- Research agents that search, read and summarize: competitor checks, news briefs, market scans.
- Coding agents that write, test and fix code.
- Browser or computer-use agents that click through websites and apps the way a person would. Impressive, but slower and less reliable than the others today.
Pick one for your first build. Chat or workflow agents are the easiest place to start. Voice agents are the most rewarding, and the least forgiving.
How to build an AI agent, step by step
1. Pick one job
Not "an assistant for my business." One job, small and clear, that happens often: "answer questions about our opening hours and services," or "turn every new contact-form message into a row in our spreadsheet and draft a reply."
A narrow job is easier to build, easier to test, and easier to trust.
2. Map the conversation
Write down what should happen, like a script for a new employee:
- the normal path (the 80% case)
- the odd cases: an angry customer, a question it can't answer, someone who goes silent
- the hand-off: when and how a person takes over
This page of notes becomes your agent's instructions, and later your test list.
3. Choose a platform
There are three routes. Each is covered in the next section:
- No-code builders: drag-and-drop, fastest to start.
- Code frameworks: full control, if you can program (or are learning).
- Voice platforms: if your agent needs to talk on the phone.
4. Write the instructions, then add knowledge and tools
- Instructions (the prompt): who the agent is, what it does, what it must never do, how it should sound. Short and specific beats long and vague.
- Knowledge: the facts it may use, like your FAQ, services and policies. If it isn't written down, the agent will guess, so write it down.
- Tools: the actions it may take, like checking a calendar, creating a booking or sending an email. Give it only the tools the job needs. Many platforms now connect tools through MCP (Model Context Protocol), an open standard, so one connector works across different AI apps.
- The model: start with a mid-size model while you build, because it follows instructions well. Once it works, try a smaller, cheaper and faster one, and keep it only if it passes all your tests.
5. Test it hard
This is where most first agents fail. Don't just check that it works. Try to break it:
- ask something it shouldn't know
- give it half the information, then change your mind
- be rude, be vague, switch topics
- ask it to ignore its instructions or reveal them (this is called prompt injection)
Write every test down. Every time you change the instructions, run them all again. And limit the damage a trick could do: give the agent only the tools and data the job needs.
6. Launch small
Start with one channel and real but limited traffic, with a person ready to take over. Tell people up front that they're talking to an AI.
7. Watch and improve
Read real conversations every week. Each mistake becomes a new test, then a fix. The first version is never the last one.
Platforms to build AI agents
Prices below were checked on each vendor's pricing page in October 2026. They change often, so check the links before you commit.
No-code AI agent builders
Best if you want results this weekend without writing code.
- Zapier Agents: agents that act across thousands of apps. Free plan with a monthly allowance of activities.
- Make: visual automation with AI agents. Free plan; paid plans start around $12 a month.
- n8n: source-available workflow automation with AI agent steps. Free to self-host; cloud plans start around €20 a month, billed annually.
- Botpress: chat agents for websites and messaging. Free plan for small volumes.
- Microsoft Copilot Studio: for teams already on Microsoft 365. Priced in credit packs (25,000 credits for $200 a month) or pay-as-you-go.
A note if you've seen tutorials on OpenAI's Agent Builder: OpenAI's documentation says it is scheduled to shut down on November 30, 2026. Pick something else for a new project.
Code frameworks (free and open source)
Best if you can program in Python or JavaScript, or want to learn. You pay only for the AI model you call.
- OpenAI Agents SDK for building with OpenAI's models (it works with other providers too)
- Claude Agent SDK for building with Claude
- Google Agent Development Kit (ADK) for building with Gemini
- LangGraph and CrewAI for more complex, multi-step or multi-agent setups
Anthropic's advice is worth repeating: start with a plain API call and a good prompt, and add a framework only when you need one.
Voice AI agent platforms
Best if your agent needs to answer or make phone calls. These handle the hard parts: the phone line, speech recognition, the voice, and keeping the conversation fast.
- Retell AI, Vapi, ElevenLabs Agents and Bland all let you build a phone agent. Most give free credits or a free tier to start; others charge only for the minutes you use.
How to build an AI agent for free
You can learn the whole process without spending money:
- Gemini's API has a free tier for its Flash models.
- n8n is free to run on your own computer.
- Zapier, Make and Botpress all have free plans.
- Several voice platforms give free starting credits, enough for a few test calls.
Free tiers have limits, and free API tiers may use your data to improve the provider's products. Read the terms, and never put real customer data into a free test.
Your first AI agent in 30 minutes: a website FAQ agent
Here's a safe first project that works in almost any no-code builder:
- Create a new agent (some tools call it an assistant or a bot) and give it a name.
-
Paste in instructions like these, edited for your business:
You answer questions about [business name] for website visitors. Be friendly and brief: two or three sentences. Use only the information in the knowledge base. If the answer isn't there, say you're not sure and offer to pass the question to the team. Never quote prices or promise appointment times. If someone wants to book, ask for their name and email and say the team will confirm.
-
Add knowledge: upload a short document with your hours, services, location and your 20 most common questions with answers.
- Add one tool: when someone leaves their details, add a row to a spreadsheet or send you an email.
- Test it with 15 questions: ten real ones your customers ask, and five tricky ones it shouldn't answer.
- Fix and repeat until every test passes, then add it to one page of your site and read every conversation for the first week.
That's a real AI agent: it understands a goal, uses knowledge, takes an action, and knows when to hand off.
How much does it cost to build an AI agent?
There are three kinds of cost: the platform, the AI model, and your time. Here's a realistic picture for a first agent, as of October 2026.
| What | Typical cost |
|---|---|
| Learning and prototyping | $0–$20 a month. Free tiers and free credits cover most of it. |
| AI model use (chat) | Under 1¢ to about 2¢ per conversation. Small models cost about $0.10 per million input tokens; mid-size models about $2 in and $10 out. |
| No-code platform | $0–$50 a month to start. Business plans run $150 a month and up. |
| Voice agent minutes | About $0.08–$0.20 per minute, all in, for a typical setup: voice platform, AI model and phone line together. Premium voices and models cost more. |
| Phone number | About $1–$2 a month, for a voice agent. |
| Your time | The biggest cost. Our estimate for a phone agent: 20–40 hours to build and test it properly, then 2–4 hours a month to keep it right. |
A quick example. A chat conversation of about 3,000 words in and 500 out (roughly 4,000 and 700 tokens) costs about 1–2 cents on a mid-size model, and less than a tenth of a cent on a small one. A voice agent handling 500 minutes of calls a month costs roughly $40–$100 in usage, plus the number. That's the bill from the platforms, before your time.
The hidden costs
- Testing time. A demo takes an afternoon. Getting it reliable takes weeks of testing and fixing. At $50 an hour, 20–40 hours is $1,000–$2,000 of your time before it answers a real customer.
- Maintenance. Models update, prices change, your business changes. Someone has to keep the instructions current: plan on a few hours a month, or $100–$200 of your time.
- Mistakes. A wrong price quoted, a missed urgent call or a promise your team can't keep costs more than any API bill.
- Rules. AI that talks to the public has to follow them. See below.
Build it yourself, or have it built?
Both are good answers. It depends on what your time is worth and what the agent is for.
- Build it yourself if you enjoy it, want to learn, and the agent is low-risk: an internal helper, a side project, a simple website FAQ. Your cost is usage plus your hours.
- Have it built if the agent will talk to your customers, especially on the phone, and your hours are better spent running your business. A done-for-you service charges a monthly fee that covers the build, the testing, the safety and legal rules, monitoring, and fixes when something goes wrong.
Either way, compare the full cost, not just the per-minute price. The platform bill is the smallest part.
What we learned building voice agents
Phone calls are the hardest place for an AI agent, and the best teacher. A few lessons that apply to every kind of agent:
- Speed matters more than brilliance. On the phone, a reply that takes three seconds feels broken. A slightly simpler model that answers in under a second wins.
- Confirm the details that matter. Read phone numbers back digit by digit and ask callers to spell unusual names. Speech recognition gets these wrong confidently.
- Never let it guess. No prices, appointment times or policies it wasn't given. "The team will confirm" beats a confident wrong answer.
- Safety first. Decide in advance what counts as urgent, and what it says when someone describes an emergency.
- End cleanly. An agent that says goodbye and then keeps talking, or never hangs up, looks broken. Test the ending as carefully as the start.
- Test with real phones, in noisy rooms, with fast and slow talkers. A browser test flatters every voice.
Rules to know before your agent talks to real people
This is general information, not legal advice:
- Say it's an AI, at the start. It's honest, and some states, such as California and Utah, require it in certain situations.
- Recording consent. If you record or transcribe calls, tell callers first. Some states, such as Florida, require everyone on the call to agree. Our guide to recording business calls explains how.
- Outbound calls and texts are different. The FCC treats AI-generated voices as "artificial" voices under US robocall law, so you generally need people's consent before your agent calls them, and written consent for marketing calls. Canada has similar rules. Read Thinking about AI calling your customers? first.
- Privacy. Health, financial and personal data come with their own rules, like HIPAA for medical and dental offices. Keep that data out of free tools, and use only vendors that will sign a Business Associate Agreement (BAA).
Flogenta builds, tests and runs AI phone agents for small businesses: dental offices, home services and real estate. If you'd rather have one built for you, hear how Flo answers a call as your business at flogenta.com. Questions? hello@flogenta.com