← All news

datasette-llm 0.2a0 adds a datasette llm command for API keys

Simon Willison

A new alpha release of datasette-llm adds a datasette llm sub-command that exposes the standard LLM commands through Datasette. Users can now set API keys directly with datasette llm keys set, without needing LLM on their PATH.

Source: simonwillison.net ↗ · By CapyLaunch

MakerSimon Willison
Versiondatasette-llm 0.2a0 (alpha)
Date5th December 2026
Dependency noteDatasette Agent always pulls in datasette-llm, which pulls in LLM

datasette-llm 0.2a0 is a new alpha release of an LLM integration plugin for other Datasette plugins to depend on. It adds a datasette llm sub-command that makes the standard LLM commands available through Datasette.

The new datasette llm sub-command exposes the standard LLM commands inside Datasette. For example, a user can run datasette llm keys set openai and paste their key.

Previously, users who installed Datasette with Homebrew or uv tool install had no LLM on their PATH, so they had to install LLM separately to manage API keys. Now they can manage keys through Datasette itself.

For builders: If you install Datasette via Homebrew or uv tool, you can now manage LLM API keys through Datasette itself instead of a separate LLM install.

For: Developers and users who install Datasette, including through Homebrew or uv tool, and want to manage LLM API keys without a separate LLM install.

Try:

https://simonwillison.net/2026/Dec/5/datasette-llm/

What does the new release add?

A datasette llm sub-command that makes all of the standard LLM commands available through Datasette.

How do I set an API key with this release?

Run datasette llm keys set openai and paste your key when prompted.

Why was this change needed?

If Datasette was installed with Homebrew or uv tool install datasette followed by the plugin, LLM was not on the PATH, so users previously had to use LLM directly to set keys.

All 36 Developer tools stories →

Spotted a mistake? Email hello@capylaunch.com and we will correct it. How we make CapyLaunch TLDR News.

Get CapyLaunch Weekly

New indie launches and the week in AI tools and models, every Monday. Free, and you can unsubscribe anytime.

We send a confirm link first. Privacy