gptmeai
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "gptmeai":https://skillpi.com/zh/skills/deepskill-cd88c29eb93bd29f509ec5cfd47bd1b469e837012f85acb78817992a2bd25dde。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/gptme-terminal-ai-agent-with-local-tools。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
skillhub.cn
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
gptme:开源 Python 框架,可在终端运行基于 LLM 的代理,具备访问 shell 命令、文件编辑、浏览器控制、Python 执行与持久化内存等能力,支持 OpenAI、Anthropic、Google Gemini、Ollama/llama.cpp 本地模型和 OpenRouter,适用于离线或多提供商代理工作流,具备会话持久化与工具代理循环功能。
介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源
SkillPi 解读
- 能完成的任务
- gptme 是一个开源的 Python 框架,可在终端中运行基于 LLM 的代理,具备访问 shell 命令、文件编辑、浏览器控制、Python 执行和持久化内存的功能。它支持 OpenAI、Anthropic、Google Gemini、通过 Ollama 和 llama.cpp 的本地模型以及 OpenRouter,适用于离线、注重隐私或多提供商的代理工作流。专为自主运行而构建,具备会话持久化和原生工具代理循环功能。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: "gptme — 带本地工具的终端AI代理"
slug: "gptme-terminal-ai-agent-with-local-tools"
version: "1.0.0"
displayName: "gptme — 带本地工具的终端AI代理"
summary: "gptme 是一个开源的 Python 框架,可在终端中运行基于 LLM 的代理,具备访问 shell 命令、文件编辑、浏览器控制、Python 执行和持久化内存的功能。它支持 OpenAI、Anthropic、Google Gemini、通过 Ollama 和 llama.cpp 的本地模型以及 OpenRouter,适用于离线、注重隐私或多提供商的代理工作流。专为自主运行而构建,具备会话持久化和原生工具代理循环功能。"
license: "MIT"
description: "gptme 是一个开源的 Python 框架,可在终端中运行基于 LLM 的代理,具备访问 shell 命令、文件编辑、浏览器控制、Python 执行和持久化内存的功能。它支持 OpenAI、Anthropic、Google Gemini、通过 Ollama 和 llama.cpp 的本地模型以及 OpenRouter,适用于离线、注重隐私或多提供商的代理工作流。专为自主运行而构建,具备会话持久化和原生工具代理循环功能。"
github_stars: 4355
verification: "listed"
source: "https://github.com/1991513ccie-png/skills"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 4355gptme — 带本地工具的终端AI代理
gptme is an open-source framework for building and running LLM-powered agents directly in your terminal. It equips agents with real local tools — shell execution, file editing, browser control, Python REPL, and persistent context — and supports multiple model providers out of the box.
Unlike browser-based AI assistants, gptme agents run natively in your environment and can read your files, run commands, browse the web, and persist state across sessions. It is designed for autonomous operation: agents can be left running, pick up work from structured task files, and chain tool calls without per-step human confirmation.
Key Features
- Multi-provider: OpenAI, Anthropic Claude, Google Gemini, OpenRouter, Ollama (local), llama.cpp, and any OpenAI-compatible endpoint
- Rich tool set: Shell (
bash), file read/write/patch, Python REPL, browser automation (Playwright),computer(screenshot + click), RAG over local documents - Persistent sessions: Conversations are stored locally; resume any session by name
- Autonomous loops: Built-in support for long-running unattended agents with structured task management and journaling
- Local-first: Works fully offline with local models; no cloud dependency required
- Extensible: MCP server support, custom tools, skill injection via
gptme.toml
Installation
# Install with pip (minimal)
pip install gptme
# Install with all optional extras (browser, computer, RAG)
pip install 'gptme[browser,computer,rag]'
# Install with uv (recommended for project isolation)
uv tool install gptme
Requires Python 3.10+.
Basic Usage
Because gptme can run shell commands, edit files, control a browser, and persist sessions locally, run it with an explicit operating boundary. Prefer a project sandbox or worktree, review enabled tool permissions before unattended runs, and avoid pointing agents at sensitive directories unless you intend those files to be inspected or modified.
# Start an interactive session
gptme "Write a Python script to list all .md files in the current dir"
# Run non-interactively (for scripting and automation)
gptme --non-interactive "Fix the failing test in tests/test_api.py"
# Use a specific provider / model
gptme -m anthropic/claude-opus-4-5 "Review the PR diff and summarize findings"
# Use a local model via Ollama
OPENAI_API_BASE="http://localhost:11434/v1" gptme -m local/llama3.2 "Hello"
# Resume a named session
gptme --name my-project "Continue where we left off"
Autonomous Agent Setup
gptme ships an agent template for building persistent autonomous agents with task queues, journals, and structured work loops. See gptme-agent-template for the scaffold.
# Install gptme-agent-template to bootstrap a new agent workspace
git clone https://github.com/1991513ccie-png/skills my-agent
cd my-agent
./scripts/fork.sh . MyAgent
gptme "Hello, I am MyAgent. What shall we build today?"
Source
当前收录版本
1.0.0
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 面向开发者的终端AI代理框架,具备完整工具链和自主运行能力
- 支持多模型提供商和本地部署,解决隐私和离线使用痛点
- 提供持久化会话和结构化任务管理,适合长期项目协作
亮点
- 触发词精准覆盖核心功能:终端AI代理、本地工具、多模型支持
- description完整描述了使用场景和技术特性
- 边界清晰,专注于终端环境下的AI代理构建
亮点
- 文档结构完整,包含功能介绍、安装、用法、示例和源码链接
- frontmatter信息完整,包含版本、许可证、分类等元数据
- 提供丰富的代码示例和命令行用法说明
亮点
- 工具来源明确,GitHub开源项目有4355 stars验证
- 安装命令完整,支持pip和uv两种方式
- 包含安全使用提醒和权限控制建议
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 38, 41, 44 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
- gptme.org
- localhost
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。