LambChat
LambChat โ A pluggable, multi-tenant AI conversation system. Skills + MCP dual-engine driven, modular by design. SSE streaming, multi-modal document processing, JWT/RBAC auth, and GitHub-synced Skills.
Ask AI about LambChat
Powered by Claude ยท Grounded in docs
I know everything about LambChat. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
๐ LambChat
An open-source, production-ready AI Agent platform for building, running, and sharing real tool-using agents
English ยท ็ฎไฝไธญๆ ยท Documentation ยท Contributing
๐ธ Screenshots
![]() Login | ![]() Chat | ![]() Streaming |
![]() Skills | ![]() MCP Config | ![]() Share |
![]() Roles | ![]() Settings | ![]() Feedback |
![]() Mobile | ![]() Tablet | ![]() Shared Session |
๐ Why LambChat
LambChat is built for teams who want more than a chatbot UI. It gives you a complete AI Agent system with model management, MCP connectivity, skills, storage, sharing, approvals, and deployment-ready backend/frontend infrastructure in one project.
- Built for real execution โ agents can reason, call tools, use sub-agents, stream progress, and work with human approval when needed.
- Ready for operations โ includes auth, RBAC, encrypted secrets, tracing, health checks, sandbox integration, and distributed config sync.
- Designed for extensibility โ custom agents, MCP tools, skills, model providers, channels, persona presets, and storage backends can all be extended cleanly.
- Product-grade UX โ polished chat UI, file previews, project folders, sharing, feedback, responsive layouts, and multilingual support.
๐ฌ Use Cases
| # | Case | Description | Demo |
|---|---|---|---|
| 1 | Supply Chain PDF Report | Generates a polished PDF efficiency report with charts, benchmark comparisons, and delivery, inventory, fulfillment, and logistics analysis from a single prompt. | View Session |
| 2 | Godfather Fan Website | Builds a responsive English promo site for The Godfather trilogy with a cinematic visual direction, marquee hero section, generated images, and multi-device polish. | View Session |
| 3 | Story Breakdown from Image | Understands visual input, identifies the stories shown in an image, and produces detailed plot-by-plot explanations with multimodal reasoning. | View Session |
| 4 | EV Market Trend Analysis | Turns recent 2025-2026 electric vehicle data into a structured market analysis covering growth, regional performance, and key industry takeaways. | View Session |
๐๏ธ Architecture

โจ Features
๐ค Agent Runtime
- deepagents Architecture โ Compiled graph runtime with fine-grained state management
- Multi-Agent Types โ Core, fast, and search agents
- Plugin System โ
@register_agent("id")decorator for custom agents - Streaming Output โ Native SSE support
- Sub-agents โ Multi-level delegation
- Thinking Mode โ Extended thinking for Anthropic models
- Human-in-the-Loop โ Approval system with countdown timer, auto-extension, and urgent-state styling
- Persona Presets โ Reusable persona configuration with permissions and runtime binding
๐ง Model, Memory, and Skills
- Multi-Provider Models โ OpenAI, Anthropic, Google Gemini, and Kimi
- Full CRUD โ Create, edit, delete, reorder, and batch import models via UI
- Channel Routing โ Route the same model through different channels with
model_id - Role-based Access โ
MODEL_ADMINpermission and per-role model visibility - Cross-session Memory โ Native MongoDB-backed memory system
- Dual Skills Storage โ File system plus MongoDB backup
- GitHub Sync โ Import custom skills from GitHub
- Skill Marketplace โ Browse, install, publish, and manage skills in bulk
๐ Tools, MCP, and Execution
- System + User MCP โ Global and per-user MCP configuration
- Encrypted Storage โ API keys encrypted at rest
- Dynamic Tool Caching โ Cache MCP tools with manual refresh
- Multiple Transports โ SSE and HTTP
- Permission Control โ Transport-level access policies
- Sandbox Integration โ Daytona and E2B execution support
- Built-in Tools โ File reveal, project reveal, upload URL, env vars, audio transcription, persona preset tools, and more
๐ Product Features
- File Library โ Browse revealed files with code preview, favorites, and project-based filtering
- Rich Previews โ PDF, Word, Excel, PPT, Markdown, Mermaid, Excalidraw, images, and video playback
- Project Folders โ Organize sessions into projects with drag-and-drop
- Session Sharing โ Generate public share links for conversations
- Feedback โ Thumbs rating, text comments, session linking, and run-level stats
- Notifications โ In-app notification storage and delivery hooks
๐ Infra, Realtime, and Frontend
- Realtime โ Redis + MongoDB dual-write, WebSocket, auto-reconnect, and shared-session updates
- Security โ JWT, RBAC, bcrypt, OAuth (Google/GitHub/Apple), email verification, CAPTCHA, and sandbox controls
- Observability โ LangSmith tracing, structured logging, health checks, and distributed memory diagnostics
- Channels โ Native Feishu integration plus an extensible multi-channel architecture
- Frontend Stack โ React 19, Vite 6, TailwindCSS 3.4, dark/light theme, rich content rendering, and responsive multi-device layouts
- i18n โ English, Chinese, Japanese, Korean, and Russian
โ๏ธ Configuration
Multiple setting categories can be configured through the UI or environment variables:
| Category | Description |
|---|---|
| Frontend | Default agent, welcome suggestions, UI preferences |
| Agent | Debug mode, logging level |
| Model | Multi-provider model management, per-model config, channel routing |
| Session | Session management, message history, SSE cache |
| Database | MongoDB connection, optional PostgreSQL |
| Storage | Persistent storage, S3/OSS/MinIO/COS |
| Security | Encryption and security policies |
| Sandbox | Code sandbox settings (Daytona / E2B) |
| Skills | Skill system config |
| Tools | Tool system settings |
| Tracing | LangSmith and tracing |
| User | User management, registration, default role |
| Memory | Memory system (native) |
๐ Quick Start
Prerequisites
- Python 3.12+ ยท Node.js 18+ ยท pnpm ยท MongoDB ยท Redis
Setup
git clone https://github.com/Yanyutin753/LambChat.git
cd LambChat
# Docker (recommended)
cd deploy && cp .env.example .env # Edit with your config
docker compose up -d
# Or local development
cp .env.example .env # Edit with your config
make install-pnpm # Install pnpm if not present
make install && make dev
๐ Required Configuration
Edit the .env file with the following recommended settings:
# Recommended: Set a stable JWT secret (auto-generated on each restart if unset, invalidating existing sessions)
JWT_SECRET_KEY=your-stable-secret-key
# Recommended: Set MCP encryption salt (auto-generated on each restart if unset, invalidating saved MCP configs)
MCP_ENCRYPTION_SALT=your-stable-encryption-salt
# Optional: Configure MongoDB connection
MONGODB_URL=mongodb://localhost:27017
MONGODB_DB=agent_state
MONGODB_USERNAME=admin
MONGODB_PASSWORD=your-mongo-password
# Optional: Configure Redis connection
REDIS_URL=redis://localhost:6379/0
REDIS_PASSWORD=your-redis-password
::: tip LLM models are configured through the Model Config UI after deployment โ no environment variables needed. :::
Code Quality
make format # Format (ruff format)
make lint # Lint (ruff check)
make typecheck # Type check (mypy)
make check-all # Run all checks (lint + typecheck + test)
Project Structure
src/
โโโ agents/ # Agent implementations and runtime graphs
โโโ api/ # FastAPI routes, admin endpoints, middleware
โโโ infra/ # Core services: auth, llm, mcp, tools, storage, tasks, sharing, memory
โโโ kernel/ # Schemas, config, constants, and shared types
โโโ skills/ # Built-in skills
frontend/
โโโ src/components/ # UI components, panels, and landing sections
โโโ src/hooks/ # Frontend hooks
โโโ src/i18n/ # Locale files
โโโ src/styles/ # Shared styles and design tokens
tests/ # Backend and integration tests
deploy/ # Docker deployment assets
โญ Star History
๐ License
MIT โ Project name "LambChat" and its logo may not be changed or removed.
LambChat is built for people who want AI agents that can actually do the work.
Created by Clivia
GitHub ยท Email ยท ไธญๆ README
WeChat for deployment help, product feedback, and collaboration












