
copresence: Live Discord Rich Presence for Claude Code, Codex, Cursor, Gemini CLI & OpenCode
Developers have used Discord Rich Presence for years to show what IDE or language they're coding in — but these days, half the work happens inside AI coding agents running in terminals and editors. If you're juggling Claude Code, Codex, Cursor, Gemini CLI, or OpenCode, your friends still just see nothing at all.
copresence (v0.2.0) is an open-source, lightweight tray app built with Rust and Tauri that turns your live AI coding agent activity into a customizable Discord Rich Presence card across Windows, macOS, and Linux.
GitHub Repository: Dawn-Of-Justice/copresence (MIT License · Windows, macOS & Linux)
What Your Friends See on Discord
Playing Coding with AI
Claude Code · Running tests
+1 agent active · Plan 3/7 · 3-day streak
23:41 elapsedThe first line automatically updates with your active agent and what it's doing right now: thinking, editing code, running tests, building, waiting for your approval, or idle. When multiple agents are working simultaneously, copresence shows how many are active, rotates between them, and always prioritizes an agent that is waiting for your approval.
You can build the second line from 14 customizable items in any order you like:

Engineered to Be Light, Quiet, and Private

- Tiny footprint (~3–5 MB RAM): One native Rust binary (~2 MB installer) with no Node.js runtime required. The settings window is created only when you open it and completely destroyed when closed.
- Zero polling: copresence sleeps until an agent fires an event, and Discord tracks the elapsed timer itself. Claude Code reports over native HTTP hooks; Codex, Cursor, and Gemini use a tiny
curlcall so most events don't even spawn a heavy process. - Private by default: Your Discord card never reveals a project name, file, or command unless you explicitly allow it. Each project can be set to Public, Private, or Hidden (shows only "Coding"), and you can pause sharing from the tray in one click. All stats are computed locally.
- Signed self-updates: Checks for updates at startup and every 6 hours, shows release notes before installing, and verifies every update against the project's cryptographic signature.
Supported Agents & Non-Destructive Setup
Inside copresence's Agents tab, toggling an agent backs up its existing config file first and adds only copresence's hook entries — turning an agent back off cleanly removes only what copresence added:
| Agent | Hook / Integration Path |
|---|---|
| Claude Code | Native HTTP hooks in ~/.claude/settings.json |
| Codex | Lifecycle hooks in ~/.codex/config.toml (leaves your notify setting untouched) |
| Cursor | Observe-only hooks in ~/.cursor/hooks.json (never blocks commands) |
| Gemini CLI | Hooks in ~/.gemini/settings.json |
| OpenCode | Lightweight plugin in ~/.config/opencode/plugins/ |
Optional: Crew Mode (Live Leaderboard With Friends)
If you want to share live agent status and a daily coding leaderboard with friends, copresence includes an optional Crew mode. Crew members see only the exact text on your Discord card — nothing more — and you can self-host the lightweight relay server with a single command:
node server/crew-server.jsHow to Install
- Download the installer for your OS from the latest GitHub Release:
- Windows: Run the
-setup.exeinstaller (per-user install, no admin required). - macOS (Apple Silicon & Intel): Open the
.dmgand drag copresence to Applications. Since it isn't Apple-notarized yet, right-click → Open (or allow it in System Settings → Privacy & Security on macOS 15+). - Linux (x86_64): Run the
.AppImage(chmod +x) or install the.debviasudo apt install ./copresence_*_amd64.deb. Works with regular, Flatpak, and Snap Discord installs.
- Windows: Run the
- Open copresence → Agents and enable the coding agents you use.
- Restart your agents and make sure the Discord desktop app is open (browser Discord doesn't support local RPC).
Troubleshooting tip: If your card doesn't appear after sending a prompt, check Discord → User Settings → Activity Privacy → "Share your detected activities with others" and make sure your Discord status isn't set to Invisible.
Build From Source
To hack on the Rust engine or UI yourself, install stable Rust, Node.js 20+ (for the Tauri CLI), and your platform's Tauri v2 prerequisites:
git clone https://github.com/Dawn-Of-Justice/copresence.git
cd copresence/app
npm install
npx tauri dev # run in development mode
npx tauri build # build the native installerYou can also run the Rust tests with cargo test inside app/src-tauri, run the Node test suite with npm test at the repo root, or use the standalone Node.js CLI version.
Links & Resources
- Source Code: Dawn-Of-Justice/copresence on GitHub
- Downloads: Latest Release (Windows, macOS & Linux)
- Docs: Node CLI & Crew Server Guide · Changelog
Disclaimer: copresence is an independent MIT-licensed project and is not affiliated with or endorsed by Anthropic, OpenAI, Anysphere, Google, OpenCode, or Discord.




Comments