Installation
opentine 0.9.1 supports Python 3.11 through 3.14(>=3.11,<3.15).
These commands install the published v0.9.1 PyPI release; see the release-status guide before testing source builds.
# Core runtime and CLI
pip install opentine==0.9.1
# Native cloud providers
pip install "opentine[anthropic]==0.9.1"
pip install "opentine[openai]==0.9.1"
pip install "opentine[google]==0.9.1"
# OpenAI-compatible provider wrappers
pip install "opentine[compat]==0.9.1"
# Compatibility alias; cryptography is already a core dependency
pip install "opentine[crypto]==0.9.1"
# Optional MCP server
pip install "opentine[mcp]==0.9.1"
# Live callback capture for LangChain and LangGraph
pip install "opentine[langchain]==0.9.1"
# Provider SDKs plus both separately excluded integrations
pip install "opentine[all,mcp,langchain]==0.9.1"Provider extras
Core includes httpx, rich, andcryptography. Provider SDKs remain optional so a local-only or single-provider environment does not install unrelated clients. OpenAI-compatible hosted and local wrappers share the OpenAI SDK through [compat]. The [all] extra installs Anthropic, OpenAI, and Google SDKs; it does not include [mcp] or [langchain]. Ollama uses the corehttpx dependency and needs no provider extra.
Framework capture
The [langchain] extra installs langchain-core for the callback protocol shared by LangChain and LangGraph. It does not install a full framework application. See the LangChain and LangGraph integration.
Verify the install
python -c "import opentine; print(opentine.__version__)"
tine --helpProvider credentials
Native adapters read their standard environment variables, includingANTHROPIC_API_KEY, OPENAI_API_KEY, andGOOGLE_API_KEY. Ollama defaults to a local endpoint and does not require an API key.
Signing choice
HMAC-SHA256 and Ed25519 are available from a plain core install.[crypto] remains only as a compatibility alias for older installation instructions. See verify and sign.