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

- **GitHub URL**: https://github.com/wey-gu/ducter
- **Official Docs / Website**: https://ducter.ai
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: TypeScript
- **License**: Apache-2.0
- **Engineering Health**: A+ (94/100 · Maintenance 35/35 · Adoption 19/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.1.171 (2026-12-04) — https://github.com/wey-gu/ducter/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 113 ★ total (+0 24h / +33 7d) · 129 forks
- **Topics**: `agent-orchestration`, `ai-agents`, `ai-assistant`, `android`, `claude-code`, `codex`, `coding-agents`, `deepseek`, `developer-tools`, `ios`, `linux`, `local-first`
- **When to Use**: Best for: Developers who already run several coding agents, can maintain a Mac or Linux host, and want separate task branches, review evidence, and approvals away from the terminal. Skip if: One interactive CLI session is enough, you need a managed service with no host upkeep, or you require air-gapped inference, a production Windows host, or a verified execution sandbox.

## Overview
```text
### Architecture & Core Mechanics
Ducter separates the long-lived coordination layer from per-task execution. Conversation, task history, and settings live in `~/.ducter` on the chosen host; desktop, phone, and chat interfaces are views of that shared state. The coordinator uses digests and recall to keep long conversations manageable. Each task runs in a session owned by the selected agent, with its own sign-in, skills, and settings. Coding tasks get a separate project copy and a `ducter/…` branch; completing a task does not change the user's checkout.

The TypeScript repository separates `apps/` and `packages/` and includes Bun configuration and a lockfile. Package scripts expose CLI and web builds, type checking, Linux end-to-end testing, and partner evaluations. Prompt and tool-size budgets are enforced in the build, and changes to the coordinator are evaluated against a real model. The concrete integration points are agent sessions, paired clients, and optional connectors such as chat and Nowledge Mem; no general plugin API or wire protocol is specified.

### Key Capabilities & Differentiators
Ducter can dispatch concurrent tasks to existing agents such as Claude Code and Codex, switch the executing agent mid-task, or start a new task from a prior step. It puts decisions needing attention ahead of routine progress, while keeping execution steps and changes inspectable. Completed work includes a “How I know” summary of runs, tests, and changes. A reversible proposed answer may proceed after 30 minutes without a reply; irreversible actions wait for approval, and merging is an explicit user action.

Optional integrations extend the same conversation to mail and calendar, chat services including Slack, Telegram, WeChat, and Feishu/Lark, a separate Chrome window with remote handoff, Mac apps, and Android device workflows. Calls require a dedicated Call action, and the user completes payment. Nowledge Mem adds cross-tool recall. The named coding backends are agent products, not a fixed set of model endpoints: model availability and authentication follow the selected agent.

### Trade-offs & Limitations
Compared with running Claude Code or Codex directly, Ducter adds durable task state, branch separation, a shared approval queue, and evidence for review away from the terminal. The cost is an extra service and more permissions to manage. If one developer mostly runs one interactive session, the direct CLI is simpler. Separate project copies protect the active checkout from routine edits, but branch separation does not establish a process sandbox. The 30-minute fallback also means that approval is not universally opt-in for reversible actions.

Compared with a hosted orchestrator, the chosen host retains Ducter's state and does not require a Ducter account, but the operator is responsible for keeping it online, protecting paired devices, and backing up `~/.ducter`. Local state does not mean local inference: data can leave through the selected agent, and iPhone notifications use an encrypted publisher-operated relay. Apache-2.0 governs Ducter itself; agent subscriptions and connected services retain their own terms. Preview status matters if Windows execution or iPhone access is essential.

### Hardware & Deployment Guide
The signed macOS app and `ducter` CLI support Apple silicon and Intel Macs on macOS 13 or later. The installer’s `-s -- --service` invocation is the Linux service path for keeping tasks running while a laptop sleeps. The server listens locally by default, and phones or browsers pair using a one-time code. The iPhone app is in public beta; Windows is a preview worker, not the primary host path, and requires Git for Windows. Users sign in to their chosen agents separately, so self-hosting Ducter is not an offline inference setup.

For source builds, the Bun configuration and `build:cli` and `build:web` scripts are the concrete starting points; there is no specified container or database deployment. In v0.1.169, Keep rules gained Markdown export and file adoption for review in a repository. In v0.1.171, adoption applies only permission-narrowing changes directly; widening still requires a Go in Ducter. Review those rules and the timeout behavior before enabling unattended routines.
```

## Key Capabilities
```text
- State ownership: Conversation, tasks, and settings live under `~/.ducter` on the chosen host
- Execution boundary: Agents keep their own sign-ins, skills, and settings; coding tasks use separate project copies on `ducter/…` branches
- Review evidence: “How I know” surfaces runs, tests, and changes before the user decides whether to merge
- Approval timing: Some reversible choices can proceed after 30 minutes; sending, paying, calling, and other irreversible actions wait
- Device topology: macOS or Linux hosts the service; Windows is a preview worker, and phones and browsers pair with one-time codes
- Versioned routine rules: `ducter keep export` writes Markdown; in v0.1.171, `ducter keep adopt` applies narrower permissions and defers widening for approval
```

## Quick Start / Clone
```bash
curl -fsSL https://ducter.ai/install.sh | sh
```
