Skip to main content

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 ai launcher
  • 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 chat
  • ai code
  • ai summarize

Use ai --help to see the available subcommands and options for each group.

Project Layout

  • ai_toolkit/main.py - Typer application and command registration
  • ai_toolkit/commands/ - command group modules
  • ai_toolkit/core/ - OpenRouter client helpers and shared logic
  • install.ps1 and install.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.

Metadata

Release files for ai-toolkit-cli 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-toolkit-cli 1.1.3
File Size Uploaded Provenance Actions
ai_toolkit_cli-1.1.3.tar.gz 8.0 kB Without provenance Details for ai_toolkit_cli-1.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-toolkit-cli 1.1.3
File Interpreter ABI Platform Actions
ai_toolkit_cli-1.1.3-py3-none-any.whl Python 3 none any Details for ai_toolkit_cli-1.1.3-py3-none-any.whl

Total release size: 17.8 kB

Release files / ai_toolkit_cli-1.1.3.tar.gz

Download URL ai_toolkit_cli-1.1.3.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ce6e2a5a42f464142abfeeeeb5d44b99328d3103f14b99eb2e59f568c1c30205
BLAKE2b-256 checksum
How to use checksums
d1db9829b3b9798a46c2b327868601b5c112393fe01331eedb2d249ca18100bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / ai_toolkit_cli-1.1.3-py3-none-any.whl

Download URL ai_toolkit_cli-1.1.3-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46094bd07c9efe063b1e7b0cd9828651c37cc192182ff26dc968c56609a39f07
BLAKE2b-256 checksum
How to use checksums
e88d829ecca8f4e266747bee2be9f84c7c2e7bc7b44675cf23b5b975cef1bad9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Security for ai-toolkit-cli 1.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page