qmetrics.net

LLM

Command-line and Python toolkit for many language models

LLM screenshot

LLM runs prompts and chats from the terminal, logs to SQLite, and supports embeddings, tools, schemas, and plugins for many providers.

Overview

LLM is a command-line utility and Python library for working with large language models from a terminal environment. It can call remote APIs from vendors such as OpenAI, Anthropic, Google Gemini, and others, and supports plugins for local runtimes including Ollama.

Core workflows include one-shot prompts, interactive chat sessions, piping files into prompts, attaching images and other media, and continuing prior conversations. Responses and metadata can be stored in a local SQLite database for search, backup, and later review.

Beyond basic chat, LLM exposes embeddings, similarity search, structured extraction via JSON schemas, reusable templates and fragments, and tool execution so models can run approved commands in the shell. Plugins extend available models, embeddings, tools, and template loaders without changing the core CLI.

Installation is via pip, pipx, uv, or Homebrew, with optional uvx runs against OpenAI-compatible endpoints without a full install. API keys can be saved locally, passed per invocation, or supplied through environment variables.

Key features

  • Terminal prompts and interactive chat
  • SQLite logging of prompts and replies
  • Embeddings and similarity search
  • JSON schema structured extraction
  • Tool execution from the shell
  • Templates, fragments, and aliases
  • Plugin ecosystem for models and tools
  • Python API alongside the CLI

Use cases

  • Quick terminal experiments with many models
  • Scripting LLM calls in shell pipelines
  • Local models through Ollama plugins
  • Extracting structured data from text
  • Building searchable prompt history

Tags

Similar software

OpenClaw

Open-source personal AI assistant running on your devices and chat apps

Open-source AI assistant that runs on your own computer and answers in chat apps such as WhatsApp, Telegram, Slack and Discord. State, memory and credentials stay on your hardware.

  • Works in 20+ chat channels such as WhatsApp, Telegram, Slack and Discord
  • Native apps for macOS, iOS, Android, Windows and Linux
  • Gateway control plane with Control UI, CLI and TUI
TypeScriptLinux, macOS, Windows, AndroidDetails →
★ 395.6k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Enterprise+7

Hermes Agent

Self-improving open-source AI agent with memory, skills and messaging gateway

Open-source AI agent from Nous Research that keeps persistent memory, creates skills from experience, and runs from a terminal, desktop app or messaging platforms with any model provider.

  • Persistent memory and cross-session search
  • Autonomous skill creation and self-improvement
  • Terminal UI and desktop app
PythonWeb, Linux, macOS, WindowsDetails →
★ 268.2k⟳ todayMIT
Open Source Alternative to:ChatGPTChatGPT Plus+5

NextChat

Cross-platform AI chat client with local data

NextChat is a lightweight assistant UI for Claude, DeepSeek, GPT, and Gemini, on web and desktop with browser-local storage.

  • Multi-provider LLM chat UI
  • Browser-local conversation storage
  • Markdown, Mermaid, and code rendering
TypeScriptWeb, Linux, macOS, WindowsDetails →
★ 89k⟳ 1 month agoMIT
Open Source Alternative to:ChatGPTChatGPT Enterprise+4

GPT4All

Desktop app for running LLMs privately on local hardware

GPT4All is a desktop chat application that runs large language models locally on everyday computers, with no API calls or GPU required. It also offers a Python client and an OpenAI-compatible API server.

  • Runs LLMs locally, no GPU required
  • Private chat with your own files via LocalDocs
  • Vulkan GPU inference on NVIDIA and AMD
C++Linux, macOS, WindowsDetails →
★ 77.3k⟳ 1 year agoMIT
AI Interaction & InterfacesNo commits in 18+ monthsDesktop/CLI app
Open Source Alternative to:ChatGPTChatGPT Plus+4

GPT Academic

LLM web interface optimized for academic writing tasks

GPT Academic provides a browser-based interface to GPT, GLM, and other large language models with plugins for polishing, translating, and analyzing papers and code. It supports many commercial and local model backends.

  • Modular function plugins
  • LaTeX and PDF paper tools
  • Multi-model parallel queries
PythonLinux, macOS, Windows, DockerDetails →
★ 71.8k⟳ 10 months agoGPL-3.0

AnythingLLM

All-in-one private AI app for chatting with documents and running agents

AnythingLLM is an AI application for chatting with your documents and using AI agents, connecting to local or cloud LLMs. It runs as a desktop app or a self-hosted multi-user Docker deployment.

  • Chat with documents with source citations
  • No-code agent builder and custom agent skills
  • MCP compatibility
JavaScriptLinux, macOS, Windows, AndroidDetails →
★ 68.9k⟳ 9 days agoMIT
Open Source Alternative to:ChatGPTChatGPT Plus+8