Files
letta-server/fern/pages/cookbooks.mdx
2025-09-09 09:35:12 -07:00

142 lines
3.6 KiB
Plaintext

---
title: Letta Cookbooks
# layout: page
# hide-feedback: true
# no-image-zoom: true
slug: cookbooks
---
<style>
{`
img {
cursor: pointer !important;
}
.rm-Lightbox-trigger {
cursor: pointer !important;
}
[data-rmiz-wrap="visible"],
[data-rmiz-wrap="hidden"] {
cursor: pointer !important;
}
main h1 {
padding-left: 2rem !important;
padding-right: 2rem !important;
}
main {
max-width: 1195px !important;
margin-left: auto !important;
margin-right: auto !important;
}
.text-blurb {
width: 60% !important;
}
#fern-sidebar {
display: none !important;
}
`}
</style>
<div className="max-w-7xl mx-auto px-8">
<div className="text-blurb">
Explore what you can build with stateful agents.<br />
If you're just starting out, check out our <Icon icon="fa-sharp fa-light fa-bolt" /> [quickstart guide](/quickstart).<br />
Further documentation on the Letta API can be found in our <Icon icon="fa-sharp fa-light fa-code" /> [API reference](/api-reference/overview).
</div>
## Ready-to-go Applications
<div className="text-blurb">
Open source projects that can be used as a starting point for your own application.
</div>
<CardGroup cols={2}>
<Card
title="LettaGPT chatbot application"
icon="fa-sharp fa-light messages"
href="https://github.com/letta-ai/letta-chatbot-template"
iconPosition="left"
>
A chatbot application (using Next.js) where each user can chat with their own agents with long-term memory.
</Card>
<Card
title="Create a Discord Bot"
icon="fa-sharp fa-light fa-comments"
href="https://github.com/letta-ai/letta-discord-bot-example"
iconPosition="left"
>
Use Letta to create a Discord bot that can chat with users and perform tasks.
</Card>
</CardGroup>
## Basic SDK Examples
<div className="text-blurb">
Read some example code to learn how to use the Letta SDKs.
</div>
<CardGroup cols={2}>
<Card
title="TypeScript SDK"
icon="fa-brands fa-js"
href="https://github.com/letta-ai/letta/tree/main/examples/docs/node/example.ts"
iconPosition="left"
>
A basic example script using the Letta TypeScript SDK
</Card>
<Card
title="Python SDK"
icon="fa-brands fa-python"
href="https://github.com/letta-ai/letta/tree/main/examples/docs/example.py"
iconPosition="left"
>
A basic example script using the Letta Python SDK
</Card>
</CardGroup>
## Multi-Agent Examples
<div className="text-blurb">
Letta makes it easy to build powerful multi-agent systems with stateful agents.
</div>
<CardGroup cols={2}>
<Card
title="Connecting agents to each other"
icon="fa-sharp fa-light user-group"
href="/cookbooks/multi-agent-async"
iconPosition="left"
>
Connect two independent agents together to allow them to chat with each other (as well as with a user).
</Card>
<Card
title="Supervisor-Worker pattern (coming soon!)"
icon="fa-sharp fa-light people-group"
iconPosition="left"
>
Create a multi-agent system where a supervisor (aka orchestrator) agent directs multiple worker agents.
</Card>
<Card
title="Swarm pattern (coming soon!)"
icon="fa-sharp fa-light bee"
iconPosition="left"
>
Create a multi-agent system where a supervisor (aka orchestrator) agent directs multiple worker agents.
</Card>
</CardGroup>
## Advanced Integrations
<CardGroup cols={2}>
<Card
title="Advanced voice mode (coming soon!)"
icon="fa-sharp fa-light fa-phone-volume"
iconPosition="left"
>
Chat with your Letta agents using voice mode using our native voice integration.
</Card>
</CardGroup>
</div>