🦜 Polly the Agentic Parrot
▲ Next.js + LangChain.js Agents 🦜🔗
- 🤝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
. - 🐙This template is open source - you can see the source code and deploy your own version Messaging API reference!
- 👇Try asking e.g.
What is the weather in Honolulu?
below!