Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

docs: improve Examples & Tutorials page (#5723)

Cameron Pfiffer1d4a6e548d60
diff --git a/fern/pages/cookbooks_simple.mdx b/fern/pages/cookbooks_simple.mdx
new file mode 100644
index 000000000..9b2d9a6db
--- /dev/null
+++ b/fern/pages/cookbooks_simple.mdx
@@ -0,0 +1,274 @@
+---
+title: Examples & Tutorials
+slug: cookbooks
+---
+
+Build powerful AI agents with persistent memory. Explore tutorials, ready-to-use templates, and community projects to get started.
+
+<Info>
+**New to Letta?**
+
+- Start with our [Quickstart Guide](/quickstart)
+- Take the free [DeepLearning.AI Course](https://www.deeplearning.ai/short-courses/llms-as-operating-systems-agent-memory/)
+- Explore [Awesome Letta](https://github.com/letta-ai/awesome-letta) for more resources
+</Info>
+
+## Getting Started Tutorials
+
+Step-by-step guides to learn Letta fundamentals.
+
+<CardGroup cols={2}>
+ <Card
+ title="Your First Agent"
+ icon="fa-sharp fa-light fa-rocket"
+ href="/examples/hello-world"
+ iconPosition="left"
+ >
+Build your first Letta agent in minutes
+ </Card>
+ <Card
+ title="Talk to Your PDF"
+ icon="fa-sharp fa-light fa-file-pdf"
+ href="/examples/pdf-chat"
+ iconPosition="left"
+ >
+Create an agent that can answer questions about PDF documents
+ </Card>
+ <Card
+ title="Attaching & Detaching Memory Blocks"
+ icon="fa-sharp fa-light fa-memory"
+ href="/examples/attaching-detaching-blocks"
+ iconPosition="left"
+ >
+Learn how to dynamically manage agent memory
+ </Card>
+ <Card
+ title="Shared Memory Blocks"
+ icon="fa-sharp fa-light fa-share-nodes"
+ href="/examples/shared-memory-blocks"
+ iconPosition="left"
+ >
+Share memory between multiple agents for coordination
+ </Card>
+</CardGroup>
+
+## Ready-to-Deploy Applications
+
+Production-ready templates you can clone and customize.
+
+<CardGroup cols={2}>
+ <Card
+ title="Next.js Chatbot"
+ icon="fa-sharp fa-light fa-messages"
+ href="https://github.com/letta-ai/letta-chatbot-example"
+ iconPosition="left"
+ >
+Full-stack chatbot with per-user agent memory (Next.js + TypeScript)
+ </Card>
+ <Card
+ title="Discord Bot"
+ icon="fa-brands fa-discord"
+ href="https://github.com/letta-ai/letta-discord-bot-example"
+ iconPosition="left"
+ >
+Discord bot with persistent memory for each server and user
+ </Card>
+ <Card
+ title="Character.AI Clone"
+ icon="fa-sharp fa-light fa-user-robot"
+ href="https://github.com/letta-ai/characterai-memory"
+ iconPosition="left"
+ >
+Create AI characters with memory that persists across conversations
+ </Card>
+ <Card
+ title="Deep Research Agent"
+ icon="fa-sharp fa-light fa-magnifying-glass"
+ href="https://github.com/letta-ai/deep-research"
+ iconPosition="left"
+ >
+Research agent that gathers and synthesizes information over time
+ </Card>
+</CardGroup>
+
+## Multi-Agent Systems
+
+Build coordinated teams of specialized agents.
+
+<CardGroup cols={2}>
+ <Card
+ title="Async Multi-Agent"
+ icon="fa-sharp fa-light fa-user-group"
+ href="/examples/multi-agent-async"
+ iconPosition="left"
+ >
+Connect agents to chat with each other and users simultaneously
+ </Card>
+ <Card
+ title="Customer-Specific Agents"
+ icon="fa-sharp fa-light fa-users"
+ href="/cookbooks/customer-specific-agents"
+ iconPosition="left"
+ >
+Template for building relationship-aware agents for each customer
+ </Card>
+</CardGroup>
+
+## Tools & Integrations
+
+Connect Letta to your favorite platforms and tools.
+
+<CardGroup cols={3}>
+ <Card
+ title="Vercel AI SDK"
+ icon="fa-sharp fa-light fa-triangle"
+ href="https://github.com/letta-ai/vercel-ai-sdk-provider"
+ iconPosition="left"
+ >
+Use Letta with Vercel AI SDK v5
+ </Card>
+ <Card
+ title="Zapier"
+ icon="fa-sharp fa-light fa-bolt"
+ href="https://zapier.com/apps/letta/integrations"
+ iconPosition="left"
+ >
+Connect agents to 7,000+ apps
+ </Card>
+ <Card
+ title="n8n Workflows"
+ icon="fa-sharp fa-light fa-diagram-project"
+ href="https://github.com/letta-ai/n8n-nodes-letta"
+ iconPosition="left"
+ >
+Integrate with n8n automation workflows
+ </Card>
+ <Card
+ title="Telegram Bot"
+ icon="fa-brands fa-telegram"
+ href="https://github.com/letta-ai/letta-telegram"
+ iconPosition="left"
+ >
+Deploy agents on Telegram
+ </Card>
+ <Card
+ title="Obsidian Plugin"
+ icon="fa-sharp fa-light fa-note-sticky"
+ href="https://github.com/letta-ai/letta-obsidian"
+ iconPosition="left"
+ >
+Add Letta agents to your knowledge base
+ </Card>
+ <Card
+ title="DuckDB Agent"
+ icon="fa-sharp fa-light fa-database"
+ href="https://github.com/letta-ai/letta-duckdb-agent"
+ iconPosition="left"
+ >
+SQL-powered data analysis agent
+ </Card>
+</CardGroup>
+
+## SDK Examples
+
+Learn the basics with minimal code examples.
+
+<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"
+ >
+Basic TypeScript/Node.js SDK example
+ </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"
+ >
+Basic Python SDK example
+ </Card>
+</CardGroup>
+
+## Community Projects
+
+Amazing projects built by the Letta community.
+
+<CardGroup cols={2}>
+ <Card
+ title="Thought Stream"
+ icon="fa-sharp fa-light fa-comments"
+ href="https://tangled.sh/@cameron.pfiffer.org/thought-stream"
+ iconPosition="left"
+ >
+Deploy Letta agents to an ATProto-powered multi-agent chatroom
+ </Card>
+ <Card
+ title="Thought Stream CLI"
+ icon="fa-sharp fa-light fa-terminal"
+ href="https://tangled.org/@cameron.pfiffer.org/thought-stream-cli"
+ iconPosition="left"
+ >
+IRC-style CLI for the Thought Stream
+ </Card>
+</CardGroup>
+
+## Learning Resources
+
+<CardGroup cols={2}>
+ <Card
+ title="DeepLearning.AI Course"
+ icon="fa-sharp fa-light fa-graduation-cap"
+ href="https://www.deeplearning.ai/short-courses/llms-as-operating-systems-agent-memory/"
+ iconPosition="left"
+ >
+Free course: LLMs as Operating Systems - Building Agents with Memory
+ </Card>
+ <Card
+ title="Core Concepts"
+ icon="fa-sharp fa-light fa-book"
+ href="/overview"
+ iconPosition="left"
+ >
+Understand how Letta agents work
+ </Card>
+ <Card
+ title="API Reference"
+ icon="fa-sharp fa-light fa-code"
+ href="/api-reference/overview"
+ iconPosition="left"
+ >
+Complete API documentation
+ </Card>
+ <Card
+ title="Research Papers"
+ icon="fa-sharp fa-light fa-flask"
+ href="https://www.letta.com/blog"
+ iconPosition="left"
+ >
+Read about the research behind Letta
+ </Card>
+</CardGroup>
+
+## More Resources
+
+<CardGroup cols={2}>
+ <Card
+ title="Awesome Letta"
+ icon="fa-sharp fa-light fa-star"
+ href="https://github.com/letta-ai/awesome-letta"
+ iconPosition="left"
+ >
+Comprehensive curated list of Letta resources, tools, and community projects
+ </Card>
+ <Card
+ title="Join Discord"
+ icon="fa-brands fa-discord"
+ href="https://discord.gg/letta"
+ iconPosition="left"
+ >
+Get help and share your projects with the community
+ </Card>
+</CardGroup>