[English] [็ฎ€ไฝ“ไธญๆ–‡]
Memoh

Memoh

Multi-Member, Structured Long-Memory, Containerized AI Agent System.

๐Ÿ“Œ Introduction to Memoh - The Case for an Always-On, Containerized Home Agent

Version License Stars Forks Last Commit Issues DeepWiki Docker
[Telegram Group] [Documentation] [Cooperation]

Memoh is an always-on, containerized AI agent system. Create multiple AI bots, each running in its own isolated container with persistent memory, and interact with them across Telegram, Discord, Lark (Feishu), Email, or the built-in Web/CLI. Bots can execute commands, edit files, browse the web, call external tools via MCP, and remember everything โ€” like giving each bot its own computer and brain. ## Quick Start One-click install (**requires [Docker](https://www.docker.com/get-started/)**): ```bash curl -fsSL https://memoh.sh | sudo sh ``` *Silent install with all defaults: `curl -fsSL ... | sudo sh -s -- -y`* Or manually: ```bash git clone --depth 1 https://github.com/memohai/Memoh.git cd Memoh sudo docker compose up -d ``` > If you experience slow image pulls, use the CN override: ```bash sudo docker compose -f docker-compose.yml -f docker/docker-compose.cn.yml up -d ``` > On macOS or if your user is in the `docker` group, `sudo` is not required. Visit after startup. Default login: `admin` / `admin123` See [DEPLOYMENT.md](DEPLOYMENT.md) for custom configuration and production setup. ## Why Memoh? OpenClaw is impressive, but it has notable drawbacks: stability issues, security concerns, cumbersome configuration, and high token costs. If you're looking for a stable, secure solution, consider Memoh. Memoh is a multi-bot agent service built with Golang. It offers full graphical configuration for bots, Channels, MCP, and Skills. We use Containerd to provide container-level isolation for each bot and draw heavily from OpenClaw's Agent design. Memoh Bot can distinguish and remember requests from multiple humans and bots, working seamlessly in any group chat. You can use Memoh to build bot teams, or set up accounts for family members to manage daily household tasks with bots. ## Features - ๐Ÿค– **Multi-Bot Management**: Create multiple bots; humans and bots, or bots with each other, can chat privately, in groups, or collaborate. Supports role-based access control (owner / admin / member) with ownership transfer. - ๐Ÿ‘ฅ **Multi-User & Identity Recognition**: Bots can distinguish individual users in group chats, remember each person's context separately, and send direct messages to specific users. Cross-platform identity binding unifies the same person across Telegram, Discord, Lark, and Web. - ๐Ÿ“ฆ **Containerized**: Each bot runs in its own isolated containerd container. Bots can freely execute commands, edit files, and access the network within their containers โ€” like having their own computer. Supports container snapshots for save/restore. - ๐Ÿง  **Memory Engineering**: Hybrid retrieval (dense vector search + BM25 keyword search) with LLM-driven fact extraction. Last 24 hours of context loaded by default, with memory compaction and rebuild capabilities. - ๐Ÿ’ฌ **Multi-Platform**: Supports Telegram, Discord, Lark (Feishu), Email, and built-in Web/CLI. Unified message format with rich text, media attachments, reactions, and streaming across all platforms. Cross-platform identity binding. - ๐Ÿ“ง **Email**: Multi-adapter email service (Mailgun, generic SMTP) with per-bot binding and outbound audit log. Bots can send and receive emails as a channel. - ๐Ÿ”ง **MCP (Model Context Protocol)**: Full MCP support (HTTP / SSE / Stdio). Built-in tools for container operations, memory search, web search, scheduling, messaging, and more. Connect external MCP servers for extensibility. - ๐Ÿงฉ **Subagents**: Create specialized sub-agents per bot with independent context and skills, enabling multi-agent collaboration. - ๐ŸŽญ **Skills & Identity**: Define bot personality via IDENTITY.md, SOUL.md, and modular skill files that bots can enable/disable at runtime. - ๐Ÿ” **Web Search**: 12 built-in search providers โ€” Brave, Bing, Google, Tavily, DuckDuckGo, SearXNG, Serper, Sogou, Jina, Exa, Bocha, and Yandex โ€” for web search and URL content fetching. - โฐ **Scheduled Tasks**: Cron-based scheduling with max-call limits. Bots can autonomously run commands or tools at specified intervals. - ๐Ÿ’“ **Heartbeat**: Periodic autonomous tasks โ€” bots can perform routine operations (e.g., check-ins, summaries, monitoring) at configurable intervals with execution logging. - ๐Ÿ“ฅ **Inbox**: Cross-channel inbox โ€” messages from other channels are queued and surfaced in the system prompt so the bot never misses context. - ๐Ÿ“Š **Token Usage Tracking**: Monitor token consumption per bot with usage statistics and visualization. - ๐Ÿงช **Multi-Model**: Works with any OpenAI-compatible, Anthropic, or Google Generative AI provider. Per-bot model assignment for chat, memory, and embedding. - ๐Ÿ–ฅ๏ธ **Web UI**: Modern dashboard (Vue 3 + Tailwind CSS) with real-time streaming chat, tool call visualization, in-chat file manager, container filesystem browser, and visual configuration for all settings. Dark/light theme, i18n. - ๐Ÿš€ **One-Click Deploy**: Docker Compose with automatic migration, containerd setup, and CNI networking. Interactive install script included. ## Gallery
Gallery 1 Gallery 2 Gallery 3
Chat with Bots Container & Bot Management Provider & Model Configuration
Gallery 4 Gallery 5 Gallery 6
Container File Manager Scheduled Tasks Token Usage Tracking
## Tech Stack | Layer | Stack | |-------|-------| | Backend | Go, Echo, sqlc, Uber FX, pgx/v5, containerd v2 | | Agent Gateway | Bun, Elysia | | Frontend | Vue 3, Vite, Pinia, Tailwind CSS, Reka UI | | Storage | PostgreSQL, Qdrant | | Infra | Docker, containerd, CNI | | Tooling | mise, pnpm, swaggo, sqlc | ## Architecture ``` โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ Channels โ”‚ โ”‚ Web UI โ”‚ โ”‚ CLI โ”‚ โ”‚ (TG/DC/FS/Email) โ”‚ โ”‚ (Vue 3 :8082) โ”‚ โ”‚ โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”‚ โ”‚ โ–ผ โ–ผ โ–ผ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ Server (Go :8080) โ”‚ โ”‚ Auth ยท Bots ยท Channels ยท Memory ยท Containers ยท MCP โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ–ผ โ–ผ โ–ผ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚ PostgreSQLโ”‚ โ”‚ Qdrant โ”‚ โ”‚ Agent Gateway โ”‚ โ”‚ โ”‚ โ”‚ (Vector)โ”‚ โ”‚ (Bun/Elysia :8081)โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ–ผ โ–ผ โ–ผ โ”Œโ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ” โ”‚Bot Aโ”‚ โ”‚Bot Bโ”‚ โ”‚Bot Cโ”‚ โ† containerd โ””โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”˜ ``` ## Roadmap Please refer to the [Roadmap](https://github.com/memohai/Memoh/issues/86) for more details. ## Development Refer to [CONTRIBUTING.md](CONTRIBUTING.md) for development setup. ## Star History [![Star History Chart](https://api.star-history.com/svg?repos=memohai/Memoh&type=date&legend=top-left)](https://www.star-history.com/#memohai/Memoh&type=date&legend=top-left) ## Contributors **LICENSE**: AGPLv3 Copyright (C) 2026 Memoh. All rights reserved.