
git clone https://github.com/google-gemini/cookbook.gitGemini Cookbook — Google's official example collection: sample code for using the Gemini API.
What is Gemini Cookbook?
Gemini Cookbook is a skill (a capability for AI agents such as Claude, Codex and Cursor) on GitHub (google-gemini/cookbook). Google's official example collection: sample code for using the Gemini API.
What can Gemini Cookbook do?
- Sample code for calling Gemini
- Learn fast through examples
- A foundation for your AI project
How to install Gemini Cookbook
See the ⚡ Quick install section at the top of the page — it has a ready-to-copy command taken from the author’s README, plus where to run it. For the full instructions, see the README at the end of the page.
Frequently asked questions about Gemini Cookbook
Is Gemini Cookbook free?
Yes. Gemini Cookbook is an open-source project on GitHub, so you can download and use it for free.
Is Gemini Cookbook hard to install?
No. You only need to run one command above.
Download & source code
The source code, README and latest updates of Gemini Cookbook are at github.com/google-gemini/cookbook. The star count and update date on this page sync automatically from GitHub.
📖 Full guide
Loading the guide…