AI agents are moving from demos into daily operations. They draft replies, update tickets, query ERP data and trigger workflows. The value comes from that access, and so does the risk. Putting agentic AI in production is less about choosing a model and more about engineering: how agents connect to enterprise systems, what they are allowed to do, who approves consequential actions and how every step is recorded.
Why Production Is Different From the Pilot
A pilot proves that an agent can complete a task. Production asks a harder question: can it complete that task thousands of times, with real data and real permissions, without surprising anyone? An agent that picks the wrong tool in a demo is a curiosity; connected to a CRM or payment system, it becomes an incident.
McKinsey's 2026 State of AI survey found that 40 percent of respondents from large organizations (annual revenues above $1 billion) report scaling AI agents, up from 27 percent a year earlier, while the share at smaller organizations stayed flat at 22 percent. Gartner predicts that over 40 percent of agentic AI projects will be canceled by the end of 2027 due to escalating costs, unclear business value or inadequate risk controls.
The organizations that succeed treat agents as production software, with the discipline they apply to any system that touches customers, money or data. The table below summarizes how the requirements change.
Start With a Bounded Use Case
Gartner recommends using AI agents when decisions are needed, automation for routine workflows and assistants for simple retrieval. The OWASP Top 10 for Agentic Applications makes a similar point from a security angle with a principle it calls Least Agency: avoid unnecessary autonomy, because agentic behavior deployed where it is not needed expands the attack surface without adding value.
A good first production use case has:
- A narrow goal, such as triaging IT service tickets or preparing supplier onboarding records, rather than "handle procurement."
- A small set of tools, mostly read-only, with one or two actions that change data.
- Reversible outcomes, so an error can be spotted and corrected before it spreads.
- A clear business owner who defines what a good result looks like.
- A baseline, so the team can show whether the agent improves cycle time, quality or cost.
Once the agent is reliable, scope can grow one tool or permission at a time.
Connecting Agents to Enterprise Systems
Agents act through tools that query databases, call APIs, create tickets or send messages. Tool design determines most of the risk.
Use standard, well-defined interfaces
The Model Context Protocol (MCP) is an open protocol for exposing tools to AI models. Each tool has a name, a description and a JSON Schema defining its allowed inputs. The specification says servers must validate all tool inputs, implement proper access controls, rate limit tool invocations and sanitize outputs, and it recommends that clients log tool usage for audit purposes.
Build narrow tools, not open-ended ones
OWASP's guidance on excessive agency advises against open-ended extensions, such as running any shell command or fetching any URL, in favor of granular functions. An agent that summarizes email needs a read-only mail tool, not one that can also send or delete messages. In practice, that means wrapping enterprise APIs in purpose-built tools, such as "get open orders for a customer" instead of a raw database connection.
Keep authorization in the systems of record
Do not rely on the model to decide what is allowed. OWASP recommends complete mediation: authorization is enforced in downstream systems, and every request is validated against security policy. Your ERP, CRM and identity platform remain the source of truth for permissions.
Identity and Least-Privilege Permissions for Agents
Every agent needs its own identity, much like a service account, so its actions can be attributed, limited and revoked. Common practices drawn from OWASP and the MCP security guidance include:
- Per-agent identities rather than shared or personal credentials.
- Task-scoped, short-lived tokens that expire after use, instead of standing broad access.
- Acting in the user's context, so an agent working on someone's behalf reaches only what that person could.
- Progressive scopes that start with low-risk read operations and request elevation only when a privileged action is actually needed. The MCP guidance specifically warns against wildcard or "full-access" scopes.
- No token passthrough: MCP servers must not accept tokens that were not explicitly issued for them.
Least privilege limits the damage when something goes wrong, whether the cause is a model error or a prompt injection hidden in a document or email.
Human-in-the-Loop for Consequential Actions
The MCP specification states that there should always be a human in the loop with the ability to deny tool invocations, and that clients should prompt for confirmation on sensitive operations. OWASP goes further for high-impact or destructive actions such as deleting, transferring or publishing: require human confirmation and, where possible, show a dry-run or diff preview before approval.
Approval design should be selective; if every step needs a click, reviewers stop reading. A practical pattern is to:
- Let the agent read, search, summarize and draft freely within its scope.
- Require approval for actions that commit money, change master data, contact customers or cannot be undone.
- Show reviewers the proposed action, the data behind it and the expected change in one view.
- Record who approved what, and when.
OWASP also notes that polished explanations can mislead people into approving harmful actions, so approval screens should present facts and differences, not just the agent's summary.
Evaluation and Testing Before and After Launch
Agents are software, and they need test suites. Before launch, build an evaluation set of realistic tasks with expected outcomes, including edge cases, ambiguous requests and adversarial inputs such as instructions hidden inside documents. Rerun it whenever the model, prompts or tools change.
After launch, keep evaluating. Sample completed tasks for human review, track how often reviewers reject or correct proposed actions, and treat a rising rejection rate as a signal to investigate. The NIST AI Risk Management Framework offers a voluntary structure for building trustworthiness into the design, development, use and evaluation of AI systems.
Observability, Audit Trails and Cost Control
OWASP describes strong observability as non-negotiable: without clear visibility into what agents are doing, why they are doing it and which tools they invoke, unnecessary autonomy can quietly expand the attack surface. For every task, a production agent should leave a trail showing what was requested, which tools were called with which parameters, what the agent proposed, who approved it and what changed.
The same traces support cost control. Model calls, tool calls and retries add up, and in McKinsey's 2026 survey about one in five respondents said AI-related operating costs, including token costs, have constrained their AI use. Practical controls include:
- Usage ceilings per agent or task (cost, rate or token budgets) with automatic throttling when they are exceeded, as OWASP recommends.
- Step and retry limits, so a confused agent escalates instead of looping.
- Right-sized models, using smaller ones for routine classification and larger ones only where deeper reasoning matters.
- A kill switch and credential revocation, so an agent can be disabled quickly.
An Example from Industry Practice
Consider a common pattern in IT service management at a mid-sized company. An agent reads incoming service tickets, checks the asset inventory and knowledge base through read-only tools, and proposes a category, priority and resolution.
For routine requests, it drafts the response and updates the ticket within a narrow, pre-approved scope. Anything that changes access rights, touches a production system or involves spending goes to an approval queue, where an IT analyst sees the proposed action, the data behind it and a preview of the change before approving or rejecting it.
The agent runs under its own identity with short-lived credentials. Every tool call and approval is logged, and the team reviews rejection rates, resolution time and cost per ticket monthly before adding any new tool.
How TISA Software Can Help
TISA Software is an AI-first software engineering company with offices in Houston, Texas and Buenos Aires, Argentina, and an ISO 9001:2015-certified quality management system. We help organizations move AI agents from pilot to production with the same engineering discipline we apply to any business-critical system:
- Agent and tool development, including purpose-built tools and MCP servers on top of your existing APIs.
- Integration with ERP, CRM and legacy systems, with authorization enforced where your data lives.
- Software Factory delivery with testing, evaluation, monitoring and audit trails built in.
- Nearshore teams in time zones close to U.S. teams, so reviews and decisions happen the same day.
If you're planning to put AI agents to work in your core systems, we'd be glad to help you choose a bounded first use case and design the guardrails around it. Contact us to start the conversation.
