Quick Start
Integrate Helicone with LangChain by configuring your LLM with Helicone’s base URL:Installation
- Python
- Node.js
Supported Providers
Helicone works with all LangChain LLM integrations:OpenAI
Anthropic
Azure OpenAI
Chain Observability
Simple Chains
Track simple LLM chains:Sequential Chains
Track multi-step chains:Agents and Tools
Track agent execution and tool calls:Session Tracking
Group related chain executions:Custom Properties
Add metadata to track different aspects of your chains:RAG Applications
Track Retrieval-Augmented Generation workflows:Streaming
Helicone supports streaming in LangChain:Prompt Tracking
Track different prompt versions:Troubleshooting
Requests not appearing in dashboard
Requests not appearing in dashboard
Check these common issues:
- Verify
openai_api_baseis set correctly - Ensure
Helicone-Authheader is indefault_headers - Check that your
HELICONE_API_KEYis correct - For Anthropic, use
anthropic_api_urlinstead ofapi_base
Headers not being passed
Headers not being passed
Make sure to use
default_headers (not headers):Multiple LLM calls in one chain
Multiple LLM calls in one chain
Each LLM call in a chain is logged separately. Use
Helicone-Session-Id to group them:Examples
See more examples in our documentation:Next Steps
Sessions
Track multi-turn conversations
Custom Properties
Add metadata to requests
Prompts
Version and manage prompts
Dashboard
Analyze chain performance