Requirements
- Python
- TypeScript
Python 3.10 or later. The package depends on
pydantic and httpx only; the command-line tool adds Typer.Installing the package
kardinal-ai but imports as kardinal: from kardinal import Kardinal.
Installing the command-line tool
Thekardinal command ships with both packages, behind an optional dependency.
Supported runtimes
- Python
- TypeScript
The client is synchronous: every method returns once its HTTP call is done. The package ships its type hints (
py.typed), so a type checker such as mypy or Pyright, and your editor, see the types of every model and method.Verifying the installation
WithKARDINAL_API_KEY set (see Client configuration), the command-line tool checks the key against the API without creating anything:

