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.
| Example | What It Shows |
|---|---|
| OpenAI Agent | Auto-instrumentation, decorator, context manager |
| Anthropic Agent | Multi-step pipeline with Claude |
| Multi-Provider | OpenAI + Anthropic + Groq in one trace |
| LangChain Agent | WaxellLangChainHandler with chains |
| Streaming | OpenAI and Anthropic streaming capture |
| Multi-Agent | Coordinated agents with shared session |
| RAG Pipeline | Retrieval + behavior tracking |
| Scoring & Enrichment | Scores, tags, metadata |
| Governance | Policy enforcement + retry feedback |
| Prompt Management | Prompt retrieval and rendering |
| Agent Examples | 16 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:
| Agent | Category | What It Shows |
|---|---|---|
| FAISS RAG | Vector DB | Gold-standard multi-agent RAG with 3 providers |
| CrewAI | Framework | CrewAI crew execution with decorator observability |
| LangGraph | Framework | Stateful graph execution with waxell tracking |
| LlamaIndex | Framework | LlamaIndex RAG pipeline |
| Haystack | Framework | Haystack pipeline components |
| Tool Use | Patterns | Tool calling and inter-agent communication |
| Code Review | Use Case | Code review pipeline |
| Research | Use Case | Research pipeline with agentic behavior |
| MCP | Integration | MCP tool-calling patterns |
| Guardrails | Safety | Guardrails AI integration |
| Eval Frameworks | Evaluation | Evaluation framework integration |
| Support Agent | Use Case | Customer support workflow |
| Data Ingestion | Pipeline | Data ingestion with stage tracking |
| Voice AI | Voice | Voice AI pipeline (STT/TTS) |
| ChromaDB | Vector DB | ChromaDB document search |
| Pinecone | Vector DB | Pinecone managed vector search |