Agent Spec Adapters - LangGraph#

Agent Spec adapter for LangGraph

↑ With the Agent Spec adapter for LangGraph, you can easily import agents from external frameworks using Agent Spec and run them with LangGraph.#

LangGraph facilitates the creation and management of long-running, stateful agents with durable execution and human-in-the-loop capabilities.

Get started#

To get started, set up your Python environment (Python 3.10 or newer required), and then install the PyAgentSpec package with the LangGraph extension.

python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install "pyagentspec[langgraph]"

Usage Examples#

You are now ready to use the adapter to: