Klisk is a Python package that can be installed via pip. This guide covers installation, requirements, and verification.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Evincere/klisk/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
Python Version
Klisk requires Python 3.10 or higher. Check your Python version:If you need to upgrade Python, download the latest version from python.org.
API Keys
You’ll need an API key for at least one LLM provider:
- OpenAI — Get your API key at platform.openai.com/api-keys
- Anthropic — Get your API key at console.anthropic.com
- Google — Get your API key at aistudio.google.com/apikey
- Mistral — Get your API key at console.mistral.ai
OpenAI is the default provider, but Klisk supports any LiteLLM-compatible provider.
Install Klisk
Install Klisk using pip:- The
kliskCLI command - The Klisk Python library
- All required dependencies (OpenAI Agents SDK, FastAPI, LiteLLM, etc.)
Install in a Virtual Environment (Recommended)
It’s best practice to install Klisk in a virtual environment:Install Development Dependencies
If you plan to contribute to Klisk or run tests, install the development dependencies:pytest— Testing frameworkpytest-asyncio— Async test supporthttpx— HTTP client for testing
Verify Installation
Confirm that Klisk is installed correctly:View Available Commands
List all available CLI commands:Configure API Keys
After installation, you’ll need to configure your API keys. There are two ways to do this:Option 1: Project .env File (Recommended)
When you create a new project withklisk create, a .env file is automatically generated. Add your API keys there:
.env
Option 2: System Environment Variables
You can also set environment variables globally:Troubleshooting
Command not found: klisk
Command not found: klisk
If you get a “command not found” error after installation:
-
Check if pip installed to the correct location:
-
Ensure pip’s bin directory is in your PATH:
-
Try using
python -m kliskinstead:
ModuleNotFoundError: No module named 'klisk'
ModuleNotFoundError: No module named 'klisk'
This usually means Klisk wasn’t installed in your current Python environment:
-
Verify your Python environment:
-
Reinstall Klisk:
-
If using a virtual environment, make sure it’s activated:
ImportError: LiteLLM is required
ImportError: LiteLLM is required
If you see an error about LiteLLM when using non-OpenAI models:Or reinstall Klisk with LiteLLM support:
Python version too old
Python version too old
Klisk requires Python 3.10 or higher. If you have an older version:
- Install a newer Python version from python.org
-
Create a virtual environment with the new version:
-
Or use pyenv to manage multiple Python versions:
Upgrade Klisk
To upgrade to the latest version:Uninstall Klisk
To uninstall Klisk:klisk command and Python package, but preserves your agent projects.
Next Steps
Now that Klisk is installed, you’re ready to build your first agent:Quickstart
Build your first agent in 5 minutes
Introduction
Learn about Klisk’s features and capabilities