Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Technical
  3. Letta LLM Integration v 18.0
  4. Sales Conditions FAQ

Letta LLM Integration

by Apexive Solutions LLC https://github.com/apexive/odoo-llm
Odoo
v 18.0 Third Party 15
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
• Easy AI Chat
• LLM Assistant
• LLM Integration Base
• LLM MCP Server
• LLM Tool
• Web JSON Editor
Lines of code 11562
Technical Name llm_letta
LicenseLGPL-3
Websitehttps://github.com/apexive/odoo-llm
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Community Apps Dependencies Show
• Easy AI Chat
• LLM Assistant
• LLM Integration Base
• LLM MCP Server
• LLM Tool
• Web JSON Editor
Lines of code 11562
Technical Name llm_letta
LicenseLGPL-3
Websitehttps://github.com/apexive/odoo-llm
  • Description
  • Documentation
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

LLM Base

Core framework for LLM integration with provider management and model configuration.

LLM Thread

Conversational AI threads with message history and streaming responses.

LLM Assistant

Create customizable AI assistants with specific instructions and personalities.

LLM Tool

Enable function calling for AI to interact with Odoo.

MCP Server

Model Context Protocol server for Letta agent tool integration.

OpenAI Provider

Connect to OpenAI GPT models for Letta agent backends.

Letta LLM Integration

Stateful AI agents for Odoo

Developed by Apexive Solutions LLC

Licensed under LGPL-3 • © 2025 All rights reserved.

github.com/apexive/odoo-llm
hello@apexive.com

Letta Integration for Odoo LLM

Stateful AI agents with persistent memory.

Module Type: 🔌 Extension (Stateful AI Agents)

Architecture

┌───────────────────────────────────────────────────────────────┐
│                      Application Layer                        │
│        ┌───────────────┐           ┌───────────────┐         │
│        │ llm_assistant │           │  llm_thread   │         │
│        └───────┬───────┘           └───────┬───────┘         │
└────────────────┼───────────────────────────┼─────────────────┘
                 └─────────────┬─────────────┘
                               ▼
              ┌───────────────────────────────────────────┐
              │       ★ llm_letta (This Module) ★         │
              │           Letta AI Integration            │
              │  🧠 Memory │ MCP Tools │ Stateful Agents  │
              └─────────────────────┬─────────────────────┘
                        ┌───────────┴───────────┐
                        ▼                       ▼
    ┌───────────────────────────┐   ┌───────────────────────────┐
    │           llm             │   │       Letta Server        │
    │    (Core Base Module)     │   │ (localhost:8283 or Cloud) │
    └───────────────────────────┘   │  🧠 Persistent memory     │
                                    └───────────────────────────┘

Installation

What to Install

For stateful AI agents:

# Install Python client
pip install git+https://github.com/apexive/letta-python.git@main

# Start Letta server (Docker)
docker compose up letta -d

# Install the Odoo module
odoo-bin -d your_db -i llm_letta,llm_mcp_server

Auto-Installed Dependencies

  • llm (core infrastructure)
  • llm_thread (conversation management)

Why Choose Letta?

Feature Letta
Memory 🧠 Persistent across sessions
State 💾 Stateful agents per thread
Tools 🔧 MCP tool integration
Context 📚 Long-term awareness

Common Setups

I want to... Install
Stateful agents llm_letta + llm_mcp_server
Memory + tools llm_assistant + llm_letta + llm_mcp_server

Features

  • Persistent Memory: Agents maintain context across sessions
  • Stateful Agents: Dedicated agent per Odoo thread
  • MCP Tool Integration: Zero-config Odoo tool access
  • Auto-sync: Tools automatically synchronized
  • Flexible Deployment: Self-hosted or Letta Cloud

Configuration

Local Server (Default)

The default "Letta (Local)" provider connects to localhost:8283 - no API key needed.

Letta Cloud

  1. Get API token from Letta Cloud
  2. Configure provider with API key
  3. Use "Fetch Models" to sync available models

Technical Specifications

  • Version: 18.0.1.0.0
  • License: LGPL-3
  • Dependencies: llm, llm_thread, llm_mcp_server
  • Python Package: letta (apexive fork)
  • External: Letta Server 0.11.7+

Related Modules

  • ``llm`` - Core infrastructure
  • ``llm_thread`` - Conversation management
  • ``llm_mcp_server`` - MCP tool server
  • ``llm_assistant`` - AI assistants

License

LGPL-3


© 2025 Apexive Solutions LLC

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with