Sandbox
@zhayujie/CowAgent

Agent harness for memory, skills, and channels

CowAgent is a complete agent harness for running long-lived assistants across web, desktop, and messaging channels. It combines planning, memory, knowledge, skills, tools, and multi-agent teamwork, then routes everything through a model provider you choose.

46,881 stars10k forksPythonUpdated 7d ago
Who it's for

Builders who want one agent system to manage tasks, remember context, and operate across chat channels or a web console.

What it delivers

You can run an agent that keeps memory, uses tools and skills, and coordinates with other agents instead of starting over each session.

What it does

Task planning and execution

Breaks complex work into steps and keeps looping through tools until the goal is reached.

Multi-agent teams

Lets you create agents with different roles, models, skills, and knowledge in one shared conversation.

Long-term memory

Stores context, daily memory, and core memory, with nightly distillation into deeper memory entries.

Personal knowledge base

Turns useful conversation material into a structured Markdown wiki with cross-references and graph browsing.

Skills system

Installs skills from the Skill Hub, GitHub, ClawHub, or URL, and can create custom skills through conversation.

Built-in tools and MCP support

Includes file I/O, terminal, browser, scheduler, memory retrieval, web search, and native MCP integration.

Channel integrations

Connects one agent to Web, Telegram, Slack, Discord, WeChat, Feishu, DingTalk, QQ, and more.

Multi-model routing

Supports providers like Claude, OpenAI, Gemini, DeepSeek, Qwen, and others, with separate routing for chat, vision, audio, and embeddings.

How to get it

  1. 1Linux / macOS
    bash <(curl -fsSL https://cdn.link-ai.tech/code/cow/run.sh)
  2. 2Windows (PowerShell)
    irm https://cdn.link-ai.tech/code/cow/run.ps1 | iex
  3. 3Docker
    curl -O https://cdn.link-ai.tech/code/cow/docker-compose.yml
    docker compose up -d
  4. 4After installation, manage the service with the cow CLI
    cow start | stop | restart        # service control
    cow status | logs                  # status and logs
    cow update                         # pull latest code and restart
    cow skill install <name>           # install a skill
    cow install-browser                # install browser automation

README

CowAgent

Latest release License: MIT Stars Docs WeChat Group Discord

zhayujie%2FCowAgent | Trendshift

[English] | [中文] | [繁體中文] | [日本語]

CowAgent is an open-source super AI assistant that proactively plans tasks, controls your computer and external services, creates and runs Skills, builds a personal knowledge base and long-term memory, forms multi-agent teams, and grows alongside you through self-evolution — a reference implementation of Agent Harness engineering.

CowAgent is lightweight, easy to deploy, and built to extend. Plug in any major LLM provider and run it 24/7 on a personal computer or server, across the web and all major IM platforms.

🌐 Website  ·  📖 Docs  ·  🚀 Quick Start  ·  🧩 Skill Hub  ·  💻 Download  ·  ☁️ Try Online


🎬 Demo

Your browser can't play this video. Watch the demo on our website →


🌟 Highlights

CapabilityDescription
PlanningDecomposes complex tasks and executes them step by step, looping over tools until the goal is reached
Multi-AgentBuild a team of Agents, each with its own role, model, skills, and knowledge, collaborating within a shared conversation
MemoryThree-tier architecture (context → daily → core), automatic Deep Dream distillation, hybrid keyword + vector retrieval
KnowledgeAuto-curates structured knowledge into a Markdown wiki, builds an evolving knowledge graph with visual browsing
EvolutionSelf-Evolution reviews conversations automatically to improve skills, follow up on unfinished tasks, and consolidate memory and knowledge, growing through everyday use
SkillsOne-click install from Skill Hub, GitHub, ClawHub; or create custom skills via natural-language conversation
ToolsBuilt-in file I/O, terminal, browser, scheduler, memory retrieval, web search, and 10+ more tools — with native MCP integration
ChannelsIntegrates with Web, WeChat, Feishu, DingTalk, WeCom, QQ, Official Accounts, Telegram, and Slack
MultimodalFirst-class support for text, images, voice, and files — recognition, generation, and delivery
ModelsClaude, GPT, Gemini, DeepSeek, Qwen, GLM, Kimi, MiniMax, Doubao, and more — swap providers from the Web console with one click
DeployOne-line installer, unified Web console, multiple deployment modes (local, Docker, server)

🏗️ Architecture

CowAgent Architecture

CowAgent is a complete Agent Harness: messages flow in through Channels; the Agent Core plans and reasons over memory, knowledge, and the available tools and skills; Models generate the response, which is sent back through the originating channel. Every layer is decoupled and independently extensible.

Read more in Architecture.


🚀 Quick Start

A one-line installer takes care of dependencies, configuration, and startup:

Linux / macOS:

bash <(curl -fsSL https://cdn.link-ai.tech/code/cow/run.sh)

Windows (PowerShell):

irm https://cdn.link-ai.tech/code/cow/run.ps1 | iex

Docker:

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

Once started, open http://localhost:9899 to access the Web console — your one-stop hub to chat with the Agent, configure models, connect channels, and install skills.

Deploying on a server? Set web_host to 0.0.0.0 in config.json to make the console reachable from outside, and set web_password to protect it. Don't forget to open port 9899 in your firewall or security group.

📖 Detailed guides: Quick Start · Install from Source · Upgrade

After installation, manage the service with the cow CLI:

cow start | stop | restart        # service control
cow status | logs                  # status and logs
cow update                         # pull latest code and restart
cow skill install <name>           # install a skill
cow install-browser                # install browser automation

💻 Desktop client: download the CowAgent Desktop client (macOS / Windows) — the backend is bundled, ready to use out of the box.


👥 Multi-Agent Team

Create a team of Agents, each with its own memory, capabilities, knowledge, and workspace. Each can focus on its own domain, or collaborate within a shared conversation to tackle complex tasks together. Multi-Agent teams are available on the Web, the desktop client, and IM channel integrations.

CowAgent Multi-Agent Team

See Agent Team for details.


🤖 Models

CowAgent supports all mainstream LLM providers. Chat, vision, image generation, ASR/TTS, and embeddings can each be routed to a different vendor. Providers are configured directly in the Web console — no manual file editing required.

ProviderFeatured ModelsChatVisionImage GenASRTTSEmbedding
DeepSeekdeepseek-flash (V4.1) / pro
Claudeclaude-opus-5 / fable-5.1
OpenAIgpt-6-astra / gpt-5.6 series
Geminigemini-3.8-flash
MiniMaxMiniMax-M3
GLMglm-5.3-flash, glm-5v-turbo
Qwenqwen3.8-flash
Kimikimi-k3
Doubaodoubao-seed-2.1 series
ERNIEernie-5.1
MiMomimo-v2.5 / pro
LinkAIOne key for 100+ models
CustomLocal models / third-party proxy

For details on each provider, see the Models overview.


💬 Channels

A single Agent instance can serve multiple channels in parallel. Most channels can be onboarded right from the Web console.

ChannelTextImageFileVoiceGroup
Web Console (default)
Telegram
Slack
Discord
WeChat
Feishu / Lark
DingTalk
WeCom Bot
QQ
WeCom App
WeChat Customer Service
WeChat Official Account

See the Channels overview for setup details.

CowAgent Web Console

The Web console is the default channel and the unified entry point to configure models, channels, skills, memory, and more.


🧠 Memory & Knowledge Base

Long-term memory uses a three-tier architecture: conversation context (short-term) → daily memory (mid-term) → MEMORY.md (long-term). A nightly Deep Dream pass distills scattered memories into refined long-term entries and a narrative journal. See Long-term Memory · Deep Dream.

Personal knowledge base complements the time-ordered memory by organizing structured knowledge by topic. The Agent automatically curates valuable information from conversations, maintains cross-references and indexes, and the Web console offers an interactive knowledge-graph view. See Personal Knowledge Base.

Long-term Memory

Long-term Memory · Three-tier architecture + Deep Dream

Personal Knowledge Base

Knowledge Base · Auto-curated Markdown wiki


🔧 Tools & Skills

Tools are atomic capabilities the Agent uses to interact with system resources. Skills are higher-level workflows defined by a manifest file that compose multiple tools to accomplish complex tasks.

Tool System

Built-in tools cover file I/O (read / write / edit / ls), terminal (bash), file sending (send), memory retrieval (memory), environment variables (env_config), web fetching (web_fetch), scheduling (scheduler), web search (web_search), vision (vision), and browser automation (browser).

MCP protocol integrates the open ecosystem of Model Context Protocol servers. A single mcp.json is enough — supports stdio / SSE transports, hot reload, and zero-code integration.

Learn more: Tools overview · MCP integration.

Skills System

  • Skill Hub — open skill marketplace: browse, search, install in one click
  • GitHub / ClawHub / URL and more — install skills from any source
  • Conversational authoring — generate custom skills through dialogue with skill-creator; turn any workflow or third-party API into a reusable skill
/skill list                   # list installed skills
/skill search <keyword>        # search the marketplace
/skill install <name>          # one-click install

Learn more: Skills overview · Creating Skills.


🏷 Changelog

2026.09.10: v2.1.8 — Multi-Agent teams, manual scheduled task creation, context-usage visualization, new models and search providers, workspace file editing.

2026.08.20: v2.1.7 — Multiple workspaces, session-level permission modes, task notifications, desktop improvements, plus new model support.

2026.08.12: v2.1.6 — Sub agents for parallel task delegation, reasoning-effort settings, a pluggable memory vector backend, plus experience and security improvements.

2026.07.29: v2.1.5 — Workspace with file preview, core tool improvements (file search, write-time validation, background commands), context compaction (/compact), one-click prompt optimization, security hardening.

2026.07.20: v2.1.4 — Desktop experience improvements, MCP OAuth authorization, Lark channel enhancements, scheduler improvements and data backup, new models.

2026.07.08: v2.1.3Desktop client for macOS / Windows, knowledge base document management, on-demand MCP tool retrieval, Traditional Chinese support, new models.

2026.06.18: v2.1.2 — Web console upgrades (scheduled task management, knowledge base categories, multiple custom model providers), Self-Evolution improvements, new models (kimi-k2.7-code, glm-5.2), security hardening and refinements.

2026.06.09: v2.1.1 — Self-Evolution, Web console upgrades (message management, parallel sessions), cross-platform MCP enhancements with concurrent calls, new models (MiniMax-M3, qwen3.7-plus), Python 3.13 support.

2026.06.01: v2.1.0 — Internationalization, new channels (Telegram, Discord, Slack, WeChat Customer Service), CLI interaction upgrades, streamlined one-line install, MCP Streamable HTTP support, new models (claude-opus-4-8, MiMo).

Full history: Release Notes


🤝 Community & Support

Join our Discord server to ask questions, share skills, and follow development:

Join our Discord

You can also file an issue on GitHub, or scan the QR code below to join our WeChat group:


🔗 Related Projects

  • Cow Skill Hub — open skill marketplace for AI Agents; works with CowAgent, OpenClaw, Claude Code, and more
  • bot-on-anything — lightweight LLM application framework with integrations for Slack, Telegram, Discord, Gmail, and more
  • AgentMesh — open-source multi-agent framework for solving complex problems through team collaboration

🏢 Enterprise Services

LinkAI is an all-in-one AI Agent platform for enterprises and developers, offering managed hosting and enterprise-grade support for CowAgent:

  • 🚀 Zero-deployment hosted runtime — spin up a CowAgent online assistant in under a minute, no server required
  • 🧠 Agent infrastructure — unified access to LLMs, knowledge bases, databases, skills, and workflows; plug-and-play building blocks that extend what CowAgent can do
  • 🏢 Team & enterprise features — workspaces, role-based access, audit logs, and private deployment for production use cases

For enterprise inquiries: sales@simple-future.tech or scan the QR code to reach our team on WeChat.


🛠️ Development & Contributing

All kinds of contributions are welcome — new features, bug fixes, performance improvements, docs, or sharing your own skills on the Skill Hub. See CONTRIBUTING.md to get started, then open an Issue to discuss or send a PR directly.

⭐ Star the project to show your support, and Watch → Custom → Releases to get notified of new versions. PRs and Issues are always welcome.

🌟 Contributors

cow contributors


⚠️ Disclaimer

  1. This project is licensed under the MIT License and is intended for technical research and learning. You are responsible for complying with applicable laws and regulations in your jurisdiction; the maintainers assume no liability for any consequences arising from use of this project.
  2. Cost & safety: Agent mode consumes substantially more tokens than regular chat — pick models that balance quality and cost. The Agent has access to your local operating system, so only deploy it in trusted environments.
  3. CowAgent is a pure open-source project and does not participate in, authorize, or issue any cryptocurrency.

📌 Project Renaming Notice

This project was previously named chatgpt-on-wechat and is now officially CowAgent. The old GitHub URL redirects automatically; existing users may optionally run git remote set-url origin https://github.com/zhayujie/CowAgent.git to update the local remote.

Files in the repo

Repository payload29 top-level entries
  • .github
  • agent
  • bridge
  • channel
  • cli
  • common
  • desktop
  • docker
  • docs
  • models
  • plugins
  • scripts
  • skills
  • tests
  • translate
  • voice
  • .gitignore
  • .preview_secret
  • app.py
  • config-template.json
  • config.py
  • CONTRIBUTING.md
  • Dockerfile
  • LICENSE
  • pyproject.toml
  • README.md
  • requirements-optional.txt
  • requirements.txt
  • run.sh

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More harnesses

affaan-m/
ECC
affaan-m/ECCHarnesses

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

258k

The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.

42k
ruvnet/rufloHarnesses

🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

72k

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.

11k