Skip to content

🚀 Getting Started

This guide quickly walks you through setting up your first agent project.

Want zero setup? 👉 Try in Firebase Studio or in Cloud Shell

Prerequisites

Python 3.10+ (or Go 1.21+ for Go templates, or Node.js 20+ for TypeScript templates) | Google Cloud SDK Install Guide | Terraform Install Guide | uv (Recommended) Install Guide

1. Create Your Agent Project

bash
# Single command - no install needed
uvx agent-starter-pack create
bash
# Create and activate a virtual environment
# On Windows use: .venv\Scripts\activate
python -m venv .venv && source .venv/bin/activate

# Install and run
pip install agent-starter-pack
agent-starter-pack create

No matter which method you choose, the create command will:

  • Let you choose an agent template (e.g., adk, adk_go, adk_ts, agentic_rag).
  • Let you select a deployment target (e.g., cloud_run, agent_engine).
  • Generate a complete project structure (backend, optional frontend, deployment infra).

Examples:

bash
# Python agent with Agent Engine
agent-starter-pack create my-adk-agent -a adk -d agent_engine

# Go agent with Cloud Run
agent-starter-pack create my-go-agent -a adk_go -d cloud_run

# TypeScript agent with Cloud Run
agent-starter-pack create my-ts-agent -a adk_ts -d cloud_run

2. Explore and Run Locally

Now, navigate into your new project and run its setup commands.

bash
cd <your-project> && make install && make playground

Inside your new project directory, you'll find:

  • app/ (Python/TypeScript) or agent/ (Go): Backend agent code.
  • deployment/: Terraform infrastructure code.
  • tests/ (Python/TypeScript) or e2e/ (Go): Unit and integration tests.
  • notebooks/: (Python only) Jupyter notebooks for evaluation.
  • frontend/: (If applicable) Web UI for interacting with your agent.
  • README.md: Project-specific instructions for running locally and deploying.

➡️ Follow the instructions in your new project's README.md to run it locally.

Next Steps

See the Development Guide for the full workflow, or jump to:


Command Cheatsheet

Quick reference for all available commands.

Project Setup

CommandWhat It Does
uvx agent-starter-pack createScaffold a production-ready AI agent in seconds (Python/Go/TypeScript/Java)
uvx agent-starter-pack enhanceAdd CI/CD pipelines and Terraform infrastructure to existing projects
uvx agent-starter-pack setup-cicdOne-command setup of entire CI/CD pipeline + infrastructure

Development Workflow

CommandWhat It Does
make installInstall all dependencies
make playgroundLaunch interactive local playground with live reload
make lintRun code quality checks
make testRun unit + integration tests

Deployment

CommandWhat It Does
make deployDeploy your agent to Google Cloud (Agent Engine or Cloud Run) in one command
make setup-dev-envProvision infrastructure using Terraform
make register-gemini-enterpriseIntegrate with Gemini Enterprise - make your agent available to your org

Maintenance & Sharing

CommandWhat It Does
uvx agent-starter-pack upgradeAuto-upgrade to latest version while preserving your customizations
uvx agent-starter-pack extractExtract a minimal, shareable agent from your project
uvx agent-starter-pack listBrowse available templates

See Agent Templates Overview for all available templates.

Released under the Apache 2.0 License.