A minimal coding agent in your terminal.
Alan is currently an early prototype. Some features are still being developed, and behavior may change between releases.
- Features
- Installation
- Providers
- Usage
- Local models
- Configuration and data locations
- Building from source
- Requirements
- First-class OpenRouter support — full model catalog, per-model custom provider pinning (
/model-provider), and reasoning effort control (/effort). - Paste images — drop a screenshot from your clipboard straight into the conversation and ask about it.
- Compact with focus —
/summarize-new "focus hint"summarizes the context and restarts with just what matters. - Steering — queue a message mid-run and the agent picks it up without waiting for the response to finish.
- Plan and review modes — cycle through them with
Shift+Tabwhen you want the agent to think before it acts. - Local models — point Alan at any OpenAI-compatible endpoint, no API key required.
Skills support is implemented at the agent level but not exposed in the UI yet — coming soon.
Prebuilt binaries are published through GitHub Releases. The installer detects your operating system and CPU architecture, downloads the matching binary, verifies it, and installs alan into Cargo's binary directory.
curl -fsSL https://github.com/Revantark/alan/releases/latest/download/alan-installer.sh | bashRestart your shell or ensure ~/.cargo/bin is on your PATH, then run:
alanRun the generated PowerShell installer from a PowerShell prompt:
irm https://github.com/Revantark/alan/releases/latest/download/alan-installer.ps1 | iexRun the same installer command again to install the latest release. To see the installed version:
alan --versionAlan currently supports:
- OpenRouter
- Google (beta)
- Zai (beta)
Use the /login command to sign in to any of the available providers.
For OpenRouter, you can pin a custom provider for the selected model with /model-provider, followed by the provider name (no quotes):
/model-provider deepseek/model-provider xiaomi/fp8
| Command | Description |
|---|---|
/models |
Pick a model from the provider catalog |
/plan |
Toggle plan mode (also Shift+Tab) |
/review |
Toggle review mode (also Shift+Tab) |
/normal |
Turn off plan and review mode |
/login |
Sign in to a provider interactively |
/new |
Start a fresh session |
/summarize-new [focus] |
Summarize the context and restart; optionally pass a quoted focus hint, e.g. /summarize-new "just take the XYZ details" |
/effort |
Set reasoning effort (none, minimal, low, medium, high, xhigh, max) |
/fork |
Fork the session from a checkpoint |
/local |
Manage local models (add, remove, edit) |
/model-provider <name> |
Pin a custom provider for the current OpenRouter model |
/help |
List available commands |
Alan supports OpenAI-compatible local models.
/local addThis opens an overlay with fields for Model ID, URL, API, and API Key. Use /local remove and /local edit to manage your local models. No API key or /login is needed for local models.
Alan stores everything under ~/.alan/ by default:
settings.json— your settings.sessions/— conversation history (append-only JSONL, one file per session).logs/— daily rotating logs.
All of these locations respect the ALAN_HOME environment variable, so you can redirect them if needed. Two other environment variables are useful:
ALAN_LOG_DIR— override the log directory.ALAN_MODEL— override the default model on startup, e.g.ALAN_MODEL=openai/gpt-4o-mini alan.
You'll need Rust 1.88 or newer (see Requirements).
git clone https://github.com/Revantark/alan
cd alan
cargo run -p alan- Rust 1.88 or newer (only for building from source)
- An API key for your chosen provider (not needed for local models)