Allegro Code
A minimal experimental coding agent harness built on AllegroAgent.
✨ Features
- 🛠️ 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
📦 Installation
pip install allegro-code
🚀 Usage
export OPENROUTER_API_KEY="sk-..."
allegro-code
By default the agent uses openrouter:openai/gpt-4o-mini. Pass --model to change it:
allegro-code --model "openrouter/anthropic/claude-sonnet-20240620"
⚙️ Options
| 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 |
🧑💻 Development
git clone https://github.com/ajithraghavan/allegro-code
cd allegro-code
python -m venv .venv && source .venv/bin/activate
pip install -e .
pytest
📄 License
Apache 2.0
Metadata
Release files for allegro-code 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| allegro_code-0.1.1.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| allegro_code-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.8 kB
Release files / allegro_code-0.1.1.tar.gz
| Download URL | allegro_code-0.1.1.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de6e31f68d11c4753f2ed960f1c49a10f9ff8e92f5339f5a3332697075e84ec1
|
|
BLAKE2b-256 checksum How to use checksums |
5bf929048ac0489cc2641b1f9c8235e23394cd10cbe18dfecc81881275278972
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / allegro_code-0.1.1-py3-none-any.whl
| Download URL | allegro_code-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83bfc7b86b988b4fd03d7eee1348aa46337bb4888d79e3118e2efb6910685bf4
|
|
BLAKE2b-256 checksum How to use checksums |
7f6d8bc806c8485fbead89af45b6f19333b16631ae8ea123f9c1ca9f4230f53c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|