Skip to content
Discussion options

You must be logged in to vote

use reflect_on_tool_use=True to enable reflection: https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/agents.html#using-tools-and-workbench

I am also interested to know if this is a conscious design choice by Microsoft. Other Agent frameworks such as LangGraph and Amazon Strands do not have this limitation.

Yes. It is because in one-shot scenarios, the tool itself should provide the final result rather than another reflection step, which only adds more token usage. The tool itself should return well-formated output that can be consumed by application.

If you are iterating on tool then you should also set max_tool_iterations to enable iterative tool use.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ranpariyachetan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants