首次运行必须至少配置一个免费 API key(如 OpenRouter),否则无法使用;免费额度有限,OpenRouter 每天 50 次、Groq 每分钟 8K token,大文件易触限;免费套餐可能用你发送的数据改进模型,敏感代码不要放在运行目录;Cerebras 已不再免费,需绑卡且仅 30 天试用。
ANUS
anus-devMIT活跃维护终端里直接跑的免费编码 Agent,自动接入当前最强的免费模型,可替代 Claude Code 做日常写码和任务编排。
A free coding agent in your terminal. It runs on the smartest free model that is up today.
npm install -g @anus-dev/anus
anusREADME 未说明硬件要求;需 Node.js 22.19 或更新版本,模型推理在云端完成,无需本地显存。
终端里的免费编程代理,自动路由到当天可用的最强免费模型,不花一分钱
终端里直接跑的免费编码 Agent,自动接入当前最强的免费模型,可替代 Claude Code 做日常写码和任务编排。
核心能力
- 按聪明程度和存活状态排序免费模型列表,每请求自动选最优可用模型
- 模型触发限流或日配额时自动休息并切换到下一个模型重试
- 内置读代码、改文件、跑命令的代理工具链,基于 pi 引擎
- 用 /free 查看全部模型状态,/model 可手动指定模型
- 只使用 anus setup 里配置的免费 key,忽略环境变量中的付费 key
容易踩的坑
- v0.2.2ANUS 0.2.2最新正式版2026-09-29 · 2026-09-29 22:32 UTC
npm i -g @anus-dev/anus anus- Commits ANUS makes now end with
Co-Authored-By: ANUS <[email protected]>. Don't want it?"anusCoauthor": falsein~/.anus/agent/settings.json, orANUS_COAUTHOR=0. Needs git 2.32+. - ANUS shows up in OpenRouter's ranking of CLI agents.
anus --versionno longer needs a writable home folder, and a folder you can't write to no longer stops ANUS (#93, found by ANUS itself).
Already on 0.2.x?
anus update. - Commits ANUS makes now end with
- v0.2.1ANUS 0.2.12026-09-29 · 2026-09-29 15:33 UTC
查看更新说明
ANUS is a free coding agent in your terminal. One command to install, then a free key from one of five services. No card.
npm i -g @anus-dev/anus anusEvery request goes to the smartest free model that is answering today. When a model hits its limit, the next one takes the same request.
Changed
- ANUS looks like ANUS CLI 0.1.0 again: the block logo in the orange-to-violet gradient, your message and the input in a rounded box with
>,✦before answers, the old loading phrases ("Generating thrust...") and the footer./helpis back.
Fixed
- A free model that broke off in the middle of an answer ended the turn with an error. Now that model rests and the turn is retried on the next free model.
- Messages no longer sit on a white bar when the terminal theme was detected as light.
- ANUS crashed on start in a terminal narrower than 84 columns. The header now fits any width.
- The footer shows which free model answered and how much context is left, and shortens itself in a narrow terminal.
The 2025 code lives on in the
legacy-2025branch. - ANUS looks like ANUS CLI 0.1.0 again: the block logo in the orange-to-violet gradient, your message and the input in a rounded box with
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
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.
Watch it with sound on X (22 s) · download the video
npm install -g @anus-dev/anus
anus
or
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 | over a dozen free models; 50 requests a day, 1000 after a one-time $10 top-up |
| Google Gemini | aistudio.google.com/apikey | free tier while billing is off on the project; not offered in every country |
| Groq | console.groq.com/keys | free plan; 8K tokens a minute, so big files hit the limit quickly |
| Cerebras | 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 | 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 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
/freeto 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_KEYand friends) are ignored, so a free agent never spends your money.ANUS_ENV_KEYS=1lets 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 <[email protected]>. 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, or tell @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, 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 branch.
Built on pi
The engine is 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.
License
MIT
