Replies: 2 comments
|
I think we also need to add these two features:
|
0 replies
|
Additionally, in loop scenarios, tools may be invoked multiple times. Therefore, ensuring idempotency across these repeated calls is also crucial. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Background
We have been integrating various loop engineering capabilities into AgentScope. However, the current implementations are relatively scattered, including:
This raises the question of whether we should provide a unified agent middleware — e.g., a
LoopMiddleware— to consolidate these loop-related functionalities. However, there is an inherent trade-off: what should live inside the agent class itself, versus what should be implemented as middleware?To address this, we are opening this discussion. The loop engineering capabilities currently under consideration are as follows:
Budget Control
Goal
Self-Awareness
On Implementation Placement
Personally, I think capabilities that universally enhance agent performance should be implemented inside the agent class, while capabilities that are function-specific should be placed in the middleware layer, allowing developers or users to configure and enable them selectively.
On Implementation Approach
One key concern is whether we should establish a unified implementation channel. Given that different middlewares may provide loop-related functionality from different angles, having each middleware inject a
HintBlockinto the agent context is arguably not an ideal approach.We welcome any suggestions regarding functionality, implementation placement, and implementation approach — please feel free to share your thoughts in this discussion!
All reactions