Multi-Tenancy

Multi-tenancy lets a single A2A server provide different agent behavior per tenant. Each tenant can have its own AgentExecutor (business logic) and AgentCard (capabilities, skills, metadata). Requests without a recognized tenant automatically fall back to the default beans.

This feature is provided by the a2a-java-extras-multitenancy extras module, which registers two CDI routers — CdiAgentExecutorRouter and CdiAgentCardRouter — that dispatch each request to the matching @Tenant-qualified bean.

For setup instructions, configuration reference, and code examples, see the Multi-Tenancy extras page.