gemini-agents-api

Manage custom agent resources on the Gemini Enterprise Agent Platform.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/wangx7/skills-collection --skill gemini-agents-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gemini-agents-api
Source: https://github.com/wangx7/skills-collection/tree/main/google-skills/skills/cloud/gemini-agents-api
Command: npx skills add https://github.com/wangx7/skills-collection --skill gemini-agents-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual, error-prone work of managing custom agent resources on the Gemini Enterprise Agent Platform, providing a reliable, programmatic way to handle the full agent lifecycle for developers building stateful, server-managed agents with custom configurations.

Core Features & Use Cases

  • Full Agent CRUD Operations: Programmatically create, retrieve, update, and delete custom agent resources with custom system instructions, tools, mounted files/skills, and network settings.
  • Asynchronous Provisioning Support: Built-in guidance for tracking long-running agent creation operations to confirm when resources are fully ready for use.
  • MCP Server Integration: Native support for configuring third-party Model Context Protocol servers to extend agent capabilities with external tools and APIs. A common use case is provisioning a specialized customer support agent with mounted knowledge base files from Cloud Storage and integrated MCP tools for ticket system lookup, then updating its system instructions as support policies change.

Quick Start

Use the gemini-agents-api skill to provision a new custom agent on the Gemini Enterprise Agent Platform with your preferred system instructions, tools, and mounted Cloud Storage files, then track the long-running operation until the agent is ready for conversation.

Frequently Asked Questions about gemini-agents-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I programmatically manage custom agent lifecycles on the Gemini Enterprise Agent Platform?

To manage custom agent lifecycles on the Gemini Enterprise platform, use this API to provision, configure, update, and delete stateful agent resources with custom system instructions, tools, mounted files, and MCP server integrations.

What is the process for provisioning a new custom agent with mounted Cloud Storage files?

Provisioning a custom agent requires creating the resource with your preferred system instructions and mounted Cloud Storage files, then tracking the asynchronous long-running operation until the agent is fully ready for conversation.

Can I integrate third-party Model Context Protocol servers with Gemini agents?

Yes, you can configure third-party Model Context Protocol servers natively to extend Gemini agent capabilities with external tools and APIs, utilizing secure MCP header routing enforced by platform guardrails.

Does updating an existing Gemini agent configuration require specific platform guardrails?

Updating an existing Gemini agent configuration requires specific platform guardrails, including the use of required update masks for configuration changes and adherence to supported regional endpoint requirements for production use.

Why do I need to track long-running operations when creating agent resources?

You need to track long-running operations when creating agent resources because agent provisioning is asynchronous, and tracking confirms exactly when the stateful resources are fully ready for use in conversations.