Imagine that an agent has to prepare a quote. In a folder, it finds two price lists. One is the official one, the other is an old copy with an almost identical name. The model writes an impeccable quote with the wrong price. To prevent this from happening, someone must indicate which price list is authoritative, how it is updated, and who can use it.
The same question arises when deciding where to install the agent. Before purchasing hardware or choosing a provider, it is useful to know what data is needed, where it comes from, and where it ends up at each step.
In short. An agent is useful when it uses up-to-date sources, knows the permissions, and knows when to stop in the face of missing or ambiguous data. A model run locally can provide greater control over processing, especially for confidential documents or internal systems.
Which data really makes the difference?
For an initial project, you can start with a few carefully selected sources. For an agent that prepares quotes, these could be the approved price list, the applicable terms and conditions, and the minimum data required for the request. Each source should have an owner, an update rule, and permissions consistent with who uses the system.
In many cases, the agent consults the documents at the time of the request. This approach, often called retrieval or RAG when it accompanies generation, allows a source to be retrieved without retraining the model for every update. The quality of retrieval should still be verified with real-world cases and examples where the correct document is missing. Anthropic, Building effective agents
What does it mean to build an AI agent locally?
An agent often includes the model, the application that coordinates the work, the databases, the logs, and the connections to management systems. Each of these elements can be hosted in a different environment. An app installed in the company can use a remote model. Even with a local model, a connector to WhatsApp or a cloud CRM communicates with an external service.
| Architecture | When I would consider it |
|---|---|
| Local | When it is necessary to control where documents are processed, use internal systems, or run certain workflows during connectivity outages. |
| Cloud | When speed of deployment, the ability to handle peaks, and access to managed models with verified contractual terms and data flows are important. |
| Hybrid | When some documents or operations require a controlled perimeter and other steps can use external services with explicit rules. |
When would I prefer local?
I would consider it for an agent that needs to consult technical drawings, confidential price lists, or internal archives, and for which the company wants to directly control the processing. Before deciding, I would test the local model on the same cases as the remote model and compare quality, speed, operational capacity, and total cost. This cost also includes hardware, updates, monitoring, and recovery.
For personal data, Articles 5, 25, and 32 of the GDPR concern, among other things, data minimization, data protection by design, and security appropriate to the risk. On a technical level, even an internal service needs identities, permissions, and verifications. The network on which it runs is just one of the elements to consider. GDPR text · NIST, Zero Trust Architecture
In summary
Before giving the go-ahead, I would ask for a map of where requests pass through, what data leaves the perimeter, what is logged, and who can delete it. It is the most concrete way to compare two proposals with the same level of detail. In-depth look at corporate data
If you are comparing architectures for a concrete project, discover how Salesforb implements a private AI agent, from choosing the infrastructure to team approvals.
Frequently asked questions
Does a local agent work without the Internet?
It depends on the services it uses. A workflow with a local model and local sources can work offline if it is designed to do so. WhatsApp and cloud APIs still require connectivity.
Do I need to train a model to use corporate data?
In many cases, it is enough to retrieve the approved information when needed. Training is a separate choice that depends on the problem to be solved.
What costs should I compare between local and cloud?
Consider model quality, expected load, infrastructure, updates, support, and operational continuity. Compare the solutions on the same use cases.