Example of using LangChain to develop AI Agent tools which fetch Disney info.
- Node.js 18 or higher
- npm or yarn
- An Anthropic API key
-
Install dependencies:
npm install
-
Copy the example environment file and add your API key:
cp .env.example .env
-
Edit
.envand add your API key:ANTHROPIC_API_KEY=your_actual_api_key_here
npm run devnpm run build
npm startnpm run watch