🏴☠️ Chat
🧱 Structured Output
🦜 Agents
🐶 Retrieval
🤖 Retrieval Agents
🌊 LangChain x AI SDK RSC
Open in GitHub
▲
+
🦜🔗
🤝
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 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!
Show intermediate steps
Send