Repository navigation
Add Deep Agents workers and native hooks; release 0.5.0 - #51
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Foreman can now launch LangChain Deep Agents Code (
dcode) as a coding or verification worker and supervise its native Hooks v2 lifecycle through core. Addforeman deepagents setupto merge the seven handlers without replacing existing configuration, document credentials and both supervision paths, and bumpforeman-corefrom 0.4.4 to 0.5.0 for this new integration.The separately installed CLI supplies the harness; the core gains no LangChain dependency. Worker output is bounded, turn/time budgets are enforced, and supervisory shutdown handles the separate LangGraph server process group. Native hook decisions preserve prompt identity, failure evidence, completion allowances, and cleanup. The guide describes native control limits, shell permissions, and duplicate-supervision considerations.
Verification
PYTHONPATH=src .venv/bin/python -m pytest -q)..venv/bin/python -m ruff check .).FINISHED; 36 calculator tests passed.dcodewith native Foreman hooks exited 0; 34 calculator tests and all 26 hook invocations passed.Live test details:
integrations/deepagents/live-test-results.md. Tested with Deep Agents Code 0.1.83, SDK 0.7.23, and OpenAI gpt-5.4-mini.