[READ-ONLY] Mirror of https://github.com/just-cameron/letta-examples.
letta-examples ideas example-ideas.md
2.1 kB
Markdown
at main

Letta Example Ideas #

Core Concepts to Cover #

Basic Examples (Priority) #

  1. basic-agent-conversation - Simplest possible agent creation and conversation
  2. core-memory-basics - How to read and update core memory blocks
  3. archival-memory-simple - Basic archival memory storage and retrieval
  4. streaming-responses - Simple streaming conversation example
  5. simple-tool-usage - Basic tool attachment and usage

Intermediate Examples #

  1. context-window-management - Managing context effectively
  2. agent-templates - Creating and using agent templates
  3. custom-memory-blocks - Creating custom memory blocks
  4. conversation-history - Working with message history
  5. agent-persistence - Saving and loading agent states

Advanced Examples #

  1. multi-agent-communication - Agents talking to each other
  2. sleep-time-compute - Background processing example
  3. json-mode-structured - Structured output with JSON mode
  4. mcp-tools - Model Context Protocol integration
  5. observability-tracing - Monitoring agent behavior

Tool Examples #

  1. custom-tool-creation - Creating custom tools from scratch
  2. tool-variables - Using configurable tool parameters
  3. async-tool-execution - Asynchronous tool calls
  4. tool-error-handling - Robust tool error management

Memory Patterns #

  1. memory-search-patterns - Effective archival memory searching
  2. memory-chunking - Optimal memory organization
  3. shared-memory-agents - Agents sharing memory
  4. memory-lifecycle - Memory creation, update, deletion

Integration Examples #

  1. webhook-integration - Webhook-based communication
  2. api-wrapper-agent - Agent as API wrapper
  3. database-agent - Agent with database access
  4. file-processing-agent - Document processing agent

Workflow Examples #

  1. stateful-workflow - Multi-step stateful process
  2. self-correcting-agent - Agent that fixes its mistakes
  3. research-writing-pipeline - Research to report pipeline