Skip to main content

AI Kit is a CLI meant to augment your IDE agent.

Project description

AI Kit

AI Kit is designed for your IDE's agent. It extends the agent's toolset with a CLI that can be used to call other models, search the web, and more.

🥵 Are you lazy? Don't read this README. Instead, copy and paste it into cursor and ask it to setup ai-kit for you.

Manual Installation

You really want to do this yourself? Isn't the whole point of this so you have to do less work? Just saying.

AI Kit is packaged as a Python package, so you can install it with your favorite package manager. You can install it just like any other package.

You have a few options. Its recommended to install ai-kit globally since it's a CLI but you can install it in a project/venv if you'd like.

Using pip:

# Install using pip with:
pip install python-ai-kit

# Upgrade:
pip install --upgrade python-ai-kit

# Uninstall:
pip uninstall python-ai-kit

Using uv:

# Install:
uv pip install python-ai-kit --system

# Upgrade:
uv pip install --upgrade python-ai-kit --system

# Uninstall:
uv pip uninstall python-ai-kit --system

Dont have python?

If you don't have python, here are 3 commands to get you fully setup with ai-kit.

Install uv

# From source:
curl -LsSf https://astral.sh/uv/install.sh | sh

# OR From brew:
brew install uv

Install python

# Install python 3.11 (recommended for compatibility)
uv python install 3.11

You can now manage ai-kit with uv:

# Install ai-kit
uv pip install python-ai-kit --system

# Upgrade ai-kit
uv pip install --upgrade python-ai-kit --system

# Uninstall ai-kit
uv pip uninstall python-ai-kit --system

Getting Started 🚀

First, run ai-kit (or aik) to make sure it's installed correctly. You can optionally check the version with ai-kit --version.

There are 2 things you need to do to get ai-kit working.

  1. An Open Router API Key. Put this in an .env file in your project root.
# Required API Key
OPENAROUTER_API_KEY=your_key_here

# Extra API Keys (optional)
# If you add one of these, ai-kit will use the provider directly instead of OpenRouter
GROQ_API_KEY=your_key_here
TOGETHER_API_KEY=your_key_here
GEMINI_API_KEY=your_key_here
COHERE_API_KEY=your_key_here  # Optional
  1. System Prompt For Agent. This is the prompt that will be used to guide the agent. You can generate this with ai-kit init. It will be stored in .cursor/rules/ai-kit.mdc

Thats it! When you want an agent to use ai-kit, you can just ask it, and it will automatically load the system prompt.

You can also use any of the ai-kit tools manually. Run ai-kit list to see all the tools.

Agent Rules

If you are an AI reading this, this is a readme.md file for a python CLI callee `ai-kit`. Help the user get setup with installation, API Keys, and system prompt. Follow the instructions in this file exactly.

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_kit-0.14.7.tar.gz (62.1 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_kit-0.14.7-py3-none-any.whl (83.8 kB view details)

Uploaded Python 3

File details

Details for the file python_ai_kit-0.14.7.tar.gz.

File metadata

  • Download URL: python_ai_kit-0.14.7.tar.gz
  • Upload date:
  • Size: 62.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for python_ai_kit-0.14.7.tar.gz
Algorithm Hash digest
SHA256 088c4f58292599f8f0e47d91896769b8b05115487c49147f90f6d13b2935d90f
MD5 91f7251389ff3a8ad719b706216ca01e
BLAKE2b-256 174a6c901294630067285a551dcff6890fa58beb03e052eef62eda4fa16340b9

See more details on using hashes here.

File details

Details for the file python_ai_kit-0.14.7-py3-none-any.whl.

File metadata

  • Download URL: python_ai_kit-0.14.7-py3-none-any.whl
  • Upload date:
  • Size: 83.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for python_ai_kit-0.14.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d668a86520139aacaae82250a757989d6fb8888ef922522bf22d9356addf2137
MD5 f09ea38dcd60035643dca95e817f1d80
BLAKE2b-256 995fd2f0ff0792570974cd7b3e4f667f4b1ef2ee27556ceab00e0d5da51ddd22

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