Skip to main content
LangGraph is an OSS library for building stateful, multi-actor applications with LLMs, specifically designed for agent and multi-agent workflows. The framework supports critical agent architecture features including persistent memory across conversations and human-in-the-loop capabilities through checkpointed states.

Install libraries

Set your Together API key:

Example

In this example, you augment an LLM with a calculator tool.

Next steps

Learn more about building agents using LangGraph with Together AI in these notebooks:

Agentic RAG notebook

Build an agentic retrieval-augmented generation (RAG) workflow with LangGraph.

Planning agent notebook

Build a planning agent with LangGraph.