https://github.com/Array-Ventures/coworker
Open-source AI agent with MCP UI, app builder, A2A protocol, skills marketplace, and multi-provider chat. Built with Mastra. Alternative to OpenClaw.
https://github.com/Array-Ventures/coworker
a2a-protocol ai-agent ai-assistant anthropic app-builder chatbot electron google-workspace inngest mastra mcp mcp-client mcp-server openai openclaw-alternative railway self-hosted skills-marketplace typescript whatsapp-bot
Last synced: about 9 hours ago
JSON representation
Open-source AI agent with MCP UI, app builder, A2A protocol, skills marketplace, and multi-provider chat. Built with Mastra. Alternative to OpenClaw.
- Host: GitHub
- URL: https://github.com/Array-Ventures/coworker
- Owner: Array-Ventures
- License: apache-2.0
- Created: 2026-02-16T06:41:23.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-02-24T14:58:06.000Z (4 months ago)
- Last Synced: 2026-02-24T19:13:47.776Z (4 months ago)
- Topics: a2a-protocol, ai-agent, ai-assistant, anthropic, app-builder, chatbot, electron, google-workspace, inngest, mastra, mcp, mcp-client, mcp-server, openai, openclaw-alternative, railway, self-hosted, skills-marketplace, typescript, whatsapp-bot
- Language: TypeScript
- Homepage: https://railway.com/deploy/coworker
- Size: 2.85 MB
- Stars: 3
- Watchers: 0
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-a2a - Coworker - Ventures](https://github.com/Array-Ventures) [](https://github.com/Array-Ventures/coworker) - Open-source AI agent platform built with Mastra featuring MCP UI, app builder, skills marketplace, A2A protocol support for agent discovery and communication, scheduled tasks, Google Workspace integration, WhatsApp bridge, and multi-provider chat. Self-hostable with Docker and Railway. MIT licensed. (⚙️ Implementations & Libraries)
README
# Coworker
Open-source AI agent built with [Mastra](https://mastra.ai). Acts as an AI team member that handles tasks, answers questions, and manages workflows via chat. Supports OpenAI, Anthropic, Google Gemini, NVIDIA, Groq, Kimi, and any OpenAI-compatible provider.
## Features
- **AI chat assistant** — answer questions, draft content, summarize documents, and brainstorm ideas
- **App builder** — Lovable-like builder for creating internal dashboards and tools, maintained by agents with git version control
- **MCP UI** — visual interface for managing MCP servers and building agent-maintained internal dashboards
- **MCP registry** — discover and install MCP servers from the built-in registry
- **Skills marketplace** — install community-built skills from [ClawHub](https://clawhub.ai) and [skills.sh](https://skills.sh)
- **A2A protocol** — let other AI agents discover and communicate with Coworker via Agent-to-Agent protocol
- **Scheduled tasks** — run recurring AI workflows on a cron schedule via Inngest
- **Google Workspace** — manage emails, calendar, and docs through natural language
- **WhatsApp bridge** — interact with your AI agent via WhatsApp messages
- **File workspace** — upload, manage, and reference files in agent conversations
- **API access** — secure API key authentication for programmatic access and integrations
- **Multi-provider AI** — switch between OpenAI, Anthropic, Google, NVIDIA, Groq, Kimi, or any OpenAI-compatible endpoint
## Screenshots
## Stack
- **Backend**: Mastra agents + tools (TypeScript)
- **Desktop**: Electron app (React + Tailwind)
- **Integrations**: WhatsApp, Google Workspace (gog CLI), MCP
- **Scheduling**: Inngest
- **Runtime**: Bun
## Deploy to Railway
[](https://railway.com/deploy/coworker?referralCode=7FU369&utm_medium=integration&utm_source=template&utm_campaign=generic)
One-click deploy of the Coworker server with Inngest, Postgres, Redis, and optional Tailscale private networking. After deploying, set your `MODEL` and API key (e.g. `OPENAI_API_KEY`) in the Railway service variables. See `.env.example` for all supported providers.
Download the [desktop app](https://github.com/Array-Ventures/coworker/releases) for macOS and point it at your Railway server URL.
## Self-Host
### Backend
```bash
cp .env.example .env # add your API keys
bun install
bun run dev # http://localhost:4111
```
### Desktop App
```bash
cd app && bun install && bun run dev
```
The app connects to `http://localhost:4111` by default. To connect to a remote server, go to **Settings > Advanced** and update the Server URL.
### Docker
```bash
docker compose up
```
Builds are automated via GitHub Actions and pushed to `ghcr.io`.
## Auto-Updates
The desktop app supports automatic updates via GitHub Releases. When a new release is published, users are notified in **Settings > Advanced** where they can download and install the update.
## Project Structure
```
src/mastra/
agents/ # Agent definitions
tools/ # Reusable tools
workflows/ # Scheduled tasks
gog/ # Google Workspace integration
whatsapp/ # WhatsApp bridge
mcp/ # MCP server
app/ # Electron desktop app
```