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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
allegro_code-0.1.1.tar.gz
(13.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file allegro_code-0.1.1.tar.gz.
File metadata
- Download URL: allegro_code-0.1.1.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de6e31f68d11c4753f2ed960f1c49a10f9ff8e92f5339f5a3332697075e84ec1
|
|
| MD5 |
d62a2b92cd82afb2add40e32cae6ff4f
|
|
| BLAKE2b-256 |
5bf929048ac0489cc2641b1f9c8235e23394cd10cbe18dfecc81881275278972
|
File details
Details for the file allegro_code-0.1.1-py3-none-any.whl.
File metadata
- Download URL: allegro_code-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83bfc7b86b988b4fd03d7eee1348aa46337bb4888d79e3118e2efb6910685bf4
|
|
| MD5 |
453f6d57688540edcc1c2bbf281bda64
|
|
| BLAKE2b-256 |
7f6d8bc806c8485fbead89af45b6f19333b16631ae8ea123f9c1ca9f4230f53c
|