-
Notifications
You must be signed in to change notification settings - Fork 473
feat(agent-interface): introduce AgentBase Protocol as the interface for agent classes to implement #1126
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
dbschmigelski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
Just calling out here if anyone looks back
- structured_output() is deprecated so it wasn't added
- Direct tool calling also was not added
|
nit: How would this relate to |
…classes to implement
f5490c1 to
bf2dbe4
Compare
Description
Adds an
AgentBaseProtocol that defines a minimal interface for agent classes.This is in part to support #907 where we will introduce an
A2AAgentclass alongside the currentAgentclass. BothAgentandA2AAgentneed the same functions and signatures for our multiagent classes likeGraphto consume -AgentBaseis that consistent interface.The purpose of the
AgentBaseinterface is to define the signatures for methods that are used in higher level primitives, like multiagent orchestrators (e.g.Graph).Related Issues
#573
Documentation PR
TODO
Type of Change
New feature
Testing
How have you tested the change? Verify that the changes do not break functionality or introduce warnings in consuming repositories: agents-docs, agents-tools, agents-cli
hatch run prepareChecklist
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.