AIToday
Large Language ModelsSimon Willison's WeblogPublished: Dec 6, 2026, 10:01 JST

datasette-llm 0.2a0 adds `datasette llm` sub-command

Send on LINE

3 Key Points

  1. What happened

    datasette-llm 0.2a0 adds a `datasette llm` sub-command to Datasette that makes all of the standard LLM commands available, so an API key can now be set with `datasette llm keys set openai`.

  2. Why it matters

    Users no longer have to invoke LLM directly to configure a key; the same standard LLM commands are now available from inside Datasette through this sub-command.

WHO IT HITSPeople who install Datasette Agent and want to configure an API key can do so through Datasette itself rather than needing a separate LLM command, based on the plugin's described behavior.

Ask AI

Ask the AI about this article. Questions and answers are published on this page

Context & Analysis

Datasette Agent always pulls in the datasette-llm dependency, and datasette-llm itself pulls in LLM, so the LLM tooling is present whenever the agent is installed. Previously, configuring things meant using LLM directly, which could be awkward for people who installed Datasette through certain routes. The 0.2a0 release addresses that by adding a `datasette llm` sub-command that makes all of the standard LLM commands available from within Datasette, so an API key can be configured with `datasette llm keys set openai`.

FAQ
How do I set an OpenAI API key with datasette-llm 0.2a0?
You can run `datasette llm keys set openai` through the new `datasette llm` sub-command, then paste the key.
Why does installing Datasette Agent bring in LLM?
Datasette Agent always pulls in the datasette-llm dependency, which itself pulls in LLM.
Simon Willison's WeblogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Related Articles

Next articleOpenAI's dots agent opens to ChatGPT Plus at ¥3,000