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
This design itself is intended to ensure that the agent is stateless. Thus, each user request loads the state from the outside, which is a beneficial design for containerization scenarios.
The skill class is reusable. It is a final class that is thread-safe and can be registered simultaneously in multiple ReactAgents. However, it is recommended that a skillBox be placed within only one ReactAgent.
The skill class is reusable. It is a final class that is thread-safe and can be registered simultaneously in multiple ReactAgents. However, it is recommended that a skillBox be placed within only one ReactAgent.
Activity
chensk0601 commentedon Mar 17, 2026
不是,他可以在多个Agent下使用。
lfz757077613 commentedon Mar 18, 2026
是的,这里有并发问题,所以不能并发用,toolkit也要每次新建一个。我也觉得agentscope的这种设计不好,agent/toolkit/skillbox/memory每次发起请求都要新建
fang-tech commentedon Mar 18, 2026
This design itself is intended to ensure that the agent is stateless. Thus, each user request loads the state from the outside, which is a beneficial design for containerization scenarios.
fang-tech commentedon Mar 18, 2026
The
skill classis reusable. It is a final class that is thread-safe and can be registered simultaneously in multiple ReactAgents. However, it is recommended that askillBoxbe placed within only one ReactAgent.lfz757077613 commentedon Mar 18, 2026
这不是明显有并发问题吗,一个skillbox怎么能复用在多个ReActAgent里呢?skillbox是线程安全的不代表可以在多个ReActAgent里复用,这里的toolkit是每个ReActAgent深copy出来的独立的新对象
fang-tech commentedon Mar 18, 2026
At present, it is indeed necessary for you to create a new skillBox for each reactagent.
fang-tech commentedon Mar 18, 2026
I will simplify the setup here by using the same automatic copying method as the toolkit.