From 7132d33491b6cc6ffa86f7194aa3fcde8c6361a6 Mon Sep 17 00:00:00 2001 From: GAP Promoter Date: Sat, 30 May 2026 14:54:39 +0000 Subject: [PATCH] Add simonw/llm to the registry --- agents/simonw__llm/README.md | 50 ++++++++++++++++++++++++++++++++ agents/simonw__llm/metadata.json | 13 +++++++++ 2 files changed, 63 insertions(+) create mode 100644 agents/simonw__llm/README.md create mode 100644 agents/simonw__llm/metadata.json diff --git a/agents/simonw__llm/README.md b/agents/simonw__llm/README.md new file mode 100644 index 0000000..7cd1d6b --- /dev/null +++ b/agents/simonw__llm/README.md @@ -0,0 +1,50 @@ +# LLM + +**LLM** is a CLI tool and Python library by [Simon Willison](https://github.com/simonw) for running prompts, chatting, and working with Large Language Models — all from a single, consistent interface. + +## What it does + +- **Run prompts** from the command-line against any supported model: + ```bash + llm "Explain the CAP theorem in plain English" + llm -m claude-4-opus "Review this PR" < diff.txt + ``` +- **Multi-turn chat** sessions: + ```bash + llm chat -m gemini-2.0-flash + ``` +- **Tool use** — register Python functions and let the model call them during inference. +- **Structured output** — extract typed JSON with `llm -s "..." --schema '...'`. +- **Embeddings** — generate and store vectors for semantic search. +- **Templates** — save named system prompts: `llm -t my-template`. +- **Plugin system** — extend model support: `llm install llm-anthropic`. +- **Automatic logging** — every prompt/response stored in SQLite, queryable with `llm logs`. + +## Key capabilities + +| Skill | Command | +|-------|---------| +| One-shot prompt | `llm "..."` | +| Interactive chat | `llm chat` | +| Embeddings | `llm embed` | +| Log viewer | `llm logs` | +| Plugin management | `llm install` | +| Key management | `llm keys set ` | + +## Models supported + +Works with OpenAI (gpt-4o, gpt-4o-mini), Anthropic Claude (via plugin), Google Gemini (via plugin), local models via Ollama, llama.cpp, MLX, and dozens more through the plugin ecosystem. + +## Install + +```bash +pip install llm +# or +brew install llm +``` + +## Links + +- 📦 PyPI: https://pypi.org/project/llm/ +- 📖 Docs: https://llm.datasette.io +- 🐙 GitHub: https://github.com/simonw/llm diff --git a/agents/simonw__llm/metadata.json b/agents/simonw__llm/metadata.json new file mode 100644 index 0000000..039344d --- /dev/null +++ b/agents/simonw__llm/metadata.json @@ -0,0 +1,13 @@ +{ + "name": "llm", + "author": "simonw", + "description": "CLI tool and Python library to run prompts, chat, embed, use tools and extract schemas across OpenAI, Anthropic, Gemini, Ollama and dozens more LLMs.", + "repository": "https://github.com/simonw/llm", + "version": "0.32.0", + "category": "developer-tools", + "tags": ["cli", "llm", "openai", "anthropic", "gemini", "ollama", "embeddings", "tools", "python"], + "license": "Apache-2.0", + "model": "openai:gpt-4o-mini", + "adapters": ["system-prompt", "claude-code"], + "icon": false +}