Metadata-Version: 2.4
Name: opencodev
Version: 0.1.0
Summary: AI coding assistant CLI powered by OpenRouter — create files, fix bugs, run commands
License: MIT
Keywords: ai,cli,coding,assistant,openrouter,llm
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Opencodev

AI coding assistant CLI powered by OpenRouter. Create files, fix bugs, run commands — all from your terminal.

## Install

```bash
pip install opencodev
```

## Setup

Get a free API key at https://openrouter.ai, then run:

```bash
codev
```

On first launch, enter your OpenRouter API key when prompted.

## Usage

```bash
codev          # start CLI
opencodev      # same thing
```

### Commands

| Command | Description |
|---|---|
| `/model` | Switch AI model |
| `/skill list` | List installed skills |
| `/skill install <url>` | Install skill from GitHub |
| `/skill remove <name>` | Remove a skill |
| `/newchat` | Start new conversation |
| `/history` | List sessions |
| `/cd <path>` | Change working directory |
| `/pwd` | Show working directory |
| `/status` | Show config & stats |
| `/exit` | Exit |

### Examples

```
❯ create a Flask app with login and register routes

❯ read app.py and fix the bug in the login function

❯ create folder src with files main.py and utils.py

❯ run: python app.py
```

## Models supported

- Claude Opus/Sonnet 4
- GPT-4o / GPT-4o mini
- Gemini 2.5 Pro / Flash
- DeepSeek V3
- Llama 4
- Codestral
- And many more via OpenRouter

## License

MIT
