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. ๐
English ยท ็ฎไฝไธญๆ
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.
How It Works ยท Features ยท Quick Start ยท Architecture ยท Contributing
Website ยท X (Twitter) ยท Download
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 PipelineBuilt-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.
|
Agent IntelligenceEquip agents with your org's knowledge, standards, and tools. Skills, playbooks, integrations โ every agent follows your processes.
|
Agent Command CenterReal-time dashboard. Track every agent's progress and actions. Approve deliverables. One screen, full visibility.
|
Work from AnywhereDispatch agents from Telegram, Discord, WeChat, or Lark. Schedule recurring workflows. Get notified via webhooks.
|
Everything. Built In.
No plugins. No integrations to configure. Every capability your AI workforce needs.
|
Task & Agent Core |
Intelligence |
Automation |
Command & Control |
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.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
# 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
- 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
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)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi