The short answer
Pick one narrow, frequent job with a clear finish line. Map how people do it today, including the exceptions. Choose a platform or framework, connect only the systems the job needs, write the rules, then test against real past cases before launch. Start with human approval on every action and loosen it only as accuracy is proven.
Start with the job, not the technology
Most failed agent projects start with a tool and go looking for a use. Reverse it. Write one sentence that names the job, the trigger, the systems involved and the finish line. For example: when a customer emails about a late shipment, look up the order, check the carrier status, and reply with the new delivery date or escalate to a person.
If you can't write that sentence, the job is too broad. An agent for customer support isn't a job. An agent that answers shipping-status questions is. Narrow scope makes the agent easier to test, easier to trust and easier to turn off if something goes wrong.
For business development, the same rule applies. A research agent that builds a one-page brief on each inbound lead from public sources and your CRM is a buildable job. An agent that does sales is not.
Map the process as it really runs
Sit with the people who do the work and write down every step, every system they open and every judgment call. Pay special attention to exceptions: the order that's split across two warehouses, the customer on a special contract, the request that arrives in the wrong inbox. Exceptions are where agents fail, so you want them on paper before you build.
Pull a sample of real past cases, with outcomes. These become your test set. A few dozen well-chosen cases that include the awkward ones are worth more than thousands of easy ones.
Choose how you'll build it
There are three broad paths, and the right one depends on how unusual your process is and how much control you need.
- Agent features inside software you already run, such as your CRM, help desk or office suite. Fastest to start, limited to that vendor's systems and rules.
- No-code or low-code agent builders that connect many apps. Good for cross-system workflows of moderate complexity, but check how they handle permissions, logging and data retention.
- Custom builds on an agent framework or a model provider's API. Most control over logic, hosting and security. Needs engineers to build and maintain it.
- Many organizations end up mixing these: a platform for simple flows and custom code where the process or the security requirement is unusual.
Connect tools with the least access that works
Tools are what make an agent useful and what make it dangerous. Give it its own service account, not a person's login. Grant read access first. Add write access one action at a time, and only to the records the job needs. If the agent only drafts refunds, it shouldn't be able to issue them.
Write the business rules in plain language and enforce the critical ones in code. A policy like never refund more than the order total shouldn't depend on the model remembering it. Put that check in the tool itself so the agent can't skip it.
Plan for untrusted input. An agent that reads emails or web pages can be fed instructions hidden in that content, an attack known as prompt injection. Keep the agent's permissions narrow enough that a manipulated agent can't do much harm.
Test like it's going to production, because it is
Run the agent against your test set before it touches a live customer. Score each case: right answer, right action, right escalation. Then try to break it with odd inputs, missing data and conflicting instructions.
Launch in shadow mode first, where the agent proposes actions and a person approves or corrects each one. Those corrections are your best source of improvements. Move individual action types to automatic only when their accuracy has been steady over a meaningful period, and keep high-impact actions on approval indefinitely.
Run it like a system, not a project
An agent isn't finished at launch. Policies change, systems change and models get updated. Assign an owner who reviews logs, tracks accuracy and cost per task, and decides when to change the rules. Set alerts for unusual volume, repeated failures or actions outside normal patterns.
Keep a documented way to pause the agent and fall back to the manual process. Test that fallback, because the day you need it is the wrong day to discover it doesn't work.
For governance, the voluntary NIST AI Risk Management Framework (NIST AI 100-1) gives a useful structure: Govern, Map, Measure and Manage. It's a reasonable checklist for who owns the agent, what it touches, how you measure it and how you respond when it misbehaves.
Who needs to be in the room
An agent touches process, systems, security and policy at once, so building one is a team effort even when the code is small. Get these roles named before you start.
- A process owner who knows how the work is done today and can decide what the agent should do in edge cases.
- An engineer or platform builder who connects the tools, writes the enforcement checks and maintains the integrations.
- Someone from IT security who approves the agent's identity, permissions and data flows.
- Legal, compliance or records staff when the agent handles personal data, regulated decisions or federal records.
- Two or three frontline staff who'll review the agent's work. Their corrections are the fastest route to accuracy.
- For public-sector projects, the contracting officer and program office, so hosting, security authorization and accessibility requirements are settled early rather than discovered at launch.
Getting help
VSI Technologies builds and deploys AI agents for operators and public-sector buyers; see what we do.
Sources
Published 2026-12-05. General information, not legal advice. All answers