Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

LangChain/LangGraph Integration

This example demonstrates how to connect a LangChain/LangGraph agent to ArkSim using the custom agent connector.

Prerequisites

  1. Install LangGraph and the OpenAI integration:

    pip install langgraph langchain-openai
  2. Set your API key:

    export OPENAI_API_KEY="<your-key>"

Usage

From this example directory, run:

arksim simulate-evaluate config.yaml

Files

File Description
custom_agent.py LangChain/LangGraph integration
config.yaml Simulator configuration
scenarios.json Simulation scenarios