逐日AI微信小程序
Codex 与 OpenAI Agents SDK 高效使用
第 1 周 · D1🔒 锁定约 4 小时

Codex CLI 入门:安装、AGENTS.md、审批模式与沙箱、常用命令

装好 Codex CLI,搞清它靠什么理解你的项目、靠什么防止它乱动文件,并用它完成第一个真实任务。

今日目标 0/3

登录后可以勾选并保存进度。

装好 Codex CLI,搞清它靠什么理解你的项目、靠什么防止它乱动文件,并用它完成第一个真实任务。

登录并关联后阅读全文

请先登录网页,并在账户页关联微信小程序账号。关联后每天可免费阅读 1 篇;额外文章需在小程序看广告解锁。

小程序码

微信扫码打开「逐日AI」,进入相同课程和章节,选择看广告解锁,完成后刷新本页。

面试题库

  • 给 coding agent 写的项目说明文件(比如 Codex 的 AGENTS.md)应该写什么、不该写什么?为什么它要有大小上限?What belongs in a project instruction file for a coding agent (such as Codex's AGENTS.md), what does not, and why is there a size limit?
    国内高频海外高频基础#coding-agent#context#agents-md

    🔒 解锁本章后查看答题要点。

  • Codex 把「什么时候问用户」和「能碰到什么」拆成 approval_policy 和 sandbox_mode 两组独立开关。为什么要拆?各自解决什么问题?Codex splits 'when to ask the user' and 'what can be touched' into two independent settings, approval_policy and sandbox_mode. Why separate them, and what does each solve?
    国内高频海外高频进阶#coding-agent#security#sandbox

    🔒 解锁本章后查看答题要点。

  • 你要在团队里引入一个能在本地执行命令的 coding agent,怎么向不放心的同事解释它的风险边界?You want to introduce a coding agent that runs commands locally. How do you explain its risk boundary to skeptical teammates?
    国内高频海外高频进阶#coding-agent#security#communication

    🔒 解锁本章后查看答题要点。

评论