← Back to Leaderboard
Czhayujie

zhayujie/CowAgent

Self-hosted agent harness for running and remembering work across chat channels

Engineering Health (Methodology)
A+ · 100/100
Maintenance Activity
● Updated today
Latest Release
2.3.0
Commercial License Check
MIT · Commercial Friendly

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

Maintenance35/35
Fork Adoption25/25
Release Cadence20/20
License Clarity20/20
DockerSelf-Hosted1 README badge views (30d)
Total Stars
★ 48,212
24h Growth
+10
7d Growth
+116
Forks
10,463

GitHub Star History

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

zhayujie/CowAgent Star History (2022-12-12 - 2026-12-04) ALL-TIME STAR HISTORY (2022-12 – 2026-12) +48.2k in 1453d · avg +33/day 50.9k 25.5k 0 2022-12-12: ★ 12023-03-11: ★ 4,7552023-06-10: ★ 12,1812023-09-09: ★ 14,5472023-12-09: ★ 17,3012024-03-09: ★ 21,5562024-06-08: ★ 25,5072024-09-07: ★ 28,2772024-12-07: ★ 30,3202025-03-08: ★ 34,0572025-06-07: ★ 36,2332025-09-06: ★ 37,6742025-12-06: ★ 38,8892026-03-07: ★ 41,0802026-06-06: ★ 44,5322026-09-05: ★ 46,4512026-12-04: ★ 48,212 ★ 48.2k 2022-12 2024-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

CowAgent is a Python end-user application with a decoupled agent harness. A channel passes an incoming message to the agent core, which uses memory and knowledge to plan work, calls a configured model and tools over multiple steps, then returns the result through the originating channel. The root layout separates agent/, channel/, models/, plugins/, and skills/, with app.py at the root and the cow CLI mapped to cli.cli:main.

pyproject.toml discovers cli* packages and declares Click and Requests; it is not the full service dependency manifest. requirements.txt adds aiohttp, NumPy, markdown-it-py for structure-aware chunking of memory and knowledge files, and croniter for scheduling. Built-in tools expose individual operations; manifest-defined skills combine them into workflows. MCP adds external tools through stdio or SSE, with hot reload through mcp.json.

Key Capabilities & Differentiators

A single instance can serve Web, WeChat, Feishu/Lark, Telegram, Slack, and other channels in parallel, with text, image, file, voice, and group support varying by integration. Chat, vision, image generation, ASR, TTS, and embeddings can be routed separately. The provider matrix includes Claude, OpenAI, Gemini, DeepSeek, and Qwen; Claude is listed for chat and vision, whereas Qwen covers all six categories. Agents can collaborate in a shared conversation while retaining separate models, skills, memory, knowledge, and workspaces.

Memory progresses from conversation context to daily records to MEMORY.md. Nightly Deep Dream consolidates memory, while retrieval combines keywords and vectors. A separate topic-oriented Markdown wiki maintains cross-references and indexes and has a graph view in the Web console. The self-evolution feature reviews prior conversations to refine skills and follow up on unfinished work. These are changes to retained information and workflows, not model-weight training.

Trade-offs & Limitations

Compared with a simple LLM chat frontend, CowAgent adds scheduling, tool execution, persistent memory, and multi-channel delivery, but those features also create state and credentials the operator must maintain. Compared with building on a lower-level agent framework, it saves the work of assembling a console and messaging integrations. The trade is that teams with strict isolation requirements must verify the application's actual authorization and execution boundaries rather than assuming separate workspaces provide isolation.

Terminal and file tools, browser automation, third-party skills, and MCP servers widen the permissions a deployed agent may exercise. Start with only the tools each workflow needs, use restricted service credentials, and keep guest-facing workflows away from privileged tools. Self-hosting gives operators control over the service and workspace, not over every data path: external model calls and channel integrations can still carry content off-host. Latency and cost depend on provider choice, the number of planning and tool steps, and concurrency.

Hardware & Deployment Guide

For a self-hosted installation, the quick start offers a source installer or Docker Compose; the local Web console opens on port 9899. The root Dockerfile extends ghcr.io/zhayujie/cowagent:latest and sets /entrypoint.sh as its entrypoint. Review the Compose file and pin an image version or digest for repeatable deployments. The Python >=3.7 declaration applies to CLI packaging metadata and should not be taken as a compatibility guarantee for the full service. Notably, the service requirements select aiohttp <3.10 before Python 3.13 and >=3.10 from Python 3.13 onward.

For remote access, set web_password before binding web_host to 0.0.0.0, and put the console behind a private network or authenticated TLS proxy rather than exposing it directly. The macOS and Windows desktop client bundles the backend; API-backed self-hosting still requires provider connectivity. Release 2.2.1 added Artifacts and the Agent Chat API, 2.2.2 introduced guest pages and embeds, and 2.3.0 added public-beta mobile apps for iOS, Android, and HarmonyOS that can run an agent on-device or pair with a desktop or server instance.

Execution: The agent core breaks work into steps and iterates over built-in tools such as file I/O, browser automation, and scheduling.
Extensibility: Manifest-defined skills compose tools; MCP servers connect through mcp.json using stdio or SSE with hot reload.
Persistence: Conversation context, daily memory, and MEMORY.md form three memory tiers; nightly Deep Dream consolidates entries, while retrieval combines keyword and vector search.
Model routing: Configure chat, vision, image generation, ASR, TTS, and embeddings independently; providers do not all support the same modalities.
Team workspaces: Agents in one conversation can have different models, skills, knowledge, memory, and workspaces.
Artifact delivery: The Web and desktop Artifacts view collects generated files; standalone guest pages and chat embeds provide separate visitor-facing entry points.
Best For

Individuals and small teams that want a self-hosted assistant to handle recurring tasks, build a shared knowledge base, and deliver results through existing chat channels.

Skip If

You only need stateless Q&A, or you require strict offline operation, tenant isolation, or audit controls that you have not validated in your deployment.

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

Quick Start & Installation

DockerSelf-Hosted
curl -O https://cdn.link-ai.tech/code/cow/docker-compose.yml
docker compose up -d

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
CowAgent ★48.2k+116PythonMITSelf-hosted agent harness for running and remembering work across chat channels
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/zhayujie/CowAgent.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.

zhayujie/CowAgent Star History on RepoForAI

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

Frequently Asked Questions about CowAgent

How do I connect more than one messaging channel and add external tools?

A single instance can serve multiple channels in parallel. The Web console is the default entry point for configuring models, channels, and skills. For external tools, CowAgent uses mcp.json and supports stdio and SSE transports with hot reload. Channel capabilities differ: for example, Slack supports files but not voice in the integration matrix, while Telegram supports both.

Does a self-hosted instance need a GPU, and what drives resource usage?

The base Python dependencies include NumPy, aiohttp, and provider SDKs, but do not list a CUDA or local inference stack. Start sizing an API-backed deployment for concurrent runs, workspace storage, and optional browser automation rather than assuming a GPU requirement. If you run a model locally, size RAM and VRAM separately for that inference runtime and model; no fixed hardware minimum is established.

Can we self-host CowAgent commercially and keep sensitive data on-premises?

The repository's MIT license permits commercial use, modification, and redistribution, subject to preserving the copyright and license notices as required. It does not cover the separate terms of model providers, messaging platforms, or third-party skills. Before rollout, determine which prompts, files, and retrieved content leave the host through model calls, integrations, or tools.

When is CowAgent a better fit than a chat frontend or a lower-level agent framework?

Choose CowAgent over a simple chat frontend if you need scheduled work, tool execution, persistent memory, and access across messaging channels. Choose it over building directly on an agent framework if you want those features packaged as an end-user application. A simpler frontend is a better fit for chat alone; a framework is a better fit when you need to design your own authorization and execution boundaries.

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 zhayujie/CowAgent? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature zhayujie/CowAgent 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