Skip to content
Memoh is an open-source self-hosted AI agent platform where each bot runs in its own container with persistent memory and an isolated filesystem. It supports Telegram, Discord, Feishu, QQ, Matrix, WeCom, WeChat, Email, and a built-in Web UI, plus MCP, browser automation, scheduled tasks, and other agent capabilities.

Key features

  • Container isolation — Each bot runs in its own containerd container with a dedicated filesystem and network. Snapshots and data import/export are supported.
  • Memory engine — Uses LLM-based fact extraction, hybrid retrieval (dense + sparse + BM25), 24-hour context loading, memory compression, and reconstruction.
  • Multi-channel support — Telegram, Discord, Feishu, QQ, Matrix, WeCom, WeChat, Email, and Web UI.
  • MCP support — Full MCP support (HTTP / SSE / Stdio / OAuth), with separate MCP connections per bot.
  • Browser automation — Includes a Playwright-powered headless browser for browsing pages, submitting forms, and taking screenshots.
  • Web management panel — Modern Vue 3 + Tailwind CSS dashboard with streaming chat, tool-call visualization, and file management.

Quick installation

Memoh runs on Docker. For one-click installation (Docker required):

bash
curl -fsSL https://memoh.sh | sudo sh

Or install manually:

bash
git clone --depth 1 https://github.com/memohai/Memoh.git
cd Memoh
cp conf/app.docker.toml config.toml
# Edit config.toml
sudo docker compose up -d

After startup, open http://localhost:8082. The default account is admin / admin123.

Connect Dli.li AI

Memoh supports any OpenAI-compatible model provider, so you can use Dli.li AI to manage and access different AI model services in one place.

Setup steps

Get an API key

After signing in to Dli.li AI, open the console, go to Token Management, click Add Token, create a new API key with the proper permissions, and click Create.

After the key is created, copy it.

copy-api-key

Add a model provider in Memoh

Sign in to the Memoh web dashboard, open the provider management page, and choose NewAPI.

switch-to-newapi-provider

Fill in the following information:

  • API Base URL — Enter the compatible endpoint. If you use the official Dli.li service, you can start with the official default API https://api.dli.li/v1; if you want the official backup API directly, use https://api.dlizz.com/v1. If you self-host a compatible gateway, use that local address instead.
  • API Key — Paste the API key copied from the Dli.li AI console.

Click save to finish provider setup.

Import models

After the provider is configured, go to model management and either auto-import or manually add the models you want to use.

Assign a model to the bot

Open the bot settings page. In the model section, switch the default chat model to the model added through the compatible provider, then click save.

set_chat_model

At this point, Memoh is ready to route conversations from Telegram, Discord, Feishu, and other channels through Dli.li AI.