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.

25 tools
Favicon of Goose

Goose

6 videos
An Apache 2.0 AI agent for macOS, Windows and Linux, with desktop and CLI interfaces and support for Ollama or cloud model providers.

56.6KUpdated 1 day agoApache-2.0

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

Favicon of Cline

Cline

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

71.6KUpdated 2 days agoApache-2.0

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

A VS Code coding assistant provides local code completion through llama.cpp, AI chat, and an agent that can use MCP tools.

1.6KUpdated 1 day agoMIT

macOS · Windows · Linux · VS Code#Code execution#GGUF#Hugging Face integration

Favicon of OpenWork

OpenWork

2 videos
A desktop AI agent app works on your files with cloud providers or local models through Ollama, and runs on macOS, Windows, and Linux.

24.5KUpdated 19 hours ago

macOS · Windows · Linux · Web#Agent Skills#Browser automation#MCP

Favicon of Gemini CLI

Gemini CLI

14 videos
An open-source terminal AI agent edits code, runs shell commands and searches the web using Google's cloud Gemini models.

108.8KUpdated 1 day agoApache-2.0

macOS · Windows · Linux#Code execution#Git integration#MCP

A command-line AI coding agent that runs locally or in containers and supports local models and cloud services through LiteLLM, OpenRouter and Portkey.

9.6KUpdated 2 months agoMIT

Docker#Batch processing#Code execution#LLM tracing

Favicon of OpenHands

OpenHands

7 videos
A self-hosted AI coding agent platform runs locally or on servers, supports Claude Code and Codex, and automates engineering workflows.

93.4KUpdated 19 hours agoMIT

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

Favicon of Kilo Code

Kilo Code

7 videos
An open-source AI coding agent for VS Code, JetBrains, and the CLI, with local model support, hosted model access, and an MIT license.

28KUpdated 24 hours agoMIT

VS Code · JetBrains#Browser automation#Code execution#Git integration

An open-source terminal coding agent and Python toolkit that supports local models through llama.cpp, cloud providers, and MCP tools.

4KUpdated 4 days agoApache-2.0

#Agent Client Protocol#Agent Skills#Code execution

Favicon of Terax

Terax

1 video
A terminal-first AI coding workspace for macOS, Windows and Linux with local model support, reviewable agent edits and a built-in web preview.

9.5KUpdated 2 days agoApache-2.0

macOS · Windows · Linux#Code execution#Git integration#Human approval

Favicon of Qwen Code

Qwen Code

6 videos
An open-source AI coding agent for macOS, Windows and Linux that supports local models through Ollama or vLLM and cloud model APIs.

30.1KUpdated 24 hours agoApache-2.0

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

Favicon of OpenChamber

OpenChamber

2 videos
A self-hosted AI coding workspace built on OpenCode that compares model runs and lets you continue sessions across desktop, browser and VS Code.

12.9KUpdated 22 hours agoMIT

macOS · Windows · Linux · iOS · Web · VS Code#Code execution#Git integration#Human approval

Favicon of Crush

Crush

3 videos
A terminal AI coding assistant that connects to local backends such as Ollama and llama.cpp or cloud APIs, with model switching that preserves context.

29.1KUpdated 1 day ago

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

Favicon of OpenCode

OpenCode

114 videos
An open source AI coding agent works in your terminal or IDE with local models or cloud models including Claude, GPT and Gemini.

226.7KUpdated 1 day agoMIT

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

A local AI coding agent for Linux, macOS and Windows that edits repositories, runs verification commands and supports Ollama or cloud models.

51Updated 1 month ago

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

An open-source coding agent runs parallel agents with separate model choices on macOS, Linux and Windows, with offline support for local LLM backends.

854Updated 3 months agoMIT

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

A locally installed coding agent for macOS, Linux and Windows uses selected model providers, with sandboxed commands. Open source under Apache 2.0.

68.9KUpdated 20 hours agoApache-2.0

macOS · Windows · Linux#Agent Client Protocol#Code execution#Human approval

Favicon of Aider

Aider

4 videos
An open-source terminal coding assistant that edits projects with local or cloud LLMs, maps codebases and commits changes to Git.

50.1KUpdated 6 months agoApache-2.0

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

An Emacs AI assistant connects to Ollama and cloud APIs for chat, text editing and coding agents, with saved sessions and project context.

963Updated 1 month agoGPL-3.0

#Agent Skills#Code execution#Context compression

Favicon of Deep Agents

Deep Agents

8 videos
An open-source AI agent framework handles multi-step work with task delegation, file access, and support for local models through Ollama, vLLM, or llama.cpp.

31.3KUpdated 19 hours agoMIT

#Agent Skills#Code execution#Context compression

A local AI agent browses the web, writes and runs code, and plans tasks using Ollama, LM Studio or an OpenAI-compatible server.

27.7KUpdated 3 weeks agoGPL-3.0

macOS · Windows · Linux · Docker · Web#Browser automation#Code execution#llama.cpp backend

An open-source AI coding assistant brings chat, rewrites and completion to multiple editors, with Ollama local models or cloud providers.

1.1KUpdated 2 days agoApache-2.0

macOS · VS Code · JetBrains#MCP#Multi-agent workflows#Ollama integration

A local AI coding tool connects Claude Code to models on macOS, Linux and Windows, with offline inference and no API key.

3.5KUpdated 1 day agoMIT

macOS · Windows · Linux#Code execution#GGUF#Hugging Face integration

Favicon of Pi

Pi

27 videos
A terminal coding agent that runs locally, supports Ollama and cloud models, and lets developers customize tools and workflows under the MIT license.

121.9KUpdated 21 hours agoMIT

macOS · Windows · Linux · Docker#Agent Skills#Code execution#Context compression

An open-source terminal AI agent that edits files, runs code and handles persistent tasks with local models or cloud providers under the MIT license.

4.5KUpdated 1 day agoMIT

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

Favicon of LogotyperLogotyper
Got an idea for an AI tool? I'm Eugene, the designer and developer behind Localhosted. I'll help you build it, from the first sketch to launch.
Start your project
Favicon of Logotyper
Favicon of LogotyperLogotyper
Got an idea for an AI tool? I'm Eugene, the designer and developer behind Localhosted. I'll help you build it, from the first sketch to launch.
Start your project
Favicon of Logotyper

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.