gptme
Also known as: gptme.ai, gptme agent, gptme by Superuser Labs
gptme is an MIT licensed AI agent for the terminal from Superuser Labs in Sweden that runs shell and Python, edits files, browses the web, controls the desktop and delegates to subagents, using models from Anthropic, OpenAI, Google, xAI or local servers. It asks before running tools by default, keeps a RAG index and a cross session memory store, exposes a REST API and MCP, and runs autonomous agents on schedules. It is free to install, and gptme.ai hosts it in early access.
gptme is an open source AI agent that runs in the terminal, built by Superuser Labs Lund AB, a small Swedish team that has made open source tools since 2017 and also maintains ActivityWatch. The project is MIT licensed, has about 4,500 GitHub stars and 72 contributors since its first commit in 2023, and installs with pipx or uv.
It works with models from Anthropic, OpenAI, Google, xAI, DeepSeek and others, through OpenRouter, through ChatGPT Plus or Pro and SuperGrok subscriptions, or through local servers such as Ollama, LM Studio and vLLM, picked per session with a model flag. Superuser Labs also runs gptme.ai, a hosted instance of the same agent with the same tools, in early access, with model use billed in usage based credits.
Out of the box the agent reads, writes and patches files, runs a persistent shell and a stateful Python kernel, works with GitHub issues and pull requests, browses the web in Chromium, and controls the desktop with mouse, keyboard and screenshots on X11 or macOS through an experimental computer tool. A subagent tool hands subtasks to separate agent instances that can report progress or ask the parent for details, a tmux tool keeps long running processes alive, and MCP servers, plugins and custom tools add more.
A RAG tool indexes documentation, codebases and past conversations per project, a memory tool saves entries to Markdown stores at project, agent and user level that load at the start of each session, and five installable skills, from a Home Assistant reader to a code review workflow, sit in a gallery. Interfaces include the CLI, a terminal UI, a web UI, desktop and Android apps, editor integration over ACP and a REST server with an OpenAPI spec and token authentication.
By default gptme asks before it runs a tool, approving only read only shell commands such as ls and cat on its own, and a setting adds confirmation for sensitive computer actions. Tool allowlists and profiles limit what an agent may load, an enforce mode blocks clearly destructive commands and reads of secret paths, and an operating system sandbox for the shell and Python tools is available but still young.
Autonomous agents built on the gptme agent template run on systemd or launchd schedules, every 30 minutes by default, or in loops that react to GitHub activity and incoming email, keeping a git tracked workspace, a task queue and a journal of each run. Bob, an agent built on gptme since late 2024, has run on its own since September 2025, and an evaluation command scores models on built in task suites with pass or fail results and runs SWE-Bench.
gptme is free to install and run, with model costs paid to the chosen provider or nothing at all for local models, and gptme.ai bills hosted model use in usage based credits. Its users are developers and tinkerers who want a hackable terminal agent they can point at any model and leave running on their own machines. It has no accounts, roles or compliance program for companies, and gptme.ai runs the agent in a separate environment, away from a user's own files and credentials, with GitHub repositories connected for it to clone.
Vendor details
Canonical URL
https://gptme.org/
Category
Coding agent
Subcategory
Open source terminal agent
Funding status
Built by Superuser Labs Lund AB, a small open source team in Sweden that also maintains ActivityWatch.
Company status
independent
Use cases & customers
Primary use cases
Target customers
Deployment options
Integrations
Built in tools cover files, a persistent shell, a Python kernel, GitHub issues and pull requests, a Chromium browser, desktop control on X11 and macOS, tmux sessions and subagents. MCP servers, plugins and custom tools extend it, and gptme runs as an MCP server and over ACP inside editors. Models come from Anthropic, OpenAI, Google, xAI, DeepSeek, Groq, Azure OpenAI, OpenRouter, ChatGPT and SuperGrok subscriptions, gptme.ai, or local OpenAI compatible servers such as Ollama, LM Studio and vLLM.
In practice
A developer asks gptme to fix a failing test, and it reads the code, runs the test in its shell, patches the file and asks for a git commit once the test passes.
A maintainer installs an agent from the gptme agent template that wakes every 30 minutes, checks the repository's issues and pull requests, and records what it did in a journal.
A researcher runs gptme against a local Ollama model, indexes a folder of papers with the RAG tool and asks questions that draw on the indexed text.
Sources & related URLs
Related / legacy domains
Agentic Index coverage score
12.5 / 14 capabilities · 89%
| Integrations & Tool Calling | Full |
|---|---|
|
The agent acts through a persistent shell, a stateful Python kernel and file tools, works with GitHub issues, pull requests and repositories through its GH tool, and connects to any Model Context Protocol server, with MCP tool hints such as read only and destructive carried into its own tool filters. A plugin system and custom tools let a user add more, so anything reachable from the command line or an MCP server is within reach. Precommit and autocommit tools run checks and offer git commits after edits. Sourcegptme.org/docs/tools.htmlread 2026-11-22 |
|
| Workflow Orchestration | Full |
|
A subagent tool delegates subtasks to separate, specialized agent instances, which can run in a throwaway git worktree, send progress updates to their parent and pause to ask the parent for missing information. Autonomous agents run in loops for scheduled work, GitHub monitoring, email and team delegation, where the team loop hands tasks to other agents through the gptodo task tool. A todo tool keeps a task list inside a conversation, and a complete tool marks an autonomous session as done. Sourcegptme.org/docs/tools.htmlread 2026-11-22 |
|
| Knowledge Grounding & RAG | Full |
|
The RAG tool, switched on in the project's gptme.toml, indexes files and directories with optional glob filters and the most recent 100 past conversations into a per project index kept in gptme's data directory, with a global index when no project is named. The agent searches it with rag_search, checks it with rag_status, and relevant passages are added to each query as context, with an optional model pass that trims them to the most useful parts. Indexes persist between sessions and are rebuilt on request. Sourcegptme.org/docs/tools/rag.htmlread 2026-11-22 |
|
| Human Oversight & Guardrails | Full |
|
In its default mode gptme asks the user before running a tool and approves only read only shell commands such as ls, cat and rg on its own, and a flag turns confirmations off for unattended runs. A setting requires confirmation for sensitive computer actions such as typing and dragging, and blocks them outright in non interactive sessions. An enforce mode blocks clearly destructive commands and reads of secret paths such as ~/.ssh and .env, and subagents can pause to ask their parent before going on. Sourcegptme.org/docs/security.htmlread 2026-11-22 |
|
| Security, Identity & Governance | Not documented |
|
As a tool that runs under the user's own account, gptme has no organization layer, accounts, roles, single sign on or attestation, and save, patch, shell and Python act with whatever the user can do. Protection comes from tool allowlists and profiles, a guardrails mode for secret paths, an operating system sandbox for shell and Python that is still young, throwaway worktrees for subagents and a bearer token on every capability route of the self hosted server. Anything the agent reads goes to the model provider and into the conversation log. Sourcegptme.org/docs/security.htmlread 2026-11-22 |
|
| Observability & Auditability | Full |
|
Every conversation is saved to a log that keeps each message, tool call and tool output in order, and anything the agent reads lands there too. Autonomous agents add a journal and task files recording what each run did, a logs command follows a run as it happens, and a status command shows whether an agent is installed and when it last ran. The self hosted server exposes a metrics endpoint, and a vent tool records friction signals to a durable ledger for later review. Sourcegptme.org/docs/agents/autonomous.htmlread 2026-11-22 |
|
| Memory & State Persistence | Partial |
|
A memory tool, on by default, lets the agent save entries as Markdown files in layered stores for the project, the agent's workspace and the user, and the indexes of every store load into the prompt at the start of a session within a 64 KB budget. Entries are recalled by relevance or keyword and shared with Claude Code and Codex. Old entries are superseded and kept as history rather than purged, and no retention period applies, so entries stay until someone edits or removes the files. Sourcegptme.org/docs/memory.htmlread 2026-11-22 |
|
| Deployment & Data Residency | Full |
|
gptme installs on the user's own machine with pipx or uv, and the gptme server and web UI can be self hosted, including with Docker Compose on port 5700 behind the user's own proxy. Pointed at Ollama, LM Studio, vLLM or another local OpenAI compatible server, the whole stack runs without sending data to an outside provider. gptme.ai offers the same agent as a hosted instance in early access for people who would rather not install anything. Sourcegptme.org/docs/server.htmlread 2026-11-22 |
|
| Prebuilt Agents / Templates / Packs | Full |
|
A skills gallery offers five installable skills, each added with one command: a Home Assistant reader for presence, sensors, calendars and cameras, a usage report over the user's gptme history, a multi lens code review workflow, an offline HTML slide generator and a publisher for HTML artifacts to static hosts such as GitHub Pages. Installed skills load when their name comes up in a message. The gptme agent template gives a starting point for an autonomous agent with workspace, memory and task queue, the setup behind Bob and Alice. Sourcegptme.org/docs/skills-gallery.htmlread 2026-11-22 |
|
| Triggers & Channel Coverage | Full |
|
Installing an autonomous agent sets up a systemd service and timer on Linux or a launchd plist on macOS, waking it every 30 minutes by default on any calendar schedule. Run loops react to GitHub activity and to incoming email, answering through gptmail, and a Watch tool arms event sources so the agent is woken rather than polling. Beyond these wakes, people reach the agent from the CLI, the terminal and web UIs, desktop and Android apps, editors over ACP and the REST server. Sourcegptme.org/docs/agents/autonomous.htmlread 2026-11-22 |
|
| Model Flexibility & Routing | Full |
|
The user picks the model for each session with a provider and model flag, across OpenAI, Anthropic, Google Gemini, xAI, DeepSeek, Moonshot, NVIDIA, Azure OpenAI, Groq, OpenRouter, Requesty and others, ChatGPT Plus or Pro and SuperGrok subscriptions, or any local OpenAI compatible server. On OpenRouter a model can be pinned to named hosts as an ordered allowlist with fallback on rate limits or outages, and default host orders and quantization limits are set by environment variable. Sourcegptme.org/docs/providers-supported.htmlread 2026-11-22 |
|
| APIs / SDKs / MCP Extensibility | Full |
|
The gptme server exposes a REST API for chat, tool execution and conversation management, with interactive docs and an OpenAPI spec served at the API's docs path and bearer token authentication on every capability route, set by an environment variable or printed at startup. gptme also runs as an MCP server and speaks the Agent Client Protocol for editor integration, and Python packages, a plugin system and custom tools let developers build on it. Sourcegptme.org/docs/server.htmlread 2026-11-22 |
|
| Testing, Debugging & Optimization | Full |
|
An evaluation command runs the agent with a chosen model against built in suites, from a hello smoke test and browser tasks to project setup and 33 practical tasks, scoring each test pass or fail with a 300 second default timeout and exporting leaderboards as CSV, Markdown, HTML or JSON. A companion command runs SWE-Bench instances. Switching the model or settings and rerunning the suites shows whether a change helped, and the project's public leaderboard ranks models by pass rate. Sourcegptme.org/docs/evals.htmlread 2026-11-22 |
|
| Browser / Computer-use | Full |
|
The computer tool drives the desktop directly, typing, moving and clicking the mouse, dragging, capturing the screen, focusing windows and clicking elements by role and name from the accessibility tree, on Linux under X11 with xdotool and on macOS with native capture and cliclick. Helpers act and observe in one step and run multistep desktop tasks in a subagent. The tool carries an experimental label with a warning about its security risks, and a separate browser tool browses sites in Chromium and takes screenshots. Sourcegptme.org/docs/tools/computer.htmlread 2026-11-22 |
|
The Agentic Index coverage score grades every vendor Full, Partial or Not documented against the same 14 buyer facing capabilities, from public evidence only. Each capability links to how all vendors in the index score on it. How this evidence is graded
Pricing
Free and open source
Free software; model usage paid to the chosen provider, or usage based credits on gptme.ai
What is public
gptme is free and open source under the MIT license. Model costs go to whichever provider the user picks, and local models through Ollama, LM Studio or vLLM cost nothing to call.
Billing mechanics
There is no gptme subscription. ChatGPT Plus or Pro and SuperGrok subscriptions can stand in for API keys for personal use, and one OpenRouter key reaches more than 100 models.
Cost watchouts
An autonomous agent waking every 30 minutes uses model tokens on every run, whether or not it finds work.
Variable cost rationale
The agent is free, so spend is the model tokens it uses, which grow with long autonomous runs, subagents and large contexts.
Sales call required
No, self serve available
Free / trial
Free under the MIT license
Commercial notes
gptme.ai, the hosted service from Superuser Labs, is in early access and bills model use in usage based credits through the account, with no provider keys needed.
Missing data
gptme.ai shows no credit rates or plans.
Related vendors
- Cognition — Maker of Devin, an autonomous AI software engineer
- 10Web — Agentic website platform whose AI agents build, host and manage…
- AgentUI — Managed AI app builder for operations teams that generates and hosts…
- AI/Cockpit — AI/Cockpit is AI/R's platform for agentic software engineering and…
- Aider — Open source, model agnostic terminal coding agent that edits your…
- Amp — Amp is a coding agent from Amp Frontier Corporation that runs each…
Alternatives to gptme
Other products that do the work gptme does, and what each one is.