Introduction#
LangGraph is a framework for building stateful, multi-agent applications with LLMs. The integration with Helicone AI Gateway is nearly identical to the LangChain integration, with the addition of agent-specific features.
This integration requires only two changes to your existing LangGraph code - updating the base URL and API key. See the LangChain AI Gateway docs for full feature details.
Quick Start#
Follow the same setup as LangChain AI Gateway integration, then create your agent:
While you're here, why not give us a star on GitHub? It helps us a lot!
Migration Example#
Before (Direct Provider)#
After (Helicone AI Gateway)#
Adding Custom Headers to Agent Invocations#
You can add custom properties when calling your agent with invoke():
Looking for a framework or tool not listed here? Request it here!
Related Documentation#
Learn about Helicone's AI Gateway features and capabilities
Configure intelligent routing and automatic failover
Browse all available models and providers
Full AI Gateway feature documentation
Track multi-turn conversations and agent workflows
Add metadata to track and filter your requests
