AI Settings

API Key

Web Search (EXA)

Supabase Vector Store

Environment Variables

Add these to your .env.local file:

OPENAI_API_KEY=your_openai_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key
GROQ_API_KEY=your_groq_api_key
GOOGLE_API_KEY=your_google_api_key
DEEPSEEK_API_KEY=your_deepseek_api_key
FIREWORKS_API_KEY=your_fireworks_api_key

Current Selection

Provider: OpenAI
Model: GPT-4o Mini
Max Tokens: 16,384
Context Window: 16,384
β–² + πŸ¦œπŸ”—
  • 🀝 This template showcases a LangChain.js agent and the Vercel AI SDK in a Next.js project.
  • πŸ› οΈ The agent has memory and access to a search engine and a calculator.
  • πŸ’» You can find the prompt and model logic for this use-case in app/api/chat/agents/route.ts.
  • 🦜 By default, the agent is pretending to be a talking parrot, but you can change the prompt to whatever you want!
  • 🎨 The main frontend logic is found in app/agents/page.tsx.
  • πŸ‘‡ Try asking e.g. What is the weather in Honolulu? below!