# Anthropic 为 ant CLI 新增 `ant apply`，支持声明式管理 Claude Managed Agent 资源

- 来源：ClaudeDevs (@ClaudeDevs)
- 发布时间：2026-09-04 07:12
- AIHOT 分数：47
- AIHOT 链接：https://aihot.virxact.com/items/cmtm60lzp001hro62ksoaoots
- 原文链接：https://x.com/ClaudeDevs/status/2095651107645145538

## AI 摘要

Anthropic 的 Claude Devs 团队宣布在 ant CLI 中新增 `ant apply` 命令。用户可以在仓库中以文件形式声明 Claude Managed Agent 的环境、智能体、技能、记忆存储和部署，并通过 `ant apply` 让 API 资源与这些文件保持同步。文档见 https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply。

## 正文

We've added ant apply to the ant CLI.

Now you can declare Claude Managed Agent environments, agents, skills, memory stores, and deployments as files in your repository and keep the API's resources in sync with them using ant apply.

Docs: https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply
