📖 The AI Tool Bible

LLM by Datasette

A CLI and Python library for running prompts against any LLM provider and logging everything to SQLite.

Free· Free and open source (Apache 2.0); pay underlying model providers separatelyCodingMulti-model7.2 / 10
Visit website →
Best for

Pick LLM by Datasette if you live in the terminal and want one scriptable, vendor-neutral interface to every major model with a permanent SQLite log.

Skip if

Skip it if you want a polished chat UI, team collaboration features, or a managed service that hides API keys and billing.

LLM is Simon Willison's open-source command-line tool and Python library for talking to large language models from a terminal. Out of the box it speaks to OpenAI, Anthropic, Google Gemini, Meta Llama and dozens of other providers through a plugin system, and it stores every prompt and response in a local SQLite database that you can query with Datasette. It supports multi-modal inputs (text, images, audio, video), schema-based structured extraction, tool use, embeddings, fragments and templates, and interactive chat sessions.

It is aimed at developers, researchers and power users who want a single, scriptable interface to many models without committing to one vendor's SDK. Pricing is free under Apache 2.0 — you only pay the underlying model providers, and you can run entirely offline against local models via the Ollama or llama.cpp plugins. The CLI composes well with Unix pipes, which makes it a favourite for shell-based pipelines, batch evaluations and ad-hoc data extraction work.

The plugin ecosystem is the real differentiator: community plugins add new model backends, embedding stores, tool integrations and output formatters, and the SQLite log doubles as a queryable history you can mine later. The trade-off is that it is a developer tool — there is no GUI, no hosted service, and no team features.

Editor's take

This is the swiss-army knife the CLI-native crowd reaches for. Simon Willison's plugin discipline keeps it ahead of the model churn, and the SQLite log alone justifies the install for anyone running evals or doing data work. Not for non-developers, but unbeatable for those who are.

— The AI Tool Bible editorial team

Pros

  • One CLI for OpenAI, Anthropic, Gemini, Llama and local models via plugins
  • Every prompt and response logged to queryable SQLite
  • Composes well with Unix pipes for scripting and batch jobs
  • Apache-2.0 open source with an active plugin ecosystem
  • Supports multi-modal input, schemas, embeddings and tool use

Cons

  • ⚠️ Command-line only — no GUI or hosted dashboard
  • ⚠️ Requires bringing your own API keys and managing provider costs
  • ⚠️ Learning curve for plugin install and template syntax

Use cases

cli-promptingprompt-loggingembeddingsstructured-extractionlocal-modelstool-use

Explore related

Compare with similar tools

All in Coding

Cursor

Featured
Coding · Claude / GPT (configurable)
9.5

AI-first VS Code fork — chat, edit, and agentic coding in one IDE.

Freemium· Free hobby; Pro $20/mo; Business $40/mocodingrefactors

GitHub Copilot

Featured
Coding · GPT / Claude / OpenAI o-series (configurable)
9.1

The original AI pair programmer, now with chat and agents.

Paid· Free for individuals; $10/mo Pro; $19/mo Businessautocompletechat

Replit Agent

Featured
Coding · Multi-model (Claude / GPT configurable)
8.7

Build & deploy a full app from a single prompt.

Freemium· Free credits; Core $20/mo; Teams $35/moprototypesinternal tools

Warp

Coding · Multi-model: OpenAI, Anthropic Claude, Amazon Bedrock, plus BYO via OpenRouter and LiteLLM
8.8

The agentic development environment, from the terminal up

Freemium· Free / Build $20 per mo ($18 annual) / Max $200 per mo ($180 annual) / Business $50 per user/mo ($45 annual, up to 25 seats) / Enterprise customAgentic debugging of failing builds and testsNatural-language shell command generation

Cline

Coding · Model-agnostic: Claude (Anthropic), GPT (OpenAI), Gemini (Google), DeepSeek, Grok, Mistral, Cerebras, plus local Ollama/LM Studio
8.7

Open-source agentic coding assistant that plans, edits, and runs code inside your IDE

Freemium· Open Source: free (BYOK or pay model inference at cost via ClinePass) / Enterprise: custom pricing (contact sales for SSO, SLA, RBAC, team management)Multi-file feature scaffoldingLarge-scale refactors

Aider

Coding · BYO (Claude / GPT-4 / Gemini / DeepSeek)
8.4

Terminal-based AI pair programmer that writes commits.

Free· Free / open-source; you pay the underlying LLM API costsCLIgit workflow