egisai is a regular Python package. Install it with pip (or your packaging
tool of choice — Poetry, uv, Hatch all work the same way) into the same
environment that runs your AI application.
Requirements
The SDK has minimal direct dependencies. Provider integrations are activated
only if the matching SDK is importable at runtime, so you do not pay for what
you don’t use.
Install with pip
The
google extra installs google-genai. The google-legacy extra
installs google-generativeai. Both are governed and can be installed
together when an application uses both SDKs.Using the inline Gateway with
egisai.Client? Install the openai extra —
pip install "egisai[openai]" — it provides the Gateway’s wire format.
The Gateway routes to every supported provider from the model name, so
no other provider SDK is needed.Install in a virtual environment
Pinned versions
For reproducible builds, pin the SDK in yourrequirements.txt /
pyproject.toml:
requirements.txt
Verify the install
0.28.0.
Upgrade
Uninstall
What’s next
Quickstart
Make your first governed call.
Configuration
Read every option
egisai.init() accepts.