aiagent.club
English
GitHub

llm

AI Agent 指数 第 152(共 964)

25 综合分
真实使用
动量
19
关注度
76

项目介绍

A CLI tool and Python library for interacting with OpenAI, Anthropic’s Claude, Google’s Gemini, Meta’s Llama and dozens of other Large Language Models, both via remote APIs and with models that can be installed and run on your own machine.

Watch Language models on the command-line on YouTube for a demo or read the accompanying detailed notes.

First, install LLM using pip or Homebrew or pipx or uv:

If you have an OpenAI API key key you can run this:

Run prompts against Gemini or Anthropic with their respective plugins:

You can also install a plugin to access models that can run on your local device. If you use Ollama:

To start an interactive chat with a model, use llm chat:

各数据源

12.2k Star
  • Star 12.2k
  • Fork 923
  • 提交 1.1k
  • 发布 64