Module: plugin¶
Builders in this module¶
Builder |
Description |
|---|---|
Plugin for recording ADK agent interactions. |
|
Plugin for replaying ADK agent interactions from recordings. |
|
Base class for creating plugins. |
|
BigQuery Agent Analytics Plugin (v2. |
|
A plugin that filters the LLM context to reduce its size. |
|
A plugin that captures complete debug information to a file. |
|
Plugin that provides global instructions functionality at the App level. |
|
A plugin that logs important information at each callback point. |
|
A plugin that modifies function tool responses to support returning list of parts directly. |
|
Provides self-healing, concurrent-safe error recovery for tool failures. |
|
A plugin that saves files embedded in user messages as artifacts. |
|
ADK Plugin for AgentSimulator. |
RecordingsPlugin¶
Fluent builder for
google.adk.cli.plugins.recordings_plugin.RecordingsPlugin
Plugin for recording ADK agent interactions.
Quick start:
from adk_fluent import RecordingsPlugin
result = (
RecordingsPlugin()
.build()
)
Control Flow & Execution¶
.build() -> RecordingsPlugin Control Flow & Execution¶
Resolve into a native ADK RecordingsPlugin.
Example:
recordingsplugin = RecordingsPlugin("recordingsplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
ReplayPlugin¶
Fluent builder for
google.adk.cli.plugins.replay_plugin.ReplayPlugin
Plugin for replaying ADK agent interactions from recordings.
Quick start:
from adk_fluent import ReplayPlugin
result = (
ReplayPlugin()
.build()
)
Control Flow & Execution¶
.build() -> ReplayPlugin Control Flow & Execution¶
Resolve into a native ADK ReplayPlugin.
Example:
replayplugin = ReplayPlugin("replayplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
BasePlugin¶
Fluent builder for
google.adk.plugins.base_plugin.BasePlugin
Base class for creating plugins.
Quick start:
from adk_fluent import BasePlugin
result = (
BasePlugin("name_value")
.build()
)
Constructor¶
BasePlugin(name: str)
Argument |
Type |
|---|---|
|
Control Flow & Execution¶
.build() -> BasePlugin Control Flow & Execution¶
Resolve into a native ADK BasePlugin.
Example:
baseplugin = BasePlugin("baseplugin").build("...")
BigQueryAgentAnalyticsPlugin¶
Fluent builder for
google.adk.plugins.bigquery_agent_analytics_plugin.BigQueryAgentAnalyticsPlugin
BigQuery Agent Analytics Plugin (v2.0 using Write API).
Quick start:
from adk_fluent import BigQueryAgentAnalyticsPlugin
result = (
BigQueryAgentAnalyticsPlugin("project_id_value", "dataset_id_value", "kwargs_value")
.build()
)
Constructor¶
BigQueryAgentAnalyticsPlugin(project_id: str, dataset_id: str, kwargs: Any)
Control Flow & Execution¶
.build() -> BigQueryAgentAnalyticsPlugin Control Flow & Execution¶
Resolve into a native ADK BigQueryAgentAnalyticsPlugin.
Example:
bigqueryagentanalyticsplugin = BigQueryAgentAnalyticsPlugin("bigqueryagentanalyticsplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
`str |
|
`BigQueryLoggerConfig |
|
ContextFilterPlugin¶
Fluent builder for
google.adk.plugins.context_filter_plugin.ContextFilterPlugin
A plugin that filters the LLM context to reduce its size.
Quick start:
from adk_fluent import ContextFilterPlugin
result = (
ContextFilterPlugin()
.build()
)
Control Flow & Execution¶
.build() -> ContextFilterPlugin Control Flow & Execution¶
Resolve into a native ADK ContextFilterPlugin.
Example:
contextfilterplugin = ContextFilterPlugin("contextfilterplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
`int |
|
`Callable[[list[types.Content]], list[types.Content]] |
|
DebugLoggingPlugin¶
Fluent builder for
google.adk.plugins.debug_logging_plugin.DebugLoggingPlugin
A plugin that captures complete debug information to a file.
Quick start:
from adk_fluent import DebugLoggingPlugin
result = (
DebugLoggingPlugin()
.build()
)
Control Flow & Execution¶
.build() -> DebugLoggingPlugin Control Flow & Execution¶
Resolve into a native ADK DebugLoggingPlugin.
Example:
debugloggingplugin = DebugLoggingPlugin("debugloggingplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
|
|
|
|
|
|
GlobalInstructionPlugin¶
Fluent builder for
google.adk.plugins.global_instruction_plugin.GlobalInstructionPlugin
Plugin that provides global instructions functionality at the App level.
Quick start:
from adk_fluent import GlobalInstructionPlugin
result = (
GlobalInstructionPlugin()
.build()
)
Control Flow & Execution¶
.build() -> GlobalInstructionPlugin Control Flow & Execution¶
Resolve into a native ADK GlobalInstructionPlugin.
Example:
globalinstructionplugin = GlobalInstructionPlugin("globalinstructionplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
`str |
|
LoggingPlugin¶
Fluent builder for
google.adk.plugins.logging_plugin.LoggingPlugin
A plugin that logs important information at each callback point.
Quick start:
from adk_fluent import LoggingPlugin
result = (
LoggingPlugin()
.build()
)
Control Flow & Execution¶
.build() -> LoggingPlugin Control Flow & Execution¶
Resolve into a native ADK LoggingPlugin.
Example:
loggingplugin = LoggingPlugin("loggingplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
MultimodalToolResultsPlugin¶
Fluent builder for
google.adk.plugins.multimodal_tool_results_plugin.MultimodalToolResultsPlugin
A plugin that modifies function tool responses to support returning list of parts directly.
Quick start:
from adk_fluent import MultimodalToolResultsPlugin
result = (
MultimodalToolResultsPlugin()
.build()
)
Control Flow & Execution¶
.build() -> MultimodalToolResultsPlugin Control Flow & Execution¶
Resolve into a native ADK MultimodalToolResultsPlugin.
Example:
multimodaltoolresultsplugin = MultimodalToolResultsPlugin("multimodaltoolresultsplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
ReflectAndRetryToolPlugin¶
Fluent builder for
google.adk.plugins.reflect_retry_tool_plugin.ReflectAndRetryToolPlugin
Provides self-healing, concurrent-safe error recovery for tool failures.
Quick start:
from adk_fluent import ReflectAndRetryToolPlugin
result = (
ReflectAndRetryToolPlugin()
.build()
)
Control Flow & Execution¶
.build() -> ReflectAndRetryToolPlugin Control Flow & Execution¶
Resolve into a native ADK ReflectAndRetryToolPlugin.
Example:
reflectandretrytoolplugin = ReflectAndRetryToolPlugin("reflectandretrytoolplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
|
|
|
|
|
|
|
SaveFilesAsArtifactsPlugin¶
Fluent builder for
google.adk.plugins.save_files_as_artifacts_plugin.SaveFilesAsArtifactsPlugin
A plugin that saves files embedded in user messages as artifacts.
Quick start:
from adk_fluent import SaveFilesAsArtifactsPlugin
result = (
SaveFilesAsArtifactsPlugin()
.build()
)
Control Flow & Execution¶
.build() -> SaveFilesAsArtifactsPlugin Control Flow & Execution¶
Resolve into a native ADK SaveFilesAsArtifactsPlugin.
Example:
savefilesasartifactsplugin = SaveFilesAsArtifactsPlugin("savefilesasartifactsplugin").build("...")
Forwarded Fields¶
These fields are available via __getattr__ forwarding.
Field |
Type |
|---|---|
|
AgentSimulatorPlugin¶
Fluent builder for
google.adk.tools.agent_simulator.agent_simulator_plugin.AgentSimulatorPlugin
ADK Plugin for AgentSimulator.
Quick start:
from adk_fluent import AgentSimulatorPlugin
result = (
AgentSimulatorPlugin("simulator_engine_value")
.build()
)
Constructor¶
AgentSimulatorPlugin(simulator_engine: AgentSimulatorEngine)
Argument |
Type |
|---|---|
|
|
Control Flow & Execution¶
.build() -> AgentSimulatorPlugin Control Flow & Execution¶
Resolve into a native ADK AgentSimulatorPlugin.
Example:
agentsimulatorplugin = AgentSimulatorPlugin("agentsimulatorplugin").build("...")