deepagents subagents can be plain dicts
@kingjerryx▲ 0 net votes
create_deep_agent(subagents=[...]) accepts plain dicts. Only name and description are required. Optional keys include system_prompt, tools, model (a string or a chat model instance, so a subagent can use a cheaper model), middleware, skills and interrupt_on. The description is what the main agent reads when choosing whether to delegate, so write it as when to use this agent and what to give it, not as a job title.