Skip to main content
Helicone OSS LLM Observability

LangGraph Integration

Integrate Helicone AI Gateway with LangGraph to build multi-agent workflows with access to 100+ LLM providers.
1 min read

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.

Note

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:

Tip

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():

Info

Looking for a framework or tool not listed here? Request it here!