# AI in the enterprise: what has to get done

> The business view first. Seven jobs an enterprise has to get done with AI, the questions behind them, and what Cloudflare covers for each.

By Kai Bitterschulte (https://kai.zone/). Published 2026-11-09. Canonical URL: https://kai.zone/writing/ai-business-needs-what-has-to-get-done/

Seven jobs have to get done when a company uses AI. They are the same on any platform. The table shows what Cloudflare covers for each job. Below it, each job has the business question, the work to do and a note on Cloudflare.

| Job | What Cloudflare offers |
| --- | --- |
| 1. Decide where AI may act | Access, Gateway, AI Gateway and Model Context Protocol (MCP) server portals enforce the rules. Workflows and Think can ask for approval. |
| 2. See what happens and what it costs | AI Gateway logs, Access and Gateway logs, command logs for SSH. |
| 3. Engineer with AI | Containers, Access for Infrastructure, Mesh or Tunnel. |
| 4. Route every model call through one control point | AI Gateway with data loss prevention (DLP), guardrails and rate limits. |
| 5. Pick the right model for each person and task | AI Gateway routing, MCP server portals as a tool catalogue. |
| 6. Give agents tools, identity and a safe place to run | Container outbound handlers, MCP server portals with Code Mode, Dynamic Workers, Agents SDK and Workflows. |
| 7. Stay in control of data and independent of one provider | Workers AI, AI Gateway fallback and custom providers, R2 jurisdictions. |

Most AI projects start with buying a tool, and the results often stay small. In the October 2026 [Gartner survey of CIOs](https://www.gartner.com/en/newsroom/press-releases/2026-10-19-gartner-survey-finds-only-13-percent-of-cios-say-their-enterprise-has-realized-significant-or-transformational-value-from-ai), only 13% saw significant or transformational value from AI. The tool is one part of the answer. The rest is ownership, rules, cost and control.

## Seven jobs

### 1. Decide where AI may act

**Question:** Which tasks may an agent do alone, which need approval, and who is accountable?

- Sort agents by autonomy. [Gartner proposes four levels](https://www.gartner.com/en/newsroom/press-releases/2026-05-26-gartner-says-applying-uniform-governance-across-ai-agents-will-lead-to-enterprise-ai-agent-failure): observe, advise, act with approval and act autonomously. One policy for all agents fails.
- Name an owner for every agent and use case, and keep an inventory.
- Enforce rules in code and in the network. Cloudflare's [agent access model](https://blog.cloudflare.com/the-agent-access-model/) says: "The prompt is where you express intent. It is never where you enforce a boundary." It also says approvals should be rare, because a person who approves every step starts clicking without reading.
- Check which rules apply. EU AI Act obligations for high-risk uses [start on 2 December 2027](https://digital-strategy.ec.europa.eu/en/policies/regulatory-framework-ai). The Swiss [data protection act applies directly to AI](https://www.edoeb.admin.ch/en/ai-and-data-protection). [FINMA guidance 08/2024](https://www.finma.ch/en/news/2024/12/20241218-mm-finma-am-08-24/) covers AI governance at financial institutions. Your lawyers decide which apply.

**Cloudflare:** Access, Gateway, AI Gateway and MCP server portals enforce the rules. Workflows and Think can ask for approval before an action ([human-in-the-loop patterns](https://developers.cloudflare.com/agents/concepts/agentic-patterns/human-in-the-loop/)). Policy, risk classes and accountability stay with you. These controls do not make you compliant by themselves.

### 2. See what happens and what it costs

**Question:** Who used which model, with what data, at what cost, and what did the agent do?

- Log every model call and tool call with the user and the policy.
- Assign cost to a person and a team, and set budgets.
- Send the evidence to the tools your security team already uses.
- Decide how to stop an agent that misbehaves.

**Cloudflare:** AI Gateway [logs](https://developers.cloudflare.com/ai-gateway/observability/logging/) can hold the prompt, response, token use and cost. [Custom metadata](https://developers.cloudflare.com/ai-gateway/observability/custom-metadata/) tags requests with team or project, and a gateway behind Access records the verified user ID. Access and Gateway logs show who connected to what, and [Access for Infrastructure](https://developers.cloudflare.com/cloudflare-one/access-controls/applications/non-http/infrastructure-apps/) adds command logs for SSH. To stop an agent, revoke its identity, route or session.

### 3. Engineer with AI

**Question:** Can agents help with the whole delivery lifecycle, including infrastructure, without bypassing review?

- Run agents in a controlled environment, not on workplace devices that hold many rights.
- Give agents the company's rules, skills and workflows as code under version control.
- Keep git, continuous integration (CI) and branch protection. A person approves the merge and the production change.
- Give agents least-privilege access to infrastructure, require approval for changes, and log every command.

**Cloudflare:** Containers give each session its own Linux environment, Access for Infrastructure gives scoped SSH with command logs, and Mesh or Tunnel provides the route. [Step 2](https://kai.zone/writing/ai-reference-architecture-on-cloudflare/) shows the pattern. Git, CI, tests and review stay yours.

### 4. Route every model call through one control point

**Question:** Where do we enforce who may call which model, with which data and within which budget?

- Offer one endpoint, and keep provider keys off laptops.
- Scan prompts and responses for secrets and personal data.
- Block direct access to provider endpoints. Otherwise only part of the traffic passes the control point.

**Cloudflare:** [AI Gateway](https://developers.cloudflare.com/ai-gateway/) is that endpoint, with [DLP](https://developers.cloudflare.com/ai-gateway/features/dlp/), [guardrails](https://developers.cloudflare.com/ai-gateway/features/guardrails/), logs and rate limits. Gateway HTTP policies can block direct provider hosts.

### 5. Pick the right model for each person and task

**Question:** Who gets which model, what happens when a provider fails or raises its price, and which models and tools are approved?

- Send different groups to different models, and roll out new models step by step.
- Set rate and budget limits per user, project or team, and define fallbacks.
- Keep a catalogue of approved models and tools, each with an owner, a version and a status.

**Cloudflare:** AI Gateway [routing](https://developers.cloudflare.com/ai-gateway/features/routing/) has model aliases, an Auto Router and [dynamic routes](https://developers.cloudflare.com/ai-gateway/features/routing/dynamic-routing/). A dynamic route can branch on request metadata, split traffic by percentage, set rate and budget limits, and roll back to an earlier version. [MCP server portals](https://developers.cloudflare.com/cloudflare-one/access-controls/ai-controls/mcp-portals/) work as a governed catalogue of tools: one endpoint, a tool list per portal, and aliases. You keep the catalogue itself, and routes and portals enforce it.

### 6. Give agents tools, identity and a safe place to run

**Question:** How do agents get access without holding secrets, and how do long jobs survive failures?

- The agent acts for the person who started it, and every call carries that identity.
- Credentials stay outside the environment where the agent runs.
- Tools reach the agent through one gateway. Many tool definitions in the context cost tokens and money.
- Code written by the agent runs in an isolated environment.
- Long jobs resume after a restart, and approvals can wait for a person.

**Cloudflare:** Containers can [inject credentials at the boundary](https://developers.cloudflare.com/containers/configuration/outbound-traffic/), so the container never holds them. MCP server portals with Code Mode replace many tool definitions with two, search and execute. [Dynamic Workers](https://developers.cloudflare.com/dynamic-workers/) run generated code. The [Agents SDK](https://developers.cloudflare.com/agents/) and Workflows keep long jobs running.

### 7. Stay in control of data and independent of one provider

**Question:** Where may data and inference run, and what happens if one provider changes its price or goes down?

- Classify data, and decide which classes may leave the company for a hosted model.
- Keep an exit: a second provider, or a model you host yourself.
- Test the failover before you need it.

**Cloudflare:** Workers AI runs models on Cloudflare. AI Gateway can fall back between providers and can call a model you host, through [custom providers](https://developers.cloudflare.com/ai-gateway/configuration/custom-providers/). Mesh and Workers VPC reach private inference nodes. R2 supports [jurisdictions](https://developers.cloudflare.com/r2/reference/data-location/) for stored data.

## Decisions only the business can make

The platform enforces what you decide. A product cannot decide these for you:

- The risk appetite for each autonomy level, and who approves a move to the next level.
- Which data classes may reach a hosted model.
- Who pays for tokens and agent runs, and what a finished outcome may cost.
- What you stop. In the same Gartner survey, the CIOs with the best results more often have stopping rules for pilots and for production. Only 31% have rules for pilots and 17% for production.
- How you rehearse an AI incident, and who can pause an agent.

Next: the [reference architecture](https://kai.zone/writing/ai-reference-architecture-on-cloudflare/) shows where each job is done.
