Simon Willison

Cloudflare Python Workers are now generally available

Cloudflare Python Workers are now generally available After a two year preview, Cloudflare's support for running Python code in their server-side Workers platform is now stable: "Python is now a first-class, fully supported language on the Cloudflare Developer Platform". A neat thing about this is how it works.

Simon Willison
Aug 25

EVE Online: The Move to Python 3 Begins!

EVE Online is beginning its transition to Python 3, a move that will involve using the futurize script on 2.4 million lines of code and a manual review of about 20,000 differences between Python 2 and Python 3. The company has historically run on Stackless Python since 2003, with the last major upgrade in 2010 to Stackless Python 2.7. While the announcement does not detail how Stackless will be replaced, the team previously showcased a shift away from Stackless in their Carbon engine for EVE Frontier, leveraging the open‑source carbonengine/scheduler library.

arXiv AI
Aug 20

Flama: a Python framework for development and deployment of production-ready APIs, machine learning, and LLM services

Flama is an open‑source Python framework that unifies the development and deployment of production‑ready web APIs, machine‑learning services, and large‑language‑model (LLM) applications. Built on ASGI, it offers an async‑first, type‑driven programming model with seven subsystems—including dependency injection, a pluggable schema layer, automatic CRUD generation, a portable binary model format, a multi‑backend LLM server, a Rust‑accelerated core, and a Model Context Protocol module. The framework also provides built‑in JWT authentication, pagination, background tasks, WebSocket and streaming support, OpenAPI generation, and a CLI for running, packaging, and inspecting models.

By Jos\'e A. Perdiguero L\'opez, Miguel A. Dur\'an-Olivencia
Simon Willison
Aug 24

llm-anthropic 0.27

The release of llm‑anthropic 0.27 updates the Anthropic plugin for LLM to be compatible with the newly released anthropic v1.0.0 Python library, which has switched from httpx to httpx2. This mirrors a similar change made by OpenAI in their v3.0.0 release two weeks prior. The update includes a migration guide and a pull request that ensures tests pass after upgrading to anthropic>=1.

Simon Willison
Sep 10

Any Nix package, live in your browser

Farid Zakaria’s trynix.dev lets users run any Nix package from the past 13 years inside a browser‑based x86_64 Linux VM powered by QEMU‑WASM. By providing URL‑addressable packages, a user can simply navigate to a link such as https://trynix.dev/?pkg=python3%403.6.2, click "Load," and obtain an interactive shell running that specific package. The platform is also integrated with GitHub Actions, enabling pull‑request reviews that launch the PR’s build directly in the browser via trynix-preview.

arXiv AI
Jun 3

Agent libOS: A Library-OS-Inspired Runtime for Long-Running, Capability-Controlled LLM Agents

arXiv:2606. 03895v1 Announce Type: cross Abstract: Large language model (LLM) agents are evolving from request-response assistants into long-running software actors: they maintain state across model calls, fork subtasks, wait for external events, request human authority, generate tools, and perform side effects that must be resumed and audited.

By Yingqi Zhang
Simon Willison
Sep 1

Python 3.15.0 candidate 2 is here!

Python 3.15.0 candidate 2 has been released, marking the final release candidate for the upcoming 3.15 release scheduled for October. Hugo van Kemenade, the release manager, notes that only clear bug‑fix changes are allowed between this candidate and the final release, and urges third‑party maintainers to prepare wheels on PyPI and test their projects during this phase. The new RC is not yet available for GitHub Actions, but users can add it to their testing matrix using the allow‑prereleases and check‑latest flags to automatically test against the latest RC and then the stable release.

Hugging Face Trending Papers
Jun 2

Agent libOS: A Library-OS-Inspired Runtime for Long-Running, Capability-Controlled LLM Agents

Large language model (LLM) agents are evolving from request-response assistants into long-running software actors: they maintain state across model calls, fork subtasks, wait for external events, request human authority, generate tools, and perform side effects that must be resumed and audited. This paper presents Agent libOS, a library-OS-inspired runtime substrate for LLM agents.

Simon Willison
Sep 11

Don't sleep on wrapture

Graham Dumpleton’s new monkey‑patching library, wrapture, offers a versatile toolkit for Python developers, combining testing utilities, observability, and live tracing. It supports a wide range of use cases—from unit testing and call recording to phased behavior changes and zero‑code tracing via TOML configuration. The library also includes instrumentation for popular frameworks and services, OpenTelemetry export, and interactive JupyterLab workshops, making it a potentially indispensable Swiss‑Army‑knife for Python projects.