Stay organized with collections
Save and categorize content based on your preferences.
The Google Assistant Library for Python is a turnkey solution for anyone who
wants to quickly integrate the Assistant into a project. The library is
written in Python and is supported on popular hardware such as the
Raspberry Pi 3.
Get started
Once you have your hardware, read on to learn how to get the Google Assistant
running on it!
Embed the Google Assistant
This section gets the Google Assistant Library working on your project:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe Google Assistant Library for Python is deprecated and the Google Assistant Service should be used instead.\u003c/p\u003e\n"],["\u003cp\u003eThis library offers a turnkey solution for integrating the Assistant into projects, particularly on hardware like the Raspberry Pi 3.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can embed the Assistant by following a series of setup steps, including hardware configuration, audio testing, and device registration.\u003c/p\u003e\n"],["\u003cp\u003eThe library can be extended to include Device Actions, enabling custom commands and interactions.\u003c/p\u003e\n"]]],[],null,["| **Warning:** The Google Assistant Library for Python is deprecated as of June 28th, 2019. Use the [Google Assistant Service](/assistant/sdk/guides/service/python) instead.\n\n\u003cbr /\u003e\n\nThe Google Assistant Library for Python is a turnkey solution for anyone who\nwants to quickly integrate the Assistant into a project. The library is\nwritten in Python and is supported on popular hardware such as the\nRaspberry Pi 3.\n| **Note:** Refer to the [Compatibility and feature support](/assistant/sdk/overview#features) table to see the differences between the Google Assistant Library and the [service](/assistant/sdk/guides/service/python).\n\nGet started\n\nOnce you have your hardware, read on to learn how to get the Google Assistant\nrunning on it!\n\nEmbed the Google Assistant\n\nThis section gets the Google Assistant Library working on your project:\n\n1. [Set Up Hardware and Network Access](/assistant/sdk/guides/library/python/embed/setup)\n2. [Configure and Test the Audio](/assistant/sdk/guides/library/python/embed/audio)\n3. [Configure a Developer Project and Account Settings](/assistant/sdk/guides/library/python/embed/config-dev-project-and-account)\n4. [Register the Device Model](/assistant/sdk/guides/library/python/embed/register-device)\n5. [Install the SDK and Sample Code](/assistant/sdk/guides/library/python/embed/install-sample)\n6. [Run the Sample Code](/assistant/sdk/guides/library/python/embed/run-sample)\n7. [Next Steps](/assistant/sdk/guides/library/python/embed/next-steps)\n\nExtend the Google Assistant\n\nThis section extends the Google Assistant Library to include\n[Device Actions](/assistant/sdk/device-actions-overview):\n\n1. [Install Hardware](/assistant/sdk/guides/library/python/extend/install-hardware)\n2. [Register Traits](/assistant/sdk/guides/library/python/extend/register-device-traits)\n3. [Handle Commands](/assistant/sdk/guides/library/python/extend/handle-device-commands)\n4. [Add More Traits and Handlers](/assistant/sdk/guides/library/python/extend/add-trait-and-handler)\n5. [Register Custom Device Actions](/assistant/sdk/guides/library/python/extend/custom-actions)"]]