This PR updates the LangChain Arcade integration to v1.0.0, making the following key changes: • Bumped the package version in pyproject.toml from 0.2.0 to 1.0.0. • Changed the default parameter in ArcadeToolManager from langgraph=False to langgraph=True. • Updated dependencies to require langgraph≥0.2.67,<0.3.0 and simplified extras. • Adjusted example scripts to remove explicit authorization_url references in favor of a unified URL field. • Updated docs and environment references to align with new usage patterns and emphasize environment variables. These changes unify and streamline the LangGraph-based tooling while ensuring compatibility with the latest 1.0.0 release. |
||
|---|---|---|
| .. | ||
| configuration.py | ||
| env.example | ||
| graph.py | ||
| langgraph.json | ||
| README.md | ||
| requirements.txt | ||
Setup
API keys
Follow these instructions to Install Arcade AI and create an API key.
This example is using OpenAI, as the LLM provider. Ensure you have an OpenAI API key.
Environment variables
Copy the env.example file to .env and supply your API keys for at least OPENAI_API_KEY and ARCADE_API_KEY.
Usage with LangGraph API
Local testing with LangGraph Studio
For testing locally (e.g., currently supported only on MacOS), you can use the LangGraph Studio desktop application.
Download LangGraph Studio and open this directory in the Studio application.
The langgraph.json file in this directory specifies the graph that will be loaded in Studio.
Deploying to LangGraph Cloud
Follow these instructions to deploy your graph to LangGraph Cloud.