Skip to content

Repository files navigation

OpenWhale

OpenWhale

The AI that doesn't just talk. It works. 🐋

Deploys agent swarms, clears your inbox, sends emails, manages your calendar, browses the web, writes code, and runs your life.
All from WhatsApp, Telegram, Discord, or any chat app you already use.

🤖 Multi-Agent Swarms — Fan-out tasks to parallel agents with shared memory — not one bot, an army
🧠 Self-Extensible — Creates its own tools, skills, and automations on the fly
🔒 Runs on Your Machine — Your data never leaves your computer. Private by default
🌐 Websiteviralcode.github.io/openwhale
☁️ Managed Hosting — Coming soon


What is OpenWhale?

Other AI assistants chat. OpenWhale does. It deploys autonomous agent swarms that fan-out complex work to multiple AI agents running in parallel, coordinate them with shared memory and file locks, and collect results automatically. Connect it to 8 AI providers, let it talk on your behalf through WhatsApp/Telegram/Discord/Twitter/iMessage, browse the web with real browser automation, execute code, manage your calendar, send emails — and basically run your digital life.

An AI workforce, not just an AI assistant. One agent is nice. A coordinated swarm is unstoppable.

OpenWhale Dashboard


⚡ Quick Start

git clone https://github.com/viralcode/openwhale.git
cd openwhale
pnpm install
pnpm approve-builds
pnpm run dev

Open http://localhost:7777/dashboard → add your API keys → start chatting.

📖 Full Getting Started Guide →

🪟 On Windows? Run the one-line installer in PowerShell — installs everything automatically:

irm https://raw.githubusercontent.com/viralcode/openwhale/main/install.ps1 | iex

Or see the Windows Installation Guide → for manual setup.


✨ Core Features

🤖 8 AI Providers

Switch between any major AI model on the fly. One assistant, unlimited model choices.

ProviderTop Models
AnthropicOpus 4.5, Sonnet 4.5
OpenAIGPT-5.2, GPT-5, GPT-4o, o4-mini
Google GeminiGemini 3 Pro, Gemini 2.5 Pro
QwenQwen3-Max, QwQ-Plus, Qwen3-Coder
DeepSeekDeepSeek Chat, Coder, Reasoner
GroqLlama 3.3 70B, Mixtral 8x7B
Together AIAny open-source model
OllamaLocal models — no API key!

Automatic failover between providers. If one fails, the next takes over.

📖 Providers Documentation →

AI Providers


🤖 Multi-Agent Coordination

Deploy multiple AI agents in parallel to tackle complex tasks faster. Automatic task decomposition, shared context, advisory file locks, and inter-agent messaging.

"Research quantum computing and write a Python sorting algorithm"
→ Orchestrator fans out to Research Agent + Coder Agent
→ Results synthesized automatically
  • Fan-out / Fan-in — Split work across specialized parallel agents
  • Shared Context — Agents share data via a namespaced key-value store
  • Active Locks — Advisory file locks prevent concurrent write conflicts
  • Inter-Agent Messaging — Agents can talk to each other during execution
  • A2A Protocol — Google Agent2Agent protocol for interop with LangGraph, CrewAI, AutoGen

📖 Multi-Agent Documentation →


💬 6 Messaging Channels

Your AI responds across all platforms — unified inbox, one brain.

ChannelHow It Works
WhatsAppScan QR code, uses your personal account
TelegramCreate a bot with @BotFather
DiscordAdd bot to your server
SlackSlack app integration
Twitter/XAuto-reply to mentions via bird CLI (cookie auth, no API!)
iMessagemacOS native — read and send iMessages

📖 Channels Setup Guide →


🛠️ 40+ Built-in Tools

The AI can actually DO things, not just talk about them.

CategoryTools
SystemShell exec, code execution, system info, clipboard, Apple Shortcuts
FilesRead/write files, git, zip, codebase search, database queries
DocumentsPDF creation, PowerPoint slides, Excel spreadsheets
WebBrowser automation (Playwright + BrowserOS), web fetch
MediaScreenshots, camera, canvas, image analysis, TTS, screen recording, QR codes
CommunicationEmail, iMessage, calendar events
InfrastructureDocker, SSH
MemoryPersistent memory, knowledge graphs, multi-step planning
AutomationCron scheduling, self-extensions, skill creator
CoordinationAgent listing, session management, shared context, file locks

📖 Full Tools Reference →

Available Tools


🔌 API Skills (External Integrations)

Connect to your favorite services — the AI handles the API calls.

SkillWhat It Does
GitHubManage repos, issues, PRs, commits
NotionSearch, create, update pages and databases
Google CalendarView and create events
GmailRead, send, and search emails
Google DriveUpload, download, list files
Google TasksManage your to-do lists
WeatherCurrent conditions and forecasts
1PasswordSecurely fetch passwords and secrets
Apple Notes/RemindersNative macOS integration
Twitter/XPost, search, timeline, mentions, follow
SpotifyPlayback control, search, playlists
TrelloBoards, lists, and cards
ElevenLabsAI text-to-speech
TwilioSMS and voice calls

Plus 50+ Markdown Skills from the OpenClaw community.

📖 Skills Documentation →

Markdown Skills


🌐 Browser Automation

Two backends to choose from:

BackendBest For
PlaywrightSimple scraping, headless automation, zero setup
BrowserOSReal browser with your extensions, cookies, and logins

BrowserOS lets the AI control YOUR actual browser — including logged-in sessions, AdBlock, 1Password, and everything else.

📖 Browser Automation Guide →


⚡ Self-Extension System

The AI can create its own automations. Just ask.

  • "Create an extension that checks Bitcoin price every hour and sends it to WhatsApp"
  • "Make an extension that reminds me to drink water"
  • "Create a daily standup summary extension"

Extensions support cron scheduling, multi-channel output, and persist across restarts.

📖 Extensions Documentation →

Extensions


🧠 Persistent Memory

Remembers everything, even after restarts: long-term facts, daily notes, vector search (local embeddings, no API needed!), and session persistence.

📖 Memory System →


💓 Heartbeat (Proactive Agent)

The AI wakes up periodically to check on things — configurations, inboxes, tasks — without you having to ask.

📖 Heartbeat Documentation →


🔒 Enterprise Security

JWT authentication, rate limiting, audit logs, sandboxed code execution, command filtering, multi-user support.

📖 Security Documentation →


🐋 macOS Native App

Native SwiftUI menu bar app with quick chat, status monitoring, and channel controls — no browser needed.

📖 macOS App Documentation →


Why OpenWhale?

FeatureOpenWhaleChatGPTClaudeTypical Chatbot
Multi-agent orchestration✅ Fan-out/fan-in with shared memory❌ No❌ No❌ No
Multi-model support✅ 8 providers❌ GPT only❌ Claude only❌ Single model
Run shell commands✅ Full access❌ No❌ No❌ No
Browser automation✅ Playwright + BrowserOS❌ Limited✅ Limited❌ No
WhatsApp/Telegram/Discord✅ All channels❌ No❌ No❌ Maybe one
iMessage (macOS)✅ Native❌ No❌ No❌ No
Twitter integration✅ Full API❌ No❌ No❌ No
Self-extensible✅ Creates own tools❌ No❌ No❌ No
Runs locally✅ Your machine❌ Cloud only❌ Cloud only❌ Usually cloud
Open source✅ MIT license❌ Closed❌ Closed❌ Varies
Persistent memory✅ Vector search✅ Limited✅ Limited❌ Usually no
Proactive heartbeat✅ Configurable❌ No❌ No❌ No

📚 Documentation

DocumentDescription
Getting StartedInstallation, prerequisites, quick start, Docker
ProvidersAI providers, models, failover configuration
Multi-AgentFan-out/fan-in, shared context, A2A protocol
ChannelsWhatsApp, Telegram, Discord, Slack, Twitter, iMessage
ToolsComplete reference for all 40+ built-in tools
SkillsAPI skills and Markdown community skills
Browser AutomationPlaywright vs BrowserOS
MemoryLong-term memory, vector search, session persistence
HeartbeatProactive agent configuration
ExtensionsSelf-extension system and scheduling
DashboardWeb dashboard and setup wizard
macOS AppNative menu bar app
APIREST API reference and OpenAI-compatible endpoints
SecurityAuthentication, rate limiting, audit, sandboxing
Windows SetupInstalling & running on Windows 10/11
ConfigurationFull .env reference
CLICLI commands and npm scripts
TroubleshootingCommon issues and fixes

Project Structure

src/
├── agents/ # Multi-agent orchestration, inter-agent comms, A2A protocol
├── auth/ # JWT, API keys, sessions
├── channels/ # WhatsApp, Telegram, Discord, Slack, Twitter, iMessage adapters
├── cli.ts # Interactive terminal interface
├── daemon/ # Background service (launchd on macOS)
├── dashboard/ # Web admin panel + coordination dashboard
├── db/ # SQLite/PostgreSQL with Drizzle ORM
├── gateway/ # Hono-based HTTP API routes
├── heartbeat/ # Proactive agent scheduler
├── integrations/# Google APIs (Calendar, Gmail, Drive, Tasks)
├── memory/ # Persistent memory, embeddings, vector search
├── providers/ # Anthropic, OpenAI, Google, Groq, Qwen, DeepSeek, Together, Ollama
├── security/ # Rate limiting, audit logs, sandboxing, command filtering
├── sessions/ # Persistent conversations, fan-out auto-detection, compaction
├── skills/ # GitHub, Notion, Spotify, Weather, Apple, Twitter, etc.
├── tools/ # 40+ tools — files, browser, code exec, screenshots, coordination
└── voice/ # Voice interaction support

Contributing

PRs welcome! If you find a bug or have an idea, open an issue. Keep it friendly.

License

MIT — do whatever you want with it.


Built with ❤️ by Jijo John

About

Self-Extensible Multi Agent Assistant 🐋

Resources

Security policy

Stars

61 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages