You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python: HandoffBuilder: Use agent description in auto-generated handoff tools #2713
Currently, when HandoffBuilder._apply_auto_tools creates handoff tools for specialist agents, it doesn't use the agent's description. This means the auto-generated handoff tools have generic descriptions like "Handoff to the refund_agent agent" instead of more informative descriptions based on the actual agent's purpose.
Current Behavior
In _handoff.py:1160, the code calls:
tool=_create_handoff_tool(alias)
This creates a handoff tool with a generic description.
Expected Behavior
When the target Executor is an AgentExecutor, the code should extract the agent's description from AgentExecutor._agent.description and pass it to _create_handoff_tool:
changed the title [-]HandoffBuilder: Use agent description in auto-generated handoff tools[/-][+]Python: HandoffBuilder: Use agent description in auto-generated handoff tools[/+]on Dec 9, 2025
Activity
[-]HandoffBuilder: Use agent description in auto-generated handoff tools[/-][+]Python: HandoffBuilder: Use agent description in auto-generated handoff tools[/+]Python: Use agent description in HandoffBuilder auto-generated tools (m…
Python: Use agent description in HandoffBuilder auto-generated tools (#…
Python: [Durabletask] Update `feature-durabletask-python` branch with…
.NET: Python: Merge main into feature-durabletask-python branch (#3160)
Python: Merge `main` into `feature-durabletask-python` branch (#3261)
.NET: Python: Merge `main` into `feature-durabletask` branch (#3385)
Python: Merge `durabletask` changes into `main` (#3420)
Python: Use agent description in HandoffBuilder auto-generated tools (m…