Anzar — AI Software Engineer Agent
Local-first coding agent for your terminal. Install with one command, then run it in any project — ask for a change, review diffs, and roll back. No login, no server required.
Install
One command, on any platform (bootstraps Python/pipx if needed):
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/ghaaith/anzar-agent/main/scripts/install.sh | sh
# Windows (PowerShell)
irm https://raw.githubusercontent.com/ghaaith/anzar-agent/main/scripts/install.ps1 | iex
Prefer plain pip?
pipx install anzar-agent
# or
pip install anzar-agent
Requires Python 3.10+.
Quickstart
# start the interactive terminal UI
anzar
# or run a single task and exit
anzar "explain this codebase"
anzar "add tests for the checkout module"
On first run, anzar asks which AI provider to use and where to paste your API key. You can also configure it manually (see below).
Create a free API key with any provider to get started:
| provider | key | free tier |
|---|---|---|
| openrouter | https://openrouter.ai/keys | yes |
| groq | https://console.groq.com/keys | yes |
| gemini | https://aistudio.google.com/apikey | yes |
| ollama | local, no key needed | yes |
| openai / anthropic | provider console | no |
Everyday commands
| command | what it does |
|---|---|
anzar |
open the interactive terminal UI |
anzar "task" |
run one task and exit |
anzar checkpoint |
snapshot the current workspace |
anzar diff |
show changes since the last checkpoint |
anzar diff <id> |
review changes versus a specific checkpoint |
anzar diff A..B |
diff between two checkpoints |
anzar rollback |
restore the workspace to the last checkpoint |
anzar rollback <id> |
restore to a specific checkpoint |
anzar history |
recent tasks for this workspace |
anzar doctor |
show environment/configuration diagnostics |
Checkpoints are per-workspace. Snapshot with anzar checkpoint before big
changes, then diff or roll back whenever you need to.
Configuration
The first-run wizard writes your key into local settings; the rest lives in
~/.anzar/config.yaml:
provider: groq
model: openai/gpt-oss-120b
Environment variables also work and override on launch:
export ANZAR_PROVIDER=groq
export ANZAR_API_KEY=your-key # overrides provider-specific vars
export GROQ_API_KEY=your-key
Provider env vars: OPENROUTER_API_KEY, GROQ_API_KEY, GOOGLE_API_KEY,
OPENAI_API_KEY, ANTHROPIC_API_KEY.
Inside the UI, /provider, /model, /apikey, and /help adjust the session
without touching files.
How it works
- Read-only gate: every shell command is checked against a command policy; destructive commands are blocked or require your approval before running
- Workspace checkpoints let you diff and roll back anything the agent changed
- Everything runs locally against your own project files — no uploads
Development
git clone https://github.com/ghaaith/anzar-agent.git
cd anzar-agent
pip install -e ".[dev]"
python -m pytest -q # full suite, no API key required
ruff check src tests # lint
License
MIT
Metadata
Release files for anzar-agent 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| anzar_agent-0.1.2.tar.gz | 151.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anzar_agent-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 276.1 kB
Release files / anzar_agent-0.1.2.tar.gz
| Download URL | anzar_agent-0.1.2.tar.gz |
|---|---|
| Size | 151.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27ce7a57058d253a5fb5dd9f650b2ea96b88a44c7755844e022a637a61e9530d
|
|
BLAKE2b-256 checksum How to use checksums |
78a9ce980ddae218b6bda4f1bba2305772a89f7752951551c7f0ad50ce1fda27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / anzar_agent-0.1.2-py3-none-any.whl
| Download URL | anzar_agent-0.1.2-py3-none-any.whl |
|---|---|
| Size | 124.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e4bfb299b629fe14e0d7a20a67244cbf63e919927c175369d1eb47e4a662830
|
|
BLAKE2b-256 checksum How to use checksums |
fc6cd19239dfc48e04b1bbd98b66a460c775c7ba6e2a2102d1a8c48c32599f46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for anzar-agent 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.