Skip to content
Putting technology to work.
Insights to guide decisions and action.

Search articles

Cloudflare OS — An internal AI platform that never hands keys to agents

Table of contents · 5 items

When you start building mechanisms for AI to handle internal business data, progress usually halts at the exact same spot: how far should you go in handing keys to the agent? If you want it to query an inventory database, you need DB connection credentials. If you want it to view a customer management system, you need an API key. The moment you decide to "issue a read-only key and place it in environment variables," that key gains the potential to appear within the code generated by the agent.

Generated code might appear in logs. It might get mixed into error messages. When reading external documents, instructions might be injected, causing the keys to be exfiltrated alongside other data. Once you hand over the keys, this anxiety can no longer be eliminated through design.

Cloudflare OS, released by Cloudflare under the Apache 2.0 license on August 5, 2026, aimed to alter this very structure. Despite its name, it is not an operating system like Linux or Windows, but a foundation for running AI agents, applications, and business workflows.

An architecture where credentials never reach the agent

The core premise behind Cloudflare OS is clear. Agents receive neither raw API keys, OAuth tokens, nor database connection details. They receive only scoped "capability references" that can access specific resources under specific policies.

Actual credentials remain inside the layer Cloudflare calls the Gatekeeper Worker, reaching neither the agent itself nor the code it generates. The agent submits a request saying "please perform this action," and Gatekeeper executes it after verifying permissions. The keys never leave.

This design is effective because it alters the nature of potential incidents. In setups that hand over keys, the blast radius instantly spans all permissions granted to that key the moment it leaks. In setups passing only capability references, even in a leak, actions cannot exceed the scope permitted by that reference. When designing around the premise that agents can be compromised, this is where the difference emerges.

Diagram contrasting a configuration that directly provides API keys against one that keeps credentials inside Gatekeeper and passes only scoped capability references

What lies behind "building without developers"

Another pillar is the agent workspace accessible from the browser. Employees conduct research, create materials connected to live data, automate business workflows, and assemble and share small internal applications. Each assembled app comes equipped with its own dedicated database, real-time capabilities, and access controls.

What warrants attention here is not the "no developer needed" sales pitch itself, but the fact that independent databases and access controls are included from the start. When small internal business tools proliferate, the problem is rarely functionality; it is losing track down the road of who can view what. Rather than leaving that to bespoke design, the platform handles it.

The environment where agents write and execute code is also partitioned into isolated runtimes. There is a prior constraint to operate strictly within the context and skills provided by the organization, inside of which the agent acts freely. The philosophy that the platform dictates the bounds of freedom aligns consistently with how credentials are handled in the previous section.

Cloudflare stated that it distributed an initial version to all employees in May 2026, and by August, thousands of employees, including non-engineers, were using it daily. Primary use cases are said to include document creation, slide generation, and building minor internal applications.

Building in-house vs. relying on existing SaaS

Just because Cloudflare OS has been open-sourced does not mean deploying it in-house is necessarily the best path. The decision hinges on the data handled and your operational structure.

OptionBest suited forIncurred costs
Using existing SaaSData is non-confidential and workflows are standardData location and permissions depend on vendor design
Deploying a platform like Cloudflare OS in-houseNumerous connections to internal systems and a desire to own permission designTaking on platform operations, updates, and incident response
Building bespoke internal tools individuallyTarget operations are limited to one or two workflowsPermissions fragment as tools proliferate

The principle of never handing keys to agents is something you can take away regardless of the option chosen. Even when choosing existing SaaS, how that service connects to internal systems and where connection information is stored are essential items to verify.

If you are at a stage where you cannot track who is using which AI tools within the company, sorting that out must precede discussions about infrastructure. The rollout sequence is addressed in Shadow AI and Cloud AI Governance.

Furthermore, designing permissions for agents requires assuming that human approval during execution cannot be counted on as a safety catch. We summarized the limitations of approval screens in AI Agent Approvals Are Not Safety Catches. Attempting to resolve business processes solely with language models encounters other hurdles, so refer to Enterprise AI Cannot Stand on Language Models Alone for pairing them with deterministic processing.

What to do next

Pick one AI integration currently running or under consideration in your company, and write down where the credentials used there are stored and who is in a position to read them. If the answer is that they sit in plaintext inside environment variables, that is where work must begin before adding new features.

From there, evaluate whether there is a way to avoid handing over the keys. In many cases, inserting a single thin layer in between is enough to alter the architecture.

If you would like to consult on designing internal AI infrastructure or secure connection methods with existing systems, we handle requests through GleamHub's Development, AI, and Automation Consultations. Because optimal configurations depend on the number of connection destinations and data sensitivity, we provide individual quotes. Please reach out via Contact Us.

Sources

Share this articleXFacebook
Kakeru Suzuki

Fascinated by the possibilities of technology, has had a deep interest in programming and digital art since student days

Turn this article's theme into your company's next step

Concrete steps forward for your organization.

We organize your desired architecture, legacy systems, and operational requirements to formulate your next steps toward execution.

  • Desired architecture
  • Integration with existing environments
  • Operational requirements
Consult on development & operations initiatives

You can consult with us from the initial conceptual stage. Details from this article will be carried over to the inquiry form.

Receive the latest articles by email