What it does
Sonnet is a programming library from researchers at DeepMind. It helps people build neural networks, the layered models behind modern AI, using Google's TensorFlow toolkit.
It is built around simple, reusable pieces called modules. It ships with common building blocks but leaves training choices to you.
Example notebooks can be tried in Google Colab, a free online coding environment.
Who it's for
Machine learning researchers and developers who work with TensorFlow.
Can I use it without coding?
Developers only. It is a Python library for writing your own AI code. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Mac, Windows, Linux
- Privacy
- Runs on your own device: your data stays with you
- API key
- Not needed
Try it
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (Apache-2.0): Permissive: free to use, change and share, including for business.
- More on staying safe