Michelle Chen, a Cloudflare group product manager, shows at AI Engineer Code Summit how she would split the work of diagnosing a failed continuous integration (CI) build.
Why Cloudflare trained its own models
- Cloudflare built Workers AI on the idea that, for fast models, the trip across the network would account for more of the wait. It expanded into hosting large models as developers needed them.
- Fast, bounded decisions gave the edge network another use. Cloudflare couldn’t host TypeSafe’s Jev itself, so it trained Clef to pick among supplied options and return probabilities.
- Clairic takes unstructured inputs such as messages or logs and pulls out named fields with types your code can check. The talk describes the preview; Cloudflare later changed how the released version generates those fields.
Give the large model a smaller job
- Chen’s baseline sent 40 tool definitions to GLM 5.3 on each round trip. The revised workflow used Clef-flash to shortlist 10 tools and Clairic to extract the pull request number.
- Ordinary code made the API calls. Clairic read the returned logs and pulled out the error and affected code. One call to the large model handled the final diagnosis.
What the demo measured
- Both live paths reached the same answer, Chen said. In a separate run, she reported 9.2 seconds versus 17.2, 72% lower cost, and about 94% fewer tokens for the combined workflow.
- These are results for one Cloudflare demo. Before pruning tools or logs in your own agent, test whether it still finds the needed tool and keeps the evidence that changes the diagnosis.
“They’re supposed to complement each other and get to the end goal faster.”