AI Toolkit CLI powered by OpenRouter
Project description
ai-toolkit-cli
AI Toolkit CLI is a small Typer-based command-line app for AI-assisted terminal workflows. It exposes a single entry point named ai and routes into the chat, code, and summarize command groups.
Features
- Fast command-line access through the
ailauncher - OpenRouter-backed chat completions
- Separate command groups for chat, code generation, and summarization
- Simple environment-driven configuration
Installation
Create a virtual environment and install the project in editable mode:
python -m venv .venv
.venv\Scripts\activate
python -m pip install --upgrade pip
pip install -e .
After installation, verify the CLI loads:
ai --help
Configuration
The client reads OPENROUTER_API_KEY from the environment. Store it in a local .env file so it is loaded automatically at runtime:
OPENROUTER_API_KEY=your_openrouter_key_here
Do not commit .env or .pypirc files.
Usage
The project currently exposes these command groups:
ai chatai codeai summarize
Use ai --help to see the available subcommands and options for each group.
Project Layout
ai_toolkit/main.py- Typer application and command registrationai_toolkit/commands/- command group modulesai_toolkit/core/- OpenRouter client helpers and shared logicinstall.ps1andinstall.sh- convenience install scripts
Publishing
The package metadata is defined in pyproject.toml, including the console script entry point and dependency list. Build artifacts such as dist/ and *.egg-info/ are already ignored for local development.
Notes
The repository is still lightweight by design. Add command examples and screenshots here as the CLI grows.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 ai_toolkit_cli-1.0.2.tar.gz.
File metadata
- Download URL: ai_toolkit_cli-1.0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4671bce8b11c37bf6f4f70dabe445b1a6e3b923c55a99c5ffe0215ab60e53410
|
|
| MD5 |
79d60f4e8c8ebb3ecec022b562a58283
|
|
| BLAKE2b-256 |
2de127993283ec273f5de0883b18d35f2c24ec034e584d1d9dcaac2d73edb73f
|
File details
Details for the file ai_toolkit_cli-1.0.2-py3-none-any.whl.
File metadata
- Download URL: ai_toolkit_cli-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a82b147f6e25bd04b95a604514b585c78e49bd299267a92eb8454ebbd9abcba
|
|
| MD5 |
79cf7d1b04b95874905f22348b0726c4
|
|
| BLAKE2b-256 |
f5bff549343fd029722b0f5dc669f8513c14d6e6a0e21e52c714c8905de9b8c4
|