convez.ai
MCP ServerAutomaçãoAvançado
Yanyutin753

LambChat

Yanyutin753/LambChat

Plataforma completa de agentes IA com Skills, MCP e marketplace integrado

Ver no GitHub
Muito bomPluginScore · de 0 a 100

Plataforma de agentes IA multi-tenant com engine duplo de Skills e MCP, construída para escala e isolamento. Oferece streaming SSE em tempo real, inteligência de documentos multi-modal, segurança enterprise (JWT/RBAC) e marketplace de Skills conectado ao GitHub.

Instalação

$npx convez-ai Yanyutin753/LambChat

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
225
Forks
48
Acompanhando
0
Saúde
100%
Último commit
há 1 dia
Versão
v2.15.12
Issues abertas
4
Contribuidores
5

Casos de uso

  • Construir e orquestrar agentes IA complexos com sub-agentes e grafos profundos
  • Integrar múltiplas ferramentas via MCP com suporte a sandbox seguro
  • Compartilhar e descobrir skills reutilizáveis através de marketplace GitHub-sincronizado
  • Implantar sistemas de agentes em produção com RBAC, autenticação e auditoria

Veredito

Projeto maduro e abrangente para quem precisa de infraestrutura completa de agentes IA em produção. Combina bem com Claude MCP servers, mas exige familiaridade com Docker, MongoDB e arquiteturas distribuídas.

README

A tradução para o português deste README ainda está na fila.

🐑 LambChat

An open-source AI Agent platform for building, running, and sharing agents that actually do the work

Python React FastAPI deepagents MongoDB Redis License

English · 简体中文 · Documentation · Contributing


🌟 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.

Agent RuntimeTools and MCPSkills and MemoryProduction Infra
Deep agent graphs, streaming output, sub-agents, thinking mode, scheduled runs, and human approval.System and user MCP, encrypted secrets, tool cache, upload/reveal tools, and sandbox execution.Skill marketplace, GitHub sync, persona presets, model routing, and MongoDB-backed memory.FastAPI, React 19, auth/RBAC, tracing, health checks, arq tasks, realtime sync, and deployment assets.

📸 Product Preview

Chat and executionSkills marketplaceOperations console
Streaming agent workReusable skillsMCP and tools
Rich file libraryModel routingResponsive UI
LoginRegisterPassword Reset
Email VerificationRegistration PendingChat
StreamingShareSkills
MarketplaceMCP ConfigAgents
ModelsChannelsFiles
PersonaMemoryNotifications
SettingsFeedbackShared Session
RolesUsersTablet

🎬 Use Cases

#CaseDescriptionDemo
1Supply Chain PDF ReportGenerates a polished PDF efficiency report with charts, benchmark comparisons, and delivery, inventory, fulfillment, and logistics analysis from a single prompt.View Session
2Godfather Fan WebsiteBuilds 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
3Story Breakdown from ImageUnderstands visual input, identifies the stories shown in an image, and produces detailed plot-by-plot explanations with multimodal reasoning.View Session
4EV Market Trend AnalysisTurns recent 2025-2026 electric vehicle data into a structured market analysis covering growth, regional performance, and key industry takeaways.View Session
5🎮 Batch Game UI Icon GenerationFeed it one reference image and it analyzes the art style, generates 48 game UI icons across 9 categories (candies, buttons, labels, currencies, characters, skills, navigation, frames, specials), auto-organizes them into folders, and saves the workflow as a reusable skill for next time.View Session
6🥧 E-Commerce Product Image SuiteEnter a product keyword (e.g., "durian") and a target platform (Taobao / JD / Pinduoduo), and the Agent runs the full pipeline: audience analysis → visual strategy → auto-generate main image, lifestyle scene, detail shots, and combo images — a complete set of product-ready visuals in one shot.View Session

🏗️ Architecture

✨ Features

  • 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
  • Scheduled Tasks — Cron, interval, date, and manual task triggers with persisted scheduler state
  • 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
  • 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_ADMIN permission 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
  • 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
  • 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
  • Realtime — Redis + MongoDB dual-write, WebSocket, auto-reconnect, and shared-session updates
  • Task Runtime — Local or Redis-backed arq execution with embedded worker lifecycle
  • 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, PWA workers, Capacitor mobile builds, Tauri desktop shell, rich rendering, and responsive layouts
  • i18n — English, Chinese, Japanese, Korean, and Russian

⚙️ Configuration

Multiple setting categories can be configured through the UI or environment variables:

CategoryDescription
FrontendDefault agent, welcome suggestions, UI preferences
AgentDebug mode, logging level
ModelMulti-provider model management, per-model config, channel routing
SessionSession management, message history, SSE cache
DatabaseMongoDB connection, optional PostgreSQL
StoragePersistent storage, S3/OSS/MinIO/COS
SecurityEncryption and security policies
SandboxCode sandbox settings (Daytona / E2B)
SkillsSkill system config
ToolsTool system settings
TracingLangSmith and tracing
UserUser management, registration, default role
MemoryMemory system (native)
SchedulerDynamic scheduled tasks and runtime registration
Task RuntimeLocal execution or arq queue settings

🚀 Quick Start

Prerequisites

  • Python 3.12+
  • uv
  • Node.js 18+
  • pnpm 10+
  • MongoDB
  • Redis

Docker

git clone https://github.com/Yanyutin753/LambChat.git
cd LambChat

cd deploy
cp .env.example .env   # Edit with your config
docker compose up -d

Open http://localhost:8000.

Local Development

Install dependencies:

cp .env.example .env   # Edit with your config
make install-all

Run the backend and frontend together:

make dev-all

Backend: http://127.0.0.1:8000 Frontend dev server: http://127.0.0.1:3001

You can also run them separately:

make dev            # FastAPI backend: uv run python main.py
make frontend-dev   # Vite frontend

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

# Optional: enable scheduled tasks
ENABLE_SCHEDULED_TASK=true

# Optional: choose task execution backend
TASK_BACKEND=arq  # local or arq

::: 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 test         # Backend tests (pytest)
make check-all    # Run all checks (lint + typecheck + test)

Frontend, Mobile, and Docs

cd frontend
pnpm run build             # TypeScript + Vite build
pnpm run packaged:build    # Build packaged frontend assets
pnpm run mobile:sync       # Build and sync Capacitor projects
pnpm run package:desktop   # Package desktop app assets

cd ..
pnpm run docs:dev          # VitePress docs site
pnpm run docs:build

Project Structure

.
├── main.py                  # Uvicorn entrypoint for src.api.main:app
├── src/
│   ├── agents/              # Core, fast, search, and team agent graphs
│   ├── api/                 # FastAPI app, middleware, and route modules
│   │   └── routes/          # Chat, auth, MCP, skills, files, scheduler, teams, etc.
│   ├── infra/               # Runtime services: auth, llm, mcp, scheduler, task, storage, memory
│   └── kernel/              # Settings, schemas, config definitions, and shared types
├── frontend/
│   ├── src/                 # React app source
│   │   ├── components/      # Chat, panels, pages, auth, skill, MCP, team, file UI
│   │   ├── services/        # API clients and browser service integrations
│   │   ├── stores/          # Frontend state stores
│   │   ├── i18n/            # Locale files and tests
│   │   └── workers/         # Browser/PWA workers
│   ├── android/             # Capacitor Android project
│   ├── ios/                 # Capacitor iOS project
│   ├── src-tauri/           # Tauri desktop shell
│   └── scripts/             # Frontend build, packaging, and i18n scripts
├── docs/                    # VitePress documentation
├── deploy/                  # Docker Compose deployment
├── k8s/                     # Kubernetes manifests
├── nginx/                   # Reverse proxy config
├── scripts/                 # Sandbox and maintenance utilities
└── tests/                   # Backend, API, infra, agent, and unit tests

⭐ 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

LINUX DO - A New Ideal Community

Ver o original no GitHub

Bom para

Relacionados