# Repository Briefing: ForeactLabs/OpenExecutive
> Source: https://repoforai.com/repo/ForeactLabs/OpenExecutive (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/ForeactLabs/OpenExecutive
- **Official Docs / Website**: https://openexecutive.ai
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: A+ (95/100 · Maintenance 35/35 · Adoption 20/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.8.2 (2026-12-03) — https://github.com/ForeactLabs/OpenExecutive/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted, API
- **Momentum**: 5,860 ★ total (+2 24h / +17 7d) · 641 forks
- **Topics**: `ai`, `anthropic`, `claude`, `fastapi`, `llm`, `multi-agent`, `nextjs`, `python`, `rag`, `typescript`
- **When to Use**: Best for: Leadership and operations teams that want one assistant for company knowledge, briefings, inbox follow-ups, and delegated actions governed by explicit approvals. Skip if: You need deterministic workflow execution, a documented multi-instance scheduler, or an air-gapped setup without separately validating every model, embedding, and integration dependency.

## Overview
```text
### Architecture & Core Mechanics
Open Executive is an end-user app built around a Python 3.11/FastAPI backend and a Next.js 16 App Router UI with Tailwind. The orchestrator presents one executive persona, dispatches parallel tool calls to domain specialists when needed, and synthesizes their results. The role list includes strategy, finance, people, legal, operations, marketing, product, sales, and board communications; a separate triage agent sorts incoming work.

Each specialist retrieves from two embedded ChromaDB collections: built-in Markdown seeded at startup and chunked uploads in `company_docs`. Retrieved context goes into the user turn, leaving the cached system prompt unchanged. A background model pass extracts decisions, initiatives, and advice into SQLite for later sessions. In `packages/core/openexecutive/`, providers, integrations, workflows, and the MCP server are separate modules. The app can both consume MCP tools and expose its own MCP server, while the scheduler claims due work with `UPDATE … RETURNING` and is designed for one instance.

### Key Capabilities & Differentiators
The app combines executive Q&A with operational work: morning briefs and digests, scheduled workflows, watch lists, and delegated actions. As you drafts replies from a user's Gmail or Outlook mailbox in their voice; sending is governed by approvals. As me acts under the Executive's identity. Approval presets and rules can distinguish actions by amount, person, or company, while In training lets users review work before allowing a feature to act on its own. The Chrome extension can interact with pages and forms, but hands sign-ins and verification codes back to the user.

Claude is the default, but individual agents can use OpenRouter or a local backend such as Ollama, LM Studio, vLLM, or another OpenAI-compatible server. Anthropic's built-in web search is Claude-only; other tool-capable models can search through MCP. Slack, Discord, Telegram, Google Chat, and email are optional work channels. Separately from episodic memory, opt-in personal notes can be corrected, pinned, or forgotten, and expire after 90 days by default.

### Trade-offs & Limitations
Compared with a general-purpose agent framework, Open Executive provides a more complete staff-facing application: inbox delegation, an approval interface, scheduled follow-ups, and integrated chat channels are already part of the product. A workflow engine is a better fit when the primary requirement is a fixed, predictable sequence. Here, model-driven routing and synthesis are useful for ambiguous work, but teams should test tool selection, drafts, and approval outcomes before enabling unattended actions.

Embedded ChromaDB and SQLite reduce the number of services to operate, but the single-instance scheduler makes horizontal scaling a design question, not a given. Local inference moves model compute onto your infrastructure; hosted inference avoids that capacity burden but introduces API costs and external data flows. Running the app locally does not make cloud connectors or MCP services offline. Apache-2.0 is permissive for the application code; model and connector terms remain separate.

### Hardware & Deployment Guide
For a source install, use Python 3.11+, Node 22.6+, and the `uv`-managed backend: run `make install`, copy `.env.example` to the root `.env`, configure at least one model provider, then run `make dev`. The UI listens on port 3000 and the API on 8000. The initial dependency install includes sentence-transformers and PyTorch, and first boot downloads an embedding model of about 90 MB. Local development can use loopback-only login; team, server, or `make docker` deployments require Google or OIDC sign-in configuration.

The app is available as a self-hosted Docker deployment or managed cloud service. In Docker, MCP server configuration lives at `/data/company/mcp_servers.json`; restart the API after changes. Include ChromaDB and SQLite state in the backup plan, and verify data flows separately for inference and each connector. The v0.8.0 release consolidated delegated sending around a single approval gate and marked the change as breaking. In v0.8.1 and v0.8.2, alert cards gained conversations and clearer explanations of what they are for, with context carried forward into chat.
```

## Key Capabilities
```text
- Routing: One executive persona synthesizes parallel specialist calls; a separate triage agent sorts incoming work.
- Retrieval: Built-in Markdown and uploaded company documents are indexed separately in ChromaDB; retrieved context goes into the user turn rather than the cached system prompt.
- Model selection: Choose Claude, OpenRouter, or a self-hosted OpenAI-compatible backend per agent.
- Delegation: As you uses the user's Gmail or Outlook identity, while As me acts in the Executive's name; approval rules can match amount, person, or company.
- Memory and scheduling: SQLite-backed episodic memory carries decisions across sessions; optional private notes expire after 90 days by default, and a single-instance scheduler runs due work.
- Tooling: Open Executive can consume and serve MCP tools; a Chrome extension supports approval-governed browser actions and hands sign-ins back to the user.
```

## Quick Start / Clone
```bash
cd packages/core
uv sync
uv run uvicorn openexecutive.api.main:app --reload --port 8000

# In a second terminal
cd packages/ui
npm install
npm run dev
```
