Metadata-Version: 2.4
Name: allegro-code
Version: 0.1.1
Summary: Minimal coding agent harness built on AllegroAgent
Author-email: Ajith <mailingtoajith@gmail.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/ajithraghavan/allegro-code
Project-URL: Repository, https://github.com/ajithraghavan/allegro-code
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: allegro-agent>=0.3.0
Dynamic: license-file

# Allegro Code

<p align="center">
  <img src="allegro-code-logo-light.png" alt="AllegroCode logo" width="400">
</p>

A minimal experimental coding agent harness built on [AllegroAgent](https://github.com/anomalyco/allegro-agent).

## ✨ 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

```bash
pip install allegro-code
```

## 🚀 Usage

```bash
export OPENROUTER_API_KEY="sk-..."
allegro-code
```

By default the agent uses `openrouter:openai/gpt-4o-mini`. Pass `--model` to change it:

```bash
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

```bash
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
