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

- **GitHub URL**: https://github.com/CopilotKit/OpenDuet
- **Official Docs / Website**: https://copilotkit.ai/openduet
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A (84/100 · Maintenance 35/35 · Adoption 18/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted, MCP
- **Momentum**: 2,193 ★ total (+2 24h / +33 7d) · 303 forks
- **When to Use**: Best for: Teams adopting maintained OpenBot that want inbox triage, scheduled work, and background browser tasks with explicit approval before consequential changes. Skip if: You need an offline or air-gapped system, expect outbound messages to run without review, or want a managed service rather than operating browser runtimes and integrations.

## Overview
```text
### Architecture & Core Mechanics
OpenDuet is a tenant package on OpenBot, not a separate agent runtime. The TypeScript repository places the server, app, worker, Bot computers, and Docker and Helm files under `openbot/`. Web, Slack, and Microsoft Teams are user-facing channels. The Hono server with the CopilotKit runtime handles triage and approvals, and connects to the agent over AG-UI. Each Bot runs with its own Chromium browser, `/workspace`, and shell.

Agent tool calls come back through the gateway for policy checks, auditing, and approval where required. PostgreSQL with pgvector backs platform state such as policy, approvals, audit records, and encrypted credentials; CopilotKit Intelligence handles threads and memory. MCP is the external-tool integration layer, with Google Drive and Notion among the connectors available through Composio. The `openbot/examples/openduet` tenant package configures the brand, Bots, channels, model, and skills separately from the platform code.

### Key Capabilities & Differentiators
The standalone implementation uses Gmail and Google Calendar to triage mail and prepare a morning brief, and scheduled routines run under the user’s identity. The gateway can pause consequential changes for Refuse, Allow once, or Always allow. Outbound messages are a stricter case: every send requires approval, with the recipient and message content shown beforehand. Site credentials are entered through a masked prompt rather than the agent conversation; saved credentials are encrypted and write-only.

Slash-invoked skills package reusable instructions and their tool requirements. Public-web research can use connector-based search and fetch instead of Chromium once an administrator grants the tools; the catalogue includes Parallel, Exa, and Firecrawl. The standalone tenant defaults to OpenAI’s `gpt-5.6-terra` in `model.yaml`. Anthropic is configurable through `BOT_PROVIDER` and `ANTHROPIC_API_KEY`. On the OpenAI path, `BOT_MODEL` selects a model only when `OPENAI_BASE_URL` points to an OpenAI-compatible endpoint; otherwise, change `default_model` in the YAML.

### Trade-offs & Limitations
Compared with adopting a managed product such as Manus, the OpenBot route gives operators direct control over deployment, Bot tool grants, and the approval workflow. It also makes them responsible for browser runtime capacity, database operations, OAuth setup, and connector permissions. Approval gates make consequential changes reviewable and traceable, but add human wait time; the required approval on every outbound message makes unattended drafting a better fit than unattended sending.

Self-hosting the execution stack is not the same as running it offline. The standalone setup requires CopilotKit Intelligence for threads and memory, and model APIs and enabled connectors create additional data paths to review. MIT licensing permits commercial use and modification subject to notice requirements, but does not determine third-party service terms. The standalone repository is useful as a configuration reference, not a maintained deployment base. The evidence does not support a performance or feature-parity ranking against Manus.

### Hardware & Deployment Guide
For a new deployment, use the maintained OpenBot project and select Settings → Skin → OpenDuet. The standalone OpenDuet repository is no longer maintained and has no published release listed. Its historical setup requires Docker, Bun 1.3+, Node for `npx`, a model API key, and a CopilotKit Intelligence project. From the repository root, copy `.env.example` to `.env`, run `bun install`, then use the CopilotKit CLI to sign in and select a project. Run `bun openbot/scripts/setup-learning.ts` to create or check the Learning container and ensure `INTELLIGENCE_API_KEY` is set. The server will not start without that key.

After setting the model key, `bash scripts/start.sh` starts the legacy stack, including PostgreSQL and each Bot’s computer in Docker. Real Gmail and Calendar integration requires an administrator-registered Google OAuth client and an `OPENBOT_PUBLIC_URL` matching the API callback address; users then connect their own accounts. No local GPU requirement is specified for this API-based setup. Budget host resources for the database, app, worker, and Bot browser environments, and test with realistic concurrency before sizing a deployment.
```

## Key Capabilities
```text
- Maintenance: OpenDuet is no longer maintained as a standalone repository; its maintained successor is the OpenDuet skin in OpenBot.
- Execution: Each Bot gets Chromium, a shell, and a /workspace; AG-UI connects the agent to the platform.
- Action controls: Tool calls pass through a policy and audit gateway; outbound messages require per-send approval with recipient and content shown.
- State storage: PostgreSQL with pgvector backs platform state, including approvals, audit records, and encrypted credentials; CopilotKit Intelligence handles threads and memory.
- Integrations: Gmail and Calendar use per-user OAuth connections; governed MCP connectors include Google Drive and Notion through Composio.
- Configuration: The tenant package separates branding, agents, channels, model selection, and reusable skills into five YAML files.
```

## Quick Start / Clone
```bash
git clone https://github.com/CopilotKit/OpenDuet.git
cd OpenDuet
cp .env.example .env
bun install
```
