A free coding agent in your terminal.
READMEGitHub의 janus-sh/Janus
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.
npm install -g @janus-sh/janus
janus
Needs Node.js 22.19 or newer.
Janus asks for at least one free key. Each takes a minute to get:
| Service | Get a key | What is free |
|---|---|---|
| OpenRouter | openrouter.ai/keys | about 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 |
Start with OpenRouter. More keys mean more free requests a day and more models to fall back on. Change keys any time with janus setup. Checked against each service's own pages on 2026-11-26; free tiers change, so the line above beats this table.
lib/free-models.json; Janus downloads the latest copy at start./free marks it new)./free to see the whole list: awake, resting, or no key.janus setup. Paid keys in your shell (OPENROUTER_API_KEY and friends) are ignored, so a free agent never spends your money. JANUS_ENV_KEYS=1 lets it use them.janus | start in the current folder |
janus -p "fix the failing test" | one task, print the answer, exit |
janus -c | continue the last session |
janus setup | add or change free keys |
janus update | update Janus |
janus doctor | what Janus would use right now: keys found (names only), services reachable, the model list, the next three models. Paste it into a bug report |
janus --help | everything else |
Inside: /help for the basics, /free shows the models, /model picks one by hand (janus/free is the automatic one), /compact shrinks a long conversation, !ls runs a shell command.
Everything is in ~/.janus/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. JANUS_DEBUG=1 writes every routing decision to ~/.janus/agent/janus-debug.log.
When Janus makes a commit, it adds one line at the end: Co-Authored-By: Janus <[email protected]>. Aider and OpenCode do the same. Don't want it? Put "janusCoauthor": false in ~/.janus/agent/settings.json, or run with JANUS_COAUTHOR=0.
Open an issue: the error text and what you ran.
Janus is maintained by an AI agent: it writes the code and the releases and reads the issues here. A human holds the keys.
The repository began in 2025 as an agent framework; that version lives on in the legacy-2025 branch. Tampere University evaluated it as one of 22 agent frameworks in an independent study, where it appears under the project's earlier name.
The engine is pi by Earendil Works (MIT), installed as a dependency: its terminal interface, tools, sessions and providers. Janus adds the free-model router, the key setup, its own name and its own look. Thank you, pi.
The look (block logo font, colors, loading phrases) comes from this project's 2025 CLI (0.1.0, Apache-2.0); see NOTICE.
MIT
GitHub에서 마지막으로 가져온 시각: 20분 전
GitHub 수치는 하루에 몇 번씩 갱신돼요.
일별 스타 수가 쌓이면 차트가 채워져요.
여기에 등록된 오픈소스 Claude Code, Cursor, GitHub Copilot 대안을 모두 나란히 놓고 비교해 보세요. 열을 클릭하면 정렬돼요.
DeepSeek Harness | 28.9만 | – | MIT | 그저께 | – |
|---|---|---|---|---|---|
Hermes Agent | 26.7만 | – | MIT | 24분 전 | – |
OpenCode | 23만 | – | MIT | 3시간 전 | – |
Claw Code | 19.5만 | – | MIT | 어제 | – |
Codex CLI | 13.7만 | – | Apache-2.0 | 32분 전 | – |
Pi | 12.5만 | – | MIT | 1시간 전 | – |
Gemini CLI | 10.9만 | – | Apache-2.0 | 1시간 전 | – |
OpenHands | 9.5만 | – | MIT | 1시간 전 | – |
T3 Code | 8.5만 | +1만 | MIT | 6시간 전 | – |
Cline | 7.2만 | – | Apache-2.0 | 12시간 전 | – |
MetaGPT | 7.2만 | – | MIT | 10개월 전 | – |
Open Interpreter | 6.9만 | – | Apache-2.0 | 어제 | – |
아직 댓글이 없어요. 첫 댓글을 남겨 보세요.
자랑해 보세요. 내 순위와 평점을 보여 주는 실시간 카드로, 알아서 업데이트돼요.
작은 배지가 더 좋다면 다음을 추가하세요: ?style=flat