A minimal experimental coding agent harness built on AllegroAgent.
- 🛠️ Tool-backed agent — read, edit, bash, and list files right from the CLI
- 🔌 OpenRouter integration — bring your own model (Claude, GPT, Gemini, etc.)
- 🧪 Lightweight & extensible — built on AllegroAgent's provider system
pip install allegro-codeexport OPENROUTER_API_KEY="sk-..."
allegro-codeBy default the agent uses openrouter:openai/gpt-4o-mini. Pass --model to change it:
allegro-code --model "openrouter/anthropic/claude-sonnet-20240620"| Flag | Description |
|---|---|
--model |
Model to use (default: openrouter:openai/gpt-4o-mini) |
--temperature |
Sampling temperature (0.0–2.0) |
--max-tokens |
Max response tokens |
--yes / -y |
Skip confirmation prompts |
git clone https://github.com/ajithraghavan/allegro-code
cd allegro-code
python -m venv .venv && source .venv/bin/activate
pip install -e .
pytestApache 2.0
