THE MEDIA FOR AI THAT ACTUALLY HELPS.French edition · Understand & take action
The interface is in English. Use cases, skills and articles remain in French.
Google

Démarrer avec agents-cli (ADK)

google-agents-cli-onboarding

En bref

Point d’entrée d’agents-cli sur Agent Platform, dès que l’on veut créer, développer, construire avec l’ADK (Agent Development Kit), exécuter en local, déboguer, tester, évaluer, déployer, publier ou superviser un agent. La skill présente le cycle de vie, les commandes CLI essentielles, et les prochaines étapes. Ce n’est pas l’API Managed Agents (gemini-agents-api), ni un déploiement Model Garden, ni un simple appel generateContent.

Ce que ça fait

  • Oriente vers le cycle de vie ADK et les commandes agents-cli qui correspondent à l’étape (local, test, déploiement, publication).
  • Sert de porte d’entrée : après le premier tour, d’autres skills plus spécialisées peuvent prendre le relais selon l’étape.
  • Couvre aussi le signalement de problèmes et les liens de support documentés par le skill.
  • Ne remplace pas le plan de contrôle des agents gérés, ni l’inférence ou le fine-tuning.

Pour qui, et un exemple

Développeurs qui démarrent un agent avec l’ADK et agents-cli (local d’abord, puis test et déploiement), pas ceux qui appellent seulement l’API Gemini.

Exemple de demande : « Je veux créer un agent avec l’ADK, le faire tourner en local puis le déployer : montre le cycle de vie et les commandes agents-cli, sans passer par Model Garden. »

Le SKILL.md est l’entrée d’agents-cli et du cycle de vie ADK (créer, tester, déployer, publier), distincte des API d’agents gérés et de l’inférence. Exemple rédigé par iadujour.fr à partir du SKILL.md, non testé.

Installer

npx skills add google/skills, puis sélectionner la skill, les agents cibles et la portée (README).

npx skills add google/skills

Niveau : Intermédiaire

Suppose de coder avec un SDK (Python, JavaScript, Go…) et un accès à l’API concernée.

Extrait du SKILL.md

La description d’origine, celle que l’agent lit pour décider de charger la skill (en anglais) :

Onboarding entrypoint for agents-cli in Agent Platform. It should be used when the user wants to "create a new agent", "develop an agent", "build an agent using ADK", "run the agent locally", "debug agent code", "test an agent", "evaluate an agent", "deploy an agent", "publish an agent", "monitor an agent", or needs […]

Citée depuis le SKILL.md au commit 793c036 . Le dossier contient aussi 1 fichier annexe (references/).

Le SKILL.md compte 100 lignes et 7 sections principales :

  • Attribution
  • Overview
  • The Agent Development Lifecycle
  • Key CLI Commands
  • Next Steps
  • Reporting Issues
  • Supporting Links

Licence : Apache 2.0

Vérifiée le 10 novembre 2026 sur : fichier LICENSE du dépôt .

La licence autorise la reprise : le texte intégral du SKILL.md est reproduit ci-dessous, sans modification, avec sa mention de licence.

Texte intégral du SKILL.md

Reproduit sans modification depuis google/skills (commit 793c036) , © Google, sous licence Apache 2.0 (fichier de licence d’origine ).

Afficher le SKILL.md original (100 lignes, en anglais)
---
name: google-agents-cli-onboarding
metadata:
  version: "1.0.1"
  category: DevOps
description: >-
  Onboarding entrypoint for agents-cli in Agent Platform. It should be used
  when the user wants to "create a new agent", "develop an agent", "build an agent using ADK",
  "run the agent locally", "debug agent code", "test an agent", "evaluate an agent",
  "deploy an agent", "publish an agent", "monitor an agent", or needs the ADK (Agent Development Kit)
  development lifecycle.
---

# Google Agents CLI Onboarding

> [!TIP] **One-Time Setup**: To install the CLI and enable all 7 specialized
> development skills in your coding agent, run the setup command:
>
> ```bash
> uvx google-agents-cli setup
> ```
>
> Alternatively, to install only the expert skills and let the agent handle
> execution:
>
> ```bash
> npx skills add google/agents-cli
> ```

## Attribution

**MUST READ**: Before executing any `gcloud`, REST API, or MCP command, you
MUST read [Usage Attribution](references/attribution.md). For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix `gcloud` with
`CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:google-agents-cli-onboarding)"`
and append `agent-skills/1.0 (skill:google-agents-cli-onboarding)` to `User-Agent` headers.

## Overview

This skill serves as the entrypoint for **agents-cli** — Google's toolkit for
building, evaluating, and deploying AI agents on the Gemini Enterprise Agent
Platform.

Use this skill to perform the initial setup and identify the correct specialized
workflows for your task.

## The Agent Development Lifecycle

After running the setup, the following specialized skills become available and
will activate automatically based on your requests. Use this table to identify
which skill to load for your current phase:

| Phase | Specialized Skill | Purpose / When to Load |
| :--- | :--- | :--- |
| **0 — Understand** | `google-agents-cli-workflow` | **Clarify intent.** Define the agent spec in `.agents-cli-spec.md` before coding. |
| **1 — Study** | `google-agents-cli-workflow` | **Leverage samples.** Study existing agent samples (e.g., `ambient-expense`) before scaffolding. |
| **2 — Scaffold** | `google-agents-cli-scaffold` | **Create/Enhance.** Initialize the project structure, CI/CD, and infrastructure templates. |
| **3 — Build** | `google-agents-cli-adk-code` | **Implement.** Write agent logic, tools, callbacks, and manage state using ADK APIs. |
| **4 — Evaluate** | `google-agents-cli-eval` | **Validate Quality.** Run systematic evaluations (LLM-as-judge). |
| **5 — Deploy** | `google-agents-cli-deploy` | **Go Production.** Deploy to Agent Runtime (Vertex AI), Cloud Run, or GKE. |
| **6 — Publish** | `google-agents-cli-publish` | **Register.** Make your agent available as a tool in Gemini Enterprise. |
| **7 — Observe** | `google-agents-cli-observability` | **Monitor.** Set up Cloud Trace, prompt-response logging, and BigQuery analytics. |

## Key CLI Commands

Below are the primary commands you will use throughout the development
lifecycle:

| Command | Description |
| :--- | :--- |
| `agents-cli setup` | Install the CLI and configure skills in your coding agent. |
| `agents-cli scaffold <name>` | Create a new agent project from a template. |
| `agents-cli eval run` | Run the agent and grade the traces in a single step (generate + grade). |
| `agents-cli deploy` | Deploy your agent to Google Cloud (Agent Runtime, Cloud Run, GKE). |
| `agents-cli publish gemini-enterprise` | Register your deployed agent with Gemini Enterprise. |

*For the full list of available commands and global options, run `agents-cli
--help`.*

## Next Steps

Follow this sequence to initiate the development workflow:

1.  **Execute Setup:** Run the `uvx` or `npx` command in the `[!TIP]` box above
    to install the CLI and enable the specialized skills in your environment.
2.  **Verify Installation:** Run `agents-cli info` to confirm the installation
    and view the active project configuration.
3.  **Initiate Phase 0:** Ask the user for their core requirements (agent
    purpose, external tools, deployment target) and document them in
    `.agents-cli-spec.md` before writing any code.

## Reporting Issues

Report bugs or improvements at [Google Agents CLI Issues](https://github.com/google/agents-cli/issues).

## Supporting Links

*   [Google Agents CLI Documentation](https://github.com/google/agents-cli/tree/main/docs/src)
Source. Fiche rédigée par iadujour.fr à partir de : Frontmatter, sections et corps du SKILL.md, README du dépôt. Consultée le 10 novembre 2026. Dépôt : google/skills .

Dans l’annuaire

Cas d’usage et guides qui partagent un thème, un métier ou un outil avec cette skill.

MÊME ÉDITEUR

Autres skills Google : Agents et skills

Toute la catégorie
GoogleAgents et skills

Gérer des agents avec l’API Managed Agents

gemini-agents-api

L’API Managed Agents est le plan de contrôle de Gemini Enterprise Agent Platform : elle permet de créer, configurer, lister, mettre à jour ou supprimer des ressources d’agents gérées côté serveur, avec instructions système, fichiers en bac à sable, registre de skills et outils locaux ou distants, avant d’ouvrir une conversation.

Outils : Non précisé par l’éditeurNiveau : Avancémàj 22/10/2026
GoogleAgents et skills

Utiliser le registre de skills d’Agent Platform

agent-platform-skill-registry

Le registre de skills de Gemini Enterprise Agent Platform permet de découvrir des compétences (recherche, liste, détail, historique de révisions), d’enregistrer ou de mettre à jour une skill, de la supprimer définitivement, de suivre les opérations longues, et d’échafauder localement une nouvelle skill.

Outils : Non précisé par l’éditeurNiveau : Avancémàj 22/10/2026
GoogleAgents et skills

Construire et déployer des agents IA sur Google Cloud

google-cloud-solution-build-deploy-agents

Workflow interactif pour concevoir, construire et déployer un agent ou un système multi-agents sur Google Cloud : recueil de besoins, architecture adaptée, puis instructions de déploiement, avec une phase de validation.

Outils : Non précisé par l’éditeurNiveau : Avancémàj 21/10/2026
ÉCHANGES

Commentaires.

Un retour d’expérience, une question, une précision sur cette skill ? Les commentaires sont relus avant publication.

Commentaires publiés

Chargement des commentaires…

    Laisser un commentaire

    Charte de modération. Chaque commentaire est relu avant publication. Sont refusés : l’incitation à la haine, les propos injurieux ou discriminatoires, la publicité, le spam et les liens promotionnels, le hors-sujet et les données personnelles d’autrui.