Skip to main content

AI CLI

GitHub License npm PyPI - Version GitHub release (latest SemVer) Build

ai-cli is a command-line interface (CLI) tool that lets you go from zero to AI-powered in seconds in a safe, automated, and tailored way.

✨ Features | 🚀 Getting Started | 🎥 Demos

✨ Features

  • Policies: set rules for AI interactions and tool usage
  • Discovery: find and use inference providers and tools automatically
  • Configure AI-powered editors*: help configure standard AI-powered editors with discovered tools
  • Setup environment: setup environemnt with necessary credentials, etc
  • Extensible: add plugins to extend functionality
  • Multi-model support: support for different LLM inference providers (Google Gemini, LMStudio, Ollama, Ramalama)

🚀 Getting Started

The quickest way to get started is by exposing an API key from Google Gemini (export GEMINI_API_KEY=$YOUR_KEY) or by pulling one of the supported Ollama models.

Node environment available (npm)

If you have Node.js installed, you can run the CLI directly by using npx:

# Show the available commands
npx npm-ai-cli@latest help
# Start a TUI-based chat session
npx npm-ai-cli@latest chat
# Discover available tools and providers
npx npm-ai-cli@latest discover

Python environment available (pip)

If you have Python installed, you can run the CLI directly by using uvx:

# Show the available commands
uvx python-ai-cli@latest help
# Start a TUI-based chat session
uvx python-ai-cli@latest chat
# Discover available tools and providers
uvx python-ai-cli@latest discover

Go (Golang) environment available

If you have Go installed, you can install the CLI by running:

go install github.com/manusa/ai-cli/cmd/ai-cli@latest

After installation, make sure your $GOPATH/bin is in your system's PATH to run the ai-cli command directly from your terminal.

# Show the available commands
ai-cli help
# Start a TUI-based chat session
ai-cli chat
# Discover available tools and providers
ai-cli discover

Manual installation

You can also install the CLI manually by downloading a binary compatible with your OS from the latest release.

[!NOTE] For macOS users: you might need to run xattr -rc /path/to/ai-cli to remove the quarantine attribute. We're still not signing the binaries, but it's on our roadmap.

🎥 Demos

Chat TUI

ai-cli chat demo

Discovery

ai-cli discover demo

Cursor MCP servers configuration

ai-cli MCP config demo

Setup

ai-cli setup demo

Metadata

Release files for python-ai-cli 0.0.18

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

Source distribution (sdist)

Source distribution for python-ai-cli 0.0.18
File Size Uploaded
python_ai_cli-0.0.18.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-ai-cli 0.0.18
File Interpreter ABI Platform
python_ai_cli-0.0.18-py3-none-any.whl Python 3 none any Details

Total release size: 8.6 kB

Release files / python_ai_cli-0.0.18.tar.gz

Download URL python_ai_cli-0.0.18.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
286469e0e89725def7cf24043f73c619afc2763666458ef41099b019acc4e1b4
BLAKE2b-256 checksum
How to use checksums
5a84dbd1c44ce9e5b348274df61d1b7b6e9d00d34206bba7ef68eb800958ab9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release files / python_ai_cli-0.0.18-py3-none-any.whl

Download URL python_ai_cli-0.0.18-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44128422f67029141c786fa060a08fd8c3e3b44dd80125e83752ba8f84fb20fa
BLAKE2b-256 checksum
How to use checksums
dec65f9b54de422767bd89cc5761d404a901d823f69149ffff72319978cfa501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.5

Release history Release notifications | RSS feed

This release

0.0.18 This release

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

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