Decision making
When your company should not build a custom AI agent
By Himanshu Ramchandani · Updated
Short answer
If an existing product solves the problem and fits your systems, there's no reason to build a custom agent. And if a Python script or a normal workflow solves it, there's no reason to add an LLM at all, because solving the problem with less software and less maintenance is also good engineering. Build an agent when the problem really needs decisions at each step that you can't write as rules, when no product fits your data or systems, and when you can test it and afford to maintain it.
Start with how it's done today#
Before deciding anything, look at the work as it's done now: who does it, the steps, how often, and where it goes wrong.
Many requests for an agent turn out to be a fixed sequence of steps, read a file, check a value, update a system, send an email, and a fixed sequence is a workflow, not an agent.
A workflow is easier to test, cheaper to run and easier to fix when it breaks.
4 questions before you build#
- Can a script or a normal workflow do it? If the steps are the same every time, yes.
- Does a product already do it? Check the tools you already pay for, because many have added AI features recently.
- Does that product fit your systems and your data rules? If it can't connect to your systems or can't keep your data where it must stay, it doesn't fit.
- Can you test and maintain what you'd build? An agent needs a test set, monitoring, someone who owns it and a budget for model calls, every month.
If the answer to 1 or to both 2 and 3 is yes, don't build an agent.
What an agent costs after launch#
Building the first version is the smaller part.
After launch, the model provider changes models, your data changes, users ask things nobody planned for, and each tool the agent calls can fail.
Someone has to watch it, update it and pay for it.
If nobody on your team will own that, a product with a vendor who does it for you is usually the better choice, even if it does 80% of what you wanted.
When building is worth it#
- The work needs judgment at each step, the steps change from case to case, and they can't be written as rules.
- No product connects to the systems the work depends on.
- Your data can't leave your environment, and no product runs inside it.
- It's core to how you compete, so you want to own and change it.
- You have, or will hire, someone to own it.
Even then, start with the smallest version, a workflow with one decision made by a model, and add more only when the test set shows you need it.
Same request, three answers#
| Request | What it turned out to be | What fits |
|---|---|---|
| "An agent that processes our invoices" | Fields extracted from a fixed set of invoice layouts into the accounting system | A product with document extraction, or a script with one model call and a person approving totals |
| "An agent for our support team" | Answers from policy documents | A support tool with a knowledge base feature, or a RAG system if no tool fits your data rules |
| "An agent that handles exceptions in orders" | Different steps for each case, across 3 internal systems, with judgment about what to do | Possibly an agent, with approval steps and a test set |
These are typical examples, not client cases.
From the floor#
In a session on AI hype and real use cases, I said that if you want information extracted from text, you can often use a simple Python script, which costs much less than an LLM and is faster, and the question to ask first is "what exactly do you want to improve?", because "AI is a part of your product, not the whole product".
FAQ#
Our board wants an AI agent. What do we do?
Start from the business number the board wants to change, then check the 4 questions.
Showing that a workflow or a product moves that number faster is usually a better answer than an agent.
Is a workflow with one LLM call still AI?
Yes, and it's often the right design.
Most useful AI features are a normal workflow with a model doing one step, such as classifying, extracting or drafting.
How do we test whether an agent is needed?
Build a test set of 20 to 50 real cases, try the simplest version on it, and only add agent steps where the simple version fails.
Next step#
Not sure whether you need to build? Book a call, and we'll start with how you do it today.