google · Google AI Docs
Gemini API ReAct agent from scratch with Gemini and LangGraph
Implementation guide for building a ReAct-style reasoning agent from the ground up using the Gemini API and the LangGraph orchestration framework.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Gemini API ReAct agent from scratch with Gemini and LangGraph
Implementation guide for building a ReAct-style reasoning agent from the ground up using the Gemini API and the LangGraph orchestration framework.
When To Use
Use when you need to implement a reasoning and acting (ReAct) agent loop that uses Gemini for decision-making and LangGraph for state management and tool orchestration.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/gemini-api-react-agent-from-scratch-with-and-langgraph-workflow-guide.md | A guide and implementation walkthrough for building a ReAct agent using the Gemini API and the LangGraph framework. | Questions about a guide and implementation walkthrough for building a ReAct agent using the Gemini API and the LangGraph framework. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr.text | A Python implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-2.text | A Python implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-3.text | A Python implementation of a ReAct agent using the Gemini API and LangGraph to manage agent state and message sequences. | Exact payloads, commands, or snippets shown in A Python implementation of a ReAct agent using the Gemini API and LangGraph to manage agent state and message sequences. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-4.text | A Python implementation of a ReAct agent using Gemini API and LangGraph with custom tool definitions. | Exact payloads, commands, or snippets shown in A Python implementation of a ReAct agent using Gemini API and LangGraph with custom tool definitions. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-5.text | A Python implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph with tool binding. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph with tool binding. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-6.text | A Python implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. | Exact payloads, commands, or snippets shown in A Python implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-7.text | A Python implementation of a ReAct agent using Gemini API and LangGraph to manage stateful tool-calling workflows. | Exact payloads, commands, or snippets shown in A Python implementation of a ReAct agent using Gemini API and LangGraph to manage stateful tool-calling workflows. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-8.text | Python code using IPython to display a Mermaid diagram of a LangGraph ReAct agent workflow. | Exact payloads, commands, or snippets shown in Python code using IPython to display a Mermaid diagram of a LangGraph ReAct agent workflow. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-9.text | A Python code implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. | Exact payloads, commands, or snippets shown in A Python code implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. |
examples/gemini-api-react-agent-from-scratch-with-and-langgraph-gemini-api-langgr-10.text | A Python code implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. | Exact payloads, commands, or snippets shown in A Python code implementation demonstrating how to build a ReAct agent using the Gemini API and LangGraph. |
What This Skill Covers
- LangGraph is a framework for building stateful LLM applications, making it a good choice for constructing ReAct (Reasoning and Acting) Agents.
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/langgraph-example
