Skip to main content

anyway-sdk on PyPI

View package on PyPI

Source on GitHub

View source code

Requirements

  • Python 3.10 or higher (< 4.0)
  • pip package manager

Installation

Install the Anyway SDK using pip:
pip install anyway-sdk
Or add it to your requirements.txt:
anyway-sdk>=0.0.4
We recommend using a virtual environment to manage your Python dependencies:
# Create a virtual environment
python -m venv venv

# Activate it (Linux/macOS)
source venv/bin/activate

# Activate it (Windows)
venv\Scripts\activate

# Install the SDK
pip install anyway-sdk

Verify Installation

Verify the SDK is installed correctly:
from anyway.sdk import Traceloop

# Initialize with your app name
Traceloop.init(app_name="test-app")
print("SDK installed successfully!")

Next Steps

Configuration

Configure the collector endpoint and authentication

Tracing LLM Calls

Start tracing your LLM calls