opencow

agent
SUMMARY

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. ๐Ÿ„

README.md

English ยท ็ฎ€ไฝ“ไธญๆ–‡

OpenCow

OpenCow

One Task. One Agent. Delivered.

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.

License: Apache-2.0
Electron
React
TypeScript
PRs Welcome

How It Works ยท Features ยท Quick Start ยท Architecture ยท Contributing

Website ยท X (Twitter) ยท Download


OpenCow Issues Preview

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.

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.

Task & Agent Core

Task Tracker ยท Agent Dashboard
Live Monitor ยท Multi-Project

Intelligence

Intelligence Hub ยท Marketplace
Built-in Browser ยท Artifacts

Automation

Scheduling ยท Webhooks
Notifications ยท Live Preview

Command & Control

IM Command ยท Terminal
Command Palette ยท Themes


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

# 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.js
  • nodeIntegration: 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 any usage
  • 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

# 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.

# 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


Star History


License

Apache-2.0 โ€” completely free and open source. No paid tiers, no usage limits, no subscriptions.

Third-party SDKs: OpenCow integrates with third-party AI SDKs (e.g. @anthropic-ai/claude-agent-sdk, @openai/codex-sdk) that are subject to their own license terms. Please review each SDK's license before use.


Autonomous Agents for Every Team.

Yorumlar (0)

Sonuc bulunamadi