Índice do artigofaltam 10 min de leitura
The right question is not "does my company need an AI agent?". The right question is: which part of the process needs to be intelligent, and which part needs to be predictable?
Many companies are trying to solve with AI agents problems that systems, workflows and traditional automation solve better. This happens because "agent" has become an attractive promise: it seems you just need to put a model in conversation with some tools and the entire operation becomes smarter.
In practice, that trade can be expensive on three fronts: cost, latency and risk. An agent can interpret, research, compare, classify and decide next steps in ambiguous situations. But on its own it does not replace what traditional systems already deliver well: business rules, permissions, audit trails, databases, reliable integrations, tests, monitoring and governance.
The best answer is almost never "agent only" or "system only". The most mature answer is to treat this as process engineering with AI: systems at the operational core, agents in the interpretation and adaptation layer.
Quick summary
Use a system when the process is known, repetitive, auditable and sensitive to errors.
Use an AI agent when the input is ambiguous, the path changes case by case and the task requires interpretation, natural language or contextual judgment.
Use a hybrid architecture when the overall flow is known, but some steps need analysis, triage, synthesis or exception handling.
| Situation | Best path |
|---|---|
| "If X happens, do Y" | System, workflow or automation |
| "Understand the situation and choose the path" | AI agent |
| "Interpret the case, but execute with control" | Agent + system |
| "The action is critical, irreversible or regulated" | System with validation and approval |
| "The input is free text, email, a document or a conversation" | Agent with clear limits |
| "The rule must produce the same result every time" | Deterministic system |
What a system means in this context
When we say system, we are not talking only about old software or an ERP. We are talking about any deterministic layer that executes explicit rules:
- web applications;
- internal systems;
- APIs;
- workflows;
- queues and workers;
- business rules;
- decision engines;
- integrations with ERP, CRM, finance and inventory;
- automations with defined states;
- audit, logging and permission routines.
A system is good when you know what needs to happen.
Examples:
- calculating tax;
- validating a CPF or CNPJ (Brazil's individual and company tax IDs);
- granting access after a payment is approved;
- updating inventory;
- issuing an invoice;
- applying a discount;
- blocking a user without permission;
- syncing data between ERP and CRM;
- generating a standardized report;
- recording an audit trail.
In these cases, putting an AI agent at the center of execution usually increases cost, latency and risk without adding much value.
What an AI agent is
An AI agent is an application in which a language model does not just answer with text, but also uses context, decides next steps and calls tools to complete a task.
The technical distinction matters. Anthropic separates workflows and agents like this: workflows follow predefined code paths; agents let the LLM dynamically direct the process and its use of tools. OpenAI recommends agents mainly when deterministic and rule-based approaches fall short, especially for decisions with exceptions, rules that are hard to maintain or unstructured data. The LangChain documentation also distinguishes workflows, which follow a defined sequence, from agents, which make dynamic decisions during execution.
In practical terms: an agent makes sense when you cannot write the whole flow as a fixed sequence of rules.
Examples:
- analyzing emails and separating those that need a reply;
- reading support tickets and finding the likely cause;
- comparing sales proposals against variable criteria;
- interpreting documents and extracting key points;
- researching a company's data before qualifying a lead;
- investigating a bug by checking logs, code and history;
- summarizing a meeting and turning decisions into tasks;
- talking to a customer, understanding intent and asking for missing data.
The agent's value lies less in "executing an action" and more in understanding the situation before the action.
Why so many companies try to use an agent where they should use a system
There is a simple reason: an agent looks like a shortcut.
Modeling a process, building screens, integrating APIs, handling exceptions, versioning rules, logging and writing tests takes work. An agent with a prompt, tools and a chat can look functional in a few hours.
The problem is that the demo rarely shows the cost of production. An impressive prototype can hide questions the business has not answered yet:
- who is allowed to perform this action?
- what happens if the agent gets it wrong?
- which data is the source of truth?
- how do you audit the decision?
- how do you cap cost and number of attempts?
- how do you reverse an action?
- how do you test for regressions?
- how do you handle sensitive data?
- what needs human approval?
LangChain sums this up well when it notes that an agent demo is easy, but making an agent reliable for business-critical applications is hard. Gartner also placed agentic AI at the peak of inflated expectations in its 2026 Hype Cycle for Agentic AI and warns that many projects are still narrow, while fully autonomous agents are not ready for most enterprise use cases.
Market research, such as PwC's AI agent survey, points in the same direction: interest is high, but operational maturity is still uneven across companies.
This does not mean agents are empty hype. It means they need to go in the right place.
Where traditional systems usually win
1. Predictable, repetitive processes
If the rule can be written as "when X happens, do Y", use a system.
An approved order needs to grant access. An invoice needs to follow tax rules. A lead from a specific source needs to go into a queue. A cancelled subscription needs to block future charges.
These flows do not call for open-ended reasoning. They call for reliability.
2. High scale and low latency
Checkout, authentication, webhook processing, reconciliation, message routing, inventory sync and real-time anti-fraud demand speed and predictability.
An agent can help analyze exceptions or suggest improvements. But the main flow needs to be a direct, tested and observable system.
3. Strict rules, compliance and auditing
Permissions, contracts, legal data, financial decisions, LGPD (Brazil's data protection law), tax, accounting and approval trails should not depend on loose interpretation by the model.
In these cases, AI can support analysis and documentation, but the system must enforce limits:
- authorization in the backend;
- roles and permissions;
- data validation;
- action logs;
- human approval when needed;
- rollback or compensation.
4. Critical or irreversible actions
Transferring money, cancelling a contract, deleting data, changing legal records, approving credit or publishing sensitive information are high-impact actions.
An agent can prepare a recommendation. The final execution must go through the system, policy, validation and, in many cases, a human in the loop.
5. When a reliable API exists
If the ERP, CRM, payment gateway or back office has an API, it is usually better to integrate through the API than to build an agent that clicks through screens like a person.
Computer-use agents can serve as a temporary bridge to legacy systems without integration. But when there is a stable API, using an agent to operate a graphical interface is usually a sign of weak architecture, not sophistication.
Where AI agents usually win
1. Ambiguous or unstructured input
Emails, documents, conversations, tickets, contracts, meeting minutes, proposals and customer feedback do not arrive in a perfect format.
A traditional system would need many fragile rules to interpret everything. An agent can extract intent, summarize, classify, ask for missing data and suggest next steps.
2. Highly variable tasks
Customer service, technical support, pre-sales, onboarding, ticket triage, internal HR and document analysis have many different cases.
A simple chatbot follows a decision tree. An agent can check the knowledge base, history, CRM, ticket, internal policy and specific tools, as long as each action has clear limits.
3. Research, comparison and synthesis
Agents are useful when the task requires gathering scattered information:
- comparing vendors;
- summarizing documents;
- researching competitors;
- analyzing feedback;
- writing a briefing;
- finding patterns in tickets;
- turning meetings into action plans.
Here, the gain is not in automating a rule. It is in reducing the human effort of reading, cross-referencing and synthesizing.
4. Deciding next steps
Some flows have no fixed path.
A lead may need enrichment, classification, a CRM lookup and a suggested approach. A bug may require reading logs, inspecting code, reproducing it locally and opening a ticket. An unhappy customer may need a history review, prioritization, churn risk assessment and routing.
In these cases, the agent is useful because it decides which tool to use next.
5. Operational exceptions
Systems are great for the normal flow. Agents are good at the edges: incomplete cases, contradictory data, off-script requests and questions that change with context.
But executing the exception still needs to land in a controlled system.
The strongest architecture is hybrid
The most common architectural mistake is making the agent the owner of everything:
User -> agent -> tools -> real actionsThis design may work in a prototype, but it tends to be fragile in production. The agent piles up interpretation, authorization, decision, execution and auditing. That is too much power in a probabilistic layer.
The more robust design separates responsibilities:
User
-> interface or workflow
-> agent to interpret, classify or recommend
-> small, well-defined tools
-> system validates permission, rule and state
-> controlled execution
-> logs, metrics and auditing
-> human approval when the risk justifies itIn other words: the agent interprets; the system validates, executes and records.
This separation matches patterns already showing up in production: secure tool calling, MCP to connect agents to tools, LLMOps to monitor quality and cost and protection against prompt injection.
Practical examples
Sales and CRM
An agent can:
- read the conversation with the lead;
- understand intent;
- research the company;
- classify urgency;
- suggest an approach;
- put together a summary for the salesperson.
The system should:
- write to the CRM;
- apply scoring rules;
- validate required fields;
- schedule the follow-up;
- send the approved email;
- record the history.
This is a good case for AI agents for business connected to CRM and governance.
Customer support
An agent can:
- understand the problem;
- check documentation;
- find similar tickets;
- suggest a solution;
- ask for missing data;
- summarize the case for the human support rep.
The system should:
- validate permissions;
- open the ticket;
- change the status;
- apply the SLA;
- control refunds;
- escalate to a human;
- record the audit trail.
Here the agent improves triage. The system keeps operations safe.
Finance, tax and contracts
An agent can:
- explain discrepancies;
- compare documents;
- point out inconsistencies;
- prepare an analysis;
- suggest next steps.
The system should:
- calculate amounts;
- apply tax rules;
- issue documents;
- validate signatures;
- record approvals;
- block actions outside the policy.
This is a point where "autonomous AI" without validation can become operational risk.
Back office and operations
An agent can:
- read requests in natural language;
- turn a request into a structured task;
- identify pending items;
- prioritize exceptions;
- prepare a batch for review.
The system should:
- run the workflow;
- apply permissions;
- move states;
- call APIs;
- notify the people responsible;
- keep logs.
This is the logic behind generative AI automation: AI where there is interpretation, systems where there is execution.
The decision matrix for your company
Before choosing an agent, a system or a hybrid, answer:
| Question | If the answer is yes | Likely path |
|---|---|---|
| Can I write the rule as "if X, do Y"? | Yes | System |
| Does the input arrive structured? | Yes | System |
| Does the result need to be the same every time? | Yes | System |
| Does the action carry legal, financial or operational risk? | Yes | System with approval |
| Does the process depend on natural language? | Yes | Agent or LLM within the workflow |
| Does each case vary a lot? | Yes | Agent |
| Are there documents, conversations or unstructured data? | Yes | Agent with RAG/tools |
| Is there a reliable API to execute the action? | Yes | Integration via system/API |
| Does the agent need to decide which tool to use? | Yes | Agent with limited tools |
| Could an error be expensive? | Yes | Reduce autonomy and increase validation |
The short rule is:
Use a system when you know the path. Use an agent when the path itself needs to be discovered.
How to start without falling for the do-everything agent
1. Map the process before choosing the technology
List inputs, decisions, systems involved, exceptions, risks, owners and states. If this step feels boring, it is precisely what keeps the agent from becoming an expensive black box.
2. Separate interpretation from execution
Ask: where does the LLM really add value?
It usually adds value in classification, extraction, summarization, recommendation, semantic search, prioritization and exception handling. Final execution should stay in code, APIs, workflows or systems.
3. Start in read-only or recommendation mode
Before allowing the agent to change data, cancel orders or send messages, have it only read, classify and suggest. This reduces risk and produces real data for evaluation.
4. Build small tools
Avoid generic tools like "execute action", "run command" or "change record". Prefer specific tools:
find_customer;list_open_orders;create_ticket_summary;suggest_followup;open_ticket;validate_refund_policy.
A small tool is easier to test, audit and protect.
5. Define autonomy limits
Every production agent needs limits:
- allowed tools;
- accessible data;
- token budget;
- maximum number of attempts;
- actions that require approval;
- tool call logs;
- quality metrics;
- regression tests;
- rollback plan.
Without this, you do not have an AI product. You have a demo with access to real systems.
6. Measure business results
Do not just measure "the agent answered". Measure:
- time saved;
- accuracy rate;
- rework;
- escalations to humans;
- cost per task;
- latency;
- incidents;
- user satisfaction;
- impact on revenue, churn, support or operations.
In its survey "The state of AI in 2025," published in November 2025 with 1,993 respondents interviewed between June and July of that year, McKinsey found that 23% of respondents said their companies were scaling some agentic AI system and 39% were experimenting, but in no business function did more than 10% report scaling. This reinforces a practical reading: many companies are testing agents, but scaling requires process, architecture and measurement.
Signs you should build a system, not an agent
Be suspicious of the agentic solution when:
- the flow is always the same;
- the rule is already clear;
- the input is structured;
- the user only needs to fill in fields;
- the result needs to be identical;
- there is a strong auditing requirement;
- there is a reliable API to solve it;
- the cost of error is high;
- the agent is only being used to avoid integration;
- the chat is replacing a screen that should have explicit validations.
In these cases, you probably need a system, automation or integration. Maybe with AI at one specific point, but not as the main orchestrator.
Signs an agent may make sense
Consider an agent when:
- the user does not know exactly which option to choose;
- the input comes as free text;
- documents need to be interpreted;
- each case requires context;
- there are many exceptions;
- the task requires research;
- the flow needs to choose different tools;
- the decision can be reviewed;
- the gain comes from reducing human analysis, not from replacing a fixed rule.
Even then, start small. A narrow, well-instrumented agent integrated with the right system is worth more than a generic agent promising to solve everything.
The right decision: process engineering with AI
For a company, the decision should not be "let's build an agent" or "let's build a system".
The decision should be: let's design a process where AI comes in where it increases judgment and software comes in where it increases control.
That changes the project:
- it stops being "a chatbot with tools";
- it becomes product architecture;
- it connects AI to real data;
- it preserves business rules;
- it creates auditability;
- it limits risk;
- it measures value;
- it improves over time.
This combination is what separates a serious AI initiative from an automation that impresses in the first meeting and proves fragile in the first month of operation.
How X-Apps sees this choice
At X-Apps, the practical view is:
Operational core: systems. Payments, inventory, tax, permissions, contracts, authentication, databases, critical integrations, SLAs and auditing.
Intelligence layer: agents. Customer service, analysis, triage, research, internal copilots, productivity, technical support, sales, diagnostics and exceptions.
Sensitive execution: system with approval. The agent can suggest, prepare and explain. The system validates. A human approves when the risk justifies it.
If your company wants to use AI without turning operations into a black box, the path is to connect agents to real systems with architecture, governance, logs and success criteria. That is exactly the focus of our work on generative AI for business, AI integration with ERP and CRM and enterprise agents with tools and auditing.
Where to start this week
If you need a concrete first step, start small:
- Pick a process that struggles with natural language or exceptions, but is not the most critical one in your operation.
- Separate what is interpretation, recommendation or triage from what is execution, validation or recording.
- Put the agent in read-only or recommendation mode first, measure accuracy and cost for a few days, and only then increase autonomy.
This scope produces real data and avoids the most expensive mistake: granting permission to act before you have evidence of quality.
Conclusion
Systems are better at reliable execution. AI agents are better at interpretation and adaptation.
When a company tries to use an agent for everything, it trades explicit control for probabilistic delegation. When it tries to use a system for everything, it struggles with natural language, exceptions and unstructured context.
The real advantage is in the middle: systems doing what systems do best, agents doing what agents do best, and a clear architecture separating recommendation, validation, execution and auditing.
References
- Building effective agents - Anthropic
- A practical guide to building agents - OpenAI
- Workflows and agents - LangChain
- How to think about agent frameworks - LangChain
- 2026 Hype Cycle for Agentic AI - Gartner
- The state of AI in 2025: Agents, innovation, and transformation - McKinsey
- AI agent survey - PwC





