Borrowing it
Nothing to install: this file belongs to antdigital-ai/agentic-ui. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/antdigital-ai/agentic-ui/main/AGENTS.mdgit clone --depth 1 https://github.com/antdigital-ai/agentic-uiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/antdigital-ai/agentic-ui/agents-md)<a href="https://agentmods.dev/instructions/antdigital-ai/agentic-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/antdigital-ai/agentic-ui/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/antdigital-ai/agentic-ui/agents-md"><img src="https://agentmods.dev/badge/instructions/antdigital-ai/agentic-ui/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.09538 | $0.09538 |
| Opus 5.5 | $0.03815 | $0.03815 |
| Sonnet 5.5 | $0.01908 | $0.01908 |
| Haiku 4.5 | $0.00954 | $0.00954 |
Grade C, and why
agentic-ui AGENTS.md scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf node_modules pnpm-lock.yaml Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **首屏编译延迟(非 bug)**:dumi/umi 是 SPA,首次请求会触发按需编译,初始 HTML 仅返回 `Umi Loading...` 外壳,需等待数秒前端才渲染出内容;`curl` 拿到 200 不代表页面已可交互。 How it starts
The opening of the file, as written. The whole thing — 969 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Agentic UI 项目开发指南 - 为 AI 编程助手提供项目上下文和开发规范
📑 目录
项目背景
这是 ant-design/agentic-ui 的源代码仓库,发布为 npm 包 @ant-design/agentic-ui,是一个面向智能体的 UI 组件库。
核心特性
- 使用 TypeScript 和 React 开发
- 兼容 React 16.9+ 版本(peerDependencies:
>=16.9.0) - 基于 Ant Design 和
@ant-design/cssinjs构建 - 提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力
- 支持国际化(i18n)
- 使用 Dumi 构建文档站点
- 使用 Father 构建产物
- 使用 Vitest + React Testing Library 进行单元测试
- 使用 Playwright 进行 E2E 测试
设计理念
- 过程透明化:可见思考与工具调用,让用户理解智能体的推理过程
- 主动协作:智能体主动发起交互,与用户协同完成任务
- 端到端任务协同:从"回答一句话"到"完成一件事",让智能体成为用户的协作伙伴
快速开始
开发环境要求
- Node.js: >= 18.17.0(推荐 22 LTS)
- 包管理器: 仓库锁定 pnpm 9.15.9(与
pnpm-lock.yamllockfile v9 一致;勿用全局 pnpm 10+,其在 Node 18 上会报requires at least Node.js v22.13) - 操作系统: Windows 10+, macOS 10.15+, Linux
- 浏览器兼容性: 现代浏览器(Chrome 80+、Edge、Firefox、Safari)
安装依赖
# 克隆项目
git clone [email protected]:ant-design/agentic-ui.git
cd agentic-ui
# 使用 Corepack 启用 package.json 中锁定的 pnpm 版本(Node 16.9+ 自带 Corepack)
corepack enable
pnpm install
若未使用 Corepack,可显式激活同一版本:
corepack enable
corepack prepare [email protected] --activate
pnpm install
常用开发命令
pnpm start # 启动文档站点(http://localhost:8000)
pnpm run build # 构建项目
pnpm test # 运行单元测试(默认跳过 e2e、大体积 chart/Workspace 目录、branches/coverage 等补洞套件,见 vitest.config.ts)
pnpm run test:full # 全量 Vitest(`--mode full`;与 `test:coverage:full` 同一套 exclude,不含覆盖率)
pnpm run test:coverage # 生成覆盖率(默认同上精简集)
pnpm run test:coverage:full # 全量测试 + 覆盖率(`--mode full`;Codecov workflow / 发布前)
pnpm run test:e2e # 运行 E2E 测试
pnpm run lint # 代码检查(oxlint + Stylelint)
pnpm run prettier # 代码格式化
pnpm tsc # TypeScript 类型检查
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -6 tokens per session 4e4695961c63
- 2mo ago First seen · 969 lines · 9,544 tokens per session scan C fa5cba2b174b
agentic-ui AGENTS.md is an instructions file published in the GitHub repository antdigital-ai/agentic-ui (237 stars, last pushed 24d ago), licensed MIT. It adds 9,538 tokens to every session, about $0.0382 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
agentic-ui AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agentic-ui AGENTS.mdantdigital-ai/agentic-ui | Instructions file | 237 | 24d ago | MIT | C | 9,538 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |