google · Google AI Docs
Gemini API Durable AI agent with Gemini and Temporal
Implementation guide for building resilient AI agents by integrating the Gemini API with the Temporal orchestration engine to manage long-running workflows and state.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Gemini API Durable AI agent with Gemini and Temporal
Implementation guide for building resilient AI agents by integrating the Gemini API with the Temporal orchestration engine to manage long-running workflows and state.
When To Use
Use when you need to implement stateful, fault-tolerant AI agent workflows that require long-running execution and reliable task orchestration.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/gemini-api-durable-ai-agent-with-and-temporal-workflow-guide.md | A tutorial guide explaining how to build a ReAct-style agentic loop using the Gemini API for reasoning and Temporal for workflow durability. | Questions about a tutorial guide explaining how to build a ReAct-style agentic loop using the Gemini API for reasoning and Temporal f... |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-server.text | A text command used to initialize a local development instance of the Temporal server. | Exact payloads, commands, or snippets shown in A text command used to initialize a local development instance of the Temporal server. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python.text | A list of Python dependencies required to implement a durable AI agent using the Gemini API and Temporal. | Exact payloads, commands, or snippets shown in A list of Python dependencies required to implement a durable AI agent using the Gemini API and Temporal. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-durabl.text | A shell command to create a .env file containing the GOOGLE_API_KEY environment variable. | Exact payloads, commands, or snippets shown in A shell command to create a .env file containing the GOOGLEAPIKEY environment variable. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-2.text | A Python implementation of a durable AI agent workflow using the Temporal SDK and the Gemini API. | Exact payloads, commands, or snippets shown in A Python implementation of a durable AI agent workflow using the Temporal SDK and the Gemini API. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-agent-.text | The system instructions defining the persona and tool-use behavior for a Gemini-powered durable AI agent using Temporal. | Exact payloads, commands, or snippets shown in The system instructions defining the persona and tool-use behavior for a Gemini-powered durable AI agent using Temporal. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-weathe.text | A Python implementation of a durable AI agent using the Gemini API and Temporal to fetch weather alerts via the NWS API. | Exact payloads, commands, or snippets shown in A Python implementation of a durable AI agent using the Gemini API and Temporal to fetch weather alerts via the NWS API. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-3.text | A Python implementation demonstrating a durable AI agent using the Gemini API and Temporal orchestration. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating a durable AI agent using the Gemini API and Temporal orchestration. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-4.text | A Python implementation demonstrating a durable AI agent using the Gemini API and Temporal orchestration. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating a durable AI agent using the Gemini API and Temporal orchestration. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-5.text | A Python implementation demonstrating a durable AI agent using the Gemini API and Temporal orchestration. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating a durable AI agent using the Gemini API and Temporal orchestration. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-6.text | A Python implementation of a Temporal activity designed to execute Gemini API tools dynamically. | Exact payloads, commands, or snippets shown in A Python implementation of a Temporal activity designed to execute Gemini API tools dynamically. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-agent--2.text | A Python implementation of a Temporal workflow class that uses the Gemini API to execute an agentic loop with tool calling. | Exact payloads, commands, or snippets shown in A Python implementation of a Temporal workflow class that uses the Gemini API to execute an agentic loop with tool ca... |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-7.text | A Python implementation demonstrating how to integrate the Gemini API with Temporal to create a durable AI agent. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating how to integrate the Gemini API with Temporal to create a durable AI agent. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-8.text | A Python script demonstrating how to initiate and execute a Gemini API durable AI agent workflow using the Temporal client. | Exact payloads, commands, or snippets shown in A Python script demonstrating how to initiate and execute a Gemini API durable AI agent workflow using the Temporal c... |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-durabl-2.text | The terminal command used to run the durable agent worker using the python module. | Exact payloads, commands, or snippets shown in The terminal command used to run the durable agent worker using the python module. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-9.text | A command line instruction to execute the Python module for starting a Gemini and Temporal durable AI agent workflow. | Exact payloads, commands, or snippets shown in A command line instruction to execute the Python module for starting a Gemini and Temporal durable AI agent workflow. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-10.text | A list of command-line instructions to execute Python-based Temporal workflows using the Gemini API. | Exact payloads, commands, or snippets shown in A list of command-line instructions to execute Python-based Temporal workflows using the Gemini API. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-11.text | A command line instruction to execute the Python module for starting a Gemini API durable workflow using Temporal. | Exact payloads, commands, or snippets shown in A command line instruction to execute the Python module for starting a Gemini API durable workflow using Temporal. |
examples/gemini-api-durable-ai-agent-with-and-temporal-gemini-api-temporal-python-12.text | A command line instruction to execute the Python module for starting a Gemini and Temporal durable AI agent workflow. | Exact payloads, commands, or snippets shown in A command line instruction to execute the Python module for starting a Gemini and Temporal durable AI agent workflow. |
What This Skill Covers
- This tutorial walks you through building a ReAct-style agentic loop that uses the Gemini API for reasoning and Temporal for durability. The complete source c...
- Main sections:
Architecture,Prerequisites,Setup,Implementation,Imports and sandbox setup.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://ai.google.dev/gemini-api/docs/temporal-example
