Skip to content

Add Deep Agents Code local adapter - #3

Draft
sarahwooders wants to merge 2 commits into
agent/deepagents-sdk-localfrom
agent/deepagents-code-local
Draft

Add Deep Agents Code local adapter#3
sarahwooders wants to merge 2 commits into
agent/deepagents-sdk-localfrom
agent/deepagents-code-local

Conversation

@sarahwooders

Copy link
Copy Markdown
Contributor

Summary

  • add a fixed-path normalizeDeepAgentsCode wrapper for ~/.deepagents/.state/sessions.db
  • require an explicit thread ID and delegate checkpoint loading/replay to the generic official-Python Deep Agents adapter
  • retag only normalized metadata to deepagents-code, with matching Python API, docs, and tests

This PR is stacked on #2.

Testing

  • DEEPAGENTS_TEST_PYTHON=/tmp/trajectory-deepagents-sdk-local/.venv/bin/python bun run check (47 passed)
  • PYTHONPATH=python/src /tmp/trajectory-deepagents-sdk-local/.venv/bin/python -m unittest discover -s python/tests -v (9 passed)
  • built package import smoke
  • npm pack --dry-run
  • git diff --check

@cpacker

cpacker commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

This draft still targets agent/deepagents-sdk-local, even though the base PR merged into main. It is clean only against that obsolete branch; integrating the current head into main conflicts across the public API/types, Python wrapper and generated bundle, tests, and README.

Please retarget/rebase and reconstruct the diff against current main, then rerun the full TypeScript/Python parity and generated-artifact checks before requesting code review. The core approach of delegating to the generic checkpoint adapter and retagging metadata is directionally sound, but reviewing the stale combined diff further would not be reliable.

👾 Generated with Letta Code

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.

2 participants