AGENTS.md@src/channelsA
AGENTS.md@src/channels from letta-ai/letta-code is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add letta-ai/letta-code/src/channels/AGENTS.md@git:20261004.da36ab5Pins git:20261004.da36ab5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- letta-ai/letta-code
- Path
src/channels/AGENTS.md- Versions recorded
- 4
- Latest version
- git:20261004.da36ab5, committed Oct 4, 2026
- First version recorded
- Aug 22, 2026
- Size
- 4,039 bytes
- Repository stars
- 3,759
- License
- Apache-2.0
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
# Channels Guide Rules for changes under `src/channels/`. Read `README.md` here for the plugin model, account fields, access control, and slash commands. Slack-specific rules live in `slack/AGENTS.md`; listener turn rules live in `src/websocket/listener/AGENTS.md`. ## ChannelGateway is the shared policy point `ChannelGateway` (`gateway-core.ts`) is the common chokepoint for every channel deployment: on-device channels run it through `gateway-local.ts`, and remote hosts (for example Letta Cloud) run the same gateway through the `@letta-ai/letta-code/gateway-core` package export. Cross-cutting channel behavior — anything phrased as "all channels" or that must apply to both on-device and Cloud delivery — belongs in the gateway, not duplicated in adapter-specific routing or conversation-creation code. Before editing `registry-routes.ts` (or a Cloud-side route handler) for behavior like source tagging or conversation metadata, check whether the gateway can apply it where it registers or submits the runtime. ## Keep niche behavior out of the shared core Every host, including Cloud's Slack, iMessage, and Teams gateways, inherits …
Read the whole file at its exact version.
How to install
mdr add letta-ai/letta-code/src/channels/AGENTS.md@sha256:3bc9ebee8e89c931The line at the top of this page pins the label git:20261004.da36ab5, 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_h7rwpbsznpf4xfe4)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Aug 22, 2026 and Oct 4, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261004.da36ab5 latest | 2026-10-04 | da36ab5 | 4,039 B | A | view · diff |
| git:20261001.38a280c | 2026-10-01 | 38a280c | 3,321 B | A | view · diff |
| git:20260822.9d7a2e2 | 2026-08-22 | 9d7a2e2 | 3,313 B | A | view · diff |
| git:20260822.aa5ae98 | 2026-08-22 | aa5ae98 | 2,475 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (4039 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
letta-ai/letta-code · 3,759 stars · license Apache-2.0 · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_h7rwpbsznpf4xfe4 GET https://markdownregistry.com/api/v1/resolve?ref=letta-ai/letta-code/src/channels/AGENTS.md GET https://markdownregistry.com/api/v1/blob/3bc9ebee8e89c931a690b9cae1d6de12d09bec1cc7d1ad9bfa187e87af69c195
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.