Cloudflare ships Python Workers GA with native AI bindings

Share
Cloudflare ships Python Workers GA with native AI bindings

Cloudflare has spent about two years getting Python onto its edge network. As of Monday it is telling developers to build on it for real.

Cloudflare has moved Python Workers to general availability, making Python a first-class language on its developer platform — and, for anyone building AI, giving Python code native bindings to Workers AI, R2, D1, Hyperdrive, Durable Objects, Queues and Workflows instead of forcing conversions into TypeScript at the RPC boundary. That last detail is the one that matters. Until now, handing a Python dictionary to a Cloudflare Queue required hand-written glue code, and glue code is exactly the friction that kept agent and retrieval pipelines off the edge. FastAPI, Django and Flask now run inside Workers through a built-in connector, which means a Python service no longer needs a server process in front of it — the network handles the concurrency and scaling that Uvicorn or Gunicorn would otherwise do.

Under the hood it is all WebAssembly. Python Workers are built on Pyodide, so packages with native C, C++ or Rust extensions have to be cross-compiled before they can run in the sandbox, and Cloudflare previously hosted its own bespoke builds. The GA release switches that to a shared standard called PyEmscripten and works with package maintainers to publish WebAssembly-compatible wheels — the difference between "we support the packages we compiled" and "the ecosystem can build for us." The company has also extended its developer docs so that nearly every TypeScript example now has a Python twin.

The AI framing is not incidental. Cloudflare's launch material leads with MCP servers, retrieval-augmented generation against Vectorize, and asynchronous AI orchestration as the flagship Python workloads — our explainer on what RAG actually is covers the pattern it is courting. Database drivers reach Postgres and MySQL through a socket bridge implemented at the system-call level, so the drivers developers already use work unchanged. For a company that has spent the year positioning itself as the place agents run — it already builds edge tooling around frontier models, as in Cloudflare turns OpenAI's cyber model into an edge patch shop — getting production Python onto the same network closes an obvious gap in the pitch.

The honest caveat is cold starts and package coverage. Pyodide's history is a trail of packages that either would not build for WebAssembly or ran well behind their native versions, and Cloudflare lists better performance and memory efficiency as future work rather than shipped work. General availability is a promise about the platform, not about your dependency tree: if the library you depend on has no WebAssembly build, today changes nothing for you.

What to watch: whether the Python AI stack lands at the edge as fast as the TypeScript one did, and whether a steady stream of PyEmscripten wheels follows the standard rather than the announcement.

Would you move a Python AI service to the edge for the latency, or does the WebAssembly package ceiling keep you on containers? Tell us in the comments.

Read more

Akhetonics says its all-optical CPU reaches a customer in 2026

Akhetonics says its all-optical CPU reaches a customer in 2026

Light-based computing keeps promising more than it delivers — but one Munich startup has just put a date on its bet, and the interview laying it out is doing the rounds on Hacker News this week. Akhetonics says it will deploy its first commercial machine with a major customer by the end of 2026, with several more planned for 2027. The company, founded by Michael Kissner and Leonardo Del Bino, is building a computer where data enters as light, is switched as light, and circulates through memory

The Week in AI — October 5–11, 2026

The Week in AI — October 5–11, 2026

Every big claim this week turned out to rest on fine print more interesting than the headline: revenue only the company reporting it can define, safety tests sandboxed while the product keeps the web, and a Pentagon phase-out nobody would confirm until reporters kept asking. The week's top 5 1. OpenAI's revenue was $20 billion below the numbers everyone quoted — and the gap was definitional. The Financial Times reported Thursday that OpenAI's annualized revenue runs roughly $20 billion unde

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Russia's largest tech company is learning what the AI era's infrastructure war looks like from the receiving end — three data centers in four days, and with them much of the cloud layer Russian businesses run on. A Ukrainian drone strike knocked out Yandex's data center in Vladimir early Sunday morning, the third of the company's facilities hit since October 8. The site — reported at roughly 50 MW and designed for about 2,880 server racks — stopped operating completely after the attack, Yandex

Agent teams cost up to 5x more, barely score higher

Agent teams cost up to 5x more, barely score higher

The multi-agent hype train hit a benchmark this weekend — and the grid and the trucking regulators had quiet weeks of their own. Vals AI put agent teams head-to-head with single agents on its Vibe Code Bench, and the teams cost between 1.8 and 5.1 times more for almost no extra quality. The evals company ran GPT-6 Sol and Claude Opus 5.5 solo and in teams across 50 apps at two reasoning efforts; out of four comparisons, only one was statistically significant — Sol at medium effort, where the t