Skip to content

docs: make core agent workflows clearer and correct SDK examples - #379

Closed
bbnoy wants to merge 2 commits into
mainfrom
codex/benchmark-docs-fixes-2026-12-01
Closed

bbnoy wants to merge 2 commits into
mainfrom
codex/benchmark-docs-fixes-2026-12-01

Conversation

@bbnoy

@bbnoy bbnoy commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Agents can take unnecessary API paths or make incorrect assumptions when onboarding, reading messages, replying with BCC, and stopping inbox workers. This change puts the supported workflows in a new agent guide and updates the underlying onboarding, messages, attachments, permissions, polling, and MCP documentation.

The examples now reuse the signup inbox, paginate complete-set reads, distinguish metadata from full bodies, and show explicit recipients for BCC replies under the current API contract. The operational guidance separates deactivation, credential retirement, notification holds, and durable recovery. It also fixes Python/TypeScript example errors and updates generator-owned MCP descriptions without changing the released tool inventory.

Validation: 56 Python fences parse, 93 SDK calls bind against Python 2.0.26, 12 TypeScript examples typecheck against 0.5.54, and five real-SDK examples execute against an offline HTTP mock. All 11 edited/new pages plus the regenerated MCP snippet compile. MCP catalog and permission inventory checks pass. Fern 5.44.8 reports zero errors and 69 warnings, matching untouched main; its four invalid OpenAPI examples also predate this change.

Review the generated batch-get example and workflow-guide links in the preview. No live email/agent benchmark, security efficacy test, or production publication was performed. The MCP runtime's own descriptions and the website auth.md wording need corresponding follow-up edits; three older cookbook pages remain outside this patch. This PR changes documentation and API descriptions/examples only, not API behavior or SDK types.

@github-actions

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

✨ API Changes

No changelog changes

💡 Download api-changelog-diff artifact or tag @fern Writer in #github-prs for changelog.

@bbnoy bbnoy closed this Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant