Package ai.badmonkey.agentspaces.springai.autoconfigure
package ai.badmonkey.agentspaces.springai.autoconfigure
-
ClassDescriptionThe shared base of every agentspaces-springai feature: the properties, the
FleetContexteach feature resolves its group and spaces through, and the scheduler periodic work runs on.Everyagentspaces.springai.*property, as immutable records bound by constructor.How a conversation is keyed when the caller names none.F2: tools that reason about the fleet itself.F5: the embedder behind semantic discovery.Which embedder semantic discovery uses.F7: MCP export.F3: chat memory in a replicated space.F4, calling side.Streaming behavior.F4, serving side.What a fleet tool call does when no result arrives in time.What a streaming caller does when a server dies mid-stream.How model servers divide requests between them.F3: renew the in-flight take lease on every model round-trip.F1: the fleet's AgentCards as tools.F6: fleet-wide token usage.F8: the application'sVectorStoreserved to the fleet as a data asset, through the connector SDK.F2: tools that reason about the fleet:find_fleet_agents,list_fleet_assets, andfetch_fleet_data, each enabled by its own property.F5: withagentspaces.springai.embedder.type=spring-ai, semantic discovery ranks with the application's Spring AIEmbeddingModel.F7: publishes the fleet's tools through the application's Spring AI MCP server and keeps them in step as the fleet changes.F3, chat memory in a replicated space: aSpaceChatMemoryRepositoryover the configured space, theChatMemorywindow over it, theConversationIdResolver, and aFleetChatMemoryAdvisoradded to every auto-configuredChatClient.Builder.F4, calling side: thefleetChatModelbean.F4, serving side: aModelServerover this peer's providerChatModelbeans, with itsModelCatalog,ModelRequestRouter, andStreamChunkingPolicy, each replaceable by declaring a bean of its interface.F1: the fleet's AgentCards as Spring AI tools.F6: fleet-wide token usage.F8: withagentspaces.springai.vector-store.enabled=true, the application's Spring AIVectorStorebecomes a fleet data asset that any agent queries throughDataQueryClientor thefetch_fleet_datatool, with leased, pull-once results.F3, crash-safe LLM workers: registers theTakeContextAccessorso the worker's take crosses Reactor threads, and adds aTakeLeaseAdvisorto every auto-configuredChatClient.Builderthrough aChatClientBuilderCustomizer, so a model call inside a@SpaceTakemethod keeps its claim for as long as it makes progress.