Binharic
[](https://github.com/CogitatorTech/binharic-cli/actions/workflows/tests.yml)
[](https://codecov.io/gh/CogitatorTech/binharic-cli)
[](https://www.codefactor.io/repository/github/CogitatorTech/binharic-cli)
[](https://www.npmjs.com/package/@cogitator/binharic-cli)
[](docs)
[](LICENSE)
A multi-provider AI coding agent with the persona of a Tech-Priest
---
Binharic is a terminal-based AI coding assistant (a coding agent) similar to OpenAI's Codex, Google's Gemini CLI, and
Anthropic's Claude Codeābut with the personality of a devout Tech-Priest of the Adeptus Mechanicus.
Binharic is written in TypeScript and uses the [AI SDK](https://ai-sdk.dev/) framework for most of its underlying
agentic logic (like tool calling and workflow management).
Additionally, its architecture follows the recommendations mentioned in the
[building effective agents](https://www.anthropic.com/engineering/building-effective-agents) article from Anthropic,
to a good degree.
Binharic's development started as a personal project to learn more about building a terminal-based coding agent.
However, the project has grown somewhat into a full-fledged coding assistant with a lot of features
like the ability to analyze projects, run tests, find bugs, and perform code review.
### Features
- Can use models from OpenAI, Google, Anthropic, and Ollama
- Is fully customizable and extendable (system prompt and adding new tools)
- Comes with a built-in keyword-based retrieval-augmented generation (RAG) pipeline
- Comes with a large set of built-in tools (like for reading files and running Bash commands)
- Can use external tools via the Model Context Protocol (MCP)
- Comes with predefined workflows for common software development tasks (like debugging and code review)
See the [ROADMAP.md](ROADMAP.md) for the list of implemented and planned features.
> [!IMPORTANT]
> Binharic is in early development, so bugs and breaking changes are expected.
> Please use the [issues page](https://github.com/CogitatorTech/infera/issues) to report bugs or request features.
---
### Getting Started
You can follow the instructions below to install and use Binharic in your terminal.
#### Installation
```sh
npm install -g @cogitator/binharic-cli
```
#### Running in the Terminal
```sh
# Make sure API keys are available in the environment
export OPENAI_API_KEY=