-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make FunctionTools Serializable (Declarative) #5052
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5052 +/- ##
==========================================
+ Coverage 70.39% 70.53% +0.14%
==========================================
Files 174 174
Lines 11083 11129 +46
==========================================
+ Hits 7802 7850 +48
+ Misses 3281 3279 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Maybe this isn't directly related to this PR, but I was wondering if any thought has been put into alternate ways of running these tools. Perhaps a REST API, or |
There is a great extension for using MCP tools with AutoGen here https://github.com/richard-gyiko/autogen-ext-mcp |
Repeat another comment: it is not making function tools declartive, it's serializable configuration. The function is still written in procedure code so it's not delcarative, it's still procedural. |
I have seen this extension, and I understand that it's not declarative, my point here is more of a larger question around the UI as a generally useful tool going forward. I for example would love to use it as a driver for building agents with tools, but I cannot because realistically the framework is limited by not being able to bring custom code. Custom code for both tools and agents. The GRPC runtime already exists, and things like MCP, so I'm envisioning a world where I as a user of the UI could include additional agents/tools via the network. Does that make sense? |
@Eltanya My comment was for the PR not to you. Apologize for the confusion. I agree MCP or remote API tools are necessary. Would you like to create an issue with a rough sketch of how it may look like, implementation wise? We are just getting started here. We are happy to have you contribute to this effort also, whether through discussion or code. |
Absolutely, I can do that, when I'm done I'll post the issue link here |
Here is the link to the draft PR I mentioned: #5181 |
Why are these changes needed?
Enable declarative representation of FunctionTool.
Open questions
@jackgerrits (thoughts welcome)
Related issue number
Closes #5036
Checks