Skip to main content

AI CLI

Project description

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
  • 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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_ai_cli-0.0.16.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_ai_cli-0.0.16-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file python_ai_cli-0.0.16.tar.gz.

File metadata

  • Download URL: python_ai_cli-0.0.16.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for python_ai_cli-0.0.16.tar.gz
Algorithm Hash digest
SHA256 214ee413942bb1a328fd2d9aee558730ef10d5de046ff696839257b87e0170c1
MD5 f5aa309e19d6ce3d216390fadde3ca32
BLAKE2b-256 a5c945fbe762f823de234ef981424fa0cbec4758448afff8c39ee02b45d53ecc

See more details on using hashes here.

File details

Details for the file python_ai_cli-0.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for python_ai_cli-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 ef123473bbe7909d26b63d672391b9963b6fd3667a4dc925a2815496f873e46e
MD5 ed5ca9fff14513aec84a249a2240ec5c
BLAKE2b-256 f18f66ba1cb9a87357cdb22f37c2573ad86f023701eaadbb821b9c8c94a2affe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page