# MeshCtx โ€” llms.txt # AI Agent accessibility for MeshCtx v3.136.22 documentation # Last updated: 2026-09-02 ## MeshCtx MeshCtx is an open-core, self-adaptive AI agent platform with full-brain emulation (17 brain regions), code sandbox, project indexing, Agent Hub task delegation and Feishu notifications. Open-core: AGPLv3 framework + source-available brain algorithms. Three editions: Personal (free, open-source AGPLv3), Team ($9/user/month) and Enterprise ($29/user/month). ## Core Features - ๐Ÿง  Super Brain: 17 brain regions (Hippocampal Replay, Amygdala Salience, Default Mode Network, Thalamic Gate, Cerebellar Forward Model, Basal Ganglia, ACC, Mirror Neurons, Insula, PFC Working Memory, Visual Cortex, NAcc Reward Prediction, Brainstem Autonomic, STDP Plasticity, IIT Integration, LTP Enhancement, Gnostic Field) - ๐Ÿ–ฅ๏ธ Code Sandbox: Safe Python/Bash/JS execution with Docker isolation + subprocess fallback + SSE streaming - ๐Ÿ“‚ Project Indexer: 15+ language symbol extraction, file change monitoring, /context command - ๐Ÿ“จ Feishu Notifier: Card/text/deploy notifications with HMAC signature - ๐Ÿ” Web Search: /search command via DuckDuckGo API - ๐Ÿ“„ Local File Access: /read /ls commands with WSL path translation - ๐Ÿง  Hierarchical Memory (L0-L4) with Ebbinghaus Forgetting Curve - ๐Ÿ”„ Meta-Cognition: evaluate โ†’ extract โ†’ update โ†’ adjust - ๐ŸŽญ Multi-Agent Orchestra with DAG decomposition - ๐Ÿ—‚๏ธ Agent Hub / Task Cards: one-line task delegation โ†’ background task cards with visible progress; cancel, retry and approve dangerous operations right from the UI or your phone - ๐Ÿ’ณ 3 Editions: Personal (free forever, open-core AGPLv3) ยท Team ($9/user/month) ยท Enterprise ($29/user/month, SSO + admin controls) - ๐Ÿ”Œ Plugin Marketplace: 9 built-in capability plugins (messaging / memory / security / monitoring) - ๐ŸŒ 11-language i18n (EN/ZH/JA/KO/FR/DE/ES/IT/AR/RU/HE) - ๐Ÿ’ป Windows/Linux cross-platform (macOS pending) ## Quick Links - Homepage: https://meshctx.com - GitHub: https://github.com/LucyAndLuna2023/meshctx - API Docs: https://meshctx.com/docs (Swagger at /docs when running) - Download: https://meshctx.com/#download - Setup: /ui/setup | Chat: /ui/chat | Desktop: /ui/desktop ## Installation - Windows: meshctx-setup.exe from GitHub Releases (latest) - Linux: git clone + python3 -m venv .venv + pip install -e . - Start: mesctx start (Web) | mesctx desktop (Native window) ## API Endpoints (v3.121) ### System - GET /api/system/summary โ€” System overview - GET /health โ€” Health check ### Chat & Agent - POST /api/chat โ€” Chat completion - POST /api/chat/stream โ€” Streaming chat (SSE) - POST /api/chat/upload โ€” Upload file context - POST /agent/start | /agent/stop โ€” Agent loop control ### Sandbox (v2.7+) - POST /api/sandbox/execute โ€” Execute code (Python/Bash/JS) - POST /api/sandbox/execute/stream โ€” Streaming SSE execution ### Project Indexer (v2.7+) - GET /api/project/index โ€” Index status & stats - GET /api/project/search?q= โ€” Search project files - GET /api/project/context?q= โ€” Get code context for LLM ### Feishu (v2.8+) - POST /api/feishu/test โ€” Test webhook connection - POST /api/feishu/notify โ€” Send notification (text/card/deploy) ### Web Search (v2.7+) - GET /api/search?q= โ€” DuckDuckGo web search ### File Access (v2.2+) - GET /api/file/read?path= โ€” Read local file - GET /api/file/list?path= โ€” List directory ### Models - GET /api/models โ€” List all - POST /api/models โ€” Add | PUT /api/models/{id} โ€” Update - DELETE /api/models/{id} โ€” Delete - POST /api/models/{id}/test โ€” Test connection ### Plugins (v2.1+) - GET /api/plugins โ€” List all (9 plugins) - GET /api/plugins/{name} โ€” Plugin detail - POST /api/plugins/install/{name} โ€” Install/activate - POST /api/plugins/uninstall/{name} โ€” Uninstall ### Brain Monitor - GET /api/brain/status โ€” 17-region brain status ## Project Structure - src/core/ โ€” Core engine (sandbox, project_indexer, feishu_notify, super_brain, brain_router, free_energy, active_inference, global_workspace, homeostasis, metacognition, hybrid_reasoning) - src/web_ui.py โ€” Web UI + Desktop Dashboard (Jinja2 templates) - src/main.py โ€” FastAPI app (15+ endpoint groups) - plugins/ โ€” Plugin registry + manifests (9 built-in plugins) - tests/ โ€” 673 tests, all passing - docs/ โ€” GitHub Pages deployment (meshctx.com) ## Chat Commands - /read โ€” Read local file - /ls โ€” List directory - /search โ€” Web search - /run [python|bash|js] โ€” Execute in sandbox - /context โ€” Search project codebase ## Optional - License: AGPLv3 (framework) + Commercial (brain algorithms) โ€” license@meshctx.com - Benchmark: tests/benchmark_v19.py (76/100 Super Brain score)