Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions temporalio/contrib/google_adk_agents/_mcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ class _CallToolArguments:
class TemporalMcpToolSetProvider:
"""Provider for creating Temporal-aware MCP toolsets.

.. warning::
This class is experimental and may change in future versions.
Use with caution in production environments.

Manages the creation of toolset activities and handles tool execution
within Temporal workflows.
"""
Expand Down Expand Up @@ -198,6 +202,10 @@ async def run_async(
class TemporalMcpToolSet(BaseToolset):
"""Temporal-aware MCP toolset implementation.

.. warning::
This class is experimental and may change in future versions.
Use with caution in production environments.

Executes MCP tools as Temporal activities, providing proper isolation
and execution guarantees within workflows.
"""
Expand Down
8 changes: 8 additions & 0 deletions temporalio/contrib/google_adk_agents/_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
def setup_deterministic_runtime():
"""Configures ADK runtime for Temporal determinism.

.. warning::
This function is experimental and may change in future versions.
Use with caution in production environments.

This should be called at the start of a Temporal Workflow before any ADK components
(like SessionService) are used, if they rely on runtime.get_time() or runtime.new_uuid().
"""
Expand Down Expand Up @@ -52,6 +56,10 @@ def _deterministic_id_provider() -> str:
class GoogleAdkPlugin(SimplePlugin):
"""A Temporal Worker Plugin configured for ADK.

.. warning::
This class is experimental and may change in future versions.
Use with caution in production environments.

This plugin configures:
- Pydantic Payload Converter (required for ADK objects).
- Sandbox Passthrough for google.adk and google.genai modules.
Expand Down
4 changes: 4 additions & 0 deletions temporalio/contrib/google_adk_agents/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
def activity_tool(activity_def: Callable, **kwargs: Any) -> Callable:
"""Decorator/Wrapper to wrap a Temporal Activity as an ADK Tool.

.. warning::
This function is experimental and may change in future versions.
Use with caution in production environments.

This ensures the activity's signature is preserved for ADK's tool schema generation
while marking it as a tool that executes via 'workflow.execute_activity'.
"""
Expand Down
Loading