Skip to content

Single vs multiple instances of Kernel Object #11532

Answered by moonbox3
smokhasi asked this question in Q&A
Discussion options

You must be logged in to vote

@smokhasi, that's a fine way to encapsulate plugins for a specific agent. Doing it that way ensures that that particular agent only has access to those specific tools. The other possible way to manage it, if you did need only one kernel instance (again not saying you must do it this way, it's an option), is to then control the available tools via the FunctionChoiceBehavior, which allows one to configure a filters dictionary either including or excluding plugins. This is more work, but again, and option. If it were me, I would stick with separate kernels per agent.

Regarding chat history: context is broadcast to each distinct agent type via the agent channels. Each agent, right now, has th…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@smokhasi
Comment options

@smokhasi
Comment options

@moonbox3
Comment options

Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python Pull requests for the Python Semantic Kernel agents
3 participants