Cloudflare's AI Platform: Unified Inference Layer for AI Agents

What Cloudflare's AI Platform Offers
Cloudflare has expanded its AI capabilities into a unified inference layer designed specifically for AI agents. The platform addresses the challenge of AI models changing rapidly and the need to use multiple models for different tasks within agentic workflows.
Key Features and Implementation
The core offering is one API to access any AI model from any provider. For Workers users, you can call third-party models using the same AI.run() binding already used for Workers AI. Switching between providers requires only a one-line code change.
const response = await env.AI.run('@cf/moonshotai/kimi-k2.5', {
prompt: 'What is AI Gateway?'
}, {
metadata: {
"teamId": "AI",
"userId": 12345
}
});The platform provides access to 70+ models across 12+ providers including Alibaba Cloud, AssemblyAI, Bytedance, Google, InWorld, MiniMax, OpenAI, Pixverse, Recraft, Runway, and Vidu. Model offerings now include image, video, and speech models for building multimodal applications.
Cost Management and BYOM Support
All AI spend can be managed in one place through AI Gateway. By including custom metadata with requests, you can get cost breakdowns by attributes like free vs. paid users, individual customers, or specific workflows.
For custom model needs, Cloudflare is working on letting users bring their own models to Workers AI using Replicate's Cog technology. This involves containerizing machine learning models with a cog.yaml file and Python inference code, abstracting away CUDA dependencies, Python versions, and weight loading.
Recent Updates and Availability
Recent additions include zero-setup default gateways, automatic retries on upstream failures, and more granular logging controls. REST API support for non-Workers users is coming in the coming weeks.
📖 Read the full source: HN AI Agents
👀 See Also

PhAIL Benchmark Tests VLA Models on Real Warehouse Robot Tasks
PhAIL is a real-robot benchmark that tests four vision-language-action models on bin-to-bin order picking using a Franka FR3 robot. The best model achieved 64 units per hour, compared to 330 UPH for human teleoperation and 1,300+ UPH for human manual work.

Open-source trust scoring hook for Claude Code monitors sessions, blocks protected paths
A developer built a Python hook that scores every Claude Code session on reliability, scope, and cost dimensions, blocks access to protected paths like .env files, and hash-chains events for tamper detection. The single-file tool is available on GitHub.

Comparing Local vs. Cloud AI Agents: OpenClaw and Twin.so
OpenClaw is an open-source local AI agent that runs on your machine with full data control, while Twin.so is a cloud-based platform with 200,000+ community-built agents for 24/7 automation.

Aurelius: A React Framework Built with 48 Claude Code Agents and Figma-to-React Pipeline
Aurelius is an open-source React framework that uses 48 Claude Code agents organized hierarchically to autonomously build React applications from Figma designs. The framework enforces TDD, visual QA with pixel-diff comparison, and quality gates before deployment.