cd /news/artificial-intelligence/ceo-fired-developers-to-make-room-fo… Β· home β€Ί topics β€Ί artificial-intelligence β€Ί article
[ARTICLE Β· art-112551] src=github.com β†— pub= topic=artificial-intelligence verified=true sentiment=Β· neutral

CEO fired developers to make room for AI. Developers create open source AI CEO

SenteLabs AI released Open Executive, an open-source AI system that simulates a virtual executive team with eight specialist agents, including a Chief Strategy Officer and Chief Financial Officer, built on Anthropic's Claude models. The system, available under Apache 2.0, provides a unified executive voice, episodic memory, and a scheduler, aiming to replace human executives in decision-making processes.

read13 min views5 publishedAug 27, 2026
CEO fired developers to make room for AI. Developers create open source AI CEO
Image: Michielbdejong (auto-discovered)

An AI system that acts as your company's virtual executive team β€” a senior advisor with Harvard MBA-level knowledge, customized for your specific business.

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:

Chief Strategy Officerβ€” competitive analysis, M&A, market positioning, OKRs** Chief Financial Officer**β€” financial modeling, fundraising, unit economics, cash flow** Chief HR/People Officer**β€” hiring, compensation, performance, culture** General Counsel**β€” contracts, IP, employment law basics, compliance** Chief Operating Officer**β€” process design, vendor management, operational scaling** Chief Marketing Officer**β€” GTM strategy, brand, communications, PR** Chief Product Officer**β€” roadmap, prioritization, product strategy** Board Communications Director**β€” board decks, investor relations, governance

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-4-6)
    ↓ 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 response

Knowledge β€” 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-4-6 (Executive + most specialists)
Deep reasoning claude-opus-4-7 (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
openexecutive/
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ core/
β”‚   β”‚   └── openexecutive/
β”‚   β”‚       β”œβ”€β”€ orchestrator/     # Executive persona + routing loop
β”‚   β”‚       β”œβ”€β”€ agents/           # 8 specialist agents
β”‚   β”‚       β”œβ”€β”€ knowledge/        # ChromaDB store + RAG pipeline
β”‚   β”‚       β”œβ”€β”€ memory/           # Company profile + episodic memory
β”‚   β”‚       β”œβ”€β”€ onboarding/       # Wizard state machine + profile builder
β”‚   β”‚       β”œβ”€β”€ prompts/          # Persona + domain prompts + cache manager
β”‚   β”‚       β”œβ”€β”€ api/              # FastAPI app + routes
β”‚   β”‚       β”œβ”€β”€ integrations/     # Slack, Email, Telegram, Google Chat, Discord
β”‚   β”‚       β”œβ”€β”€ scheduler/        # Background job runner (single-instance)
β”‚   β”‚       β”œβ”€β”€ alerts/           # Proactive alert system
β”‚   β”‚       β”œβ”€β”€ audit/            # Audit logging
β”‚   β”‚       β”œβ”€β”€ architecture/     # Internal architecture utilities
β”‚   β”‚       β”œβ”€β”€ workflows/        # Multi-step workflow definitions
β”‚   β”‚       └── cli.py            # Click CLI
β”‚   └── ui/                       # Next.js 15 web UI
β”œβ”€β”€ evals/                        # Eval scenarios + LLM-as-judge runner
β”œβ”€β”€ fixtures/                     # Demo company fixtures (profiles, docs, rosters)
β”œβ”€β”€ scripts/                      # Operator scripts (Fly secrets, Google auth)
β”œβ”€β”€ docker/                       # Dockerfile(s) + docker-compose.yml
β”œβ”€β”€ fly.api.toml / fly.ui.toml    # Fly.io configs β€” dev API + UI apps
β”œβ”€β”€ fly.api.qa.toml / fly.ui.qa.toml  # Fly.io configs β€” QA API + UI apps
β”œβ”€β”€ fly.honcho.toml               # Fly.io config β€” Honcho memory app (optional)
└── docs/                         # Architecture + deployment docs
git clone https://github.com/SenteLabsAI/OpenExecutive.git
cd OpenExecutive

cp .env.example .env

make dev

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 initialuv sync

pulls 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 dev

takes 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

cd packages/ui && npm install && npm run dev

+applications.commands

scopes - Set env vars in .env

:DISCORD_BOT_TOKEN

,DISCORD_APP_ID

,DISCORD_GUILD_IDS

  • Run the API normally β€” the bot starts as part of the FastAPI lifespan when DISCORD_BOT_TOKEN

is set:

make dev

The 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).

Just set the secrets on the existing API app β€” no new Fly app required:

flyctl secrets set -a openexec-api-dev \
  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 machine restarts and the bot starts on the next lifespan boot. To disable in prod: flyctl secrets unset -a openexec-api-dev DISCORD_BOT_TOKEN

.

The first time you visit the app, you'll be guided through a wizard to set up your company profile:

  • Company basics (name, industry, stage, team size)
  • Business model and revenue
  • Competitive landscape
  • Strategic priorities
  • Culture and values
  • Optional: financial position, document upload

After onboarding, the Executive will reference your specific company context in every response.

Interface How to Use
Web UI
http://localhost:3000
Slack
Mention @OpenExecutive or DM the app
Email
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.

openexecutive upload deck.pdf model.xlsx strategy.md

curl -X POST http://localhost:8000/documents \
  -F "file=@deck.pdf" \
  -F "domain=strategy"

Two environments, each a separate set of Fly apps, driven by branch:

Environment Trigger Workflow Apps
dev
push/merge to main (continuous)
.github/workflows/deploy.yml
openexec-api-dev , openexec-ui-dev
qa
push/merge to qa (deliberate promotion)
.github/workflows/deploy-qa.yml
openexec-api-qa , openexec-ui-qa

Both workflows use dorny/paths-filter

to deploy only the changed app (API, UI, or both). QA is a stable twin of dev β€” same image and runtime, only the app name differs (fly.api.qa.toml

/ fly.ui.qa.toml

) β€” so it lags main

and stays vetted. An optional Honcho memory app (fly.honcho.toml

) deploys independently.

App Purpose State
openexec-api-{dev,qa}
FastAPI + scheduler Persistent volume executive_data at /data
openexec-ui-{dev,qa}
Next.js 15 Stateless
openexec-honcho-dev
Honcho per-person memory (optional) Postgres-backed

: The scheduler claims rows via⚠️ Single-instance onlyUPDATE … RETURNING

. Running two API machines would double-fire scheduled actions.max_machines_running = 1

is set infly.api.toml

/fly.api.qa.toml

β€” do not override it.

Deploys authenticate with per-app Fly deploy tokens stored as repo (or org) Actions secrets. Generate each with flyctl tokens create deploy -a <app> -x 999999h

:

Secret App Used by
FLY_API_TOKEN_API
openexec-api-dev
dev
FLY_API_TOKEN_UI
openexec-ui-dev
dev
FLY_API_TOKEN_HONCHO
openexec-honcho-dev
dev (honcho job)
FLY_API_TOKEN_API_QA
openexec-api-qa
qa
FLY_API_TOKEN_UI_QA
openexec-ui-qa
qa

Per-app runtime secrets (ANTHROPIC_API_KEY

, BACKEND_SHARED_SECRET

, the AUTH_*

set, integration tokens) are set directly on each Fly app β€” see scripts/fly-secrets.sh.example

.

flyctl apps create openexec-api-dev
flyctl apps create openexec-ui-dev
flyctl volumes create executive_data --region iad --size 1 -a openexec-api-dev

flyctl secrets set -a openexec-api-dev ANTHROPIC_API_KEY=sk-ant-...

flyctl tokens create deploy -a openexec-api-dev -x 999999h
flyctl tokens create deploy -a openexec-ui-dev  -x 999999h

gh workflow run "Deploy (dev)" -f target=both

QA bootstraps the same way against the -qa

app names (push to the qa

branch, or gh workflow run "Deploy (qa)"

). See docs/deployment.md for the full runbook (operations, rollback, common failure modes, why .flycast

isn't used).

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 Fly secrets, 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-4-6
Executive + most specialists
DEEP_REASONING_MODEL
No claude-opus-4-7
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-20251001
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
LOCAL_MODELS_ENABLED
No false
Route selected slugs to a local OpenAI-compatible server (Ollama, LM Studio, vLLM, llama.cpp)
LOCAL_BASE_URL
No β€” Local server URL incl. version path, e.g. http://localhost:11434/v1 . Required when LOCAL_MODELS_ENABLED=true
LOCAL_API_KEY
No β€” Optional bearer token (vLLM / gateways); Ollama & LM Studio need none
LOCAL_MODELS
No β€” Comma-separated local model slugs to surface in the Council UI and route locally, e.g. llama3.3,qwen2.5
LOCAL_TIMEOUT_S
No 300
Per-call timeout for local generation, in seconds
HONCHO_ENABLED
No false
Per-person memory layer (

HONCHO_API_KEY

HONCHO_ENABLED=true

HONCHO_BASE_URL

See .env.example for the full list.

ΒΉ

ANTHROPIC_API_KEY

is required only when you serve Claude models directly. It can be omitted entirely if you run on local models (LOCAL_MODELS_ENABLED

) or route through OpenRouter (OPENROUTER_ENABLED

).

Open Executive can run against any OpenAI-compatible local server β€” Ollama, LM Studio, vLLM, or llama.cpp β€” instead of (or alongside) the Anthropic API. Local model slugs route to your server through the same provider abstraction the hosted models use; no agent or orchestrator code changes.

ollama pull llama3.3

LOCAL_MODELS_ENABLED=true
LOCAL_BASE_URL=http://localhost:11434/v1   # Ollama default
LOCAL_MODELS=llama3.3

DEFAULT_MODEL=llama3.3
DEEP_REASONING_MODEL=llama3.3
ROUTING_MODEL=llama3.3

The listed slugs appear in the Council UI model dropdown, so you can also run a hybrid setup β€” keep the Executive on Claude while flipping individual specialists to a local model per-agent.

Caveats. Server-side web search (ENABLE_WEB_SEARCH

) and Anthropic prompt caching / extended thinking have no local equivalent and are automatically disabled for local models. Multi-agent routing leans heavily on tool use, so pick a model that's strong at it (e.g. Llama 3.3 70B, Qwen2.5) β€” small models may route poorly. LOCAL_API_KEY

is only needed if your server (vLLM, or a gateway) requires a bearer token; Ollama and LM Studio need none.

  • Create packages/core/openexecutive/agents/your_agent.py

extendingBaseAgent

  • Add a system prompt constant in packages/core/openexecutive/prompts/domain_prompts.py

  • Register in packages/core/openexecutive/orchestrator/router.py

β€” add toSPECIALIST_REGISTRY

and thespecialist

enum inSPECIALIST_TOOLS

  • Add domain alias to DOMAIN_ALIASES

inpackages/core/openexecutive/knowledge/retriever.py

  • Add knowledge docs to knowledge/builtin/your_domain/

  • Add at least 2 eval scenarios to evals/scenarios/

  • Submit a PR β€” CI requires all of the above

make dev          # Start FastAPI + Next.js
make test         # Run Python tests
make eval         # Run eval suite
make lint         # Run ruff + mypy
make docker       # Build and run Docker stack

pytest packages/core/tests/unit/ -v

evals/

contains 29 scenarios covering all 8 domains, scored by claude-opus-4-7

as an LLM-as-judge. Each scenario defines a query, simulated company context, expected topics, required specialist routing, and a domain-specific rubric. Five scoring dimensions (persona coherence, domain accuracy, company context utilization, routing quality, actionability) are each rated 1–5. The CI gate requires β‰₯ 3.5/5 average; any dimension dropping > 10% vs main

fails the PR.

Everything in company/

is gitignored β€” the profile YAML, uploaded documents, and the ChromaDB vector store. None of this leaves your local machine (or your own Fly volume in cloud deployments) except as part of prompts sent to the Anthropic API. Anthropic does not train on API data.

See .github/CONTRIBUTING.md. All PRs must include:

  • Working implementation (no stubs)
  • Tests for new behavior
  • Eval scenarios for new agents or prompt changes

Apache 2.0 β€” free to use commercially, requires attribution.

── more in #artificial-intelligence 4 stories Β· sorted by recency
── more on @sentelabs ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain β€” perfect for shipping the agent you just read about.

$git push zahid main
β†’ Live at https://your-agent.zahid.host βœ“
Get free account β†’ Pricing
from €0/mo Β· no card required
LIVE [news/ceo-fired-developers…] indexed:0 read:13min 2026-08-27 Β· β€”