by countbot-ai
Lightweight open-source multi-user AI Agent hub | 轻量多用户开源 AI Agent,多租户隔离,多用户多 IM 接入
# Add to your Claude Code skills
git clone https://github.com/countbot-ai/CountBotCountBot is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by countbot-ai. Lightweight open-source multi-user AI Agent hub | 轻量多用户开源 AI Agent,多租户隔离,多用户多 IM 接入. It has 786 GitHub stars.
CountBot's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/countbot-ai/CountBot" and add it to your Claude Code skills directory (see the Installation section above).
CountBot is primarily written in Python. It is open-source under countbot-ai on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh CountBot against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
CountBot is a privately deployable, long-running AI Agent runtime. It connects IM channels, tool execution, scheduled tasks and a multi-tenant permission system. You can send requests through Lark, WeCom, WeChat, QQ and other platforms, or use the web interface directly.
It is designed for multi-user scenarios: one server hosts multiple isolated tenants, each with its own workspace, sessions, memory, model configuration and quota. Agent and chat modes can be switched per task to control context size and token cost.
Shared host resources, isolated tenant data. Use Agent for execution, chat mode for plain conversation.
DeepSeek native integration DeepSeek is the default provider, using the official Anthropic Messages endpoint. Web search, URL reading, PDF/Office attachment parsing, ASR, TTS and safety checks are connected to the request pipeline.
Multi-user multi-tenant Each regular user has an isolated workspace, sessions, memory, skills and runtime. Administrators can assign shared models per user and restrict the models and modes available to a specific user. Keys are not sent to the frontend, and key operations are recorded in the audit log. Users can also configure their own providers and API keys.
Agent / chat dual mode A multi-agent engineering setup relies on preloaded context, tool definitions and execution rules to give the model complex-task execution ability; this capability chain is necessary for automation. Not every conversation needs that engineering context. Carrying a large preloaded text set into simple Q&A, rewriting or requirement alignment creates unnecessary token overhead. CountBot offers two modes that switch seamlessly within a session: Agent mode loads the full set of tools, skills, teams and execution rules for complex tasks; chat mode trims context and removes tool definitions for Q&A, rewriting, translation, brainstorming and casual chat. Local token estimation is supported, and administrators can restrict the modes available to each user.
Rebuilt frontend workspace Chat, settings, admin, scheduler, skills, MCP, Wiki, teams, memory and tools are split into modules. The composer groups model selection, reasoning level, mode switch, attachments and speech actions.
Security and quota governance Workspace path restrictions, command guard, outbound URL SSRF validation, key isolation, shared-model daily limits, session serialization, usage statistics and audit logs.
git clone https://github.com/countbot-ai/countbot.git
cd CountBot
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
python start_app.py
Open http://127.0.0.1:8000 and follow the first-run guide to set the administrator password. The remote setup entry has an expiry; adjust it with REMOTE_SETUP_SECRET_TTL_MINUTES (10–120 minutes, default 30).
Host and port can be overridden with environment variables:
# Linux / macOS
COUNTBOT_HOST=0.0.0.0 COUNTBOT_PORT=8000 python start_app.py
# Windows PowerShell
$env:COUNTBOT_HOST = '0.0.0.0'
$env:COUNTBOT_PORT = '8001'
python start_app.py
For networks with slow PyPI access:
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
If GitHub access is restricted, use the Gitee mirror:
git clone https://gitee.com/countbot-ai/CountBot.git
Windows, macOS and Linux builds are available for download:
CountBot is a standard web service and can be hosted with systemd, supervisor or containers. Complete administrator initialization before exposing remote access, then configure a reverse proxy and HTTPS.
| Channel | Direction | Notes |
|---|---|---|
| Lark | Both ways | Event subscription, group and private chats |
| WeCom | Both ways | Enterprise bot |
| Both ways | Multiple account bindings | |
| Both ways | QQ Open Platform bot | |
| DingTalk | Both ways | Internal enterprise bot |
| Telegram | Both ways | Direct Bot API |
| Both ways | Weibo bot | |
| XiaoZhi AI | Both ways | XiaoZhi AI hardware integration |
| ServerChan | Push only | Single HTTP notification |
# Backend local development
uvicorn backend.app:app --reload --host 0.0.0.0 --port 8000
# Frontend local development
cd frontend
npm install
npm run dev
# Frontend type-check and build
npm run type-check
npm run build
# Backend tests
python -m pytest -q tests
The frontend requires Node.js 18+ and npm 9+.
Issues, bug fixes, capability extensions and documentation improvements are welcome.
MIT License
Thanks to the open-source projects behind FastAPI, Vue.js, SQLAlchemy and Pydantic.