Local Claude Code and Codex Alternatives

Compare local and self-hosted AI coding agents for editing repositories, running tests and terminal tasks. Find alternatives to Claude Code and Codex.

11 tools
Favicon of OpenCode

OpenCode

8 videos
An MIT-licensed AI coding assistant for terminal, desktop, and IDE use. It works with local models and providers including Claude, GPT, and Gemini.

211.1KUpdated 1 hour agoMIT

macOS · Windows · Linux#Code execution#Human approval#Multi-agent workflows

A terminal AI coding assistant that runs on macOS, Linux, Windows and BSD, with support for Ollama, llama.cpp and cloud model APIs.

28.4KUpdated 1 day ago

macOS · Windows · Linux · Android#llama.cpp backend#LM Studio integration#MCP

Favicon of Cline

Cline

2 videos
An AI coding agent for editors, desktop, and terminal, with Apache 2.0 open source core and support for local models through Ollama and LM Studio.

69.6KUpdated 2 hours agoApache-2.0

macOS · Windows · VS Code · JetBrains#Code execution#Git integration#Human approval

Favicon of Goose

Goose

1 video
An open source AI agent for macOS, Windows, and Linux, with desktop and CLI apps and a choice of Ollama or hosted model providers.

54.8KUpdated 3 hours agoApache-2.0

macOS · Windows · Linux#MCP#Multi-agent workflows#Ollama integration

An open-source terminal coding agent under the MIT license. Runs locally, connects to Ollama or cloud providers, and supports custom workflows.

110.7KUpdated 4 hours agoMIT

macOS · Windows · Linux · Docker#Agent Skills#Code execution#MCP

An open-source terminal AI agent that runs on your machine with Ollama or cloud models, edits files, executes code, and supports persistent tasks.

4.4KUpdated 19 hours agoMIT

macOS · Windows · Linux · Web · JetBrains#Agent Client Protocol#Code execution#Git integration

Favicon of Qwen Code

Qwen Code

2 videos
An open source coding assistant for the terminal and desktop. It runs on macOS, Windows and Linux and works with Ollama, vLLM and cloud model APIs.

28.2KUpdated 1 day agoApache-2.0

macOS · Windows · Linux · Web · VS Code · JetBrains#Code execution#Git integration#MCP

Favicon of Aider

Aider

1 video
An open-source terminal coding assistant that edits code with local or cloud LLMs, maps repositories, and records changes in Git. Licensed under Apache 2.0.

49.3KUpdated 4 months agoApache-2.0

macOS · Windows · Linux#Code execution#Git integration#Multimodal input

Favicon of OpenHands

OpenHands

3 videos
A self-hosted coding agent platform that runs locally or on a server, works with multiple agents and models, and has an MIT-licensed core.

89.6KUpdated 3 hours agoMIT

macOS · Windows · Linux · Docker#Agent Client Protocol#Git integration#Human approval

Favicon of Kilo Code

Kilo Code

2 videos
An MIT-licensed AI coding agent for VS Code, JetBrains and the CLI. Use local models, bring your own API keys, or access hosted models.

27.5KUpdated 37 minutes agoMIT

VS Code · JetBrains#Code execution#Git integration#MCP

A local AI coding agent for Linux, macOS and Windows that uses Ollama or cloud providers, edits repositories and checks changes against your tests.

42Updated 12 hours ago

macOS · Windows · Linux · Docker#Agent Skills#Code execution#Distributed execution

Choose a coding agent and its model separately

OpenCode, Aider, Goose, Cline, Kilo Code, OpenHands, gptme and Qwen Code offer different ways to work on a repository: terminal sessions, editor integrations or a self-hosted agent interface. Compare how each reads files, proposes edits and runs your tests. These are alternatives for similar workflows, with capabilities that depend on the agent and model you choose.

A locally installed agent can use a cloud API or connect to your own model server. For local inference, check the supported provider, model tool-calling capabilities and hardware requirements. Running a coding agent locally does not make its model local, and larger coding models can need substantial memory. Start with a small repository and a task whose result you can verify.