Skip to content

Extract subagent SPI into multi-module architecture - #20

Merged
tzolov merged 2 commits into
mainfrom
subagent-spi
Feb 6, 2026
Merged

tzolov merged 2 commits into
mainfrom
subagent-spi

Conversation

@tzolov

@tzolov tzolov commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Split the monolithic spring-ai-agent-utils into three modules:

  • spring-ai-agent-utils-common: shared subagent SPI interfaces
  • spring-ai-agent-utils: core library with Claude subagents
  • spring-ai-agent-utils-a2a: A2A protocol subagent implementation

Replace TaskToolCallbackProvider with ClaudeSubagentType builder that encapsulates Claude-specific config, and simplify TaskTool.Builder to accept SubagentType objects instead of separate resolvers/executors.

Split the monolithic spring-ai-agent-utils into three modules:
- spring-ai-agent-utils-common: shared subagent SPI interfaces
- spring-ai-agent-utils: core library with Claude subagents
- spring-ai-agent-utils-a2a: A2A protocol subagent implementation

Replace TaskToolCallbackProvider with ClaudeSubagentType builder
that encapsulates Claude-specific config, and simplify TaskTool.Builder
to accept SubagentType objects instead of separate resolvers/executors.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
Move Claude subagent classes from tools.task.subagent.claude to
tools.task.claude, removing the intermediate subagent package.
Add javadoc for doFindChatClientBuilder explaining the provider:model
resolution logic. Update TaskTools.md to document multi-provider
routing with any Spring AI supported LLM provider. Update migration
guide with the new Claude package paths.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov
tzolov merged commit ba0ecf4 into main Feb 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant