The open-source way to email a coding agent that runs on your own computer.
You email a task from your phone. Codex, Claude Code or another coding agent runs it on your computer, on its own git branch, and replies in the same Gmail thread. Reply merge when you like the result.
atgent runs without a server. The runner, your repositories and your agent sign-ins stay on your computer, and mail travels through your own Gmail. The dashboard at atgent.dev is optional and free.
The runner uses the Apache-2.0 license. The whole runner is in src/atgent, in plain Python with no runtime dependencies.
Install
uv tool install atgent
atgent init
atgent install-service
atgent init asks for your Gmail address, how the runner signs in (an app password or your own OAuth client), your project folders and which installed agents to use. It writes ~/.config/atgent/config.json without any secret. atgent install-service starts the runner at login and restarts it after a failure.
Requirements: Gmail or Google Workspace with IMAP access, macOS or Linux, Python 3.11 or later, uv, and at least one supported agent CLI that you have installed and signed in to. Claude Code needs v2.1.259 or later.
Send your first task
To: you+agents@gmail.com
Subject: codex
Find the confusing parts of the signup form, improve them,
and run the relevant checks. Leave the changes ready to review.
Send the email from your own Gmail to your +agents address. The subject names the agent and the body is the task. You receive Queued, Started and the result in the same thread. Reply with your next instruction to continue the same session.
Documentation
| Guide | What it covers |
|---|---|
| How it works | The runner reads your Sent folder and replies in the thread. |
| Subject line | Words in the subject select the agent, project, model and options. |
| Task branches | Each task runs on its own worktree branch. Replies such as merge, pr and undo control the task. |
| Gmail sign-in | The runner uses an app password or OAuth sign-in. |
| Approvals | You approve one agent action at a time by email. |
| Automation | The runner supports schedules, shortcuts, triggers and the daily summary. |
| Troubleshooting | This section lists fixes for common setup and mailbox problems. |
| Telemetry | This section lists every anonymous event official releases send and explains how to turn telemetry off. |
| Architecture | The runner uses intake, a queue and workers. |
| Security | This section describes the trust boundary and vulnerability reporting. |
Contributing
Tests use temporary databases and fake agents, so they need no Gmail account, send no mail and spend no model credits. Sign off each commit with git commit -s (Developer Certificate of Origin). See CONTRIBUTING.md.
Security
atgent holds a Gmail credential and runs agents that can change files. SECURITY.md describes the trust boundary. Report vulnerabilities privately through GitHub private vulnerability reporting or by email to support@thecompound.tech.
Telemetry
Official PyPI releases send anonymous lifecycle counts, such as setup completed and first task completed. They never send email addresses, task text, file paths, agent output or credentials. Source checkouts, forks and local builds send nothing. Set ATGENT_TELEMETRY=off or DO_NOT_TRACK=1 to opt out. docs/telemetry.md lists every event.
License
Apache-2.0. See LICENSE and NOTICE. The license grants no rights to the @gent name or mark, which belong to Compound Labs. Forks should use a different name.
Built by Compound Labs, an independent product R&D lab.
Metadata
Release files for atgent 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| atgent-0.7.0.tar.gz | 204.4 kB | Without provenance | Details for atgent-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| atgent-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for atgent-0.7.0-py3-none-any.whl |
Total release size: 338.8 kB
Release files / atgent-0.7.0.tar.gz
| Download URL | atgent-0.7.0.tar.gz |
|---|---|
| Size | 204.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ffbd823743128ca51661c1cab3452eb95383618aa8e9ae16ab200008a963fd5
|
|
BLAKE2b-256 checksum How to use checksums |
a2adc0b1c35ebe321666cae2434fabfd68917a812116b24215dd7355c869359e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / atgent-0.7.0-py3-none-any.whl
| Download URL | atgent-0.7.0-py3-none-any.whl |
|---|---|
| Size | 134.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
028fdee0700fa0ae5dfc60bd7d0d03711e945baa526e52580e0ac7720541dd6d
|
|
BLAKE2b-256 checksum How to use checksums |
2e0ac98b0797f13ace463920e588fece753f2db5dd22e79129b0c611ece27fc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for atgent 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.