AI SDKs
LangChain
Agentic adapter for the LangChain JS SDK.
- package:
@agentic/langchain
- exports:
function createLangChainTools
- source
- LangChain JS docs
Install
Usage
Running this example
You’ll need a free API key from weatherapi.com
to run this example. Store it in a local .env
file as WEATHER_API_KEY
.
You’ll need an OpenAI API key
to run this example. Store it in a local .env
file as OPENAI_API_KEY
.