Agent 智能体

ANUS|终端免费模型路由编码智能体

ANUS

ANUS 是一个运行在终端里的编码智能体,会读取代码、编辑文件并执行命令,并把每次请求路由到你已配置密钥的可用免费模型上,在模型限流或失败时自动切换。

获取与使用

需要部署

按官方资料自行安装或部署

使用难度待核验
国内可用性待核验

2026-11-09 更新 · 本站尚未实测

项目介绍

Agent 智能体 · 2026-11-09 更新 · 本站尚未实测

ANUS(Autonomous Networked Utility System)是一个面向终端的编码智能体。按 README 描述,它可以读取你的代码、编辑文件并运行命令;与付费同类工具的主要差别在于:每次请求会交给当天可用的“最聪明的免费模型”,当某个模型暂时不可用时,请求会转交给下一个模型。项目通过 npm 安装,官方给出的定位是“A free coding agent in your terminal.”。

需要说明的是,这里的“免费”指使用第三方模型服务提供的免费额度与 ANUS 的免费路由逻辑,并不表示所有模型服务永久免费;各平台的免费额度和条款可能变化,README 也提示以其列出的服务页面为准。

核心能力

点击能力名称查看输入、输出和原文依据。

  • 终端交互式编码:在当前目录启动,支持读代码、改文件、执行命令这类编码智能体常见操作(README 有概述性描述,具体工具清单未逐项列出)。
  • 免费模型路由:维护一份免费模型排序列表,按“模型能力 + 最近可用性”选择;列表从 anus.dev/free-models.json 每天刷新两次。
  • 自动降级:遇到限流时模型休息一分钟,达到每日上限则休息到重置,请求不等待直接转下一个模型;回答中途中断也会重试到下一个模型。
  • 单次任务与续聊:支持 anus -p "..." 一次性任务输出后退出,anus -c 继续上一次会话。
  • 会话控制:/free 查看模型列表与状态,/model 手动选模型(anus/free 为自动路由),/compact 压缩长对话,!ls 执行 shell 命令。
  • 密钥安全边界:只使用 anus setup 中配置的密钥,忽略 shell 中 OPENROUTER_API_KEY 等变量;设置 ANUS_ENV_KEYS=1 才会启用后者。

实际应用场景

适用场景

适合希望在终端内用自然语言驱动代码修改、并希望尽量使用免费模型额度的开发者;也适合需要多模型兜底、避免单一免费模型限流导致工作中断的场景。任务型用法(anus -p)可用于一次性修复、解释等需求,续聊模式适合连续多轮改动。

对于需要严格数据隔离、不能把代码发送给第三方模型服务的团队,应谨慎评估:README 明确说明免费档可能将提交内容用于改进模型。

安装与接入

README 给出的安装方式之一:

npm install -g @anus-dev/anus
anus

另一种方式:

curl -fsSL https://anus.dev/install | sh

前置要求为 Node.js 22.19 或更高版本。首次运行需至少配置一个免费模型服务的 API Key,README 列出 OpenRouter、Google Gemini、Groq、Cerebras、Mistral 五个来源,并建议从 OpenRouter 开始;密钥可在 anus setup 中随时修改。

其余常用命令:anus -p "fix the failing test"、anus -c、anus setup、anus update、anus --help。

使用条件与限制

是否需要部署
需自行准备运行环境,具体要求见正文
是否需要注册
账号和认证要求见正文;未明确说明的项目仍待核验
是否需要 API Key
待核验
费用与额度
费用边界见正文,项目许可不代表模型或托管服务免费
所需权限
待核验
许可证与服务条款
待核验

权限费用与限制

  • 费用:ANUS 使用免费模型额度,但各服务免费额度、是否需绑卡、每日请求数等各不相同。README 给出的说明包括:OpenRouter 每日 50 次(一次性充值 10 美元后 1000 次)、Gemini 在项目未开启计费时为免费档且并非所有国家提供、Groq 免费档每分钟 8K token、Cerebras 已不再免费(30 天 5 美元试用且要求绑卡,可选)、Mistral 每月 10 美元 API 额度且无需绑卡。这些数字为 README 所述,实际以各服务页面为准,费用条款需向官方核验。
  • 数据与隐私:README 提示免费档可能使用你发送的内容改进模型,建议不要在运行目录放置密钥等敏感信息。
  • 本地存储:密钥、设置、会话和模型缓存位于 ~/.anus/agent,其中密钥文件仅本人可读;ANUS_DEBUG=1 会把路由决策写入 ~/.anus/agent/anus-debug.log。
  • 提交署名:ANUS 生成提交时会追加 Co-Authored-By: ANUS <noreply@anus.dev>,可在 settings.json 中设置 "anusCoauthor": false 或使用 ANUS_COAUTHOR=0 关闭。
  • 操作系统支持:README 未说明 Windows/macOS/Linux 的具体支持情况,待核验。
  • 国内网络与模型可用性:README 未说明对国内模型或国内网络环境的适配,待核验。

国内使用情况

网友核验 用户经验分享

与站长实测独立,不代表官方认证或本站已实测。

我要核验
0 位参与者0 份有效分项记录

最近核验:暂无有效核验。参与人数按当前项目有效身份去重;不同核验项分别统计,不合并成用户总结果。仅统计审核通过且未过期的记录。

分项统计、有效期与样本量
核验项目有效人数成功 / 部分 / 失败 / 无法判断成功率最近核验 / 有效期
官方网站访问00 / 0 / 0 / 0样本不足暂无 / 7 天
GitHub 仓库访问00 / 0 / 0 / 0样本不足暂无 / 7 天
安装与运行00 / 0 / 0 / 0样本不足暂无 / 30 天
官方服务国内连接 / MCP 连接00 / 0 / 0 / 0样本不足暂无 / 30 天
国内网络情况00 / 0 / 0 / 0样本不足暂无 / 7 天
国内模型兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
自定义 API00 / 0 / 0 / 0样本不足暂无 / 30 天
海外服务依赖
00 / 0 / 0 / 0样本不足暂无 / 30 天
海外账号要求
00 / 0 / 0 / 0样本不足暂无 / 30 天
中文界面
00 / 0 / 0 / 0样本不足暂无 / 30 天
客户端兼容性00 / 0 / 0 / 0样本不足暂无 / 30 天
账号及费用信息
00 / 0 / 0 / 0样本不足暂无 / 30 天

成功率 = 成功 ÷(成功 + 部分成功 + 失败);无法判断不计入分母。至少 5 份可判断结果才显示成功率。账号、费用、海外依赖与语言等事实项,成功表示核查结论与资料吻合,具体观察另行统计;不表示免费或没有海外依赖。不同网络、客户端和版本的结果不能直接等同。

最近有效核验

暂无审核通过且未过期的网友核验。欢迎提交真实使用记录。

查看全部有效核验 →

国内实测状态:国内可用性待核验。协议兼容和官方资料说明不等于国内网络可用。

官方网站访问
尚未实测 待核验
GitHub 仓库访问
尚未实测 待核验
官方服务国内连接
尚未实测 待核验
国内网络情况
尚未实测 待核验
国内模型兼容性
尚未实测 待核验
自定义 API
尚未实测 待核验
海外服务依赖
尚未实测 待核验
海外账号要求
尚未实测 待核验
中文界面
尚未实测 待核验
国内最后核验时间
尚未实测

许可与国内使用

仓库代码采用 MIT 许可证(LICENSE 文件与 README 声明一致)。README 说明其引擎基于 pi(MIT,作为依赖安装),界面外观来自 ANUS CLI 0.1.0(Apache-2.0,见 NOTICE)。上述许可仅针对对应开源代码,不覆盖第三方模型服务、托管接口与免费额度政策。

README 未提供中国大陆网络环境、国内模型或国内合规相关的说明;anus.dev 为项目官网域名,其托管与服务部署地域、国内访问稳定性均需自行核验。项目仓库当前未归档,README 提到 2025 年版本位于 legacy-2025 分支。

项目资料与来源

官方网站 ↗

GitHub 仓库 ↗

官方文档 ↗

字段依据与待核验事项

access:来源确认 · npm install -g @anus-dev/anus anus

project_type:来源确认 · **A free coding agent in your terminal.** It reads your code, edits files and runs commands, like the paid ones.

原始 README(折叠技术参考)
# ANUS

[![npm](https://img.shields.io/npm/v/%40anus-dev/anus?logo=npm&label=npm&color=ff6a00&labelColor=222222)](https://www.npmjs.com/package/@anus-dev/anus)
[![license](https://img.shields.io/badge/license-MIT-ffb300?labelColor=222222)](LICENSE)
[![Telegram](https://img.shields.io/badge/Telegram-talk%20to%20ANUS-ff4fd8?logo=telegram&logoColor=white&labelColor=222222)](https://t.me/anusonmars_bot)
[![X: @anusonmars](https://img.shields.io/badge/X-@anusonmars-ff2fb1?logo=x&logoColor=white&labelColor=000000)](https://x.com/anusonmars)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/anus-dev/anus)

**A free coding agent in your terminal.** It reads your code, edits files and runs commands, like the paid ones. The difference: every request goes to the smartest free model that is answering today, and when one says "not now", the next one takes the same request. You pay nothing.

[![ANUS: a free model writes an ASCII rocket to Mars](https://raw.githubusercontent.com/anus-dev/anus/main/docs/assets/anus-launch.gif)](https://x.com/anusonmars/status/2105039913343172947)

[Watch it with sound on X (22 s)](https://x.com/anusonmars/status/2105039913343172947) · [download the video](https://github.com/anus-dev/anus/raw/main/docs/assets/anus-launch.mp4)

```sh
npm install -g @anus-dev/anus
anus
```

or

```sh
curl -fsSL https://anus.dev/install | sh
```

Needs Node.js 22.19 or newer.

## First run

ANUS asks for at least one free key. Each takes a minute to get:

| Service | Get a key | What is free |
| --- | --- | --- |
| OpenRouter | [openrouter.ai/keys](https://openrouter.ai/keys) | over a dozen free models; 50 requests a day, 1000 after a one-time $10 top-up |
| Google Gemini | [aistudio.google.com/apikey](https://aistudio.google.com/apikey) | free tier while billing is off on the project; not offered in every country |
| Groq | [console.groq.com/keys](https://console.groq.com/keys) | free plan; 8K tokens a minute, so big files hit the limit quickly |
| Cerebras | [cloud.cerebras.ai](https://cloud.cerebras.ai) | not free any more: a $5 trial for 30 days, and it asks for a card. Optional |
| Mistral | [console.mistral.ai/api-keys](https://console.mistral.ai/api-keys) | free plan: $10 a month in API credits, no card |

Start with OpenRouter. More keys mean more free requests a day and more models to fall back on. Change keys any time with `anus setup`. Checked against each service's own pages on 2026-10-01; free tiers change, so the line above beats this table.

## How "free" works

- ANUS keeps a ranked list of free models: which ones are smartest, and which answered a ping in the last hours. The list refreshes from [anus.dev/free-models.json](https://anus.dev/free-models.json) twice a day.
- Each request goes to the best model on the list that you have a key for and that is awake.
- A model that hits its rate limit rests for a minute; one that hit its daily cap rests until the cap resets. The request moves on without waiting.
- A model that breaks off in the middle of an answer rests too, and the turn is retried on the next one.
- The footer shows which model answered. Type `/free` to see the whole list: awake, resting, or no key.
- Free tiers pay for themselves with your data: Google's and Mistral's free plans may use what you send to improve their models, and so may the provider behind a free OpenRouter model. Keep secrets out of the folder you run ANUS in.
- ANUS uses only the keys you gave it in `anus setup`. Paid keys in your shell (`OPENROUTER_API_KEY` and friends) are ignored, so a free agent never spends your money. `ANUS_ENV_KEYS=1` lets it use them.

## Commands

| | |
| --- | --- |
| `anus` | start in the current folder |
| `anus -p "fix the failing test"` | one task, print the answer, exit |
| `anus -c` | continue the last session |
| `anus setup` | add or change free keys |
| `anus update` | update ANUS |
| `anus --help` | everything else |

Inside: `/help` for the basics, `/free` shows the models, `/model` picks one by hand (`anus/free` is the automatic one), `/compact` shrinks a long conversation, `!ls` runs a shell command.

## Where things live

Everything is in `~/.anus/agent`: keys (`auth.json`, readable only by you), settings, sessions, and the cached model list. Nothing is sent anywhere except to the model services you gave keys for. `ANUS_DEBUG=1` writes every routing decision to `~/.anus/agent/anus-debug.log`.

## Credit in commits

When ANUS makes a commit, it adds one line at the end: `Co-Authored-By: ANUS <noreply@anus.dev>`. Aider and OpenCode do the same. Don't want it? Put `"anusCoauthor": false` in `~/.anus/agent/settings.json`, or run with `ANUS_COAUTHOR=0`.

## Found a bug

Open an [issue](https://github.com/anus-dev/anus/issues), or tell [@anusonmars_bot](https://t.me/anusonmars_bot) in Telegram: the error text and what you ran. ANUS reads both.

## About ANUS

ANUS (Autonomous Networked Utility System) is an AI that runs this project itself. It writes the code and the releases, posts on X as [@anusonmars](https://x.com/anusonmars), answers people in Telegram, reads the issues here, and is trying to get to Mars. A human holds the keys. This free agent is its new body in your terminal. The 2025 version of this repository lives on in the [`legacy-2025`](https://github.com/anus-dev/anus/tree/legacy-2025) branch.

## Built on pi

The engine is [pi](https://github.com/earendil-works/pi) by Earendil Works (MIT), installed as a dependency: its terminal interface, tools, sessions and providers. ANUS adds the free-model router, the key setup, its own name and its own look. Thank you, pi.

The look (block logo, colors, loading phrases) comes from ANUS CLI 0.1.0, Apache-2.0; see [NOTICE](NOTICE).

## License

MIT
历史前置条件说明(补充参考)

Node.js 22.19 或更高版本;需在首次运行或 `anus setup` 中配置至少一个模型服务 API Key(OpenRouter、Google Gemini、Groq、Cerebras、Mistral 之一,README 建议从 OpenRouter 开始);免费额度、是否需绑卡与请求限制依各服务条款,需向官方核验;Windows/macOS/Linux 具体支持情况、国内网络可用性待核验。

项目来源与清单版权许可

https://github.com/anus-dev/anus

整理来源:https://github.com/slavakurilyak/awesome-ai-agents

清单版权与许可:

MIT License

Copyright (c) 2024 Slava Kurilyak

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.