Cloudflare Open-Sources Clef: Decision Models for Agentic Systems
Cloudflare introduced Clef and Clef-flash, fully open-source decision models available on Hugging Face under Apache 2.0 license. These models enable agents to programmatically gather context, classify options, make typed decisions with probability scores, and route work to humans when needed. They're fully Jev-API compatible and can run locally, addressing a core need as AI agents proliferate across enterprises.
Why it matters
๐ป Developer ยท Clef is immediately useful. If you're building agents, you need a way to classify decisions and route work. This is open-source, runs locally, and has an established API. Use it instead of writing custom classification logic.
๐ฆ Product ยท Decision models are the critical layer between agents and human oversight. Clef lets your agents make faster, more consistent choices while still escalating uncertainty to humans. This directly improves agent reliability and reduces support tickets.
๐จ Design ยท From a UX perspective, better routing means agents fail less often and ask humans for help at the right moments. Clef's explicit probability scores let you set confidence thresholds so users see fewer nonsense routing decisions.
๐ Business ยท Open-source decision models reduce vendor lock-in and infrastructure costs. You can run Clef on your own hardware instead of paying per API call. For enterprises deploying many agents, this compounds into serious savings.
๐ค Just Curious ยท Decision models are the missing piece in agentic AI. While everyone talks about LLM reasoning, the actual bottleneck in agent systems is *deciding what to do next*. Clef is a bet that this layer deserves its own specialized model.
Try this: If you're building AI agents, try Clef on your routing layer. Download from Hugging Face, swap it into your Jev-compatible pipeline, and benchmark against your current decision logic. It's a drop-in replacement for rule-based routing.
Sources: Introducing Clef: our open-source decision models, and new RL fine-tuning platform