Dayward AIWeChat Mini Program
← All course question banks

Mastering Codex and the OpenAI Agents SDK in 5 Days

Course questions · 15 / 15

D1 Getting Started With the Codex CLI: Install, AGENTS.md, Approval Modes and the Sandbox, Common Commands

  • 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 写的项目说明文件(比如 Codex 的 AGENTS.md)应该写什么、不该写什么?为什么它要有大小上限?
    Common in ChinaCommon overseasBasic#coding-agent#context#agents-md

    🔒 Unlock D1 to see the answer keys.

  • 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?Codex 把「什么时候问用户」和「能碰到什么」拆成 approval_policy 和 sandbox_mode 两组独立开关。为什么要拆?各自解决什么问题?
    Common in ChinaCommon overseasIntermediate#coding-agent#security#sandbox

    🔒 Unlock D1 to see the answer keys.

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

    🔒 Unlock D1 to see the answer keys.

D2 Codex, Level Up: Cloud Tasks, Code Review, MCP Integration, Custom Instructions, IDE Integration

  • A cloud coding agent can run many tasks in parallel with nobody around to approve steps. Where should its approval boundary sit?云端 coding agent 能同时跑很多任务,但没有人在旁边点头。它的审批边界应该画在哪里?
    Common in ChinaCommon overseasIntermediate#coding-agent#cloud#approvals

    🔒 Unlock D2 to see the answer keys.

  • If the same model both writes and reviews code, is the review still meaningful? How do you make it more independent?让同一个模型既写代码又审代码,审查还有意义吗?怎么让审查更独立?
    Common in ChinaCommon overseasIntermediate#code-review#coding-agent#workflow

    🔒 Unlock D2 to see the answer keys.

  • MCP servers and skills both extend a coding agent. When do you reach for each, and what goes in the project instruction file instead?MCP server 和 skill 都是在给 coding agent 加能力,什么时候该用哪一个?项目说明文件又放什么?
    Common in ChinaCommon overseasBasic#mcp#skills#coding-agent

    🔒 Unlock D2 to see the answer keys.

D3 The Responses API and Built-in Tools: Function Calling, Web Search / File Search / Computer Use, Structured Output

  • How does the Responses API differ from Chat Completions, and what are the common pitfalls when migrating?Responses API 和 Chat Completions 的区别是什么?从 Chat Completions 迁移过去最容易踩什么坑?
    Common in ChinaCommon overseasBasic#responses-api#openai#migration

    🔒 Unlock D3 to see the answer keys.

  • When do you use platform built-in tools (web search, file search, computer use) versus your own function tools, and why does computer use deserve special treatment?平台内置的工具(web search、file search、computer use)和自己写的函数工具,各适合什么场景?为什么 computer use 要单独对待?
    Common in ChinaCommon overseasIntermediate#tools#responses-api#security

    🔒 Unlock D3 to see the answer keys.

  • What does strict mode in structured outputs solve, what does it not solve, and what must your code still do after receiving the output?结构化输出的 strict 模式解决了什么问题,没解决什么问题?拿到输出之后代码里还要做什么?
    Common in ChinaCommon overseasIntermediate#structured-output#responses-api#validation

    🔒 Unlock D3 to see the answer keys.

D4 The OpenAI Agents SDK: Agents, Handoffs, Guardrails, Sessions, Tracing

  • When should you split one agent into several connected by handoffs, and when is a single agent with many tools the better design?什么时候该把一个 Agent 拆成多个、用 handoff 交接?什么时候「一个大 Agent 加很多工具」反而更好?
    Common in ChinaCommon overseasIntermediate#agents-sdk#handoffs#architecture

    🔒 Unlock D4 to see the answer keys.

  • Should guardrails sit on the input side or the output side? What does each cost, what does it catch, and what slips through?guardrail 应该放在输入侧还是输出侧?各自的成本、能拦住什么、拦不住什么?
    Common in ChinaCommon overseasDeep dive#agents-sdk#guardrails#safety

    🔒 Unlock D4 to see the answer keys.

  • Both Agents SDK sessions and the Responses API's previous_response_id remember multi-turn state. How do you choose, and what role does tracing play?Agents SDK 的 session 和 Responses API 的 previous_response_id 都能记住多轮,怎么选?tracing 在这里起什么作用?
    Common in ChinaCommon overseasIntermediate#agents-sdk#sessions#tracing

    🔒 Unlock D4 to see the answer keys.

D5 Choosing and Combining Claude and Codex: A Real Side-by-Side on the Same Task, a Write-One-Review-One Mixed Workflow

  • Your team must pick between two coding agents. How do you propose a comparison that teammates can both understand and verify?团队要在两家 coding agent 之间选一个,你怎么给出一套可以向团队解释、也能被验证的对比维度?
    Common in ChinaCommon overseasIntermediate#coding-agent#evaluation#decision-making

    🔒 Unlock D5 to see the answer keys.

  • Where does the 'one vendor writes, the other reviews' workflow pay off, and when is it not worth it?「一家写、另一家审」的混用工作流收益在哪?什么情况下不值得?
    Common in ChinaCommon overseasIntermediate#code-review#workflow#coding-agent

    🔒 Unlock D5 to see the answer keys.

  • How do you judge the quality of a coding agent's output on a task, beyond whether it ran?怎么评价一个 coding agent 这次任务的输出质量,而不只是看它跑没跑通?
    Common in ChinaCommon overseasDeep dive#coding-agent#evaluation#quality

    🔒 Unlock D5 to see the answer keys.