- Issue created by @marcus_johansson
- 🇩🇪Germany marcus_johansson
So a big flaw I see with this solution is if a module updates an agent controlled by a module, like the XB AI orchestration agent via an update hook anything that got changed would get reset.
I think this is in general a problem though, unless we want to have hidden hooks from agents, etc.
- 🇨🇦Canada jibran Toronto, Canada
Let me describe the problem in simplified form, without all the recipe shenanigans. Feel free to correct me, I didn't understand the underlying problem.
I have an agent (let's call it a parent agent), and I want to override various settings provided by the parent agent, such as prompts, tools, and other settings.
- If it is an
AiAgent
plugin, then the new agent can extend the parent agent and override the appropriate functionality. I don't think this will work with recipes, but it might work for install profiles. - If it is an
AiAgent
config entity, then we should add a newAiAgentOverride
config entity. This entity has a field/property calledparent_agent
and several conditional fields/properties that can be used to extend or override prompts, tools, and other settings. The recipe can be shipped withAiAgentOverride
export and with a dependency on the parent agent config.
In theory, the new config entity
AiAgentOverride
creates a new instance of the parent agent with the overrides.Does it make sense, or did I totally miss the mark? 😀️
- If it is an
- 🇩🇪Germany marcus_johansson
That problem sounds about right - ship a subagent, but make it possible to attach to a known parent agent.
We only need to solve it for #2.
The best would be if its possible to do, without having to write a single line of code, just configuration.