AgentPantheon
gptme logo

gptme基于终端的开源代理,能以文字、命令、浏览网页及处理图像为代理生成代码,运行命令并管理图像内容。

4.5 (6)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

gptme 是一个命令行 AI 助手,驻留在你的终端,充当实操式编码和自动化代理。它可以读取和编辑文件、执行 shell 命令、运行 Python 代码片段、获取并浏览网页、处理图片,适用于从快速脚本到长时间开发会话的各种场景。 与托管聊天工具不同,gptme 在本地运行,并支持多种模型后端,包括 OpenAI、Anthropic 以及通过 Ollama 或其他提供商的本地模型。对话以纯文本文件形式存储,您可以恢复、编辑或共享,而工具使用则在您已在使用的同一终端中透明地进行。 它面向希望获得可脚本化、透明替代方案的开发者,替代封闭式编码助手,并具备扩展工具、从其他命令管道输入以及将其集成到现有工作流中的灵活性。

主要功能

  • 执行shell和Python命令
  • 在工作目录支持读写文件
  • 支持网页浏览和页面获取
  • 具有视觉支持功能,对图像输入起作用
  • 可以切换多种模型后端(OpenAI、 Anthropic、局域网)
  • 持久存储会话历史记录为文本文件

价格

模型
Free
评分
4.5 / 5 (6)

使用场景

从终端中自动化编码任务

使用gptme来读取、编辑和重构工作目录中的文件,同时运行shell或Python命令,将整个开发循环都进行在终端中。

使用局域网模型运行私有代理

将gptme与Ollama或其他本地后台结合来获得一个手动操作的助手,它执行命令编辑代码而不需要发送数据到公共网络的服务商中。

编写可重复的智能工作流程

将gptme嵌入到现有shell脚本和管道中,可以自动化网页获取、文件处理或图像分析,会话历史记录以可编辑的文本文件的形式保存下来。

开发会话的恢复和分享

如果会话历史记录以可编辑的文本文件保存,则用户可以暂停长期开发session,调整上下文或将此会话历史记录与同事共享

优点 & 缺点

优点

  • 完全在终端中运行,需要极少的配置
  • 支持多家的服务供应商,包括本地供应商
  • 透明的工具使用可以被检查和控制
  • 开源,可嵌入到您的现有工作流程中

缺点

  • 命令行UI需要一定的学习成本
  • 功能取决于您选择的模型
  • UI不如商业版AI开发人员助手那么完善

评测

4.5

6 个评分的平均值。

5
3
4
3
3
0
2
0
1
0

登录以留下评测。

C

Carlos Mendoza

May 18, 2026

Compared a few options

Evaluated this against two competitors. Where it wins: file reading and editing in the working directory and supports multiple model providers, including local ones. Where it lags: command-line interface has a learning curve. On balance the feature set — especially shell and Python command execution — justifies the 4 stars for our use case.

L

Leila Hassan

Mar 8, 2026

Does the job

Pretty happy overall. File reading and editing in the working directory just works and runs entirely in the terminal with minimal setup. Command-line interface has a learning curve can be annoying, but no dealbreakers — I'd recommend it to a friend without hesitating.

W

Wei Chen

Feb 8, 2026

Use it every day

Honestly didn't expect to like it this much. Vision support for image inputs is exactly what I needed, and transparent tool use you can inspect and control. but I reach for it almost every day now and it just clicks.

O

Omar Haddad

Nov 16, 2025

Skeptical, then convinced

I went in skeptical — most tools in this space overpromise. It actually delivers on pluggable model backends (OpenAI, Anthropic, local), and transparent tool use you can inspect and control caught me off guard. still, I'd recommend giving it a real trial.

T

Tariq Aziz

Jul 19, 2025

Years in this space

I've evaluated a lot of these over the years. What stands out here is persistent, file-based conversation history — handled better than most — and runs entirely in the terminal with minimal setup. Worth the time if this is your use case.

C

Camille Laurent

Jun 11, 2025

Years in this space

I've evaluated a lot of these over the years. What stands out here is persistent, file-based conversation history — handled better than most — and transparent tool use you can inspect and control. Command-line interface has a learning curve is my one real gripe. Worth the time if this is your use case.

问答

暂无问题 — 来当第一个提问的人吧。

提问

AI Agents Frameworks 的替代品