Langgraph JS
Code execution for Langgraph in JavaScript
Install the required dependencies
This walkthrough uses @langgraph/openai
, however these exact steps should work for any of the langgraph providers like
@langgraph/anthropic
Get your Freestyle API Key from the Freestyle Dashboard
Set up the Code Executor
You can also pass in any nodeModules, environment variables, timeout, or network restrictions you need.