A private AI agent is an AI agent whose model, data and logs run inside an environment your company controls, either its own cloud account or its own servers, so client files, contracts and patient or financial records are not processed on a shared public service. A self-hosted AI agent goes one step further and runs the model on hardware your company operates. Your company needs one when a law, a contract or a client forbids sending the data to a third party; in most other cases a cloud API under a proper data agreement is enough and costs less to run.
What makes an AI agent private?
Three things decide it: where the model runs, where your data is stored and who can read the logs. A business API controls more of them than most people assume. OpenAI states that API data is not used to train its models unless the customer opts in, that it may retain API inputs and outputs for up to 30 days to identify abuse, and that zero data retention can be requested for eligible endpoints. Amazon documents that on Bedrock model providers have no access to customer prompts and completions, and that retention is configurable, although some models require it.
The real question is which of three deployments your data requires.
Cloud API, private cloud or self-hosted AI agent
| Cloud API with a data agreement | Private cloud | Self-hosted on your hardware | |
|---|---|---|---|
| Where the model runs | The provider's shared service | Inside your company's own cloud account and region | Servers in your office or data center |
| Where data lives | Your systems; prompts pass through the provider under its retention terms | Your cloud account; nothing leaves it | Your network; it can work fully offline |
| Who it suits | Most companies, including many with confidential data | Companies with residency rules or clients who audit the environment | Companies barred from any third party, or with sites that have poor connectivity |
| What you must maintain | Access keys, permissions and the agreement itself | Cloud infrastructure, network rules, model updates and capacity | All of that plus hardware, power, cooling, backups and physical security |
| Lock-in risk | Highest if the agent is written around one provider's features | Medium: tied to a cloud, not to a model | Lowest with open-weight models, which can move to other hardware |
Lock-in depends less on the column than on the build. If the agent's instructions, tools and test cases live in a repository your company owns, the model behind it can be replaced. For the controls that apply in all three, see enterprise AI agents.
When is a cloud API with a data agreement enough?
More often than the worry suggests. Privacy rules usually require a contract and safeguards, not a private server. Under the GDPR, processing by a processor must be governed by a contract; under the HIPAA Security Rule, a covered entity may let a vendor handle electronic health information only after obtaining satisfactory assurances that the vendor will safeguard it. If the provider signs the agreement your regulator or client expects and offers the retention terms you need, the API route is legitimate and cheaper to operate.

Go private when one of these is true:
- A contract or regulator names the location: data must stay in a country, a region or on premises.
- A client forbids subprocessors, or must approve each one and will not approve an AI provider.
- The provider will not sign the agreement your sector requires on the plan you can afford.
- The site has no reliable connection, such as a plant floor or a remote facility.
- Volume is high and steady, so paying per request costs more than owning capacity. Verify this with your own numbers.
The tradeoff is real: a model that fits your hardware may handle complex multi-step work less well than the largest hosted models, so test it on your own cases before committing.
What changes by type of business
Pick your industry.
What kind of business do you run?
Law, accounting or consulting firm
What must stay private: client files, privileged communications and anything covered by an engagement letter or a confidentiality clause.
What usually goes wrong: staff pasting client documents into personal chat accounts because the firm offers no approved tool.
Where to start: read your engagement letters for subprocessor clauses. If they allow a contracted provider, start with a cloud API agent on one practice area.
Healthcare provider or clinic
What must stay private: patient records, lab results and any message that identifies a patient.
What usually goes wrong: choosing the model first and discovering later that the vendor will not sign the required agreement on that plan.
Where to start: an administrative agent with no clinical data, then decide where records work should run. Related: custom healthcare software.
Financial services or insurance
What must stay private: account data, credit files, claims and the logs that show how each case was handled.
What usually goes wrong: a pilot on real customer files before compliance has confirmed where data may be processed and how long logs are kept.
Where to start: get the residency and retention requirement in writing. It usually points to a private cloud in a named region.
Manufacturing
What must stay private: drawings, formulas, process parameters and customer specifications under a nondisclosure agreement.
What usually goes wrong: an agent that depends on the internet in a plant where the connection drops, or on an ERP that never leaves the local network.
Where to start: a self-hosted agent beside the ERP for one document flow. See legacy system modernization if the ERP has no API.
What drives the cost of a private AI agent?
- Hardware or private cloud: owned servers are a fixed upfront cost; a private cloud bills for reserved capacity; a cloud API bills per use.
- Model choice: larger models need more computing power per request. Classifying, extracting or routing often run well on smaller ones.
- Integrations: every system the agent reads or writes adds work, and systems without an API add more.
- Maintenance: patches, model upgrades, monitoring and re-testing. Self-hosted, this is a permanent line, not a one-time build.
The build side is broken down in AI agent development cost.
Checklist before you decide
- The data the agent will touch is classified: public, internal, confidential or regulated.
- The rule that restricts it is written down, with the clause or regulation that says so.
- The provider's training, retention and subprocessor terms were read on the plan you would actually buy.
- A named person will own patching, access reviews and backups if anything is self-hosted.
- Logs are stored where your retention policy requires, and someone reads them.
How WeEvolveIT approaches it
WeEvolveIT designs and builds private AI agents in all three deployments and recommends the least complex one that satisfies your data requirement. Your company provides the data classification, the contracts that constrain it and a process owner; WeEvolveIT provides the architecture, the integrations, the testing and the maintenance. If a no-code AI agent builder with a self-hosting option already covers the process, that is the recommendation.
Every WeEvolveIT project starts with a return on investment analysis of the process or area to improve: what it costs your company today, what the agent saves or earns and how many months until it pays back, compared across the deployments your data allows. The scope is set on those numbers, with competitive pricing and delivery at the level of a global firm.
Start with the free AI business check to see which process is worth the investment, then review the AI agent development service.



























