Uses of Interface
com.google.genkit.ai.agent.AgentFn
Packages that use AgentFn
-
Uses of AgentFn in com.google.genkit
Methods in com.google.genkit with parameters of type AgentFnModifier and TypeMethodDescription<S> Agent<S> GenkitBeta.defineCustomAgent(CustomAgentConfig<S> config, AgentFn<S> fn) Defines a custom agent from an explicitCustomAgentConfigandAgentFn. -
Uses of AgentFn in com.google.genkit.ai.agent.internal
Methods in com.google.genkit.ai.agent.internal with parameters of type AgentFnModifier and TypeMethodDescriptionstatic <S> Agent<S> AgentActions.defineCustomAgent(Registry registry, CustomAgentConfig<S> config, AgentFn<S> fn) Defines a custom agent, registers it (and any companion actions) with the registry, and returns the agent instance.