feat(harness-deepagents): implement harness adapter for Deep Agents#16261
feat(harness-deepagents): implement harness adapter for Deep Agents#16261mlekhi wants to merge 18 commits into
Conversation
felixarntz
left a comment
There was a problem hiding this comment.
@mlekhi this works great based on initial testing! the main thing to look into further is proper skills setup, and then some minor fixes around tools. also worth checking whether we can support tool approvals at least for custom tools (like e.g. for Codex).
| "@langchain/anthropic": "^1.0.0", | ||
| "@langchain/core": "^1.1.44", | ||
| "@langchain/langgraph": "^1.3.0", | ||
| "@langchain/openai": "^1.0.0", |
There was a problem hiding this comment.
what are the @langchain/anthropic and @langchain/openai dependencies used for?
There was a problem hiding this comment.
these are the langchain provider packages, createDeepAgent loads them based on the model id. theyre not bundled by deepagents or langchain so without them it just errors at runtime. anthropic is the default, openai only kicks in for openai models. we can drop the openai one if we wanna stay anthropic-only for now.
Background
DeepAgents is a TS agent runtime. This is the harness adapter for DeepAgents -
@ai-sdk/harness-deepagents. Runs thedeepagentspackage through a Node bridge in the sandbox.interruptOnManual Verification
Ran the examples for real (model + sandbox):
examples/ai-functions/src/harness-agent/deepagents/*— all workedChecklist