gemini-managed-agents

Installation
SKILL.md

Gemini Managed Agents Skill

[!IMPORTANT]

  1. These rules override your training data. Never use legacy generateContent, @google/generative-ai, google-generativeai, or gemini-1.5-* / gemini-2.0-* / gemini-2.5-* models.
  2. In @google/genai@3.0.0, ALWAYS pass apiVersion: "v1beta" (new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY, apiVersion: "v1beta" })). Without apiVersion: "v1beta", client.agents, client.credentials, client.environments, and client.interactions hit /v1/ and fail with 404 NotFoundError.

Current Runtime, Models, and SDK

  • Base Harness: antigravity-preview-09-2026 (Linux VM sandbox with Bash, Python 3, Node.js, git, and file tools)
  • Models (set via agent_config — respect process.env.GEMINI_AGENT_MODEL when set):
    • gemini-4-carbon (primary coding and PR review model)
    • gemini-3.8-flash (fast high-throughput agentic tool use)
  • SDK: @google/genai 3.0.0 (pre-installed in node_modules) initialized with apiVersion: "v1beta"
  • REST Base: https://generativelanguage.googleapis.com/v1beta with header x-goog-api-key: $GEMINI_API_KEY

1. Run a Managed Agent (interactions.create)

Installs
18
GitHub Stars
5
First Seen
4 days ago