My LLM CLI tool can run tools now, from Python code or plugins logo

My LLM CLI tool can run tools now, from Python code or plugins

LLM 0.26 is out with the biggest new feature since I started the project: support for tools.

toolDetailPage.fastFactsTitle

定價
付費
9
瀏覽
0
收藏
分類
其他
toolDetailPage.categoryRankLabel
toolDetailPage.categoryRankValue
收錄時間
Nov 2025
官方網址
simonwillison.net

工具概览

概览

My LLM CLI tool can run tools now, from Python code or plugins, giving developers a powerful way to connect large language models to real-world workflows directly from the command line. Instead of treating the LLM as a static text generator, you can expose Python functions, scripts, or external services as callable tools that the model can invoke with structured arguments and inspectable results. The CLI lets you define tools in plain Python or load them dynamically via plugins, then orchestrate conversations where the model decides which tools to call and in what order. This enables dynamic automation: fetching data from APIs, querying databases, transforming files, or triggering CI/CD pipelines, all driven by natural language prompts. You retain full control over execution, logging, and safety boundaries while the LLM handles reasoning and orchestration. Designed with hackers and power users in mind, the tool fits into existing terminal-centric workflows. It plays well with environment variables, shell scripts, and version control, making it easy to prototype, debug, and share AI-powered utilities. Whether you’re exploring agent-style interactions, building internal developer tools, or experimenting with function calling standards, this CLI gives you a transparent, debuggable, and extensible foundation for tool-using LLMs.

功能特點

  • 命令行驅動的大模型編排
  • 直接把 Python 函數暴露為工具
  • 插件機制靈活擴展新能力
  • 結構化工具調用與參數傳遞
  • 完整可追蹤的日誌與調試支持
  • 可配置的執行與安全邊界
  • 無縫融入現有 Shell 工作流
  • 開放且易腳本化的整體架構

相關標籤

llm
cli
biggest
feature
since

應用場景

  • 把日常開發流程自動化:讓大模型根據自然語言指令自主選擇何時運行 Python 腳本、調用 API 或批量處理文件。

  • 快速搭建類似“智能代理”的原型:按需串聯多個工具,先拉取數據,再分析、彙總並生成報告或執行後續操作。

  • 為團隊定製命令行 AI 助手:理解項目上下文,安全地調用項目專用腳本、運維命令或部署工具。

  • 構建可復現的 AI 數據流水線:將大模型推理與腳本化數據清洗、轉換及外部系統集成組合在一起。

  • 把該 CLI 當作實驗與調試支架:快速迭代工具定義、提示詞設計和函數調用策略,觀察真實調用行為。

常見問題

用戶評論

還沒有評論,來分享你的使用體驗吧