ANUS

anus-devMIT活跃维护

终端里直接跑的免费编码 Agent,自动接入当前最强的免费模型,可替代 Claude Code 做日常写码和任务编排。

A free coding agent in your terminal. It runs on the smartest free model that is up today.

v0.2.2发布于 2026-09-29 22:32 UTC6,562star +1 / 7 天920fork同步于 2026-11-10 05:33 UTC

怎么上手

由 README 提炼,执行前请确认
npm install -g @anus-dev/anus
anus
硬件要求按 README 说明

README 未说明硬件要求;需 Node.js 22.19 或更新版本,模型推理在云端完成,无需本地显存。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

终端里的免费编程代理,自动路由到当天可用的最强免费模型,不花一分钱

终端里直接跑的免费编码 Agent,自动接入当前最强的免费模型,可替代 Claude Code 做日常写码和任务编排。

核心能力

  • 按聪明程度和存活状态排序免费模型列表,每请求自动选最优可用模型
  • 模型触发限流或日配额时自动休息并切换到下一个模型重试
  • 内置读代码、改文件、跑命令的代理工具链,基于 pi 引擎
  • 用 /free 查看全部模型状态,/model 可手动指定模型
  • 只使用 anus setup 里配置的免费 key,忽略环境变量中的付费 key

容易踩的坑

首次运行必须至少配置一个免费 API key(如 OpenRouter),否则无法使用;免费额度有限,OpenRouter 每天 50 次、Groq 每分钟 8K token,大文件易触限;免费套餐可能用你发送的数据改进模型,敏感代码不要放在运行目录;Cerebras 已不再免费,需绑卡且仅 30 天试用。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

2 个版本v0.2.2
  1. 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": false in ~/.anus/agent/settings.json, or ANUS_COAUTHOR=0. Needs git 2.32+.
    • ANUS shows up in OpenRouter's ranking of CLI agents.
    • anus --version no 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.

  2. 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
    anus
    

    Every 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. /help is 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-2025 branch.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    ANUS

    npm license Telegram X: @anusonmars Ask DeepWiki

    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

    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:

    ServiceGet a keyWhat is free
    OpenRouteropenrouter.ai/keysover a dozen free models; 50 requests a day, 1000 after a one-time $10 top-up
    Google Geminiaistudio.google.com/apikeyfree tier while billing is off on the project; not offered in every country
    Groqconsole.groq.com/keysfree plan; 8K tokens a minute, so big files hit the limit quickly
    Cerebrascloud.cerebras.ainot free any more: a $5 trial for 30 days, and it asks for a card. Optional
    Mistralconsole.mistral.ai/api-keysfree 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 /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

    anusstart in the current folder
    anus -p "fix the failing test"one task, print the answer, exit
    anus -ccontinue the last session
    anus setupadd or change free keys
    anus updateupdate ANUS
    anus --helpeverything 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