Skip to content

08. Technical Environments: Where the Agent Actually Runs ​

The problem. The agent "lives" somewhere concrete. On what machine does it run, in what environment, with which secrets and access rights, and therefore how far can it actually go?

Example 8: the hospital. An agent that prepares staff schedules does not need access to patients' medical records. If it runs on a dedicated server, isolated from the patient-record system, with access only to the calendar and staffing data, then even if it goes off the rails, it cannot touch health data. Its technical environment is its first guardrail.

The concept. Here are the main families of environments, without going into technological detail:

  • The substrate: the hardware or logical layer on which the agent runs, typically a container (isolated, disposable, reproducible environment) or a dedicated server. The substrate determines the agent's real rights, its availability, and its confidentiality.
  • Development, test, and production environments: as for any software, you develop and test the agent somewhere other than production, with test data, never real patient or customer data in a test environment. An agent that worked in test can be deployed to production with the same tools but different rights: in production, you often start with a reduced scope (read-only), then widen it once the ex-ante metrics are good (Part IV).
  • Secrets: API keys, passwords, and access tokens live in a secrets manager, never in code or in the prompt, and are rotated regularly. The agent only gets access to the secrets explicitly given to it: this is the principle of least privilege, applied concretely (Part IV).
  • Cloud or local: an agent hosted in the cloud benefits from powerful models, but the data it processes transits through the cloud provider. An agent running locally, on an internal machine or even fully disconnected, with a local model, can process sensitive data in full autonomy, at the price of higher latency and compute cost, sometimes several minutes per answer on a small local model. The cloud/local choice is therefore a confidentiality choice as much as a cost choice.
  • The network: every outgoing tool call (messaging, information-system APIs, web search) leaves the agent's perimeter. These accesses are declared in an allowlist, just like the tools themselves.