Metadata-Version: 2.4
Name: atgent
Version: 0.7.0
Summary: Email a task to Codex, Claude Code or another coding agent that runs on your own computer, and get the result in the same thread.
Author: Compound Labs
License-Expression: Apache-2.0
Project-URL: Homepage, https://atgent.dev
Project-URL: Documentation, https://atgent.dev/docs
Project-URL: Changelog, https://atgent.dev/changelog
Project-URL: Source, https://github.com/the-compound-labs/atgent
Project-URL: Issues, https://github.com/the-compound-labs/atgent/issues
Keywords: codex,claude-code,coding-agent,email,gmail,automation,cli
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Communications :: Email
Classifier: Topic :: Software Development
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Dynamic: license-file

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/the-compound-labs/atgent/main/docs/assets/atgent-wordmark-white.svg">
    <img alt="atgent" src="https://raw.githubusercontent.com/the-compound-labs/atgent/main/docs/assets/atgent-wordmark.svg" width="220">
  </picture>
</p>

<p align="center"><strong>The open-source way to email a coding agent that runs on your own computer.</strong></p>

<p align="center">
  <a href="https://pypi.org/project/atgent/"><img alt="PyPI" src="https://img.shields.io/pypi/v/atgent"></a>
  <a href="https://github.com/the-compound-labs/atgent/actions/workflows/tests.yml"><img alt="Tests" src="https://github.com/the-compound-labs/atgent/actions/workflows/tests.yml/badge.svg"></a>
  <a href="https://pypi.org/project/atgent/"><img alt="Python 3.11+" src="https://img.shields.io/pypi/pyversions/atgent"></a>
  <a href="https://github.com/the-compound-labs/atgent/blob/main/LICENSE"><img alt="License: Apache-2.0" src="https://img.shields.io/badge/license-Apache--2.0-blue"></a>
  <a href="https://atgent.dev/docs"><img alt="Docs: atgent.dev" src="https://img.shields.io/badge/docs-atgent.dev-1b1913"></a>
</p>

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

```sh
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

```text
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](https://atgent.dev/docs/how-it-works) | The runner reads your Sent folder and replies in the thread. |
| [Subject line](https://atgent.dev/docs/subject-line) | Words in the subject select the agent, project, model and options. |
| [Task branches](https://atgent.dev/docs/task-branches) | Each task runs on its own worktree branch. Replies such as merge, pr and undo control the task. |
| [Gmail sign-in](https://atgent.dev/docs/gmail-sign-in) | The runner uses an app password or OAuth sign-in. |
| [Approvals](https://atgent.dev/docs/approvals) | You approve one agent action at a time by email. |
| [Automation](https://atgent.dev/docs/automation) | The runner supports schedules, shortcuts, triggers and the daily summary. |
| [Troubleshooting](https://atgent.dev/docs/troubleshooting) | This section lists fixes for common setup and mailbox problems. |
| [Telemetry](https://github.com/the-compound-labs/atgent/blob/main/docs/telemetry.md) | This section lists every anonymous event official releases send and explains how to turn telemetry off. |
| [Architecture](https://github.com/the-compound-labs/atgent/blob/main/docs/architecture.md) | The runner uses intake, a queue and workers. |
| [Security](https://github.com/the-compound-labs/atgent/blob/main/SECURITY.md) | 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](https://thecompound.tech/?utm_source=atgent-site&utm_medium=studio_credit), an independent product R&D lab.
