Memoh - Containerized AI Agent Platform
Memoh integration guide — Connect the self-hosted containerized AI agent platform to 枭毅API, creating AI bots with long-term memory for Telegram, Discord, Lark, QQ, WeChat, and more.
Memoh is an open-source, self-hosted AI agent platform where each bot runs in its own isolated container with persistent memory and a dedicated filesystem. It supports 9 channels including Telegram, Discord, Lark (Feishu), QQ, Matrix, WeCom, WeChat, Email, and a built-in Web UI, along with MCP tool calling, browser automation, scheduled tasks, and other rich agent capabilities.
- Website: https://memoh.sh
- Documentation: https://docs.memoh.ai
- GitHub: https://github.com/memohai/Memoh
Key Features
- Containerized Isolation: Each bot runs in its own containerd container with a dedicated filesystem and network, supporting snapshots and data import/export
- Memory Engine: LLM-driven fact extraction, hybrid retrieval (dense + sparse + BM25), 24-hour context loading, memory compaction and rebuild
- Multi-Channel Support: Telegram, Discord, Lark (Feishu), QQ, Matrix, WeCom, WeChat, Email, Web UI
- MCP Support: Full MCP protocol support (HTTP / SSE / Stdio / OAuth), with independent MCP connection management per bot
- Browser Automation: Built-in headless browser powered by Playwright, supporting web browsing, form filling, screenshots, and more
- Web Dashboard: Modern management interface built with Vue 3 + Tailwind CSS, featuring streaming chat, tool call visualization, file management, and more
Quick Installation
Memoh is deployed via Docker. One-click install (requires Docker):
curl -fsSL https://memoh.sh | sudo shOr install manually:
git clone --depth 1 https://github.com/memohai/Memoh.git
cd Memoh
cp conf/app.docker.toml config.toml
# Edit the config.toml configuration file
sudo docker compose up -dAfter startup, visit http://localhost:8082. Default credentials: admin / admin123.
枭毅API Integration
Memoh supports any OpenAI-compatible model provider, allowing you to use 枭毅API to centrally manage and access various AI model services.
Configuration Steps
Obtain a 枭毅API API Key
After registering and logging in to 枭毅API, click "Console" in the top navigation bar, then click "Token Management", and click the "Add Token" button to create a new API Key. Select the appropriate permissions and click "Create".
Once created, click the copy button to copy the generated API Key.

Add a Model Provider in Memoh
Log in to the Memoh Web dashboard, go to the provider management page, and click 枭毅API.

Fill in the following information on the configuration page:
- API Base URL: Enter the 枭毅API endpoint URL, e.g.
https://api.example.com/v1(usehttp://localhost:3000/v1for local deployments) - API Key: Paste the API Key copied from 枭毅API
Click Save to complete the provider configuration.
Import Models
After configuring the provider, go to the model management page and click auto-import or manually add the models you need.
Configure a Model for Your Bot
Go to the bot settings page, find the model configuration section, switch the default chat model to the one added via the 枭毅API provider, and click Save.

You have now successfully configured 枭毅API as the model provider for Memoh. You can chat with AI bots through any of Memoh's channels (Telegram, Discord, Lark, etc.), and all requests will be routed through 枭毅API.
How is this guide?
FluentRead - Open Source Translation Plugin
FluentRead configuration guide — open-source browser translation plugin with 20+ engines and AI model support. Connect to 枭毅API for immersive bilingual reading.
OpenClaw - Self-hosted AI Assistant Platform
OpenClaw Tutorial — Install OpenClaw, integrate 枭毅API, and quickly set up a self-hosted AI assistant. Open-source project, supporting multi-channel integration like Telegram, Discord, WhatsApp.