Skip to content

gptme

Terminal AI agent that works with any model provider, for developers and knowledge workers

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

65

Health

Active

Overview

Stars

4,492

Last commit

today

Nov 2026

Repository age

3 years

since Mar 2023

Latest version

v0.37.0

Nov 2026

Contributors

–

6 active in 90 days

Releases

5

last 12 months

Language

Python

gptme is a personal AI agent written in Python that runs wherever a terminal does: your laptop, SSH sessions, tmux, headless servers and CI pipelines. It ships with tools for shell commands, Python, web browsing and vision, so the agent can write code, run it and act on the results.

It is not tied to one vendor. You can use Anthropic, OpenAI, Google, DeepSeek or OpenRouter, sign in with an existing ChatGPT subscription, or run fully local through Ollama or any OpenAI-compatible server. Beyond the CLI, it has a Textual-based terminal UI, a web UI, and a desktop app for Linux, macOS and Windows. It supports MCP and ACP, plugins, skills and a lessons system, and can run sandboxed Python and shell execution through Docker or Wasmtime.

It is MIT licensed and has been developed since 2023. It is a direct alternative to Claude Code for people who want to choose their own models and keep data local. It also handles general knowledge work, not only coding.

Who it's for

Developers who want to switch models freely

It works with several hosted providers and local models, so you are not locked to one vendor.

Skip if: You want official IDE extensions or hosted background agents.

Engineers running agents on servers or in CI

It runs headless in a terminal, over SSH or in pipelines, with a service mode for headless agents.

Skip if: You only work inside a graphical editor and never use a terminal.

Privacy-minded users running local models

It can run fully local through Ollama or any OpenAI-compatible server.

Skip if: Your local hardware cannot run models good enough for your tasks.

The problem it solves

Coding agents from model vendors tie you to one provider and one pricing plan. You want an agent that runs in your terminal, works with the models you choose, and keeps your data on your machine if needed.

Strengths

  • Works with Anthropic, OpenAI, Google, DeepSeek, OpenRouter and local Ollama models
  • Built-in shell, Python, web and vision tools
  • Supports MCP and ACP integrations plus plugins and skills
  • Sandboxed execution through Docker or Wasmtime
  • MIT license; terminal UI, web UI and desktop app available

Trade-offs

  • No hosted cloud background agents
  • No automated pull request code review
  • No official IDE extensions
  • Small core team, with four contributors in the last 90 days

gptme replaces

In the community

Frequently asked questions

Is gptme free?

Yes. It is MIT licensed. You still pay your model provider if you use a hosted API, unless you run local models.

Can I use local models?

Yes. It works with Ollama and any OpenAI-compatible server, so it can run fully local.

Which platforms does it run on?

It runs anywhere a terminal runs. A desktop app is available for Linux (AppImage), macOS and Windows.

Does it replace Claude Code?

It is a direct alternative for terminal-based agent work. It lacks hosted background agents, automated PR review and official IDE extensions.

Other Claude Code alternatives

Compare all 8 Claude Code alternatives →

Similar tools in AI coding assistants

vibesdk

AI coding assistants

Self-hosted AI app builder that generates and deploys full-stack apps on Cloudflare

5.5k 1.3k 33 days ago Slowing MIT

Replaces Lovable

OpenComputer

AI coding assistants

Self-hostable Slack-driven coding agent that opens pull requests with Claude Code or Codex

1.7k 214 2 days ago Active Apache-2.0

Replaces Devin

sandboxd

AI coding assistants

Self-hosted AI app builder that runs coding agents in isolated Docker sandboxes

1k 74 yesterday Thriving MIT

Replaces Lovable

Builder (heyputer/builder)

AI coding assistants

AI app and website builder with Puter-based hosting, for non-coders

365 108 yesterday Slowing Apache-2.0

Replaces Lovable

useagent

AI coding assistants

Self-hostable workspace that runs coding agents like Claude Code and Codex on tasks

376 84 yesterday Thriving AGPL-3.0

Replaces Devin

Pi-Remote

AI coding assistants

Browser mirror and remote control for live pi terminal coding agent sessions

336 10 yesterday Active MIT