Quickstart
Get started with Brokle in 5 minutes - install the SDK, initialize tracing, and capture your first LLM calls
Get started with Brokle in just a few minutes.
Installation
Install the Brokle SDK using your preferred package manager.
Python
pip install brokleJavaScript
npm install @brokle/sdkInitialize the Client
Create a new Brokle client with your API key.
from brokle import Brokle
client = Brokle(api_key="your-api-key")Create Your First Trace
Start tracing your AI application calls.
with client.trace("my-first-trace") as trace:
# Your AI code here
response = openai.chat.completions.create(...)
trace.log(response)Next Steps
- Explore the Tracing documentation
- Learn about Evaluations
- Check out our Integrations