gptme

gptme

โ˜… 3.8 ๐Ÿ”– 1200 saves ๐Ÿ’ฐ Free Code AssistantGitHub

gptme is a free, open-source personal AI agent that lives in your terminal. It gives a language model real local tools โ€” a shell, Python, file editing, web browsing and vision โ€” so it can write code, run commands and carry out multi-step knowledge work on your own machine.

Overview

First released in spring 2023, gptme is one of the earliest agent CLIs and is still in very active development. It is provider-agnostic and local-first: it works with Anthropic, OpenAI, Google, DeepSeek and other hosted models, through aggregators such as OpenRouter, with an existing ChatGPT or Grok subscription, or fully locally via Ollama and any OpenAI-compatible server. Beyond the classic CLI it now ships a terminal UI, a web UI with a REST API server, and a desktop app. Its extensibility system layers plugins, skills, contextual lessons and hooks, and a cross-harness memory store lets gptme share persistent memory with other agent tools. It speaks MCP and ACP for tool and harness interoperability, supports autonomous and headless operation (including scheduled agents under systemd), and includes guardrails for unattended runs. gptme is MIT-licensed, has more than 4,400 stars on GitHub, and was under active development in 2026 with frequent releases.

Key Features

  • Terminal agent with shell, Python, file and browser tools
  • Provider-agnostic: hosted APIs, subscriptions or fully local models
  • Vision, screenshots and optional computer-use capabilities
  • Plugins, skills, lessons and hooks for customization
  • Persistent cross-harness memory shared with other agent tools
  • MCP and ACP support, headless and autonomous modes

๐Ÿ’ณ Pricing

Free. gptme is open source under the MIT license; you only pay for any hosted model APIs you choose to connect.

Who Is It For

Developers and power users who want a capable, hackable coding and general-purpose agent that runs anywhere a terminal runs โ€” laptop, SSH session, tmux or CI โ€” without giving up control of their models or data.

๐Ÿš€ Visit gptme Official Site

๐Ÿšฉ Report an issue