Quick answer
Sending code to the cloud means the source an AI coding agent reads leaves your machine or network. Almost every coding agent sends the files it reads to a model API, and cloud coding agents also copy your repository into a vendor sandbox. You control where it goes by picking the model account or gateway the agent calls and where the sandboxes run. Nori runs agents on your own model accounts, and Nori Enterprise deploys the full platform on-prem or in your own cloud.
Where your code goes when a coding agent works
A coding agent works in a loop. It reads files, runs commands, sends what it saw to a model, and gets back the next step. Anything the agent reads can end up in a model request: source files, diffs, test output, logs and error messages. That is true for an agent on a laptop and for one in the cloud.
The difference between approaches is everything around the model call: where the repository is cloned, where the transcript is stored and where the credentials live.
| Data | Agent on an engineer's laptop | Hosted cloud coding agent | Coding agent platform in your own cloud or data center |
|---|---|---|---|
| Files the agent reads | Sent to the model provider you sign in with | Sent to the model provider the vendor or you configure | Sent to the model account or gateway you choose |
| Repository clone | The laptop | The vendor's sandbox | Machines on your compute |
| Transcripts of agent work | The laptop | The vendor's data store | Your data store |
| Source control and cloud credentials | The engineer's own tokens | Held by the vendor | Held in your environment |
| Network rules and logging | Whatever the laptop has | The vendor's | Yours |
So the honest answer to "does it send our code to the cloud" is usually "yes, to at least one company". The useful questions are which companies, under which terms, and whether any of them is the agent vendor.
What the model providers' commercial terms say
Model calls are the part you cannot avoid unless you host the model yourself. Read your provider's commercial terms with your legal team. Two examples, quoted from the providers' own pages:
- Anthropic Commercial Terms, section B: "Anthropic may not train models on Customer Content from Services." The same section says the customer retains its rights to inputs and owns its outputs.
- OpenAI Enterprise privacy: "By default, we do not use your business data for training our models." It also says API inputs and outputs may be retained for up to 30 days to provide the services and identify abuse, and that zero data retention can be requested for eligible endpoints.
These terms cover your company's account with the provider. They do not cover a coding agent vendor that calls the model on its own account, or what that vendor stores on its side. That is why the agent vendor's data flow needs its own review.
Your options when security will not approve a vendor's cloud
If your security team will not approve an AI agent that sends source code to a vendor's cloud, these are the options teams use. They can be combined.
- Use your own model account or LLM gateway. Code goes only to a provider your company already has terms with, through a path you can log and filter.
- Keep agents on engineers' laptops. No vendor sandbox is involved, but there are no shared schedules, chat entry points or team records, and each laptop holds its own tokens.
- Build sandboxes in your own cloud. Run agents in containers or VMs you control. Your platform team then builds the chat entry points, schedules, credential handling and records around them.
- Deploy a full coding agent platform in your perimeter. Sandboxes, transcripts, credentials and the service that starts sessions all run in your data center or cloud account. This is what Nori Enterprise does.
- Pilot on a single-tenant hosted platform. A team can start on hosted Nori, where each organization has its own control plane and data store, while the in-perimeter deployment is planned.
A model you host yourself is the only way no code reaches a model provider at all. Nori harnesses can call a custom API endpoint at your own base URL, as long as it speaks Chat Completions, Responses or Anthropic Messages.
How Nori handles your source code
Nori is a cloud coding agent platform. Teams run Jiro, Nori's AI engineering teammate, or harnesses such as Claude Code, Codex, Cursor, Antigravity, OpenCode and Pi from Slack, Discord, the web or the CLI, on schedules and webhooks, with shared skillsets and memories. Here is where the code goes.
Model calls go to your accounts
Sessions run on your Claude or ChatGPT subscription, Anthropic or OpenAI API keys, an API key provider such as OpenRouter, or a custom API at your own base URL. The model call follows the terms you already have with that provider. Model tokens are billed by your provider at its own price, with no Nori markup. See use your own subscription.
One isolated machine per session
Each session gets its own machine with your repositories and setup script. One machine serves one active session. Work that must last is pushed to your Git remote as branches and pull requests, and GitHub access uses short-lived, installation-scoped tokens per session.
Single-tenant hosted, or inside your perimeter
On hosted Nori, every organization has its own single-tenant control plane and data store. With Nori Enterprise, the full stack deploys on-prem or in your own AWS or Azure account, so code, transcripts and credentials stay in your environment. Nori engineers do the integration work with the deploy, sign-in uses SAML, SCIM and OIDC, and Nori's source can be licensed under restricted terms on request. The security overview covers isolation and credential scopes in more detail.
Example: a data flow statement for your security review
Security teams approve faster when the request states the data flow up front. This is a template for a Nori Enterprise deployment in your own AWS account. Replace the names in angle brackets.
Request: approve AI coding agents for the <team> team
Platform: Nori Enterprise, deployed in AWS account <account-id>, VPC <vpc-id>
Sign-in: <identity provider> over SAML; SCIM adds and removes members by group <group>
Source code
- Cloned onto session machines in our VPC, one isolated machine per session
- Changes leave only as branches and pull requests to <github-org>; branch protection applies
Model calls
- Sent only to <LLM gateway URL> / our <Anthropic or OpenAI> account
- Provider terms: <link to our signed commercial terms>
Stored data
- Session transcripts, automation run history, memories: our data store, retention <N> days
Credentials
- GitHub: installation-scoped token per session
- Other integrations: scoped to org, person or custom agent; production keys not granted
What leaves our network
- Model requests to the gateway above
- Calls to the tools we connect: <list>
Send it with the vendor questionnaire from the coding agent vendor security review checklist.
Frequently asked questions
Do AI coding agents send our source code to the cloud?
Almost all of them send the code they read to a model provider as prompt context. Cloud coding agents also clone your repository into the vendor's sandbox. You decide which companies receive it by choosing the model account and where the agent platform runs.
Does Claude Code send our code to Anthropic?
The files, commands and output Claude Code reads are sent to the model it calls. With your company's Anthropic account, Anthropic's Commercial Terms say Anthropic may not train models on customer content from its services.
Can a coding agent work without sending code to any model provider?
Only if the model runs on infrastructure you control. Nori harnesses can call a custom API endpoint at your own base URL if it speaks Chat Completions, Responses or Anthropic Messages.
Does Nori send our code to its own cloud?
On hosted Nori, sessions run on isolated machines in Nori's hosted cloud, under a single-tenant control plane and data store for your organization. With Nori Enterprise, the full stack runs on-prem or in your own AWS or Azure account, so code stays in your environment.
Which model accounts does Nori use?
Yours. Sessions run on your Claude or ChatGPT subscription, Anthropic or OpenAI API keys, an API key provider such as OpenRouter, or a custom API at your own base URL. Model tokens are billed by your provider at its own price, with no Nori markup.
Our security team blocks every SaaS coding agent. What can we do?
Deploy the platform inside a boundary your team already owns. Nori Enterprise runs on-prem or in your own cloud account, Nori engineers do the integration work with the deploy, and sign-in uses SAML, SCIM and OIDC.
Sources
Read on December 4, 2026.