AI coding in business: privacy, security and sovereign alternatives
Companies can adopt AI coding tools under controlled conditions when they can demonstrate that data flows, execution permissions and approval processes meet the requirements of the specific use case. A European server, an existing cloud agreement or a local installation is not sufficient on its own.
The first question for business and IT leaders is not which model writes the best code. It is which information the agent may read, where it may send that information and what it may change without human intervention.
Claude Code, Codex and Copilot: three separate decisions
A coding agent is more than a model. Depending on its configuration, it can read files, execute commands, run tests and call external tools. Evaluate three layers separately.
| Layer | Decision | Evidence |
|---|---|---|
| Agent runtime | Local, containerised or managed execution? | Actual file, process and network permissions |
| Model access | Which provider, hosting option and region? | Contract, processing locations, retention and actual endpoint |
| Tools and approvals | Can the agent publish changes or contact other systems? | Roles, separate credentials, approvals and traceable records |
A locally executed CLI agent can still send source code to a remote model API. Conversely, a local model does not imply local plugins, telemetry or package registries. Define the control boundary around the complete workflow.
Claude Code on Azure Foundry: what changes
Anthropic documents Claude Code integration with Microsoft Foundry, including Microsoft Entra ID authentication. Existing Azure administrative processes may simplify adoption.
Azure hosting is not the same as EU-only inference. Microsoft's hosting comparison distinguishes Azure-hosted from Anthropic-hosted deployments. It lists Global Standard and a US data zone for certain Azure-hosted Claude models, not an EU data zone (checked 2 December 2026).
Distinguish the geography of data at rest from the scope of inference processing. Microsoft identifies Anthropic as an independent processor for Claude on both hosting options. Also establish safety review arrangements, operational data and the applicable Anthropic terms. Read the Microsoft data privacy documentation together with its hosting comparison.
The agent runtime has separate connections. The Claude Code networking documentation describes proxy and certificate settings. Verify the actual network destinations and permitted flows of your deployed version rather than assuming that a model endpoint covers every connection.
Apply the same distinction to Codex and GitHub Copilot. Review Codex security and permissions for the execution mode you actually use. GitHub describes a Copilot cloud agent firewall with explicit limitations. Its built-in firewall is not a substitute for controlling every external tool and process.
Compare four operating models
These are architectural profiles, not product rankings or guarantees.
| Operating model | Advantage | Critical verification |
|---|---|---|
| Managed coding SaaS | Rapid adoption, limited self-operation | Plan, contract, model and agent data flows |
| Existing cloud governance, e.g. Foundry | Familiar identity and administration processes | Hosting configuration, processing scope and other parties |
| EU inference with a controlled agent | Potentially narrower geographical scope | Actual inference, support access, subprocessors and model compatibility |
| Self-operated agent and open-weight model | Potentially extensive technical data control | Network isolation, model quality, licensing, updates and operational capability |
An LLM gateway can connect several profiles. It is not a privacy guarantee; it is a control point for authenticated model access, routing and policy enforcement. Direct API calls and automatic fallbacks must not bypass it. Not every agent fully supports every model or gateway.
Conceptual architecture: policies at the gateway complement, but do not replace, runtime permissions and network controls.
For additional operating model considerations, see Private AI vs public cloud and Secure MCP server write access.
A bounded pilot instead of blanket approval
A fictional Austrian software company wants an agent to add tests to an existing application. An isolated repository contains synthetic code and artificial test data. Real customer data, production secrets and deployment permissions are excluded.
The task is small enough to compare two suitable agent/model configurations on the same baseline. The following expectations form a proposed test plan, not measured results.
| Test | Expected evidence | Release blocker |
|---|---|---|
| File boundary | A harmless marker file outside the workspace cannot be read. | Access succeeds. |
| Network boundary | A connection to an unapproved test destination under your control is blocked. | Unauthorised connection succeeds. |
| Model fallback | Simulated model unavailability does not change the approved routing boundary. | Automatic fallback to an unapproved provider. |
| Tool permissions | Test data is accessible; a synthetic out-of-scope write fails. | Write succeeds without required approval. |
| Code quality | Existing tests and new reviewed tests pass; changes receive independent review. | Critical finding or missing retest. |
| Publication | Agent can propose changes for review but cannot deploy to production independently. | Unauthorised merge or deployment. |
Do not test with real secrets. Use harmless markers, separate test identities and a test destination you control. A single blocked attempt does not establish comprehensive isolation. Identify relevant execution and tool paths and repeat tests after material changes.
Measure the cost per accepted change, including review, corrections and retries. If simpler IDE assistance offers the same benefit, an autonomous agent may be unnecessary.
Ten questions before adoption
- Which repositories and data categories are approved?
- Where does the agent execute and what files can it actually read?
- Which providers process prompts, code, outputs and operational data?
- Where does processing take place, as distinct from storage?
- Which retention, deletion and training terms apply to the actual contract?
- Have processor arrangements and any international transfers been assessed?
- Are credentials, network paths and external tools restricted to what is necessary?
- Who approves writes, pull requests and production deployments?
- Which technical exclusion tests and quality criteria have been agreed?
- Who owns operations, changes, incidents and the shutdown mechanism?
The GDPR includes processor arrangements, risk-appropriate security measures and rules for international transfers (Articles 28 and 32 and Chapter V, where applicable). EU hosting alone does not resolve these requirements, and GDPR does not generally require exclusive EU hosting in all circumstances. Trade secrets and contractual confidentiality also need consideration. See GDPR-compliant AI for additional context.
Which route should you choose?
Start with an already approved operating model if it meets your mandatory criteria. If EU-exclusive processing is mandatory, exclude configurations without evidence of that boundary for the relevant data category. If external inference is prohibited, evaluate an isolated local stack and its task performance. If nobody can operate it, narrow or defer the use case rather than simply changing the model.
The best option is the simplest configuration that reliably serves the task within the required boundaries. Compare convenience, model capability and cost only after that.
Get your AI system reviewed
If you plan to introduce Claude Code, Codex, Copilot or your own coding agent, a bounded technical readiness review can help clarify data flows, permissions and realistic acceptance tests. See Independent AI pilot go-live review for the decision process.
Request an AI system review – contact
As of 2 December 2026. Provider information can change. This article offers technical recommendations, not legal advice, certification or a provider benchmark. The text and conceptual graphics were created with AI assistance; the pilot is explicitly fictional.