Uses of Class
com.google.genkit.ai.Agent
Packages that use Agent
Package
Description
Provides session management for multi-turn agent conversations with
persistence.
-
Uses of Agent in com.google.genkit
Methods in com.google.genkit that return AgentModifier and TypeMethodDescriptionGenkit.defineAgent(AgentConfig config) Defines an agent that can be used as a tool in multi-agent systems.Gets an agent by name.Methods in com.google.genkit that return types with arguments of type AgentMethods in com.google.genkit with parameters of type AgentModifier and TypeMethodDescriptionGenkit.getAllToolsForAgent(Agent agent) Gets all tools for an agent, including sub-agent tools. -
Uses of Agent in com.google.genkit.ai
Method parameters in com.google.genkit.ai with type arguments of type Agent -
Uses of Agent in com.google.genkit.ai.session
Methods in com.google.genkit.ai.session that return types with arguments of type AgentModifier and TypeMethodDescriptionChatOptions.getAgentRegistry()Gets the agent registry for multi-agent handoffs.Session.getAgentRegistry()Gets the agent registry for multi-agent handoffs.Method parameters in com.google.genkit.ai.session with type arguments of type AgentModifier and TypeMethodDescriptionChatOptions.Builder.agentRegistry(Map<String, Agent> agentRegistry) Sets the agent registry for multi-agent handoffs.static <S> Session<S> Creates a new Session with a generated ID and agent registry.static <S> CompletableFuture<Session<S>> Session.load(Registry registry, String sessionId, SessionOptions<S> options, Map<String, Agent> agentRegistry) Loads an existing session from a store with agent registry.voidChatOptions.setAgentRegistry(Map<String, Agent> agentRegistry) Sets the agent registry for multi-agent handoffs.