From f0f22f76f7b5326df2912b2833261fe52fab7c0a Mon Sep 17 00:00:00 2001 From: adk-bot Date: Thu, 9 Apr 2026 20:27:22 +0000 Subject: [PATCH] Update docs for Express Mode Onboarding --- docs/get-started/python.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/get-started/python.md b/docs/get-started/python.md index 690f8893cf..c865ee9ccf 100644 --- a/docs/get-started/python.md +++ b/docs/get-started/python.md @@ -50,6 +50,14 @@ Run the `adk create` command to start a new agent project. adk create my_agent ``` +When you run this command, you will be presented with an interactive prompt to choose a backend for your agent: + +* **Google AI**: This option uses the Gemini API, which requires an API key. +* **Vertex AI**: This option uses Vertex AI, which requires a Google Cloud project. +* **Login with Google**: This option uses your Application Default Credentials (ADC) to authenticate. If you don't have a project set up, it can automatically provision a new Vertex AI project for you using Express Mode. + +For more information on the different backends and how to set them up, see the [Models & Authentication](/agents/models) page. + ### Explore the agent project The created agent project has the following structure, with the `agent.py` @@ -62,6 +70,9 @@ my_agent/ __init__.py ``` +!!! warning "Secure your environment variables" + The `.env` file is created to store secrets like your `GOOGLE_API_KEY`. To prevent accidentally committing these secrets to version control, you should add the `.env` file to your `.gitignore`. + ## Update your agent project The `agent.py` file contains a `root_agent` definition which is the only @@ -151,4 +162,4 @@ upper left corner and type a request. Now that you have ADK installed and your first agent running, try building your own agent with our build guides: -* [Build your agent](/tutorials/) +* [Build your agent](/tutorials/) \ No newline at end of file