Docs • Quick Start • Discord • Issues • Website
Debug, evaluate, and optimize your LLM applications with complete visibility. Open source. OpenTelemetry-native. Self-host anywhere.
git clone https://github.com/brokle-ai/brokle.git
cd brokle
make setup && make dev| Service | URL |
|---|---|
| Dashboard | http://localhost:3000 |
| API | http://localhost:8080 |
Prerequisites: Docker and Docker Compose
📚 Full setup guide: docs/DEVELOPMENT.md
pip install broklefrom brokle import Brokle
client = Brokle(api_key="bk_...")
with client.trace("my-agent") as trace:
response = openai.chat.completions.create(...)npm install brokleimport { Brokle } from 'brokle';
const client = new Brokle({ apiKey: 'bk_...' });
await client.trace('my-agent', async () => {
const response = await openai.chat.completions.create(...);
});export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:8080
export OTEL_EXPORTER_OTLP_HEADERS="x-api-key=bk_..."| Framework | Status | Docs |
|---|---|---|
| OpenAI | ✅ Native | Guide |
| Anthropic | ✅ Native | Guide |
| LangChain | ✅ Supported | Guide |
| LlamaIndex | ✅ Supported | Guide |
| OpenTelemetry | ✅ Native | Guide |
Complete traces of every AI call with latency, token usage, and cost. Debug chains, agents, and complex pipelines step by step.
Automated quality scoring with LLM-as-judge, custom evaluators, and experiments at scale. Define what quality means for your use case.
Version control for prompts with full history. A/B test variations with real traffic and roll back instantly.
- Open Source – Transparent, extensible, and community-driven
- OpenTelemetry Native – Built on open standards, no vendor lock-in
- Self-Host Anywhere – Keep your data on your infrastructure
- Unified Platform – Observe, evaluate, and manage in one tool
- 🚀 Getting Started — Setup and development guide
- 📡 API Reference — REST & WebSocket documentation
- 🏗️ Architecture — System design and technical details
- 🚢 Deployment — Production-ready options
Port 8080 already in use
lsof -ti:8080 | xargs kill -9Docker containers not starting
docker-compose down -v
make setupDatabase migration errors
make migrate-down
make migrate-upNeed help? Join Discord or open a GitHub Issue.
We welcome contributions! See our Contributing Guide to get started.
MIT licensed, except for ee/ folders. See LICENSE for details.
- Discord – Chat with the team
- Twitter – Updates and news
- GitHub Discussions – Questions and ideas
If Brokle helps you ship AI, give us a star!