AGENTS.mdA
AGENTS.md from maomaochong-ai/open-astravia is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add maomaochong-ai/open-astravia/AGENTS.md@git:20261014.02ac874Pins git:20261014.02ac874 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- maomaochong-ai/open-astravia
- Path
AGENTS.md- Versions recorded
- 5
- Latest version
- git:20261014.02ac874, committed Oct 14, 2026
- First version recorded
- Sep 24, 2026
- Size
- 27,941 bytes
- Repository stars
- 39
- 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
# OpenAstravia Agent Guide
> 本文件适用于整个仓库。更深目录中的 `AGENTS.md` 可补充或收紧规则;发生冲突时,以离目标文件最近的规则为准。
>
> 使用中文回答用户。代码、协议字段、日志和面向模型的提示词保持其既有语言。
## 项目概览
Astravia 是一套 AI Agent 产品栈。**本仓库是客户端侧的开源仓库**:TypeScript/Bun monorepo、Electron 桌面应用、Swift(iOS)与 Kotlin(Android)移动端、Next.js 文档站,以及 Go 写的 IM 旁路网关。面向外部贡献者的入口是 [`CONTRIBUTING.md`](CONTRIBUTING.md),不要把本文件当成对外贡献指南。
服务端(业务 API、管理控制台、官网)在独立的私有仓库 `astravia-serv`,不在此处。涉及计费、配额、订阅、权益的决策文档(ADR-0016/0017/0019/0038/0039/0051/0052/0056)同样只存在于那边——本仓库的 `docs/adr/` 会有对应的编号空洞,这是刻意的,见 `docs/adr/README.md`。
顶层目录按「是否被别的包依赖」划分,新增目录必须遵守:
- `apps/`:可交付的应用,依赖图的叶子节点,不被任何包 import。`desktop`、`cli-host`、`docs-site`、`mobile/client-apple`(Swift/SwiftUI,iOS)、`mobile/client-android`(Kotlin Multiplatform,仅 Android)、`im-gateway`(Go)与 `ssh-helper`(Go,远程项目的远端 helper,见 ADR-0124)。
- `packages/`:可复用模块,只能被 `apps/` 或其它 `packages/` 依赖。
主要分层:
- 应用与宿主:`apps/*`
- 产品组合:`coding-agent`
- 通用运行时:`runtime-*`、`capability-*`、`action-rpc`
- 核心库:`ai`、`agent`
- 扩展生态:`plugins`、`skill-presets`、`theme-*`、`toolkit`
核心依赖方向:
```text
apps/* (desktop / cli-host / docs-site / mobile / im-gateway / ssh-helper)
|
v
coding-agent / runtime-* / capability-*
…Read the whole file at its exact version.
How to install
mdr add maomaochong-ai/open-astravia/AGENTS.md@sha256:e1a015b34d33e832The line at the top of this page pins the label git:20261014.02ac874, 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_jas5g6x5ubuvgi6w)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 24, 2026 and Oct 14, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261014.02ac874 latest | 2026-10-14 | 02ac874 | 27,941 B | A | view · diff |
| git:20261009.4a843e4 | 2026-10-09 | 4a843e4 | 27,571 B | A | view · diff |
| git:20261002.16042ab | 2026-10-02 | 16042ab | 27,769 B | A | view · diff |
| git:20261001.635daaa | 2026-10-01 | 635daaa | 27,443 B | A | view · diff |
| git:20260924.2ccc687 | 2026-09-24 | 2ccc687 | 27,399 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (27941 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
maomaochong-ai/open-astravia · 39 stars · license Apache-2.0 · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jas5g6x5ubuvgi6w GET https://markdownregistry.com/api/v1/resolve?ref=maomaochong-ai/open-astravia/AGENTS.md GET https://markdownregistry.com/api/v1/blob/e1a015b34d33e832da2b8eb0d3664496a1ce2620e851db648703f4e6cd013912
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.
More from maomaochong-ai/open-astravia
Every file in maomaochong-ai/open-astravia