OpenAGC app icon

The open-source Gmail client built for your AI agents

OpenAGC is a local-first, native macOS email client. Let Claude Code or Codex triage, search and draft your mail — while sending and deleting always wait for your approval.

OpenAGC with Claude proposing a reply, waiting for the user to approve or reject it

Claude proposes a reply. Nothing is sent until you approve it.

No backend

Mail goes from Google to your Mac and nowhere else. The project runs no servers, has no accounts and collects no telemetry.

Agents get tools, not your mailbox

An agent searches locally and reads only what it asks for. Every access is logged, and email content is treated as untrusted input.

You approve anything that leaves

Sending, forwarding and deleting are proposals you review. Archive, labels and drafts are reversible.

Bring your own AI

Works with the Claude Code and Codex CLIs you already use. OpenAGC never sees your AI credentials.

How it works

Gmail ──HTTPS/OAuth──▶ OpenAGC.app on your Mac
                         ├── local mail database + search
                         ├── permission engine (the only enforcement point)
                         └── mail tools (MCP) ──▶ your claude / codex CLI
01

A real Gmail client

A fast SwiftUI and AppKit app over a Rust core. Your mailbox lives in a local SQLite database, with full local search.

02

A small, explicit set of mail tools

Your agent connects over MCP to tools like search, read, label and draft. A permission engine in the app is the only enforcement point.

03

Routines

Scheduled sorting of automated mail into review labels, run locally or as a Claude cloud routine created through your own Claude Code login.

Status: pre-alpha

The mail client, agent integration and routines are implemented and tested against a synthetic demo mailbox, a fake Gmail and fake agent CLIs. There is no signed release yet. To try it today, build from source and choose Explore a Demo Mailbox on first run.

Requirements

  • macOS 26 or later on Apple Silicon
  • A Gmail account
  • Optional: Claude Code 2.1+ or Codex CLI 0.145+, logged in

Build from source

git clone https://github.com/audiojak/openagc
cd openagc
./scripts/bootstrap.sh
scripts/test-macos.sh test