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.
25 lines
1 KiB
Markdown
25 lines
1 KiB
Markdown
## Setup
|
|
|
|
### API keys
|
|
|
|
Follow [these instructions](https://docs.arcade.dev/home/custom-tools/) 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](https://platform.openai.com/docs/quickstart).
|
|
|
|
### 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](https://github.com/langchain-ai/langgraph-studio?tab=readme-ov-file#download) 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](https://langchain-ai.github.io/langgraph/cloud/quick_start/#deploy-to-cloud) to deploy your graph to LangGraph Cloud.
|