Free alternatives to Claude Code

Compare open-source coding agents for the terminal and the repository. Check which model providers each one supports and whether it can run with a local model.

nopaywall lists 7 free or open-source alternatives to Claude Code, including NousResearch/hermes-agent, Opencode, and Openinterpreter. Each listing links to the project; the latest check was on November 22, 2026.

Available alternatives

Compare the options

Showing 7 of 7 published options on this page. Access and setup details come from each project's configured source.

Open source does not mean that a hosted model API is free.

Swipe horizontally to compare all columns.

Compare alternative workflows, access, requirements and sources
OptionWhat it can help withFree accessWhat you needImportant limitationLast checked
NousResearch/hermes-agent
Source
Self-improving AI agent with FTS5 cross-session memory.Open-source softwareNo specific requirements listed in the sourceCheck the source for current capabilities
Opencode
Source
Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra.Open-source software
Use a local model; device resources are required
Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra.Check the source for current capabilities
Openinterpreter
Source
Open-source computer-use and coding agent for local or hosted models; run it in a controlled environment and configure your own provider.Open-source softwareOpen-source computer-use and coding agent for local or hosted models; run it in a controlled environment and configure your own provider.Check the source for current capabilities
SWE Agent
Source
Developer tool that attempts to resolve GitHub issues with a selected language model; setup and inference are for technical users.Open-source softwareDeveloper tool that attempts to resolve GitHub issues with a selected language model; setup and inference are for technical users.Check the source for current capabilities
Goose
Source
Open-source desktop and CLI AI agent for code and general workflows; connect a local/free model or bring a provider account/API key.Open-source softwareNo specific requirements listed in the sourceCheck the source for current capabilities
Gemini Cli
Source
Open-source terminal AI coding agent from Google; model access and usage limits follow the configured Gemini account/provider.Check current terms in the sourceterminalCheck the source for current capabilities
Qwen Code
Source
Open-source agentic coding tool for terminal and IDE workflows; using hosted models may incur provider charges.Check current terms in the sourceterminalCheck the source for current capabilities

Choose by your workflow

Free Claude Code alternatives are open-source agents that read your project, edit files, and run commands. The agent is free; the model comes from a provider you configure or from a local model.

  1. Work from the terminal

    Terminal and CLI agents edit files in your project. Review their changes before you commit them.

    • Opencode

      Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra.

      Source
    • Gemini Cli

      Open-source terminal AI coding agent from Google; model access and usage limits follow the configured Gemini account/provider.

      Source
    • Goose

      Open-source desktop and CLI AI agent for code and general workflows; connect a local/free model or bring a provider account/API key.

      Source
  2. Hand off repository tasks

    Agents that work on issues or repository tasks need a configured model and a controlled environment.

    • SWE Agent

      Developer tool that attempts to resolve GitHub issues with a selected language model; setup and inference are for technical users.

      Source
  3. Run with a local model

    Only options whose source mentions local models or your own GPU appear here. Local use needs suitable hardware.

    • Opencode

      Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra.

      Source
    • Goose

      Open-source desktop and CLI AI agent for code and general workflows; connect a local/free model or bring a provider account/API key.

      Source
    • Openinterpreter

      Open-source computer-use and coding agent for local or hosted models; run it in a controlled environment and configure your own provider.

      Source

Questions before choosing

Do these free tools include model access?

Usually not. Most options are free software that connects to a model provider or a local model; provider plans and usage charges are separate. The comparison table shows what each source states.

Can I still use Claude models with these agents?

Often, if the agent lets you choose a provider. Using Anthropic’s API then follows Anthropic’s own terms and charges. Check the provider list in each project’s documentation.

Leaving nopaywall

Open this external site?

You’re about to visit a website outside nopaywall. Make sure you trust the destination before continuing.

External website