# Why Cloudflare Became a Neolab — Michelle Chen, Cloudflare

## Executive summary

Cloudflare transitioned from a CDN to an 'Agent Cloud' by developing System 1 decision models (Clef and Cleric) to complement large language models (LLMs). These models are designed for fast, low-cost, single-pass inference, significantly reducing the token and time consumption typically associated with LLM-driven agent workflows, particularly in CI triage and data extraction.

## Key takeaways

- The Pivot to System 1 Models: After the initial hypothesis that models would shrink (focusing on network latency) proved incorrect, Cloudflare pivoted to serving large, trillion-parameter models, eventually introducing Clef and Cleric to handle fast, intuitive thinking tasks that LLMs were too costly or slow for (8:27).
- Clef and Cleric Functionality: Clef is a decision model that allows agents to make autonomous decisions, reducing the need for lengthy LLM reasoning or human intervention. Cleric is an extraction model that takes unstructured input (emails, logs, tweets) and outputs perfectly typed JSON objects, enabling agents to act on raw data (11:27).
- Performance Gains in CI Triage: A live demonstration of CI failure triage showed that augmenting LLMs with System 1 models (Clef/Cleric) resulted in the same answer being delivered 2x faster, 72% cheaper, and using 94% fewer tokens compared to the pure LLM approach (16:46).

## Technical details

- Cloudflare Infrastructure Stack: The platform integrates distributed compute primitives (Workers, Durable Objects, containers), storage primitives (KV, R2, D1), and AI models, forming the basis of the 'Agent Cloud' narrative (3:12).
- System 1 vs. LLMs: System 1 models (like Clef and Cleric) operate via a single forward pass to generate decisions or structured data, contrasting with the autoregressive, time-consuming nature of LLMs. This allows them to handle fast, intuitive tasks, freeing LLMs for complex, meaningful work (9:57).
- Agent Workflow Augmentation: In CI triage, System 1 models can augment LLM workflows by pruning the available tool list (e.g., from 40 to 10 tools) and extracting specific values from large log files, thereby shrinking the LLM's context window (13:46).

## Practical implications

- Build engineers can augment existing LLM-driven agents by integrating System 1 models to handle rapid decision-making (e.g., routing, fraud detection) and data extraction from unstructured inputs (e.g., support tickets, logs).
- The use of Clef and Cleric can drastically reduce the computational cost and latency of complex agent workflows, allowing for higher concurrency.
- Cloudflare's infrastructure provides a complete stack (compute, storage, models) for deploying autonomous agents.

## Topics

AI, Edge Computing, CI/CD, Agentic Systems, LLMs, Clef, Cleric, Workers AI

Source: https://www.youtube.com/watch?v=cYcYfM9Mvwo
