免费的 Claude Code 替代方案

比较用于终端和代码仓库的开源编程代理。查看各自支持哪些模型提供商,以及能否使用本地模型运行。

nopaywall 收录了 7 个免费或开源的 Claude Code 替代方案,包括 NousResearch/hermes-agent、Opencode和Openinterpreter。每条记录都链接到项目,最近检查于 2026年11月22日。

可用的替代方案

比较这些选项

本页显示 7 个选项,共 7 个已发布结果。访问和设置详情来自各项目的配置来源。

开源并不意味着托管模型 API 免费。

横向滑动表格即可查看所有列。

替代方案的任务、访问、要求和来源比较
选项可用于哪些任务免费访问所需条件重要限制最近检查
NousResearch/hermes-agent
来源
带有 FTS5 跨会话记忆的自我改进 AI 代理。开源软件来源未列出具体要求请根据来源核实功能
Opencode
来源
Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra. 原文为英语。开源软件
可使用本地模型;需要设备资源
Open-source 终端 和 桌面版 coding agent for many hosted providers 和 本地模型; 模型 使用量 may cost extra.请根据来源核实功能
Openinterpreter
来源
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 computer-use 和 coding agent for 本地 或 hosted 模型; 运行 it in a controlled environment 和 configure 自有 提供商.请根据来源核实功能
SWE Agent
来源
Developer tool that attempts to resolve GitHub issues with a selected language model; setup and inference are for technical users. 原文为英语。开源软件Developer tool that attempts to resolve GitHub issues with a selected language 模型; 设置 和 inference are for technical users. 含英语原文。请根据来源核实功能
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. 原文为英语。开源软件来源未列出具体要求请根据来源核实功能
Gemini Cli
来源
Open-source terminal AI coding agent from Google; model access and usage limits follow the configured Gemini account/provider. 原文为英语。请查看来源中的当前条款终端请根据来源核实功能
Qwen Code
来源
Open-source agentic coding tool for terminal and IDE workflows; using hosted models may incur provider charges. 原文为英语。请查看来源中的当前条款终端请根据来源核实功能

按工作流程选择

Claude Code 的免费替代方案是开源代理,可以读取项目、修改文件并运行命令。代理本身免费,模型来自你配置的提供商或本地模型。

  1. 在终端中工作

    终端和 CLI 代理会直接修改项目文件。提交前请先检查改动。

    • Opencode

      Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra. 原文为英语。

      来源
    • Gemini Cli

      Open-source terminal AI coding agent from Google; model access and usage limits follow the configured Gemini account/provider. 原文为英语。

      来源
    • 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. 原文为英语。

      来源
  2. 把仓库任务交给代理

    处理 issue 或仓库任务的代理需要配置好的模型和受控的运行环境。

    • SWE Agent

      Developer tool that attempts to resolve GitHub issues with a selected language model; setup and inference are for technical users. 原文为英语。

      来源
  3. 使用本地模型运行

    这里只显示来源提到本地模型或自有 GPU 的选项。本地运行需要合适的硬件。

    • Opencode

      Open-source terminal and desktop coding agent for many hosted providers and local models; model usage may cost extra. 原文为英语。

      来源
    • 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. 原文为英语。

      来源
    • Openinterpreter

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

      来源

选择前需要了解的问题

这些免费工具包含模型访问吗?

通常不包含。大多数选项是免费软件,需要连接模型提供商或本地模型;提供商的套餐和用量费用另计。各来源的说明见比较表。

这些代理还能使用 Claude 模型吗?

如果代理允许选择提供商,通常可以。此时使用 Anthropic API 需遵循 Anthropic 自己的条款和计费。支持的提供商请查看各项目文档。

离开 nopaywall

打开外部网站?

你即将访问 nopaywall 之外的网站。继续前请确认你信任这个地址。

外部网站