π΄ββ οΈ Chat
𧱠Structured Output
π¦ Agents
πΆ Retrieval
π€ Retrieval Agents
π React Server Components
πΈοΈ LangGraph
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