Uses of Package
com.google.genkit.ai.agent
Packages that use com.google.genkit.ai.agent
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.
DynamoDB-backed agent session persistence.
Azure Cosmos DB-backed agent session persistence.
Firestore-backed session store for Genkit agents.
Middleware plugin for Genkit providing higher-level generation building blocks.
MongoDB-backed agent session persistence.
PostgreSQL-backed agent session persistence.
-
Classes in com.google.genkit.ai.agent used by com.google.genkitClassDescriptionAgent is a bidirectional streaming agent action that manages session state and provides typed facades for snapshot retrieval and abort.Custom agent handler: runs one invocation's turn loop body for ONE turn at a time via the runner.Configuration for defining a custom agent via
AgentActions.defineCustomAgent. -
Classes in com.google.genkit.ai.agent used by com.google.genkit.agentClassDescriptionClientTransform allows a client-managed agent to transform session state before returning it to the caller.Combined read/write interface for a session store.
-
Classes in com.google.genkit.ai.agent used by com.google.genkit.ai.agentClassDescriptionAgentAbortRequest is the request body for aborting an agent execution.Builder for AgentAbortRequest.AgentAbortResponse is the response body for an agent abort operation.Builder for AgentAbortResponse.AgentApi is the typed facade interface exposed by an agent, providing snapshot retrieval, abort, identification, and chat-client creation.AgentChat is the ergonomic programmatic client for driving an agent across multiple turns while carrying session state automatically.AgentChunk is the ergonomic wrapper
AgentChat.sendStream(java.lang.String, java.util.function.Consumer<com.google.genkit.ai.agent.AgentChunk<S>>)hands to the per-chunk callback.AgentFinishReason indicates why an agent finished execution.Context handed to anAgentFnfor one invocation.AgentInit represents the initialization data for an agent session.Builder for AgentInit.AgentInput represents the input to an agent turn.Builder for AgentInput.AgentInterrupt represents a tool request that paused agent execution awaiting a caller response.AgentMetadata describes the capabilities and configuration of an agent endpoint.Builder for AgentMetadata.AgentOutput represents the output of an agent turn.Builder for AgentOutput.AgentRef is a lightweight reference to an agent, carrying only its name and description.AgentResponse is the ergonomic wrapperAgentChat.send(java.lang.String)returns for one completed turn.AgentResult represents the final result of an agent execution.Builder for AgentResult.AgentStreamChunk represents a streaming chunk from an agent execution.Builder for AgentStreamChunk.AgentTransport abstracts how a single agent turn is executed.Artifact represents a named collection of content parts produced during agent execution.Builder for Artifact.ArtifactStore is a state-agnostic view of artifact storage used by middleware and tools that do not need to know the custom state typeSof the session.ClientTransform allows a client-managed agent to transform session state before returning it to the caller.Configuration for defining a custom agent viaAgentActions.defineCustomAgent.Builder forCustomAgentConfig.Disk-backed implementation ofSessionStoreandSnapshotSubscriber.Builder forFileSessionStore.Options for retrieving a session snapshot.Builder forGetSnapshotOptions.GetSnapshotRequest is the request body for retrieving a session snapshot.Builder for GetSnapshotRequest.RuntimeError represents a runtime error that occurred during agent execution.Builder for RuntimeError.Session is the per-invocation in-memory state holder managed by the agent runtime.Drives ONE turn of an agent session: validates the input, appends the user message, runs the turn body, and persists a snapshot on success (SnapshotStatus.COMPLETED) or on failure (SnapshotStatus.FAILED).SessionSnapshot represents a point-in-time snapshot of an agent session.Builder for SessionSnapshot.SessionState represents the state of an agent session.Builder for SessionState.Combined read/write interface for a session store.Options passed to session store operations.Builder forSessionStoreOptions.The mutator for an atomic read-modify-write on a session snapshot.Read side of a session store.SnapshotStatus represents the status of an agent snapshot.Optional capability: subscribe to a snapshot's status changes.Write side of a session store.ToolResume provides the parts needed to resume agent execution after a tool interrupt.Builder for ToolResume.The body of one agent turn.Per-turn context exposed toTurnBodyimplementations.TurnEnd signals the end of an agent turn in a streaming response.Builder for TurnEnd. -
Classes in com.google.genkit.ai.agent used by com.google.genkit.ai.agent.internalClassDescriptionAgent is a bidirectional streaming agent action that manages session state and provides typed facades for snapshot retrieval and abort.AgentFinishReason indicates why an agent finished execution.Custom agent handler: runs one invocation's turn loop body for ONE turn at a time via the runner.AgentInit represents the initialization data for an agent session.AgentInput represents the input to an agent turn.AgentOutput represents the output of an agent turn.AgentStreamChunk represents a streaming chunk from an agent execution.AgentTransport abstracts how a single agent turn is executed.Configuration for defining a custom agent via
AgentActions.defineCustomAgent.GetSnapshotRequest is the request body for retrieving a session snapshot.RuntimeError represents a runtime error that occurred during agent execution.Session is the per-invocation in-memory state holder managed by the agent runtime.Drives ONE turn of an agent session: validates the input, appends the user message, runs the turn body, and persists a snapshot on success (SnapshotStatus.COMPLETED) or on failure (SnapshotStatus.FAILED).SessionSnapshot represents a point-in-time snapshot of an agent session.Combined read/write interface for a session store.Options passed to session store operations.The mutator for an atomic read-modify-write on a session snapshot.SnapshotStatus represents the status of an agent snapshot. -
Classes in com.google.genkit.ai.agent used by com.google.genkit.clientClassDescriptionAgentChat is the ergonomic programmatic client for driving an agent across multiple turns while carrying session state automatically.AgentInit represents the initialization data for an agent session.AgentInput represents the input to an agent turn.AgentOutput represents the output of an agent turn.AgentStreamChunk represents a streaming chunk from an agent execution.AgentTransport abstracts how a single agent turn is executed.GetSnapshotRequest is the request body for retrieving a session snapshot.SessionSnapshot represents a point-in-time snapshot of an agent session.SnapshotStatus represents the status of an agent snapshot.
-
Classes in com.google.genkit.ai.agent used by com.google.genkit.plugins.awsbedrock.sessionClassDescriptionOptions for retrieving a session snapshot.SessionSnapshot represents a point-in-time snapshot of an agent session.Combined read/write interface for a session store.Options passed to session store operations.The mutator for an atomic read-modify-write on a session snapshot.Read side of a session store.Optional capability: subscribe to a snapshot's status changes.Write side of a session store.
-
Classes in com.google.genkit.ai.agent used by com.google.genkit.plugins.azurefoundry.sessionClassDescriptionOptions for retrieving a session snapshot.SessionSnapshot represents a point-in-time snapshot of an agent session.Combined read/write interface for a session store.Options passed to session store operations.The mutator for an atomic read-modify-write on a session snapshot.Read side of a session store.Optional capability: subscribe to a snapshot's status changes.Write side of a session store.
-
Classes in com.google.genkit.ai.agent used by com.google.genkit.plugins.firebase.sessionClassDescriptionOptions for retrieving a session snapshot.SessionSnapshot represents a point-in-time snapshot of an agent session.Combined read/write interface for a session store.Options passed to session store operations.The mutator for an atomic read-modify-write on a session snapshot.Read side of a session store.Optional capability: subscribe to a snapshot's status changes.Write side of a session store.
-
Classes in com.google.genkit.ai.agent used by com.google.genkit.plugins.middlewareClassDescriptionAgentRef is a lightweight reference to an agent, carrying only its name and description.
-
Classes in com.google.genkit.ai.agent used by com.google.genkit.plugins.mongodb.sessionClassDescriptionOptions for retrieving a session snapshot.SessionSnapshot represents a point-in-time snapshot of an agent session.Combined read/write interface for a session store.Options passed to session store operations.The mutator for an atomic read-modify-write on a session snapshot.Read side of a session store.Optional capability: subscribe to a snapshot's status changes.Write side of a session store.
-
Classes in com.google.genkit.ai.agent used by com.google.genkit.plugins.postgresql.sessionClassDescriptionOptions for retrieving a session snapshot.SessionSnapshot represents a point-in-time snapshot of an agent session.Combined read/write interface for a session store.Options passed to session store operations.The mutator for an atomic read-modify-write on a session snapshot.Read side of a session store.Optional capability: subscribe to a snapshot's status changes.Write side of a session store.