AI agent development guides
View all guides
When Not to Use an AI Agent (and What to Build Instead)
Some tasks are worse with an agent: slower, dearer and less reliable than the script they replaced. Here are the six cases we turn down, and what we recommend instead.
Types of AI Agents: Five Shapes That Cover Almost Everything
Forget the textbook taxonomy. In production there are about five agent shapes, and picking the right one early saves you a rewrite in month three.
How AI Agents Work: The Loop, Step by Step
Follow one request through a real agent — planning, tool call, error, retry and stop — and the mystery disappears. What is left is a control loop you can reason about.
AI Agent vs Chatbot: Which One Does Your Problem Actually Need?
A chatbot answers questions. An agent changes things in your systems. The difference decides your budget, your testing strategy and who has to approve the launch.
What Is an AI Agent? A Working Definition for Builders
An AI agent is a model that decides, calls real tools, reads the result and decides again. The loop is the product — and the loop is where the engineering lives.
Frameworks, models and production
View all framework guides
No-Code Agent Platforms vs Custom Builds: An Honest Comparison
No-code gets you to a working result in days and teaches you what the task really needs. Custom earns its cost when permissions, unit economics or product ownership are on the line.
The Model Context Protocol, Explained for Builders
MCP standardises how an agent discovers and calls tools, so an integration written once can serve several clients. Useful — as long as you keep owning authorisation.
Choosing a Model for Your Agent: Capability, Latency and Cost
Do not pick one model for the whole agent. Pick a model per step, measure on your own cases, and route the boring steps to something cheap.
Agent Orchestration: When You Need It and When It Is Overhead
Orchestration buys durable state, branching and resumption. If your runs finish in twenty seconds and never resume, you are paying for insurance you will not claim.
Explore more AI agent guides
In-depth guides, architecture patterns and honest limits, so you can build the agent your workload actually needs instead of the one the demo suggested.
Browse all guidesEvery guide we publish Scope your agentTell us the task
Why read us first
- Every guide is written and reviewed in house by engineers who ship agents, and carries the date of its last review.
- No model provider, framework or agent platform can pay for a mention, a ranking or a link here.
- We give you the architecture and the trade-off, not a demo that only works on the happy path.
- Each guide says where the approach breaks down, which is usually the more useful half.
- Every guide exists in twelve languages with its own URL, not a machine pop-up.
- Nothing is behind a signup: no email wall, no locked chapters, no upsell.
Frequently asked questions
What is AI agent development, in one paragraph?
AI agent development is building software where a language model decides which steps to take, calls real tools to take them, reads the result and decides again — until a goal is met or a limit stops it. The model is not the product; the loop around it is. That loop is where the engineering lives: what the agent is allowed to call, how failures come back to it, how state is carried between steps, what happens when it goes off course, and how you know afterwards whether it did the job. A chatbot answers. An agent acts, and acting is what makes it a software project rather than a prompt.
How long does it take to build a production AI agent?
A working prototype for a narrow task usually takes one to three weeks. Getting that prototype to a state you would put in front of customers takes considerably longer — typically two to four months — and almost none of that time goes into prompting. It goes into integrations that fail in ways the model has to handle, an evaluation set that catches regressions, permissions, logging you can debug from, and the human handover path for the cases the agent should not decide alone. Teams that budget for the demo and not the second phase are the ones whose agents never leave the pilot.
Which agent framework should I use?
Start with the lightest thing that solves your task. For a single agent with a handful of tools, the model provider's own SDK and a loop you wrote yourself is often the whole job, and it leaves you able to debug every step. Reach for an orchestration framework when you genuinely need durable state, branching control flow, retries across long-running steps or several coordinated agents. The cost of a framework is not the API, it is that the parts you most need to inspect on a bad day are inside somebody else's abstraction. Whichever you choose, keep the prompts, tool definitions and evaluation set outside the framework so switching later is a day, not a rewrite.
How much does AI agent development cost?
There are two costs and teams routinely plan for the wrong one. Build cost: a narrow internal agent typically lands between $8,000 and $30,000 of engineering; a customer-facing agent with real integrations, evaluation and monitoring is more often $30,000 to $120,000. Run cost: token spend is usually the smaller line and the easiest to reduce — routing simple steps to a cheaper model, caching, and trimming context regularly cut it by half or more. The line teams forget is maintenance: models are deprecated, APIs change, and your eval set needs re-running. Budget roughly 15–25% of build cost per year to keep an agent honest.
How do I stop an AI agent from hallucinating or going off the rails?
You constrain what it can do rather than hoping it behaves. In practice: ground answers in retrieved documents and make the agent cite the source it used; give tools strict, typed arguments and validate them before execution; let a tool return an honest "not found" and teach the agent that returning nothing is an acceptable outcome; cap the number of steps and the spend per run; and put a human approval gate in front of anything irreversible — payments, deletions, outbound messages to customers. Then measure it. An eval set of fifty real cases, including the awkward ones, tells you more about reliability than any amount of prompt tuning.
Should I use a no-code agent platform or build a custom one?
Use a no-code platform when the task is standard, the volume is modest and the cost of a wrong answer is low — internal FAQ routing, lead triage, drafting first replies. They are genuinely faster to a working result and you will learn what the task really needs. Build custom when the agent must touch your own systems with real permissions, when latency or unit cost matters at your volume, when you need your own evaluation and audit trail, or when the agent is part of the product you sell. The common path is sensible: prove the workflow on a platform, then rebuild the parts that earned it.