Opencow
One task, one agent, delivered. The open-source platform for task-driven autonomous AI agents.OpenCow assigns an autonomous AI agent to every task โ features, campaigns, reports, audits โ and delivers them in parallel. Full context. Full control. Every department. ๐
The open-source platform for task-driven autonomous AI. Every task becomes an autonomous agent โ campaigns, reports, features, audits ship in parallel. For every team. The project is written primarily in TypeScript, distributed under the Apache License 2.0 license, first published in 2026. Key topics include: ai-agent, ai-first, autonomous-agent, browser-use, issue-driven.
OpenCow
One Task. One Agent. Delivered.
The open-source platform for task-driven autonomous AI.<br/>
Every task becomes an autonomous agent โ campaigns, reports, features, audits<br/>
ship in parallel. For every team.
How It Works ยท Features ยท Quick Start ยท Architecture ยท Contributing
Website ยท X (Twitter) ยท Download
</div><div align="center"> <img src="resources/issues-preview-light.png" alt="OpenCow Issues Preview" width="820" /> </div>
How It Works
Task In. Result Out.
| Step | What happens |
|---|---|
| Create | Write a task, not a prompt. Describe the deliverable โ a campaign, a report, a feature, an audit. OpenCow links full context: project files, prior work, related tasks. |
| Dispatch | One task, one agent. Each task gets a dedicated agent with full context โ project knowledge, team playbooks, organizational standards. 15 tasks, 15 agents, in parallel. |
| Deliver | Agents research, draft, build, and publish โ autonomously. Real-time progress, instant notifications, approval gates at every step. Review. Ship. |
The Platform
Everything to turn your task list into a parallel AI workforce.
<table> <tr> <td width="50%">Task-to-Agent Pipeline
Built-in task tracker where every task becomes an agent. Break projects into sub-tasks, each with a dedicated agent. Your task list IS your delivery plan.
1 Task = 1 Agent ยท Sub-task hierarchy ยท Auto-linked context
Agent Intelligence
Equip agents with your org's knowledge, standards, and tools. Skills, playbooks, integrations โ every agent follows your processes.
Custom skills ยท 6 capability types ยท Auto-sync standards
Agent Command Center
Real-time dashboard. Track every agent's progress and actions. Approve deliverables. One screen, full visibility.
Live monitoring ยท Task-linked status ยท Approval gates
Work from Anywhere
Dispatch agents from Telegram, Discord, WeChat, or Lark. Schedule recurring workflows. Get notified via webhooks.
4 IM platforms ยท Natural language ยท 7 schedule types
Everything. Built In.
No plugins. No integrations to configure. Every capability your AI workforce needs.
<table> <tr> <td width="25%" align="center">Task & Agent Core
<br/><sub>Task Tracker ยท Agent Dashboard<br/>Live Monitor ยท Multi-Project</sub>
Intelligence
<br/><sub>Intelligence Hub ยท Marketplace<br/>Built-in Browser ยท Artifacts</sub>
Automation
<br/><sub>Scheduling ยท Webhooks<br/>Notifications ยท Live Preview</sub>
Command & Control
<br/><sub>IM Command ยท Terminal<br/>Command Palette ยท Themes</sub>
Built Different
The design decisions that define OpenCow.
| Principle | What it means | |
|---|---|---|
| 1:1 | Task โ Agent | One task, one agent. Full context. Full traceability. Zero ambiguity. |
| โ | Local & Private | Everything runs on your machine. Zero telemetry. Zero cloud. Your data never leaves. |
| 15+ | Parallel Agents | Deliver 15+ tasks simultaneously. Suspend and resume any agent without losing context. |
| 4-Layer | Deep Context Engine | Every agent inherits organizational knowledge, project context, team standards, and task-specific instructions. |
Quick Start
From source (for contributors)
Prerequisites: Node.js >= 18 and pnpm >= 9
bash# Clone the repository git clone https://github.com/OpenCowAI/opencow.git cd opencow # Install dependencies pnpm install # Launch in development mode (HMR enabled) pnpm dev
Download the app
Grab the latest release from opencow.ai/download โ free, open source, ready in 60 seconds.
Tech Stack
| Layer | Choice | Why |
|---|---|---|
| Desktop | Electron 40 | Cross-platform, native-grade experience |
| UI | React 19 + Tailwind CSS 4 | Concurrent rendering, utility-first styling |
| Language | TypeScript (strict, zero any) | End-to-end type safety |
| State | Zustand | Lightweight reactive stores with row-level subscriptions |
| Build | electron-vite (Vite) | Sub-second HMR, triple-target build |
| Database | SQLite via Kysely | Local-first, type-safe schema with 35+ migrations |
| Terminal | xterm.js + WebGL | Hardware-accelerated terminal rendering |
| Editor | Monaco Editor | VS Code-grade editing experience |
| Testing | Vitest + React Testing Library | Fast, modern test runner |
| AI | Claude Agent SDK + Codex SDK + MCP | Multi-engine โ choose Claude or Codex as your AI engine, with Model Context Protocol |
Architecture
OpenCow follows a hardened Electron architecture with strict process isolation:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Renderer Process โ
โ โโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโ โ
โ โ React 19 โ โ Zustand โ โ 271 Components โ โ
โ โ Components โ โ Stores โ โ 68 Hooks โ โ
โ โโโโโโโฌโโโโโโ โโโโโโฌโโโโโโ โโโโโโโโโโฌโโโโโโโโโโ โ
โ โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโ โ
โ โ IPC (contextBridge) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Main Process โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ
โ โ DataBus โ โ Services โ โ Native Modules โ โ
โ โ Events โ โ (47+) โ โ SQLite ยท PTY โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ
โ โ Claude โ โ Bot โ โ Capability โ โ
โ โ Agent SDKโ โ Gateway โ โ Center โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Security model:
contextIsolation: trueโ renderer cannot access Node.jsnodeIntegration: falseโ no direct module loading- Type-safe IPC bridge via
contextBridge.exposeInMainWorld - Sandboxed file access with explicit path allowlists
- Separate data directories for dev (
~/.opencow-dev) and production (~/.opencow)
Project Structure
opencow/
โโโ electron/ # Main process
โ โโโ main.ts # App entry point
โ โโโ preload.ts # Secure IPC bridge
โ โโโ services/ # 47+ backend service modules
โ โ โโโ capabilityCenter/ # AI capability management
โ โ โโโ schedule/ # Cron automation engine
โ โ โโโ messaging/ # Multi-channel messaging
โ โ โโโ git/ # Git integration layer
โ โ โโโ ...
โ โโโ database/ # SQLite schema & migrations
โ โโโ sources/ # Hook, task, and stats data sources
โ โโโ ipc/ # IPC channel handlers
โโโ src/
โ โโโ renderer/ # React application
โ โ โโโ components/ # 32 feature modules, 271 components
โ โ โโโ hooks/ # 68 custom React hooks
โ โ โโโ stores/ # 18 Zustand domain stores
โ โ โโโ lib/ # Utilities & helpers
โ โ โโโ locales/ # i18n (en-US, zh-CN)
โ โโโ shared/ # Cross-process types & utilities
โโโ tests/ # Vitest test suite
โโโ docs/ # 520+ design docs & proposals
โโโ resources/ # App icons & tray assets
Development
Scripts
| Command | What it does |
|---|---|
pnpm dev | Start with HMR |
pnpm build | Compile all targets |
pnpm preview | Build + launch in production mode |
pnpm package | Build + package .app (fast, for testing) |
pnpm package:dmg | Build + package .dmg installer |
pnpm typecheck | TypeScript strict check |
pnpm lint | ESLint |
pnpm format | Prettier |
pnpm test | Run all tests |
pnpm test:watch | Watch mode |
Build Targets
electron-vite compiles three independent TypeScript targets:
| Target | Entry | Output |
|---|---|---|
| Main | electron/main.ts | out/main/ |
| Preload | electron/preload.ts | out/preload/ |
| Renderer | src/renderer/index.html | out/renderer/ |
Path Aliases
@โsrc/renderer(renderer only)@sharedโsrc/shared(all targets)
Code Standards
- TypeScript strict mode, zero
anyusage - Prettier โ no semicolons, single quotes, 100 char width, 2-space indent
- ESLint โ strict rules with React Hooks plugin
- Conventional Commits โ
feat:,fix:,perf:,refactor:, etc.
Packaging
bash# macOS .app (for local testing, fast) pnpm package # Output: dist/mac-arm64/OpenCow.app # macOS .dmg (for distribution) pnpm package:dmg # Output: dist/OpenCow-{version}.dmg
Cross-platform builds for Windows and Linux are supported via electron-builder configuration in package.json.
Contributing
We welcome contributions of all kinds โ bug fixes, features, docs, and ideas.
bash# 1. Fork & clone git clone https://github.com/<you>/opencow.git cd opencow # 2. Install & run pnpm install && pnpm dev # 3. Create a branch, make changes, submit a PR git checkout -b feat/my-feature
Please read CONTRIBUTING.md for the full guide on code style, commit format, and review process.
Community
- X (Twitter) โ Follow us for updates
- Discord โ Chat with the community
- GitHub Issues โ Bug reports & feature requests
- GitHub Discussions โ Questions & ideas
- Code of Conduct โ Our community standards
Star History
<div align="center"><a href="https://www.star-history.com/?repos=OpenCowAI%2Fopencow&type=date&legend=top-left"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/image?repos=OpenCowAI/opencow&type=date&theme=dark&legend=top-left" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/image?repos=OpenCowAI/opencow&type=date&legend=top-left" /> <img alt="Star History Chart" src="https://api.star-history.com/image?repos=OpenCowAI/opencow&type=date&legend=top-left" /> </picture></a>
</div>License
Apache-2.0 โ completely free and open source. No paid tiers, no usage limits, no subscriptions.
<div align="center"> <br /> <sub>Autonomous Agents for Every Team.</sub> </div>Third-party SDKs: OpenCow integrates with third-party AI SDKs (e.g.
@opencow-ai/opencow-agent-sdk,@openai/codex-sdk) that are subject to their own license terms. Please review each SDK's license before use.
Contributors
Showing top 4 contributors by commit count.