Integrating with Noveum Trace SDK
The Noveum Trace SDK is a simple, decorator-based tracing library for LLM applications and multi-agent systems. It provides an easy way to add observability to your Python applications with minimal code changes.
1. Why Use Noveum Trace?
- 🎯 Decorator-First API: Add tracing with a single
@trace
decorator - 🤖 Multi-Agent Support: Built for multi-agent systems and workflows
- ☁️ Cloud Integration: Send traces to Noveum platform or custom endpoints
- 🔌 Framework Agnostic: Works with any Python LLM framework
- 🚀 Zero Configuration: Works out of the box with sensible defaults
- 📊 Comprehensive Tracing: Capture function calls, LLM interactions, and agent workflows
2. Installation
Install the SDK using pip:
3. Quick Start
Basic Setup
Environment Variables
You can also configure using environment variables:
4. Basic Usage
Tracing Functions
Tracing LLM Calls
Tracing Agent Workflows
5. Multi-Agent Example
6. Context Managers
For scenarios where you need granular control or can't modify function signatures:
7. Auto-Instrumentation
Automatically trace existing code without modifications:
8. Available Decorators
@trace - General Purpose Tracing
@trace_llm - LLM Call Tracing
@trace_agent - Agent Workflow Tracing
@trace_tool - Tool Usage Tracing
@trace_retrieval - Retrieval Operation Tracing
9. Advanced Configuration
Programmatic Configuration
Thread Management
Track conversation threads and multi-turn interactions:
10. Streaming Support
Trace streaming LLM responses with real-time metrics:
Examples
We provide comprehensive examples to help you get started with Noveum Trace:
- Basic Usage Example - Core functionality and decorators
- Agent Workflow Example - Multi-agent coordination
- Langchain Integration Example - Framework integration
- Flexible Tracing Example - Context managers and auto-instrumentation
- Streaming Example - Real-time streaming support
- Multimodal Examples - Image, audio, and video processing
Next Steps
- Learn how to create Datasets from your traced data
- Set up Eval Jobs to automatically compare models
- Integrate external providers beyond OpenAI or Anthropic
Get Early Access to Noveum.ai Platform
Be the first one to get notified when we open Noveum Platform to more users. All users get access to Observability suite for free, early users get free eval jobs and premium support for the first year.