Skip to content

feat(server)!: add multitenancy support with per-tenant routing - #1084

Open
ehsavoie wants to merge 1 commit into
a2aproject:mainfrom
ehsavoie:issue_1034_router
Open

feat(server)!: add multitenancy support with per-tenant routing#1084
ehsavoie wants to merge 1 commit into
a2aproject:mainfrom
ehsavoie:issue_1034_router

Conversation

@ehsavoie

Copy link
Copy Markdown
Collaborator
  • Add AgentExecutorRouter and AgentCardRouter SPI in server-common
  • Add @tenant CDI qualifier and CDI router implementations in extras/multitenancy
  • Wire tenant-aware resolution in DefaultRequestHandler and all transport handlers
  • Add tenant field to RequestContext for execute/cancel flows
  • Update GetExtendedAgentCardRequest to carry GetExtendedAgentCardParams

Fixes #1034 🦕

@ehsavoie
ehsavoie requested review from jmesnil and kabir and removed request for jmesnil August 21, 2026 09:42
@ehsavoie

Copy link
Copy Markdown
Collaborator Author

@omatheusmesmo a new approach that makes more sense I think

@kabir kabir left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, some minor stuff.

But should we put this into compat-0.3 too?

Comment thread server-common/src/main/java/org/a2aproject/sdk/server/util/CdiUtils.java Outdated
Comment thread server-common/src/main/java/org/a2aproject/sdk/server/util/CdiUtils.java Outdated
- Add AgentExecutorRouter and AgentCardRouter SPI in server-common
- Add @tenant CDI qualifier and CDI router implementations in extras/multitenancy
- Wire tenant-aware resolution in DefaultRequestHandler and all transport handlers
- Add tenant field to RequestContext for execute/cancel flows
- Update GetExtendedAgentCardRequest to carry GetExtendedAgentCardParams

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@ehsavoie
ehsavoie requested a review from kabir August 21, 2026 11:19
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.

[Bug]: JSON-RPC server documents tenant-prefixed routing but registers no route that can match it

2 participants