
Agent or workflow: a decision guide for automation leaders
If you can draw the path, build a workflow. Use an agent only for the steps whose path cannot be known in advance, and keep that agent inside a workflow that controls what it may touch.
Seven practices, one team
Independent advice on where to invest, what to stop and how to build, set out as decisions your teams can act on.
Insights and resources
A publication for people who have to make technology work, not just choose it.
Search the siteArtificial intelligence
We build AI features on your existing data and systems, and keep testing them after launch.
Any organization can now rent a capable model and pay for it by the request. What it cannot rent is everything around the model, which includes source data that is consistent, connections into the systems where people do their work, rules about who may see which document, and a way of showing that the answers are still correct after a source or a model changes. Those things decide whether an AI feature reaches production and stays there, and they are rarely visible in a demo.
For that reason we treat AI as engineering, with the costs, risks and tests that any other production system has. Before a build starts, each use case gets a written test set drawn from real cases and agreed with the people who own the result, and each agent is limited to one job and the access that job needs. Answers drawn from your documents cite the passage they came from, and every request has a known cost. It is the discipline a payments system or a data pipeline already receives, applied to software whose output can vary from one run to the next.
The practice covers the whole path, from deciding which use cases deserve funding, through building and testing assistants, agents and search on top of your own systems, to running them once they are live. You can start at any point along it. A pilot that never became a product is a reasonable place to begin, because the gap between the two is usually specific enough that a two-week review can name it.
A short list of AI use cases worth funding, each with its own test and owner.
Use-case assessment · Data and systems readiness review · Risk tiering and controls · Operating model designAssistants built into the tools your staff already use, showing the source of each statement.
Drafting assistants · Summarization with sources · Embedded copilots · Context assemblyA complete application with AI inside, designed around the answers the model gets wrong.
Interaction design for uncertain output · Streaming interfaces · Structured output handling · Model access layerAn agent that does one job inside your systems and records each step it takes.
Single-purpose agents · Tool engineering · MCP servers and clients · Least-privilege identityRules handle the fixed steps of a process, and a measured model handles the judgment calls.
Message and case classification · Field extraction from free text · Routing and prioritization · Exception triageAI that works inside your existing systems under the same identities and permissions as your staff.
Model gateways · Provider abstraction · Identity pass-through · ERP and CRM connectorsShared model access, retrieval and testing that each new AI use case can build on.
Model gateway · Shared retrieval service · Shared evaluation service · Guardrail servicesAnswers drawn from your own documents, with each one citing the passage it came from.
Document parsing · Chunking strategy · Hybrid search · Result rerankingA test set that tells you each morning whether the system still works as intended.
Test set design · Rubric and grader engineering · Retrieval and generation scored separately · Agent and tool-use evaluationA known cost per request, a tested security boundary and alerts that fire before users complain.
Cost attribution · Prompt and response caching · Model routing and fallback · Gateway and rate controlThe models from the major providers are close enough in ability that choosing between them seldom decides whether a project succeeds. What usually decides it is duplicate customer records, a missing API or a document store without access rules, so we spend the first days of an engagement on those problems before anyone writes a prompt.
A use case needs example cases with correct answers that your own experts agree on. Where no one can describe what a correct output looks like, engineering cannot tell you whether the system works, so we say that early and recommend a narrower version whose output can be checked.
Prompt injection has no complete fix, because a model cannot reliably tell an instruction apart from text it was asked to read. The defense that holds up is limiting what the system can reach, which in practice means one job, the minimum access, a log that a person can read and someone the system can hand a case to.
A principal and a senior engineer read the code, the data and the plans, and talk to the people involved. You get a written assessment, the risks ranked by what would actually stop you, and a 90-day plan you can run with or without us.
A dedicated team takes one use case to production and hands it to your people, with a release to staging every week and tests agreed up front as the definition of done.
Senior engineers working inside your tools and your standups, month to month, with a named principal accountable for the outcome.
After go-live we keep the system healthy: monitoring, on-call, cost control and a monthly improvement backlog, against service levels agreed in writing.
We do not recommend one by default. We work in your stack and compare the candidates on your own cases for quality, cost per request and latency, and for many workloads a smaller, cheaper model passes the same tests as the largest one. We also keep prompts, tools and tests separate from the provider's API so that the model can be swapped, because each model version you depend on will eventually be retired on a schedule the provider sets.
Usually not, and a two-week review is how you find out. We read the pilot's code, data sources and logs and name what stands between it and production, which is often a test set, permission handling and a connection to live data in place of an extract, while the prompts themselves are fine. You get a written assessment and a 90-day plan that you can run with or without us.
That depends on the provider's terms for the specific product and tier you buy, and those terms need to be checked in the contract. Enterprise and API offerings from the major providers commonly state that customer data is not used for training by default, although retention periods, logging and regional processing differ between them. We go through the terms with your security and legal teams, and if they are not acceptable we design around a model hosted in your own cloud account or an open-weight model you run yourself.
For one use case a build takes about twelve weeks, starting from a written test set and ending with a release your team runs. That assumes the source data can be reached and that someone on your side can approve the expected answers. Where either is missing, the first weeks go to fixing it, and we tell you so before the build is priced. Because a release goes to staging every week, you can see progress long before the end.

If you can draw the path, build a workflow. Use an agent only for the steps whose path cannot be known in advance, and keep that agent inside a workflow that controls what it may touch.

An AI feature is ready for production when seven conditions hold at once, covering data, evaluation, integration, security, operations, cost and ownership. This guide defines each gate, the evidence that passes it, and how to run the review.

MCP standardizes how an AI application reaches tools and data, and A2A standardizes how one agent hands a task to another. Neither protocol decides who is allowed to do what, so that part is still yours to design.
Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.