Open source repo
cookbook
Examples and guides for using the Gemini API
View on GitHubProject siteMore repos in the app
What it is
cookbook is an open source tool for building with large language models, published on GitHub by google‑gemini and written mainly in Jupyter Notebook. Its maintainers file it under gemini, gemini‑api.
In its own words on GitHub: “Examples and guides for using the Gemini API.”
Who it is for
Developers and technical teams building products on top of large language models.
How to start
- Open the repo and read the README from the top, then the license file.
- It is mostly notebooks, so you can open them in Jupyter or Google Colab and run them cell by cell.
- Its project site, ai.google.dev, has documentation and sometimes a hosted version you can try before you install anything.
- Pin a release or a commit, so an update does not change how it behaves without you noticing.
Why it is on our list
- It has a permissive Apache‑2.0 license, so you can use it at work.
- It is actively maintained: the last change was yesterday, as of December 2, 2026.
- It has its own site with documentation.
- It is widely used, with 18,101 stars on GitHub.
The facts
| License | Apache‑2.0 |
| What the license allows | You can use, change and ship it, including in paid products. Keep the notice and state your changes. It also grants a patent license. |
| Main language | Jupyter Notebook |
| Stars | 18,101 |
| Topics | gemini, gemini‑api |
| Created | March 13, 2024 |
| Last checked | December 2, 2026 |
Before you use it
- Read the README and the license file in the repo.
- Look at recent issues to see how fast problems get fixed.
- Pin a version instead of always pulling the latest.
- Never paste API keys or customer data into a tool you have not checked.
- Run AI agents in a sandbox or a test project first.
Related repos
Try it in your browser
Today's AI news, one card per swipe.
Free to start.