AGENTS.md@cli/src/lib/daemonA
AGENTS.md@cli/src/lib/daemon from phnx-labs/agi-cli is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add phnx-labs/agi-cli/cli/src/lib/daemon/AGENTS.md@git:20261020.a6bdf2fPins git:20261020.a6bdf2f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- phnx-labs/agi-cli
- Path
cli/src/lib/daemon/AGENTS.md- Versions recorded
- 31
- Latest version
- git:20261020.a6bdf2f, committed Oct 20, 2026
- First version recorded
- Sep 1, 2026
- Size
- 32,112 bytes
- Repository stars
- 26
- License
- a license file GitHub does not identify
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Daemon module The background process behind `agents __daemon-run` — the interval-driven services that keep sessions, device probes, self-heal, and reapers running on each machine without a human polling them. ## Current architecture **N independent per-device daemons, no daemon-to-daemon bus.** Every device that runs agents-cli runs its own daemon process (`agents __daemon-run` → `runDaemon()`, `daemon.ts:850`). No daemon opens a persistent connection to another daemon. Cross-device state either rides per-device files in the existing fleet-synced user repo (`fleet-shared-state.ts`, used by usage/auth sync) or an on-demand `ssh` invocation of a peer CLI verb — e.g. `watchFleetFeed` spawns `ssh <peer> agents feed watch --local` (`cli/src/lib/feed/watch.ts:151`) and `watchFleetSessions` does the same for sessions (`cli/src/lib/session/remote/watch.ts:245`). There is no shared daemon protocol and no standing device-to-device usage/auth probe mesh. **Start, claim, and stop are one serialized lifecycle.** All three mutate the shared pid/heartbeat/socket inventory behind `<daemonDir>/daemon.lock`. `stopDaemon()` holds that lock from target resolution through its postcondition, …
Read the whole file at its exact version.
How to install
mdr add phnx-labs/agi-cli/cli/src/lib/daemon/AGENTS.md@sha256:2d78e5733443ca60The line at the top of this page pins the label git:20261020.a6bdf2f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_pgvf77sfqz4cvgrq)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 31 versions of this file, between Sep 1, 2026 and Oct 20, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261020.a6bdf2f latest | 2026-10-20 | a6bdf2f | 32,112 B | A | view · diff |
| git:20261020.ac859d7 | 2026-10-20 | ac859d7 | 31,488 B | A | view · diff |
| git:20261017.baba0f1 | 2026-10-17 | baba0f1 | 31,706 B | A | view · diff |
| git:20261012.ddd8f72 | 2026-10-12 | ddd8f72 | 34,686 B | A | view · diff |
| git:20261012.084dfac | 2026-10-12 | 084dfac | 34,962 B | A | view · diff |
| git:20261011.ee62daa | 2026-10-11 | ee62daa | 35,244 B | A | view · diff |
| git:20261011.49a9527 | 2026-10-11 | 49a9527 | 35,298 B | A | view · diff |
| git:20261010.357c2b1 | 2026-10-10 | 357c2b1 | 33,334 B | A | view · diff |
| git:20261010.8d2e201 | 2026-10-10 | 8d2e201 | 33,205 B | A | view · diff |
| git:20261009.bded197 | 2026-10-09 | bded197 | 30,690 B | A | view · diff |
| git:20261008.dabfc7e | 2026-10-08 | dabfc7e | 31,097 B | A | view · diff |
| git:20261006.5972183 | 2026-10-06 | 5972183 | 30,616 B | A | view · diff |
| git:20261006.d7c1204 | 2026-10-06 | d7c1204 | 30,916 B | A | view · diff |
| git:20261005.0d37c61 | 2026-10-05 | 0d37c61 | 29,777 B | A | view · diff |
| git:20261005.13ad78d | 2026-10-05 | 13ad78d | 30,179 B | A | view · diff |
| git:20261004.95b2389 | 2026-10-04 | 95b2389 | 29,016 B | A | view · diff |
| git:20261004.db87453 | 2026-10-04 | db87453 | 29,053 B | A | view · diff |
| git:20260923.ffe3a5d | 2026-09-23 | ffe3a5d | 28,119 B | A | view · diff |
| git:20260923.ceec8b3 | 2026-09-23 | ceec8b3 | 28,007 B | A | view · diff |
| git:20260913.b6dc2f5 | 2026-09-13 | b6dc2f5 | 27,222 B | A | view · diff |
| git:20260913.e934bc7 | 2026-09-13 | e934bc7 | 26,942 B | A | view · diff |
| git:20260907.04eabf0 | 2026-09-07 | 04eabf0 | 25,456 B | A | view · diff |
| git:20260907.079d9ee | 2026-09-07 | 079d9ee | 25,610 B | A | view · diff |
| git:20260907.132d80e | 2026-09-07 | 132d80e | 24,780 B | A | view · diff |
| git:20260907.261ed8c | 2026-09-07 | 261ed8c | 24,963 B | A | view · diff |
| git:20260907.2dc6170 | 2026-09-07 | 2dc6170 | 24,809 B | A | view · diff |
| git:20260901.0094849 | 2026-09-01 | 0094849 | 24,213 B | A | view · diff |
| git:20260901.7523186 | 2026-09-01 | 7523186 | 24,596 B | A | view · diff |
| git:20260901.e51c244 | 2026-09-01 | e51c244 | 24,213 B | A | view · diff |
| git:20260901.c6e1c99 | 2026-09-01 | c6e1c99 | 20,848 B | A | view · diff |
| git:20260901.ee54dc4 | 2026-09-01 | ee54dc4 | 23,015 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (32112 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
phnx-labs/agi-cli · 26 stars · license a license file GitHub does not identify · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_pgvf77sfqz4cvgrq GET https://markdownregistry.com/api/v1/resolve?ref=phnx-labs/agi-cli/cli/src/lib/daemon/AGENTS.md GET https://markdownregistry.com/api/v1/blob/2d78e5733443ca60c96f00af07022170b9285aa180d6d3a3da28b2ed94f3b37e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.