Open source alternatives to Claude Code

Updated 13:30 UTC.

gptme/gptme is the most used open source alternative to Claude Code, with 4.5k stars. There is no star history yet, so growth is not ranked. Data as of 27 Nov 2026.

Two terminal-based AI agent tools are compared here by stars and setup effort.

All alternatives

  1. gptme/gptme

    A personal AI agent that runs in your terminal

    4,498 starsMaintenance: ActiveOK for work: Yes (MIT)Runs on: Windows, macOS, Linux, Android, Docker

  2. vstorm-co/pydantic-deepagents

    Self-hosted terminal AI assistant and Python agent framework

    1,124 starsMaintenance: ActiveOK for work: Yes (MIT)

Which one?

  • gptme/gptme: Developers who work mainly in the terminal
  • vstorm-co/pydantic-deepagents: Python developers who want a typed agent framework

Keep up with Claude Code