Uses of Class
com.google.genkit.ai.agent.AgentChat
Packages that use AgentChat
Package
Description
This package provides types for the Genkit agents feature, including enums and models for agent
state snapshots, agent execution lifecycle, and agent-related operations.
-
Uses of AgentChat in com.google.genkit.ai.agent
Methods in com.google.genkit.ai.agent that return AgentChatModifier and TypeMethodDescriptionAgent.chat()Agent.chat(ActionContext ctx) Agent.chat(ActionContext ctx, AgentInit<S> init) AgentApi.chat()Creates a freshAgentChatfor a new conversation, using a default action context built from the registry the agent was defined in.Creates anAgentChatseeded frominit(snapshotId / sessionId / inline state), using a default action context built from the registry the agent was defined in.AgentApi.chat(ActionContext ctx) Creates a freshAgentChatfor a new conversation.AgentApi.chat(ActionContext ctx, AgentInit<S> init) Creates anAgentChatseeded frominit(snapshotId / sessionId / inline state).Agent.loadChat(GetSnapshotRequest lookup) Agent.loadChat(ActionContext ctx, GetSnapshotRequest lookup) AgentApi.loadChat(GetSnapshotRequest lookup) Loads a snapshot and hydrates anAgentChatwhose next send resumes it, using a default action context built from the registry the agent was defined in.AgentApi.loadChat(ActionContext ctx, GetSnapshotRequest lookup) Loads a snapshot and hydrates anAgentChatwhose next send resumes it.static <S> AgentChat<S> AgentChat.over(AgentTransport<S> transport, AgentInit<S> init) Creates a chat over any transport. -
Uses of AgentChat in com.google.genkit.client
Methods in com.google.genkit.client that return AgentChatModifier and TypeMethodDescriptionstatic <S> AgentChat<S> RemoteAgent.chat(RemoteAgentOptions opts)