gptmeai
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "gptmeai" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cd88c29eb93bd29f509ec5cfd47bd1b469e837012f85acb78817992a2bd25dde. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/gptme-terminal-ai-agent-with-local-tools before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
gptme: an open-source Python framework to run LLM-based agents in the terminal, with abilities to access shell commands, edit files, control a browser, execute Python, and use persistent memory. It supports OpenAI, Anthropic, Google Gemini, local models via Ollama and llama.cpp, and OpenRouter, and is intended for offline or multi-provider agent workflows with session persistence and native tool-agent loops.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- 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. ```bash
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
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
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向开发者的终端AI代理框架,具备完整工具链和自主运行能力
- 支持多模型提供商和本地部署,解决隐私和离线使用痛点
- 提供持久化会话和结构化任务管理,适合长期项目协作
Highlights
- 触发词精准覆盖核心功能:终端AI代理、本地工具、多模型支持
- description完整描述了使用场景和技术特性
- 边界清晰,专注于终端环境下的AI代理构建
Highlights
- 文档结构完整,包含功能介绍、安装、用法、示例和源码链接
- frontmatter信息完整,包含版本、许可证、分类等元数据
- 提供丰富的代码示例和命令行用法说明
Highlights
- 工具来源明确,GitHub开源项目有4355 stars验证
- 安装命令完整,支持pip和uv两种方式
- 包含安全使用提醒和权限控制建议
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 38, 41, 44
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- gptme.org
- localhost
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
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. ```bash
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.