- cli.ts788 lines
- session-manager.ts365 lines
- edit.ts227 lines
- prompt-builder.ts129 lines
- agent_loop.ts579 lines
- openai_responses_provider.ts998 lines
Reads before it writes
It opens the files that matter and learns how your project fits together.
Areeb is a small coding agent for your terminal, inspired by Pi. It understands your intent, works through the code, and verifies the result.
curl -fsSL https://tryareeb.dev/install.sh | shAreeb reads your files, makes focused edits, runs your commands, and checks its own work. Try each one below.
It opens the files that matter and learns how your project fits together.
Targeted replacements instead of rewritten files, so every diff stays easy to review.
Tests, builds, and scripts run in your shell, and Areeb reads the output before it answers.
Drag to choose how much reasoning a task gets, from off to max.
areeb --resume 7f3a2c
Every session is saved under ~/.areeb/sessions. Click the stack to flip through them.
Use an OpenAI, Anthropic, or OpenRouter key from your environment, or add one with /login.
Sign in with your ChatGPT Plus or Pro subscription.
Point Areeb at any OpenAI-compatible endpoint, local or hosted.
Connect OpenAI, Anthropic, OpenRouter, or your ChatGPT subscription, then switch models any time with /model.
The CLI entry point is src/coding/cli.ts. It parses the flags, then starts the terminal UI or print mode.
{"type":"agent_start"}
{"type":"turn_start"}
{"type":"tool_execution_start","toolCall":{"name":"read",…}}
{"type":"tool_execution_end",…}
{"type":"message_update",…}
{"type":"agent_end",…}› find the CLI entry point read src/coding/cli.ts The CLI entry point is src/coding/cli.ts. It parses the flags, then starts the terminal UI or print mode.
Run a single prompt and get plain text, JSON Lines events, or a full transcript.
Guidance from AGENTS.md and CLAUDE.md, plus your skills and prompt templates, loads with every session.
Areeb is a learning project, so its parts are kept apart. Each layer depends only on the one below it, and you can study or reuse any of them on its own.
The CLI and terminal UI, file and shell tools, provider configuration, project instructions, skills, and saved sessions.
Messages, tools, events, the agent loop, and session primitives. It knows how to work, not what kind of app it lives in.
Turns each model provider into a single provider-neutral stream, so nothing above it depends on one vendor's API.
areeb_coding → areeb_agent → areeb_ai
Perceptive. Intelligent. Skilled at seeing what others miss.
The name points to a kind of intelligence that is useful, attentive, and exact. Areeb means possessing sound judgment and high intellect.
One command. Then tell Areeb what you want to build.
curl -fsSL https://tryareeb.dev/install.sh | shcd my-project && areebStart Areeb in the project you want it to work on./loginConnect an OpenAI, Anthropic, or OpenRouter API key, or a ChatGPT Plus/Pro subscription./modelPick a model, then type a request and press Enter.