Batrachian Toad provides a unified Pythonic interface for interacting with various AI models directly from your terminal. It abstracts away the complexities of different AI providers (OpenAI, Anthropic, Google Gemini, etc.) into a simple API. The current version is 0.6.15, and as a pre-1.0 library, it is under active development with frequent releases.
pip install batrachian-toadVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates basic chat and image generation using the `Toad` class. It expects API keys like `OPENAI_API_KEY` to be set as environment variables. Without valid API keys, the actual AI calls will fail, though the Python code itself will execute up to the point of API interaction. Python 3.14 or newer is required.
Upgrade your Python installation to 3.14 or later. Consider using `pyenv` or a virtual environment manager to manage multiple Python versions.
Before running your application, set the necessary environment variables: `export OPENAI_API_KEY="your_key_here"` on Linux/macOS or `$env:OPENAI_API_KEY="your_key_here"` in PowerShell.
Call `Toad.set_default_provider('your_provider_name')` early in your application's lifecycle if you don't intend to use OpenAI or need to switch providers.Monitor the project's GitHub releases and changelog for specific breaking changes. Pin your dependency to a specific minor version (`batrachian-toad==0.6.*`) to prevent unexpected updates.
No dependency data recorded yet.