Stateful AI Agents

Letta LLM Integration

Enterprise-ready integration bringing stateful AI agents with persistent memory to your Odoo workflows.

Transform AI interactions with Letta agents that remember context and execute Odoo tools

Persistent Memory
MCP Tools
Open Source

What Makes Letta Different?

Stateful AI agents with long-term memory

Unlike traditional stateless chatbots, Letta agents remember your interactions and maintain context across sessions. Each thread gets its own dedicated agent with isolated memory, full MCP tool integration, and automatic lifecycle management.


Key Features

Enterprise-ready AI agent capabilities

Persistent Memory

Agents remember past conversations and maintain context indefinitely, building long-term relationships.

Agent-Based Conversations

Each thread gets its own Letta agent with dedicated memory and personality for personalized AI.

MCP Tool Access

Seamless integration with Odoo's MCP server gives agents access to all your configured tools.

Automatic Management

Agents are created, updated, and cleaned up automatically as you manage threads.

Streaming Responses

Real-time message streaming with support for tool calls, reasoning steps, and assistant responses.

Cloud & Self-Hosted

Deploy on Letta Cloud for instant setup or self-host with Docker for complete control.


How It Works

Simple three-step process

1

Thread Creation

When you create a thread with Letta provider, an agent is automatically created with configured memory, tools, and personality.

2

Conversation

Messages are sent to the agent which maintains full conversation history and can execute Odoo tools through MCP.

3

Memory Persistence

All interactions are stored in the agent's memory, allowing it to recall past conversations and build on context.


Getting Started

Choose your deployment option

Self-Hosted Setup

  1. Create Letta database in PostgreSQL
  2. Configure environment variables
  3. Run Docker container
  4. Connect to server at localhost:8283

Cloud Setup

  1. Sign up at cloud.letta.com
  2. Get your API token from settings
  3. Configure Letta (Cloud) provider in Odoo
  4. Start creating threads with AI agents

Technical Details

Requirements and dependencies

Module Information

Dependencies:

llm_mcp_server (required)

Python Packages:

letta-client

Letta Version:

0.11.7+

License:

LGPL-3

Recommended Modules

Install LLM Assistant for custom prompts, LLM Tool for custom tools, and Easy AI Chat for a user-friendly interface.


Related Modules

Explore other modules in the Odoo LLM suite