The useful question is not where to add an AI agent. It is how the workflow should run. Some steps are deterministic. Some require interpreting documents, emails or free text. Some need a person to decide.
LEAF works with your business and IT teams to map that process, automate the parts that should be automated and connect models, tools and existing systems through explicit controls, evaluation and human review.
Why AI Automation
Traditional automation is extremely effective when inputs are structured and the rules are known. Real business processes, however, often contain emails, attachments, requests written in natural language, incomplete information and exceptions that are difficult to express as fixed logic.
Language models make some of those steps automatable because they can interpret, classify, extract and draft. That does not mean the entire process should become probabilistic.
The architecture should keep predictable work predictable and use models only where interpretation creates real value.
Not everything needs an agent
Deterministic where rules are clear. Models where interpretation is needed. People where accountability matters.
01/ Rule
Typical steps
When the rule can be stated precisely, deterministic code is usually the most predictable, testable and economical choice.
02/ Model
Typical steps
A language model handles a bounded interpretation step while the surrounding workflow remains explicit.
03/ Agent
Typical steps
An agent is useful when the correct sequence cannot be completely predetermined, provided the available tools and permissions remain bounded.
04/ Human
Typical steps
Some steps remain human because accountability, uncertainty or consequences make automation inappropriate.
Strong automation architecture is usually a composition of all four, not a choice between them.
Anatomy of an automation
One case, followed end to end: each step has a type, an owner and a trace.
An email, event, form submission, schedule, message, database change or explicit user action starts the workflow.
Inputs are checked before downstream systems or models are allowed to act on them.
Where needed, a model classifies, extracts, summarizes or reasons over unstructured information.
Enterprise information can be retrieved when a step requires knowledge that is not contained in the triggering input.
Deterministic rules, model outputs or bounded agent planning determine the next permitted path.
Explicit tools interact with APIs, databases or business applications through defined schemas and permission scopes.
Selected cases pause for confirmation, correction or escalation.
The workflow updates the appropriate system, produces the required artifact or routes the case onward.
Inputs, decisions, model calls, tools, errors and human interventions are recorded for later inspection.
Fixed or agentic?
Use when
Benefits
Use when
Requires
People stay in the loop
Human review should not be added after the automation fails. It should be designed into the workflow where uncertainty or consequences justify it.
Prepare the action automatically but require a person to approve it before execution.
Cases outside the expected confidence or validation range enter a review queue.
Policy conflicts, missing information or unsupported cases route to a named owner rather than being improvised by the model.
Human corrections can become evaluation data for future versions without allowing production behavior to change autonomously.
Tools, not unlimited access
Models do not need unrestricted credentials to enterprise systems. They need explicit tools that expose the smallest capability necessary for the workflow.
Inputs and outputs are defined.
The tool can perform only the intended operations.
Arguments are checked before execution.
Failures have defined paths rather than becoming unconstrained retries.
Operations that may retry should avoid unintended duplicate effects where the underlying system permits it.
The automation records which tool was called, with what authorized context and what outcome it produced.
getCustomer(id)readlookupInventory(sku)readcreateDraftReply(ticketId)draftcreateSupportTicket(...)writeupdateCaseStatus(...)writepreparePurchaseOrder(...)Work with the systems of record
ERP, CRM, ticketing, email, databases, document systems and internal services already contain the state of the business. Automation should read or update those systems through controlled interfaces rather than creating another disconnected source of truth.
Preferred where the source system exposes stable, supported interfaces.
Appropriate for controlled reads or operations designed with the system owner.
Useful when workflows need asynchronous execution or react to system events.
Appropriate when the process begins with forms, reports, attachments or exchanged documents.
Existing middleware or integration platforms can remain part of the architecture rather than being replaced unnecessarily.
When the workflow needs knowledge
Some workflow steps require information that is not contained in the triggering request. A customer case may need the relevant policy. A technical workflow may need a manual. A document process may need a contract clause.
In those cases, retrieval can provide grounded context to the workflow before a model acts.
Retrieval is not the workflow itself. It is one capability the workflow can call when internal knowledge is needed.
Explore Talk with Your SystemsIf it runs, you need to see it
A workflow that cannot be inspected cannot be governed. The trace records observable execution state: inputs, outputs, routing decisions, tool calls and human actions. It does not attempt to reconstruct a model's internal reasoning.
Governance is part of the workflow
Define who owns the workflow operationally and who owns each consequential decision.
State which actions can execute automatically and which require review.
Models, prompts, workflows, tool schemas and relevant configuration should have identifiable versions.
Define which information can be sent to which components and how logs are retained.
Changes to production behavior should pass through an explicit release process appropriate to the risk.
Automated and human actions should remain inspectable according to the organization's governance requirements.
Test the work, not the demo
A model benchmark does not tell you whether a business automation works. Evaluation has to cover the complete path from input to business outcome.
Does each model-powered step classify, extract or generate the expected result on representative cases?
Does the workflow choose the correct path for normal and exceptional cases?
Are the right tools selected with valid arguments?
Does the case reach the correct business outcome without unintended side effects?
How often do reviewers correct or reject automated decisions?
What happens when a model, API, database or downstream system is unavailable or returns unexpected information?
Does a new model, prompt, workflow version or connector degrade previously working cases?
Production changes should be boring
A prompt change, model update or tool modification can alter production behavior even when the surrounding application code does not change.
Monitored cases feed the next cycle
The stack follows the workflow
Commercial APIs or privately hosted open-weight models can be selected per task according to quality, language, latency, cost, context, data policy and evaluation results.
Add enterprise retrieval only where a step needs internal knowledge.
Use ordinary application code, rules and validation wherever they solve the problem more reliably.
Introduce dynamic planning only where the path genuinely varies.
Prompting, retrieval and workflow design should normally be evaluated before introducing fine-tuning. Fine-tuning is an option when evidence shows it addresses a real limitation.
Components can run in cloud, private cloud, on-premises or, for suitable workloads, at the edge.
Categories, not a fixed platform. Specific technologies are selected per engagement.
Models
Orchestration
Enterprise interfaces
Knowledge
Identity & control
Deployment
Deployment follows the constraints
Managed services and model APIs where data and operating requirements permit them.
Dedicated environments when network, security or organizational boundaries require stronger isolation.
Models and orchestration can run inside infrastructure controlled by the organization where relevant requirements demand it.
Selected workflow or inference components can execute closer to the operational environment when latency or connectivity make that useful.
Explore AI on the EdgeDeployment location does not by itself make a system secure or compliant. Security depends on the full architecture, identities, permissions, data flows and operational controls.
Explore Confidential AIWhere it fits
Read incoming requests, validate required information, classify the case and route it to the correct process or owner.
Extract information, compare documents, prepare structured outputs and route exceptions for review.
Gather account context, prepare responses, update cases and coordinate actions across CRM, ticketing and communication systems.
Connect documents, databases and business systems across repetitive administrative processes while preserving explicit approvals.
Classify tickets, retrieve context, suggest or execute permitted actions and escalate cases that require an operator.
Retrieve policies, manuals or records inside a larger operational process when the next action depends on enterprise knowledge.
Illustrative patterns, not descriptions of specific client deployments.
Start small enough to measure
Candidate workflows are assessed together with the people who own and run them, on questions like these.
Does the process happen often enough to justify automation?
Is significant repetitive work currently required?
Can the current workflow actually be described?
Are the required inputs and systems accessible?
Is there a step where models genuinely add value?
What happens when the automation is wrong?
Can domain experts assess whether outputs are correct?
Can the required systems expose supported interfaces?
Prioritization is a joint judgment with the client team, not a fixed scoring formula.
The LEAF method
Advisory identifies which workflows deserve automation, Labs adds the engineering for the pilot and the integration, and Academy prepares the teams who will supervise and work alongside the result.
01/ Scout
Work with the people who execute the process today. Map inputs, decisions, exceptions, systems, ownership and pain points. Identify where deterministic automation is sufficient, where interpretation is required and where automation should not be applied.
02/ Connect
Co-design the architecture with business and IT teams, integrate the required systems and evaluate the workflow on representative cases with review points already in place.
03/ Unlock
Integrate monitoring, governance, deployment and release processes, then prepare the teams who own and use the automation to operate and evolve it.
One capability, three contributions
Identify which process deserves automation, define the operating model and surface the risks and trade-offs with the people responsible for the work.
Explore LEAF AdvisoryPrototype, engineer, integrate and validate the workflow where deeper implementation support is required.
Explore LEAF LabsPrepare the teams who will supervise, operate and work alongside the automation.
Explore LEAF AcademyEach engagement combines them as the work requires; they are not separate packages that have to be bought together.
Where automation fits, and where it does not
The objective is not maximum automation. It is the right amount of automation for a process that can be observed, evaluated and owned.
Show us a repetitive process, the systems it touches, the exceptions your team handles and what happens when something goes wrong. We can map where deterministic automation is enough, where AI could help and where people should remain in control.