
AI-powered virtual executive team — a single coherent executive persona backed by 8 specialist agent
AI-powered virtual executive team — a single coherent executive persona backed by 8 specialist agent
Open Executive is designed to transform leadership and management. Highly configurable, it can be deployed at any management level. Out of the box it supports spend approval thresholds, integration with corporate knowledge systems, and defined governance for how it interacts with human colleagues and other AI systems. Open Executive can also be configured as a digital twin to replicate a busy leader—responding in alignment with their specific role and insights—allowing leaders to truly scale their impact through AI.
It meets people where they already work, with integrations for Slack, Discord, Telegram, email, Google Workspace, Notion and any MCP-compatible AI tool, with more on the roadmap. Open Executive will always be open source.
A managed cloud offering is coming (https://openexecutive.ai), where you can get access without deploying anything yourself.
A walkthrough of Open Executive in action — watch on YouTube.
Developed by sentelabs.ai Open Executive provides a single coherent executive voice backed by eight specialist AI agents:
All responses come from one consistent executive voice. The internal agent architecture is never exposed to the user. Beyond Q&A, the system maintains episodic memory of past decisions and initiatives across sessions, and a built-in scheduler can proactively surface follow-ups and time-sensitive actions.
User message
↓
Executive Orchestrator (claude-sonnet-5)
↓ tool use → parallel specialist calls
CSO / CFO / CHRO / GC / COO / CMO / CPO / Board
↓ each specialist retrieves relevant context from ChromaDB
Built-in MBA knowledge + Your company documents
↓
Synthesized executive responseKnowledge — Two retrieval layers per specialist call: (1) built-in MBA-level Markdown (knowledge/builtin/, git-tracked) seeded into ChromaDB at startup, and (2) your uploaded company documents chunked and stored in a separate company_docs collection. RAG context is injected into the user turn, never the cached system prompt.
Episodic memory — After every response, a background claude-haiku-4-5 pass extracts key decisions, initiatives, and advice into SQLite. The next session opens with a <past_decisions> block so the Executive remembers what it recommended last month.
Scheduler — A built-in job runner claims due actions via UPDATE … RETURNING to prevent double-firing. The API must run as a single instance; do not horizontally scale it without gating the scheduler first.
Prompt caching — The system prompt is structured so the Executive persona, company profile, and knowledge index are cached separately (up to 85% cache hit rate after the first few turns). No dynamic content ever goes in a cached block.
See docs/architecture.md for the full design.
| Layer | Choice |
|---|---|
| LLM backbone | Anthropic Claude API |
| Default model | claude-sonnet-5 (Executive + most specialists) |
| Deep reasoning | claude-opus-5 (CSO, CFO, GC, Board — with extended thinking) |
| Backend | Python 3.11 + FastAPI |
| Package manager | uv |
| Vector store | ChromaDB (local, embedded) |
| Episodic memory | SQLite |
| Web UI | Next.js 15 (App Router) + Tailwind |
| License | Apache 2.0 |
…# Clone the repo
git clone https://github.com/SenteLabsAI/OpenExecutive.git
cd OpenExecutive
# Set your Anthropic API key
cp .env.example .env
# Edit .env and add ANTHROPIC_API_KEY=sk-ant-...
# For the web UI's Google sign-in, also fill in the AUTH_* block
# (see docs/auth.md for the Google Cloud Console steps).
# Start everything
make devAll configuration lives in that repo-root .env — make dev and make docker
both load it for the API and the UI (Auth.js needs AUTH_SECRET /
AUTH_GOOGLE_ID / AUTH_GOOGLE_SECRET at runtime). A
packages/ui/.env.local is also read for UI-only keys, but for keys present
in both files the root .env takes precedence.
Open http://localhost:3000 to start chatting with your executive. The API runs on port 8000 and the UI on 3000.
First run: requires Python 3.11+ and Node 22+. The initial
uv syncpulls heavy ML dependencies (ChromaDB + sentence-transformers/PyTorch), and the first boot downloads a small embedding model (~90 MB) to build the local vector index — so the firstmake devtakes a few minutes before the app is ready. Subsequent starts are fast.
For contributors not using make:
cd packages/core
uv sync
source .venv/bin/activate
uvicorn openexecutive.api.main:app --reload --port 8000
# In a second terminal
cd packages/ui && npm install && npm run devbot + applications.commands scopes.env: DISCORD_BOT_TOKEN, DISCORD_APP_ID, DISCORD_GUILD_IDSDISCORD_BOT_TOKEN is set:make devThe bot is embedded in the API process (alongside the email poller, scheduler, and resumer) so it shares the same SQLite database and ChromaDB vector store under /data in production. Skip the token to disable.
For iterating on bot-only code without restarting the API, make discord runs the bot as a standalone process against the same local DB.
Users can DM the bot, @mention it in a channel (replies in a thread), or use /ask and /today slash commands. Slash commands sync to DISCORD_GUILD_IDS instantly on startup; leave blank for global registration (up to 1-hour propagation delay).
The bot runs inside the existing API process — no extra service. Set these on the API and restart it:
DISCORD_BOT_TOKEN=...
DISCORD_APP_ID=...
DISCORD_GUILD_IDS=...Discord user access is managed via the /people UI — add a Person row with discord_user_id set.
The bot starts on the next lifespan boot. To disable it, unset DISCORD_BOT_TOKEN and restart.
The first time you visit the app, you'll be guided through a wizard to set up your company profile:
After onboarding, the Executive will reference your specific company context in every response.
The built-in knowledge base is trusted by default — the Executive can use it straight away, and the Review queue starts empty rather than asking you to sign off on ~81 shipped documents. Items reach the queue when you upload a document, edit an existing file, or deliberately send a domain for review from the Review page. While a domain is being reviewed its content is withheld from the Executive, so the UI confirms the count before it starts.
| Interface | How to Use |
|---|---|
| Web UI | http://localhost:3000 |
| Slack | Mention @OpenExecutive or DM the app |
| CC or email the configured address (IMAP/SMTP poller) | |
| Telegram | Message the configured bot |
| Google Chat | Mention the app in a space |
| Discord | DM the bot, @mention it in a channel, or use /ask / /today slash commands |
| CLI | openexecutive chat |
Upload your pitch deck, financial model, strategy docs, or any company documents via the web UI or API. The Executive will reference them when relevant.
# Via CLI
openexecutive upload deck.pdf model.xlsx strategy.md
# Via API
curl -X POST http://localhost:8000/documents \
-F "[email protected]" \
-F "domain=strategy"Two containers — the FastAPI backend and the Next.js UI — plus one persistent
volume at /data. docker/docker-compose.yml is the
reference topology and also what make docker runs locally, so the local and
deployed shapes match.
⚠️ Single-instance only: the scheduler claims rows via
UPDATE … RETURNING, which is not safe across processes. A second API replica double-fires every scheduled action. Pin the API to one instance. The UI is stateless.
Set ANTHROPIC_API_KEY, BACKEND_SHARED_SECRET, BACKEND_ALLOWED_ORIGINS and
OE_PUBLIC_DEPLOYMENT=1 on any internet-reachable instance. See
docs/deployment.md for the full guide — persistent state,
health-check timing, resource sizing, operations, and common failure modes.
The deployed UI is gated behind Google sign-in with an email allow-list, and the public API is protected by a shared-secret header between the UI proxy and the FastAPI backend. See docs/auth.md for the full setup (Google Cloud Console steps, required environment variables, adding/removing users, rotating secrets, and a debugging table).
All settings via environment variables. Minimum required: ANTHROPIC_API_KEY —
unless you configure a local or OpenRouter backend instead (see Running on
Local Models). At least one provider must be set or
the app refuses to start.
| Variable | Required | Default | Description |
|---|---|---|---|
ANTHROPIC_API_KEY |
Yes¹ | — | Anthropic API key |
DEFAULT_MODEL |
No | claude-sonnet-5 |
Executive + most specialists |
DEEP_REASONING_MODEL |
No | claude-opus-5 |
CSO, CFO, GC, Board |
VECTOR_STORE_PATH |
No | ./chroma_db |
ChromaDB directory |
EPISODIC_DB_PATH |
No | ./episodic_memory.db |
SQLite for episodic memory |
COMPANY_PROFILE_PATH |
No | ./company/profile.yaml |
Company profile |
ENABLE_CACHING |
No | true |
Anthropic prompt caching |
ROUTING_MODEL |
No | claude-haiku-4-5 |
Model for intent routing |
SLACK_BOT_TOKEN |
No | — | Slack bot OAuth token |
SLACK_APP_TOKEN |
No | — | Slack socket mode token |
EXEC_EMAIL_ADDRESS |
No | — | Executive Gmail address (Gmail MCP OAuth) |
EMAIL_POLL_INTERVAL_SECONDS |
No | 60 |
How often to poll for new email |
TELEGRAM_BOT_TOKEN |
No | — | Telegram bot token (from @BotFather) |
TELEGRAM_WEBHOOK_SECRET |
No | — | Random string for webhook validation |
DISCORD_BOT_TOKEN |
No | — | Discord bot token (Developer Portal → Bot tab) |
DISCORD_APP_ID |
No | — | Discord application ID (General Information tab) |
DISCORD_GUILD_IDS |
No | — | Comma-separated guild IDs for dev slash-command registration |
DISCORD_NOTIFY_CHANNEL_ID |
No | — | Default channel ID for outbound notifications |
GOOGLE_CHAT_PROJECT_NUMBER |
No | — | GCP project number for Google Chat |
GOOGLE_CHAT_SERVICE_ACCOUNT_FILE |
No | — | Path to service account JSON key |
GOOGLE_OAUTH_CLIENT_ID |
No | — | Google OAuth client ID (Gmail MCP) |
GOOGLE_OAUTH_CLIENT_SECRET |
No | — | Google OAuth client secret (Gmail MCP) |
OPENROUTER_ENABLED |
No | false |
Route Claude calls through OpenRouter and unlock non-Anthropic models per-agent in the Council UI |
OPENROUTER_API_KEY |
No | — | Required when OPENROUTER_ENABLED=true |
| `OPENROUTER_CATALOG_ENAB |
No open issues yet, or sync has not completed.