Local-first personal agent · macOS

One person. One Dou.

Dou lives on your primary Mac as a single, continuous personal agent—not a stack of disposable chat threads. It reads and updates your plain-text notes with verified citations, handles multi-account mail with a draft-before-send guard, runs your routines, and reaches your other devices over end-to-end encryption.

One agent, not another chat inbox

Grounded in your files

Answers cite exact file paths and line numbers from your local Markdown workspace. Note updates are committed to Git automatically so every change is one-click undoable.

Topics & plugins

Organize ongoing areas like Mail into dedicated Topics on the same Dou. Built-in plugins keep credentials in local mode-600 storage and require explicit confirmation before sending external email.

Local-first, reachable anywhere

Your primary Mac runs Dou, its plugins, and scheduled routines. Your second Mac or iPhone connects directly over your home network and automatically falls back to an end-to-end encrypted relay away from home.

Primary Mac (your Dou) ── local notes, memory, routines, Mail & channel plugins │ ├── Home network ──────────▶ direct LAN connection to your other Mac / iPhone └── Away from home ────────▶ wss://relay.yourdou.com (X25519 + ChaCha20-Poly1305) forwards opaque encrypted frames; stores nothing

Technical profile

Platforms macOS 26+ native desktop app (SwiftUI) and iOS / Android companions; local core in TypeScript.
Data location Notes stay in your local Git-backed folder. Conversation state and OAuth tokens stay on your primary Mac (mode 600).
Email access Optional Mail plugin supporting Gmail API OAuth2 (PKCE, gmail.readonly & gmail.compose) and IMAP/SMTP. Structural cross-turn guard prevents sending a draft in the same turn it was created or read.
Relay server wss://relay.yourdou.com (Singapore). Zero-knowledge encrypted pipe—cannot read, modify, or store messages.
Status Active personal use and open-source development at max1874/dou-agent.