Skip to main content

Examples

Complete, runnable examples that demonstrate waxell-observe across real-world scenarios. Each example uses live API calls and can be run as-is once you set your environment variables.

ExampleWhat It Shows
OpenAI AgentAuto-instrumentation, decorator, context manager
Anthropic AgentMulti-step pipeline with Claude
Multi-ProviderOpenAI + Anthropic + Groq in one trace
LangChain AgentWaxellLangChainHandler with chains
StreamingOpenAI and Anthropic streaming capture
Multi-AgentCoordinated agents with shared session
RAG PipelineRetrieval + behavior tracking
Scoring & EnrichmentScores, tags, metadata
GovernancePolicy enforcement + retry feedback
Prompt ManagementPrompt retrieval and rendering
Agent Examples16 curated agents with architecture diagrams

Prerequisites

Install the SDK:

pip install waxell-observe

Set your environment variables:

export WAXELL_API_KEY="your-waxell-api-key"
export WAXELL_API_URL="https://api.waxell.ai"

Each example may also require provider-specific environment variables (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY). These are noted at the top of each page.

Agent Examples

Sixteen demo agents from the Waxell dev app with detailed architecture diagrams, embedded code walkthroughs, and SDK pattern explanations. Browse the full catalog or jump to a specific agent:

AgentCategoryWhat It Shows
FAISS RAGVector DBGold-standard multi-agent RAG with 3 providers
CrewAIFrameworkCrewAI crew execution with decorator observability
LangGraphFrameworkStateful graph execution with waxell tracking
LlamaIndexFrameworkLlamaIndex RAG pipeline
HaystackFrameworkHaystack pipeline components
Tool UsePatternsTool calling and inter-agent communication
Code ReviewUse CaseCode review pipeline
ResearchUse CaseResearch pipeline with agentic behavior
MCPIntegrationMCP tool-calling patterns
GuardrailsSafetyGuardrails AI integration
Eval FrameworksEvaluationEvaluation framework integration
Support AgentUse CaseCustomer support workflow
Data IngestionPipelineData ingestion with stage tracking
Voice AIVoiceVoice AI pipeline (STT/TTS)
ChromaDBVector DBChromaDB document search
PineconeVector DBPinecone managed vector search