aicoolies logo
gptme logo

gptme

Personal AI agent in your terminal with local tool access

Share
free
Visit Website →

gptme is one of the earliest terminal-based AI agent CLIs, launched in spring 2023. It equips a personal AI agent with local tools to run shell commands, write and edit code, browse the web via Playwright, and use vision capabilities. Supports MCP integration and an extensible plugin system for building persistent autonomous agents. The Bob reference agent is documented as having run extensively as an autonomous agent.

We have a review for this tool

A detailed review by the aicoolies team — click to read

gptme is a free and open-source terminal AI agent that combines shell command execution, code writing, file editing, web browsing, and vision capabilities in a single interactive or autonomous workflow. Originally created in 2023 as one of the earliest terminal-based AI coding agents, it provides an unconstrained local alternative to Claude Code, Codex, and Cursor agents with full control over which LLM provider and model to use. The tool runs as a Python CLI that accepts natural language instructions, translates them into tool calls, and executes them locally with real-time streaming output. MCP discovery and dynamic loading allows gptme to connect to databases, APIs, and any MCP-compatible service.

Beyond interactive use, gptme is designed for persistent autonomous operation where AI agents run continuously across sessions. The public Bob reference agent and gptme-agent-template demonstrate autonomous run loops, enhanced context generation, background jobs, and workflows such as monitoring repositories, opening pull requests, reviewing code, and reacting to CI failures. The capability is best treated as an extensible agent framework that still needs human-designed guardrails, budgets, and review gates.

Licensed under MIT with 4.3K+ GitHub stars, gptme remains actively maintained even though the latest tagged GitHub release is v0.31.0 from December 2025. Recent project materials emphasize background jobs, form tools, cost tracking, content-addressable storage, plugin support, context compression, MCP discovery, and the gptme-agent-template for bootstrapping custom autonomous agents. The Python codebase is available on PyPI and supports major hosted providers plus local OpenAI-compatible or llama.cpp-style backends.

Pricing

Free and open source, cloud service available

Platforms

macOS, Linux, Windows (WSL) — Python CLI

Categories

Tags

Use Cases

Alternatives

Related Tools

Ghostty logo

Ghostty

Top Pick

Fast, native terminal emulator

GPU-accelerated terminal emulator written in Zig by Mitchell Hashimoto (HashiCorp co-founder). Native UI rendering on macOS and Linux. Supports ligatures, true color, Kitty graphics protocol, and splits/tabs. Configurable via a simple key-value file with sensible defaults. Open-source with 20K+ GitHub stars and a focus on correctness, speed, and minimal resource usage. Growing as a modern alternative to iTerm2, Alacritty, and WezTerm.

open-sourceOpen Source
Claude Code logo

Claude Code

Top Pick

Anthropic's agentic coding CLI

Anthropic's agentic CLI coding tool that delegates complex tasks to Claude directly from the terminal. Understands entire codebases via automatic context gathering, edits multiple files, runs shell commands, and manages Git workflows autonomously. Supports CLAUDE.md for persistent project instructions, integrates with VS Code and JetBrains, and uses Claude Opus/Sonnet with extended thinking for complex architectural decisions. Built for terminal-first developers.

paidOpen Source
Hermes Agent logo

Hermes Agent

Top Pick

Open-source AI agent framework with persistent memory, reusable skills, tools, and messaging gateways

Hermes Agent is an open-source AI agent framework with persistent memory, reusable skills, 40+ tools, cron jobs, and messaging gateways.

open-sourceOpen Source
pi dev code

Pi

Top Pick

Minimal terminal coding harness

Pi Coding Agent is an MIT-licensed Node.js CLI from earendil-works for building and running coding agents in a local terminal. The current package describes a read/bash/edit/write toolset and session management, while the repo positions Pi as a unified LLM API, agent loop, TUI, and coding-agent CLI. It is best framed as a lean, self-extensible BYO-model toolkit rather than a managed IDE.

open-sourceOpen Source
OpenCode logo

OpenCode

Top Pick

Open-source AI coding agent for the terminal

Open-source terminal-based AI coding agent built in Go by the SST team, with a rich TUI (Bubble Tea) supporting 75+ model providers including OpenAI, Anthropic, Gemini, Bedrock, Groq, and OpenRouter. Features vim-like editing, persistent SQLite sessions, and LSP integration for 40+ languages. Fully free with no vendor lock-in, it has rapidly grown to 95k+ GitHub stars.

open-source
Codex logo

Codex

Top Pick

OpenAI coding agent for app, editor, terminal, and cloud work

Codex is OpenAI's coding agent for software development across the Codex app, editor, terminal, and cloud tasks. It helps write, review, debug, refactor, and automate code, with ChatGPT plan access for managed surfaces and API-key usage for CLI, SDK, and IDE workflows. The open-source CLI and SDK support local repository work, while cloud features add GitHub review, Slack/Linear integrations, worktrees, skills, MCP, and automations.

freemiumOpen Source

Comparisons

gptme vs Claude Code — Open-Source Flexibility vs Enterprise AI Agent Power

gptme and Claude Code both operate as terminal-first AI coding agents that write code, execute shell commands, and manage files through natural language instructions. gptme is an MIT-licensed open-source project supporting any LLM provider with persistent autonomous agent capabilities and 4,300+ GitHub stars. Claude Code is Anthropic's commercial agent with a 1M token context window, SWE-bench scores above 80%, and deep git integration for enterprise development workflows.