Skip to content

Draft: hooks for Deep Agents Code#4956

Draft
Johannes du Plessis (johannes117) wants to merge 3 commits into
mainfrom
docs/deepagents-code-hooks-claude-compatible
Draft

Draft: hooks for Deep Agents Code#4956
Johannes du Plessis (johannes117) wants to merge 3 commits into
mainfrom
docs/deepagents-code-hooks-claude-compatible

Conversation

@johannes117

@johannes117 Johannes du Plessis (johannes117) commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rewrites the Deep Agents Code hooks page around the planned Claude Code-compatible hooks redesign (MVP lifecycle events, matcher/config shape, common input/output contract, blocking seams, and known gaps).
  • Keeps the shipping fire-and-forget hooks.json behavior documented in a clearly labeled interim section until the redesign lands.
  • Marks the page as draft/design-review docs so readers do not confuse planned behavior with current CLI behavior.

Test plan

  • Preview the page locally (make docs / Mintlify) and confirm navigation still resolves /oss/deepagents/code/hooks
  • Confirm the top warning and “Current fire-and-forget hooks” section are easy to find
  • Skim MVP event table, config example, and exit-code/decision sections for accuracy against the internal Hooks System Design
  • Decide whether open items (PermissionRequest exit 2, SessionStart outputs, handler-type scope) should stay as gaps or be removed from public docs until resolved

Document the planned hooks redesign (MVP events, matchers, I/O contract, architecture) while preserving the current fire-and-forget behavior as a clearly labeled interim section.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added internal deepagents For docs changes to Deep Agents oss labels Jul 18, 2026
@johannes117 Johannes du Plessis (johannes117) changed the title Draft: Claude-compatible hooks for Deep Agents Code Draft: hooks for Deep Agents Code Jul 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Mintlify preview branch generated: preview-docsde-1784335089-f17e3b2

Site preview: https://langchain-5e9cc07a-preview-docsde-1784335089-f17e3b2.mintlify.site

Important

Preview links may take a few minutes to start working while the deployment finishes.

Changed documentation pages (preview deep links):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deepagents For docs changes to Deep Agents internal oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant