Installation
opentine 0.7.0 supports Python 3.11 through 3.14(>=3.11,<3.15).
# Core runtime and CLI
pip install opentine==0.7.0
# Native cloud providers
pip install "opentine[anthropic]"
pip install "opentine[openai]"
pip install "opentine[google]"
# OpenAI-compatible provider wrappers
pip install "opentine[compat]"
# Compatibility alias; cryptography is already a core dependency
pip install "opentine[crypto]"
# Optional MCP server
pip install "opentine[mcp]"
# Live callback capture for LangChain and LangGraph
pip install "opentine[langchain]"
# Provider SDKs plus both separately excluded integrations
pip install "opentine[all,mcp,langchain]"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.