
Janus
Terminal coding agent that routes each request to free AI models
Janus is an open-source agent for coding. It is available on CLI, macOS, Linux and Windows.
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- GitHub stars
- 6.6K
- Last commit
- Language
- JavaScript
- License
- MIT
Similar agents
About Janus
Janus runs in your terminal and works on a codebase: it reads files, edits them and runs shell commands in response to a plain-language task. Rather than tying you to one model, it keeps a ranked list of free models and sends each request to the strongest one currently available. When a model hits a rate limit or daily cap, or stops mid-answer, the request moves to the next model on the list.
Setup takes a few free API keys from providers such as OpenRouter, Google Gemini and Groq. Janus only uses the keys you configure through its own setup command, so paid keys in your shell environment are ignored by default. The footer shows which model produced each answer, and a commands list shows which models are awake, resting or missing a key.
It suits developers who want an agentic coding assistant without a subscription and are comfortable with free-tier trade-offs, such as providers possibly using submitted data to improve their models.
What it does
- Automatic free-model routing
- Each request goes to the highest-ranked free model that has a valid key and is currently responding.
- Fallback on limits
- Models that hit rate or daily caps are rested and the request continues on the next model.
- Terminal coding tools
- Reads and edits files and runs shell commands from within a session in the current folder.
- Non-interactive mode
- A single task can be run with one command that prints the answer and exits.
- Session continuation
- Resume the most recent session and compact long conversations to save context.
- Diagnostics command
- Shows which keys are found, which services are reachable and the next models in line, for bug reports.
- Optional commit attribution
- Adds a co-author line to commits it makes, which can be turned off in settings or by environment variable.
Good for
- Fixing a failing test in a project without paying for a coding agent subscription
- Making multi-file edits to a codebase from the terminal using a natural-language task
- Running quick one-off code changes in a script-driven workflow with print-and-exit mode
- Comparing how different free models handle the same coding task
Pricing
Open source
Free and MIT-licensed; uses free-tier model keys from third-party providers.
Janus FAQ
What does Janus cost to run?
Janus itself is MIT-licensed and installed through npm. The models it uses are free tiers from providers such as OpenRouter, Google Gemini and Groq, each with its own limits.
Which Node.js version is required?
Node.js 22.19 or newer.
Are my keys or code shared with model providers?
Keys are stored locally in your Janus folder and are only sent to the model services you configured. Free tiers may use the data you send to improve models, so keep secrets out of the project folder.
Can I stop Janus from adding a co-author line to commits?
Yes. Set janusCoauthor to false in the settings file, or run with the JANUS_COAUTHOR=0 environment variable.
What are the best alternatives to Janus?
The closest alternatives to Janus are ANUS, munder-difflin, Codewhale, CoderBaba and jcode.
Where this comes from
- Description: written from the project's README.


