What the AgentsOfMine collector reads, redacts and uploads
Exactly what the AgentsOfMine collector reads from disk, what it removes before upload, what it sends and how often, and how to check each claim in the source.
Checked
Why this matters. Installing a tool that reads your coding sessions means trusting it with your prompts and your code. This page lets you decide on facts: what it reads, what it removes before upload, what it sends and what it never touches, each with a command you can run to check.
Read this before you install the AgentsOfMine collector, an open-source program that reads the session files your coding agents write and uploads a copy to your private workspace. Everything below is from the collector’s source (tested by reading it and running the commands shown), and every claim has a command you can run yourself.

Who needs this
Possible scenario. A security reviewer asks one question before the tool goes on company laptops: what leaves the machine? You can answer with a list taken from the source, and each line has a command the reviewer can run to see it, instead of trusting you.
| Role | What changes for them |
|---|---|
| CTO or engineering lead | Gets facts to decide on: what is read, what is removed, what is sent and what is never touched. |
| DevOps or platform engineer | Can run the given commands on a test machine before any rollout. |
| Senior software engineer | Can read the cited source lines for the claim the reviewer will ask about. |
Table: who gains what, my reasoning, not measured. I did not measure time saved for any role.
What it reads
The session files of four agents, read-only: OpenCode’s database, Claude Code, Codex and Pi session files. Where they are is on the session formats page. Besides those, it runs git in a session’s project folder to find out which project the session belongs to: git rev-parse --show-toplevel, git rev-parse --abbrev-ref HEAD, git rev-parse HEAD and git remote get-url origin (or the first remote, if there is no origin). Credentials in a remote’s address are stripped before it is used. It reads its own state files in ~/.agentsofmine/, and the package’s own package.json for its version.
It never writes to your agents’ files. The only files it writes are its own state in ~/.agentsofmine/: config.json, device-id, cursors.json and last-sync.json (and .bak copies). To check:
git clone https://github.com/AgentsOfMine/collector
cd collector
grep -rnE "writeFile|appendFile|createWriteStream" src/
On 19 November 2026 every match was in src/core/cursor-store.ts, src/core/last-sync-store.ts or src/infrastructure/config-repository.ts. The only file the collector removes is its own pairing state, when you run aom unpair.
It does not log into any AI provider. To check:
grep -rniE \
"anthropic\.com|api\.openai\.com|api\.github\.com|copilot|oauth|client_secret" \
src/
On 19 November 2026 that printed nothing.
What it removes before upload
Every session goes through src/core/redact.ts on your machine, just before it is sent. A match is replaced by a marker such as <REDACTED:github-token>.
| Marker | What it matches |
|---|---|
<REDACTED:aws-access-key> | AWS access key ids (AKIA…, ASIA… and similar) |
<REDACTED:aws-secret-key> | a 40-character value right after an AWS secret key name |
<REDACTED:github-token> | ghp_, gho_, ghu_, ghs_, ghr_ and github_pat_ tokens |
<REDACTED:api-key> | keys that start sk- (OpenAI and Anthropic style) |
<REDACTED:slack-token> | xox… tokens |
<REDACTED:jwt> | JSON Web Tokens |
<REDACTED:bearer-token> | the token after Bearer |
<REDACTED:service-token> | tokens with a vendor prefix: Google API keys (AIza…) and OAuth secrets (GOCSPX-), live Stripe keys, GitLab (glpat-), npm, Hugging Face, SendGrid, Databricks, Shopify and DigitalOcean tokens |
<REDACTED:webhook-url> | Slack and Discord webhook addresses |
<REDACTED:basic-auth> | the value after Authorization: Basic, and the password in curl -u user:password |
<REDACTED:query-secret> | the value of access_token=, api_key=, token=, secret= or password= in a URL query, when it is 12+ characters with a digit |
<REDACTED:password> | the password in scheme://user:password@host |
<REDACTED:secret> | the value in an UPPER_CASE_NAME=value assignment whose name ends in PASSWORD, SECRET, TOKEN, API_KEY, PRIVATE_KEY or ACCESS_KEY; and any string value under an object key with such a name inside a tool call’s input; since 0.1.4 also a name: value or name=value pair in any case whose name ends in such a word (api_key, db_password, "clientSecret") when the value looks like a secret (12+ characters in quotes with a capital, digit or symbol, or 16+ unquoted with a letter and a digit), the value of an x-api-key: style header, and the value of a --password= or --token style flag |
<REDACTED:private-key> | PEM and PGP private key blocks |
Table: the redaction rules, from the source on 19 November 2026.
This is best effort, not a guarantee. A bare random password, an unprefixed API key or a secret split across two messages has no pattern to match and goes through unchanged, and a harmless string can be redacted by mistake. Do not paste credentials into an agent on the assumption that the collector will remove them. Setting AOM_NO_REDACT=1 turns redaction off and prints a warning.
What it labels
A tool sometimes puts its own text into a message that is stored as yours: a <system-reminder> block, the AGENTS.md text a coding agent adds, or the mode header an OpenCode plugin puts before your question. The collector marks such a text part with a meta label and, when the tool’s text sits in front of your words, puts it in its own part so your words are a part of their own. It marks only fixed, exact patterns at the very start of a text: a closed <system-reminder>, <environment_context>, <local-command-caveat> or a few similar tags, the # AGENTS.md instructions for block up to its </INSTRUCTIONS>, and the [analyze-mode] and [search-mode] headers up to their --- line; plus any text part that OpenCode itself flags as synthetic. A bare [word] or <word> is never enough, and an unclosed tag is not marked, because people paste shell prompts and HTML. The label is always one of those fixed names, never copied from your message. If a pattern is not matched exactly, the text is left as it was, so a miss shows a tool’s text as yours, and your own text is never hidden.
What it shortens
| What | Limit |
|---|---|
| Messages per upload, per session | 150: the first one and the latest 149 |
| Tool output | 500 characters |
| Image data | 64 characters (a stub, not the image) |
| Session title | 80 characters |
| Tool input | not limited |
Table: length limits applied before upload. The 150-message limit is applied for OpenCode, Claude Code and Pi; the Codex reader does not apply it.
What it sends, and when
A session is sent as: its id, the agent’s name, the project (path, and the Git remote, branch and commit when there is one), title, model, start and end time, message count, changed files and line counts, and its messages as typed parts (text, reasoning, tool calls, tool results, image stubs). Since 0.1.6, a text part in one of your messages that a tool added, not you, carries a short label in a meta field: system-reminder, AGENTS.md, analyze-mode or search-mode, or the generic injected (details in the next section). The text itself is not changed or removed; the label only lets the app show it apart from your own words. Each upload also carries your device id and the collector’s version.
- Where to.
https://agentsofmine.io/sync, over HTTPS.AOM_SYNC_URLchanges it. - How. A
POST, five sessions at a time. Network errors and429,500,502,503and504are retried after 100, 200 and 400 milliseconds; other errors are not. - When.
aom syncsends once; since 0.1.5,aom sync --since 7d(or12h,2w, a date,all) sends again every session active in that window and does not move the saved positions.aom startwatches the session folders and syncs about five seconds after the last change. - Who. The device token from
aom pairidentifies your computer. It is stored in your operating system’s keychain, with a copy in~/.agentsofmine/config.jsonthat only your user can read (on Unix; see Windows and Linux).
Windows and Linux
Tested on Linux, nothing run on Windows. On 20 November 2026 I ran the install and the first check in an Ubuntu 24.04 container (Node 22.23.5). Labels: tested, documented (a vendor page read that day) and assumed (my reading).
- Linux.
npm install -g agentsofminesucceeded, butaom --versionfailed withlibsecret-1.so.0: cannot open shared object fileuntil I installedlibsecret-1-0; then it printed 0.1.3 (tested). In a clone at commit2a03ae9,npm run checkfailed the same way, and passed (459 tests) once the library was there (tested). Storing the token also needs a running Secret Service; the README says a headless server without one fails to store it (documented by the collector; not run). - The check command.
grepis not on Windows.git grep -nE "writeFile|appendFile|createWriteStream" -- src/printed the same eight lines asgrep -rnEon macOS and on Ubuntu (tested; Git for Windows shipsgit grep: assumed). - Windows. The README says it is not supported. The state folder uses
os.homedir()and so should be%USERPROFILE%\.agentsofmine(assumed, from the collector’s cross-platform notes). The0o600mode onconfig.jsonis not enforced: Node.js documents that on Windows only the write permission can be changed (documented: thefspage). So a token copy there would have no owner-only mode (assumed); the collector’s notes call this low priority because the keychain is the main store.
What it does not do
- It does not upload a session’s later messages beyond the 150-message window, and it does not read Claude Code subagent transcripts.
- It does not read
CLAUDE_CONFIG_DIR,OPENCODE_DBor Pi’s session-directory option, so if you moved an agent’s storage, it will not find it. - It is not a backup. See what to do about Claude Code’s 30-day deletion.
Stopping it
aom unpair removes the device token and the local state. Your sessions stay in your account until you delete the account in the app (Settings → Delete account).