← Back to Leaderboard
Ccountbot-ai

countbot-ai/CountBot

Self-hosted AI workspace with isolated tenant data, messaging, and agent or chat modes

View on GitHub ↗
Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated 9d ago
Latest Release
v1.1.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity20/20
Self-HostedDocker1 README badge views (30d)
Total Stars
★ 788
24h Growth
+1
7d Growth
+3
Forks
103

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

countbot-ai/CountBot Star History (2026-02-20 - 2026-12-04) ALL-TIME STAR HISTORY (2026-02 – 2026-12) +787 in 287d · avg +3/day 832 416 0 2026-02-20: ★ 12026-03-14: ★ 1982026-04-04: ★ 2422026-04-25: ★ 5012026-05-16: ★ 6272026-06-06: ★ 6982026-06-27: ★ 7152026-07-18: ★ 7342026-08-08: ★ 7462026-08-29: ★ 7612026-09-19: ★ 7712026-10-10: ★ 7772026-10-31: ★ 7802026-11-18: ★ 7832026-12-04: ★ 788 ★ 788 2026-02 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

CountBot is a long-running Python web application that serves multiple tenants from one host. Requests enter through the Vue web interface or messaging integrations. Tenants have separate workspaces, session history, long-term memory, skill settings and model configuration. Chat mode sends requests without tool definitions or execution instructions; Agent mode exposes configured tools and skills to the model for task execution.

The backend uses FastAPI, Uvicorn and Pydantic. Persistence dependencies include SQLAlchemy with its asyncio extra and aiosqlite, and croniter handles cron expressions for scheduled tasks. MCP, skills and external coding agents are extension points. The shared host simplifies deployment, but workspace separation alone does not establish a process or container sandbox for tool execution.

Key Capabilities & Differentiators

Administrators can assign shared models, restrict model and mode access, set daily call limits, and review usage and audit records. Users can bring their own provider credentials, and API keys are not sent to the frontend. Agent mode supports tools, skills, team collaboration and workflow orchestration. Chat mode omits tool definitions and execution instructions, trimming prompt context when no action is needed.

DeepSeek is the default provider through its official Anthropic Messages endpoint, with web search, URL reading, PDF and Office parsing, speech transcription, text-to-speech and safety checks. Attachments are cached by content hash. The provider layer supports three request protocols, key rotation and failure cooldowns. Lark, WeCom, WeChat, QQ, DingTalk, Telegram, Weibo and XiaoZhi AI are listed as two-way integrations; ServerChan is outbound-only.

Trade-offs & Limitations

Compared with a chat-only frontend, CountBot adds tenant administration, messaging and task execution, at the cost of managing more credentials and permissions. Compared with assembling an agent framework and separate channel adapters, it offers a ready-to-run application, but leaves less room to choose your own execution and persistence architecture. Chat mode saves prompt context compared with injecting tool definitions; it does not eliminate model API costs or latency.

For a trusted internal group, the shared-host model reduces deployment overhead. Before serving mutually untrusted tenants, verify filesystem and process isolation around command execution and external agents; tenant data separation and auditing do not establish those boundaries. The dependency set includes SQLite support through aiosqlite, but there are no stated capacity figures for concurrent writes or a multi-replica deployment. Validate both before relying on them.

Hardware & Deployment Guide

For a source install, create a Python virtual environment, run pip install -r requirements.txt, then start the service with python start_app.py. Initialize the administrator at http://127.0.0.1:8000 before exposing remote access, then put the service behind an HTTPS reverse proxy. COUNTBOT_HOST and COUNTBOT_PORT override the bind address and port. The remote setup window defaults to 30 minutes and can be set from 10 to 120 minutes via REMOTE_SETUP_SECRET_TTL_MINUTES.

The service can run under systemd, supervisor or a container, but no Dockerfile, Compose topology or image tag is specified. Frontend development requires Node.js 18+ and npm 9+; skills require python or python3 on PATH. Hosted model calls still require network access and provider credentials. Version 1.0.0 shipped Windows, macOS and Linux desktop packages; v1.1.0 added native DeepSeek integration and multi-tenant controls and is the last desktop-supporting release. Plan new deployments around the browser/server path.

Tenant governance: Separate workspaces, sessions, memory and skill settings, with shared-model assignment, daily call limits and audit records.
Mode selection: Chat omits tool definitions and execution instructions; Agent mode enables configured tools, skills and workflows.
Provider handling: DeepSeek defaults to its official Anthropic Messages endpoint; the runtime supports three request protocols, API-key rotation and failure cooldowns.
Attachment reuse: Content-hash caching is paired with provider capabilities for PDF and Office parsing.
Channel direction: Eight listed external channels are two-way, while ServerChan is push-only; the browser is a separate entry point.
Release direction: v1.1.0 is the last desktop-supporting release; subsequent versions are planned as browser/server only.
Best For

Internal teams that want one self-hosted service for browser and IM access, with tenant-level model controls and selective use of agent tools.

Skip If

You only need a chat frontend, or require fully offline inference, documented hard execution isolation, or a proven multi-replica deployment.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedDocker
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

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
CountBot ★788+3PythonMITSelf-hosted AI workspace with isolated tenant data, messaging, and agent or chat
dify162.4k+370Python—Visual workflow and RAG workspace for building and serving LLM apps
AstrBot47.9k+298PythonAGPL-3.0A self-hosted Python agent hub that connects chat platforms to model providers
QwenPaw38.5k+246PythonApache-2.0Self-hosted agent workspace for scheduled tasks and chat across apps

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/countbot-ai/CountBot.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

countbot-ai/CountBot Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about CountBot

How do messaging integrations and execution modes fit together?

Users can enter through the browser or a two-way messaging integration such as Lark, WeCom or Telegram. Chat mode omits tool definitions and execution instructions; Agent mode adds configured tools and extensions. ServerChan is outbound-only, so it cannot serve as an interactive agent entry point.

Does CountBot need a GPU, and what drives server sizing?

The hosted-API path has no documented GPU or CUDA requirement, so there is no model VRAM budget to size for CountBot itself on that path. Size the server for concurrent conversations, tool processes, scheduled jobs and retained tenant data. If you run a model or another agent locally, size that workload separately; no reference hardware or throughput figures are available.

Can a company self-host CountBot commercially, and does that keep data on-premises?

Yes. MIT permits commercial use, modification and redistribution, subject to retaining the copyright and license notices in copies or substantial portions. Self-hosting the application does not keep all data on-premises: model calls and enabled provider or messaging integrations can send data outside your server. Review provider terms, data flows and audit retention separately.

When is CountBot a better fit than a chat UI or a custom agent stack?

Choose CountBot when a shared service needs tenant workspaces, model quotas, audit records and messaging access alongside both chat and tool execution. A chat-only UI is a simpler fit if interaction stops at Q&A. If you need custom workflow semantics and direct control over worker isolation and scaling, a framework-based build gives you more control but leaves those systems for you to implement.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining countbot-ai/CountBot? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature countbot-ai/CountBot on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare