Skip to main content
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.
The core only install is appropriate when you intend to govern HTTP-level calls via httpx / requests and don’t use the official provider SDKs at all. See HTTP clients.
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 your requirements.txt / pyproject.toml:
requirements.txt
Refer to the PyPI page for the latest released version.

Verify the install

You should see the installed version, for example 0.28.0.

Upgrade

The changelog describes user-facing changes per release.

Uninstall

Uninstalling removes the SDK; your provider SDKs and application code are unaffected. Any data already audited to your dashboard remains.

What’s next

Quickstart

Make your first governed call.

Configuration

Read every option egisai.init() accepts.