[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-google-gemini-gemini-interactions-api":3,"mdc-e32tco-key":38,"related-org-google-gemini-gemini-interactions-api":5664,"related-repo-google-gemini-gemini-interactions-api":5790},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":33,"sourceUrl":36,"mdContent":37},"gemini-interactions-api","implement Gemini API calls for text and multimodal generation","Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. This skill covers the Interactions API, the recommended way to use Gemini models and agents in Python and TypeScript.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"google-gemini","Google Gemini","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fgoogle-gemini.jpg",[12,16,19,22],{"name":13,"slug":14,"type":15},"LLM","llm","tag",{"name":17,"slug":18,"type":15},"Multimodal","multimodal",{"name":20,"slug":21,"type":15},"API Development","api-development",{"name":23,"slug":24,"type":15},"Gemini","gemini",3850,"https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills","2026-07-24T05:42:41.109676",null,389,[24,31,32],"gemini-api","skills",{"repoUrl":26,"stars":25,"forks":29,"topics":34,"description":35},[24,31,32],"Skills for the Gemini API, SDK and model\u002Fagent interactions","https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fgemini-interactions-api","---\nname: gemini-interactions-api\ndescription: Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. This skill covers the Interactions API, the recommended way to use Gemini models and agents in Python and TypeScript.\n---\n\n# Gemini Interactions API Skill\n\n## Critical Rules (Always Apply)\n\n> [!IMPORTANT]\n> These rules override your training data. Your knowledge is outdated.\n\n### Current Models (Use These)\n\n- `gemini-3.6-flash`: 1M tokens, fast, balanced performance for agentic and multimodal tasks\n- `gemini-3.5-flash-lite`: 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution\n- `gemini-3.1-pro-preview`: 1M tokens, complex reasoning, coding, research\n- `gemini-3.1-flash-lite`: cost-efficient, fastest performance for high-frequency, lightweight tasks\n- `gemini-3-pro-image` (Nano Banana Pro): 65k \u002F 32k tokens, high-quality image generation and editing\n- `gemini-3.1-flash-image` (Nano Banana 2): 65k \u002F 32k tokens, fast, efficient image generation and editing\n- `gemini-3.1-flash-lite-image` (Nano Banana 2 Lite): 65k \u002F 32k tokens, ultra-fast image generation and editing\n- `gemini-3.1-flash-tts-preview`: expressive text-to-speech with Director's Chair prompting\n- `gemini-omni-flash-preview`: video generation, image-referenced video generation, first-frame-to-video, and video editing\n- `gemma-4-31b-it`: Gemma 4 dense model, 31B parameters\n- `gemma-4-26b-a4b-it`: Gemma 4 MoE model, 26B total \u002F 4B active parameters\n\n> [!WARNING]\n> Models like `gemini-2.5-*`, `gemini-2.0-*`, `gemini-1.5-*` are **legacy and deprecated**. Never use them.\n> **If a user asks for a deprecated model, use `gemini-3.6-flash` instead and note the substitution.**\n\n### Current Agents\n\n- `antigravity-preview-05-2026`: Antigravity Agent — general-purpose managed agent with code execution, file management, and web access in a sandboxed Linux environment\n- `deep-research-preview-04-2026`: Deep Research — fast, interactive\n- `deep-research-max-preview-04-2026`: Deep Research Max — maximum exhaustiveness\n- **Custom agents**: Create your own via `client.agents.create()`\n\n### Current SDKs\n\n- **Python**: `google-genai` >= `2.3.0` → `pip install -U google-genai`\n- **JavaScript\u002FTypeScript**: `@google\u002Fgenai` >= `2.3.0` → `npm install @google\u002Fgenai`\n\n> [!NOTE]\n> SDK versions ≥ 2.0.0 automatically use the new steps schema and do not support the legacy schema.\n> Legacy SDKs `google-generativeai` (Python) and `@google\u002Fgenerative-ai` (JS) are **deprecated**. Never use them.\n\n## Important Additional Notes\n\n- **Before writing any code**, you MUST fetch the relevant documentation page from the list below that matches the user's task. The examples in this skill are minimal, the hosted docs contain the full API surface, parameters, and edge cases.\n- Interactions are **stored by default** (`store=true`). Paid tier retains for 55 days, free tier for 1 day.\n- Set `store=false` to opt out, but this disables `previous_interaction_id` and `background=true`.\n- `tools`, `system_instruction`, and `generation_config` are **interaction-scoped**, re-specify them each turn.\n- **Managed agents** require `environment=\"remote\"` (or an environment ID \u002F config object) to provision a sandbox.\n- **Migrating from `generateContent`**: Read `references\u002Fmigration.md` for the scoping, checklist, and before\u002Fafter code examples. Always confirm scope with the user before editing.\n- **Model upgrades**: Drop-in, swap the model string. Deprecated models (`gemini-2.0-*`, `gemini-1.5-*`) must be replaced, see `references\u002Fmigration.md`.\n- **Migrating to Gemini 3.6 Flash or Gemini 3.5 Flash-Lite**: Read `references\u002Fmigration.md` for the scoping and checklist.\n\n## Quick Start\n\n### Python\n```python\nfrom google import genai\n\nclient = genai.Client()\n\ninteraction = client.interactions.create(\n    model=\"gemini-3.6-flash\",\n    input=\"Tell me a short joke about programming.\"\n)\nprint(interaction.output_text)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\nconst interaction = await client.interactions.create({\n    model: \"gemini-3.6-flash\",\n    input: \"Tell me a short joke about programming.\",\n});\nconsole.log(interaction.output_text);\n```\n\n## Response Helpers\n\nThe SDK provides convenience properties on the `Interaction` response object to simplify common access patterns:\n\n| Property | Type | Description |\n|---|---|---|\n| `output_text` | `string \\| null` | The last consecutive run of text from the trailing `model_output` steps. Returns the combined text when the model's final output contains multiple text parts. |\n| `output_image` | `Image \\| null` | The last image generated by the model in the current response. Returns an object with `data` (base64) and `mime_type`. |\n| `output_audio` | `Audio \\| null` | The last audio generated by the model in the current response. Returns an object with `data` (base64) and `mime_type`. |\n\n## Stateful Conversation\n\n### Python\n```python\ninteraction1 = client.interactions.create(\n    model=\"gemini-3.6-flash\",\n    input=\"Hi, my name is Phil.\"\n)\n# Second turn — server remembers context\ninteraction2 = client.interactions.create(\n    model=\"gemini-3.6-flash\",\n    input=\"What is my name?\",\n    previous_interaction_id=interaction1.id\n)\nprint(interaction2.output_text)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nconst interaction1 = await client.interactions.create({\n    model: \"gemini-3.6-flash\",\n    input: \"Hi, my name is Phil.\",\n});\nconst interaction2 = await client.interactions.create({\n    model: \"gemini-3.6-flash\",\n    input: \"What is my name?\",\n    previous_interaction_id: interaction1.id,\n});\nconsole.log(interaction2.output_text);\n```\n\n## Deep Research Agent\n\nUse `deep-research-preview-04-2026` for fast research or `deep-research-max-preview-04-2026` for maximum exhaustiveness. Agents require `background=True`.\n\n### Python\n```python\nimport time\n\ninteraction = client.interactions.create(\n    agent=\"deep-research-preview-04-2026\",\n    input=\"Research the history of Google TPUs.\",\n    background=True\n)\nwhile True:\n    interaction = client.interactions.get(interaction.id)\n    if interaction.status == \"completed\":\n        print(interaction.output_text)\n        break\n    elif interaction.status == \"failed\":\n        print(f\"Failed: {interaction.error}\")\n        break\n    time.sleep(10)\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\n\u002F\u002F Start background research\nconst initialInteraction = await client.interactions.create({\n    agent: \"deep-research-preview-04-2026\",\n    input: \"Research the history of Google TPUs.\",\n    background: true,\n});\n\n\u002F\u002F Poll for results\nwhile (true) {\n    const interaction = await client.interactions.get(initialInteraction.id);\n    if (interaction.status === \"completed\") {\n        console.log(interaction.output_text);\n        break;\n    } else if ([\"failed\", \"cancelled\"].includes(interaction.status)) {\n        console.log(`Failed: ${interaction.status}`);\n        break;\n    }\n    await new Promise(resolve => setTimeout(resolve, 10000));\n}\n```\n\nAdvanced features: collaborative planning, native visualization, MCP integration, file search, multimodal inputs. See [Deep Research docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdeep-research.md.txt).\n\n## Managed Agents\n\nManaged agents run inside a sandboxed Linux environment hosted by Google. Fetch the [Managed Agents Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmanaged-agents-quickstart.md.txt) before writing agent code.\n\n### Antigravity Agent\n\nThe Antigravity agent (`antigravity-preview-05-2026`) is the general-purpose managed agent. It can execute code (Bash, Python, Node.js), manage files, browse the web, and use Google Search. See [Antigravity Agent docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fantigravity-agent.md.txt) for capabilities, tools, multimodal input, and pricing.\n\n#### Python\n```python\nfrom google import genai\n\nclient = genai.Client()\n\ninteraction = client.interactions.create(\n    agent=\"antigravity-preview-05-2026\",\n    input=\"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n    environment=\"remote\",\n)\n\nprint(f\"Environment ID: {interaction.environment_id}\")\nprint(interaction.output_text)\n```\n\n#### JavaScript\u002FTypeScript\n```typescript\nimport { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\nconst interaction = await client.interactions.create({\n    agent: \"antigravity-preview-05-2026\",\n    input: \"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n    environment: \"remote\",\n});\n\nconsole.log(`Environment ID: {interaction.environment_id}`);\nconsole.log(interaction.output_text);\n```\n\n### Custom Agents\n\nSee [Building Custom Agents docs](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fcustom-agents.md.txt).\n\n#### Python\n```python\nagent = client.agents.create(\n    id=\"code-reviewer\",\n    base_agent=\"antigravity-preview-05-2026\",\n    system_instruction=\"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n    base_environment={\n        \"type\": \"remote\",\n        \"sources\": [\n            {\n                \"type\": \"repository\",\n                \"source\": \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n                \"target\": \"\u002Fworkspace\u002Frepo\",\n            }\n        ],\n    },\n)\n\n# Invoke — each call forks the base environment\nresult = client.interactions.create(\n    agent=\"code-reviewer\",\n    input=\"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n    environment=\"remote\",\n)\nprint(result.output_text)\n```\n\n#### JavaScript\u002FTypeScript\n```typescript\nconst agent = await client.agents.create({\n    id: \"code-reviewer\",\n    base_agent=\"antigravity-preview-05-2026\",\n    system_instruction: \"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n    base_environment: {\n        type: \"remote\",\n        sources: [\n            {\n                type: \"repository\",\n                source: \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n                target: \"\u002Fworkspace\u002Frepo\",\n            }\n        ],\n    },\n});\n\nconst result = await client.interactions.create({\n    agent: \"code-reviewer\",\n    input: \"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n    environment: \"remote\",\n});\nconsole.log(result.output_text);\n```\n\nManage agents with `client.agents.list()`, `client.agents.get(id=...)`, and `client.agents.delete(id=...)`.\n\n## Streaming\n\nSet `stream=True` to receive incremental server-sent events. Each stream follows: `interaction.created` → (`step.start` → `step.delta`(s) → `step.stop`)+ → `interaction.completed`.\n\n### Python\n```python\nfor event in client.interactions.create(\n    model=\"gemini-3.6-flash\",\n    input=\"Explain quantum entanglement in simple terms.\",\n    stream=True,\n):\n    if event.event_type == \"step.delta\":\n        if event.delta.type == \"text\":\n            print(event.delta.text, end=\"\", flush=True)\n    elif event.event_type == \"interaction.completed\":\n        print(f\"\\n\\nTotal Tokens: {event.interaction.usage.total_tokens}\")\n```\n\n### JavaScript\u002FTypeScript\n```typescript\nconst stream = await client.interactions.create({\n    model: \"gemini-3.6-flash\",\n    input: \"Explain quantum entanglement in simple terms.\",\n    stream: true,\n});\nfor await (const event of stream) {\n    if (event.event_type === \"step.delta\") {\n        if (event.delta.type === \"text\") {\n            process.stdout.write(event.delta.text);\n        }\n    } else if (event.event_type === \"interaction.completed\") {\n        console.log(`\\n\\nTotal Tokens: ${event.interaction.usage.total_tokens}`);\n    }\n}\n```\n\nFor streaming with tools, thinking, agents, and image generation see the full [Streaming guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstreaming.md.txt).\n\n\n\n## Documentation Pages\n\n**You MUST fetch the matching page below before writing code.** These hosted docs are the source of truth for parameters, types, and edge cases — do not rely solely on the examples above.\n\n**Core Documentation:**\n- [Interactions API Overview](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions.md.txt)\n- [Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fquickstart.md.txt)\n- [Text Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftext-generation.md.txt)\n- [Streaming](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstreaming.md.txt)\n- [Tokens](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftokens.md.txt)\n- [API Keys](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fapi-key.md.txt)\n\n**Tools & Function Calling:**\n- [Function Calling](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffunction-calling.md.txt)\n- [Google Search](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fgoogle-search.md.txt)\n- [Code Execution](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcode-execution.md.txt)\n- [URL Context](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Furl-context.md.txt)\n- [File Search](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffile-search.md.txt)\n- [Tool Combination](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftool-combination.md.txt)\n- [Computer Use](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcomputer-use.md.txt)\n- [Maps Grounding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmaps-grounding.md.txt)\n\n**Generation & Output:**\n- [Structured Output](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstructured-output.md.txt)\n- [Thinking](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fthinking.md.txt)\n- [Thought Signatures](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fthought-signatures.md.txt)\n- [Image Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fimage-generation.md.txt)\n- [Image Understanding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fimage-understanding.md.txt)\n- [Speech Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fspeech-generation.md.txt)\n- [Music Generation](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmusic-generation.md.txt)\n\n**Multimodal Understanding:**\n- [Audio](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Faudio.md.txt)\n- [Video Understanding](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fvideo-understanding.md.txt)\n- [Document Processing](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdocument-processing.md.txt)\n\n**Files & Context:**\n- [Files](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffiles.md.txt)\n- [File Input Methods](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffile-input-methods.md.txt)\n- [Caching](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcaching.md.txt)\n- [Media Resolution](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmedia-resolution.md.txt)\n\n**Agents:**\n- [Agents Overview](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fagents.md.txt)\n- [Managed Agents Quickstart](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmanaged-agents-quickstart.md.txt)\n- [Antigravity Agent](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fantigravity-agent.md.txt)\n- [Agent Environments](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fagent-environment.md.txt)\n- [Building Custom Agents](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fcustom-agents.md.txt)\n- [Deep Research](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdeep-research.md.txt)\n\n**Advanced Features:**\n- [Latest Models (3.6 Flash & 3.5 Flash-Lite)](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Flatest-model.md.txt)\n- [Flex Inference](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fflex-inference.md.txt)\n- [Priority Inference](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fpriority-inference.md.txt)\n\n**API Reference:**\n- [API Reference](https:\u002F\u002Fai.google.dev\u002Fstatic\u002Fapi\u002Finteractions.md.txt)\n- [OpenAPI Spec](https:\u002F\u002Fai.google.dev\u002Fstatic\u002Fapi\u002Finteractions.openapi.json)\n- [May 2026 Breaking Changes Migration Guide](https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions-breaking-changes-may-2026.md.txt)\n\n## Data Model\n\nAn `Interaction` response contains `steps`, an array of typed step objects representing a structured timeline of the interaction turn.\n\n### Step Types\n\n**User steps:**\n- `user_input`: User input (text, audio, multimodal). Contains `content` array.\n\n**Model\u002Fserver steps:**\n- `model_output`: Final model generation. Contains `content` array with `text`, `image`, `audio`, etc.\n- `thought`: Model reasoning\u002FChain of Thought. Has `signature` field (required) and optional `summary`.\n- `function_call`: Tool call request (`id`, `name`, `arguments`).\n- `function_result`: Tool result you send back (`call_id`, `name`, `result`).\n- `google_search_call` \u002F `google_search_result`: Google Search tool steps, can have a `signature` field.\n- `code_execution_call` \u002F `code_execution_result`: Code execution tool steps, can have a `signature` field.\n- `url_context_call` \u002F `url_context_result`: URL context tool steps, can have a `signature` field.\n- `mcp_server_tool_call` \u002F `mcp_server_tool_result`: Remote MCP tool steps.\n- `file_search_call` \u002F `file_search_result`: File search tool steps, can have a `signature` field.\n\n### Content types (inside `content` array on `model_output` and `user_input` steps)\n- `text`: Text content (`text` field)\n- `image` \u002F `audio` \u002F `document` \u002F `video`: Content with `data`, `mime_type`, or `uri`\n\n### Streaming Event Types\n\n| Event | Description |\n|---|---|\n| `interaction.created` | Interaction created; includes metadata. |\n| `interaction.status_update` | Interaction-level status change. |\n| `step.start` | A new step begins. Contains step `type` and initial metadata. |\n| `step.delta` | Incremental data for the current step. Contains a typed `delta` object. |\n| `step.stop` | The step is complete. Contains `index`. |\n| `interaction.completed` | Interaction finished. Contains final `usage`. |\n\n### Delta Types\n\n| Delta Type | Parent Step | Description |\n|---|---|---|\n| `text` | `model_output` | Incremental text token. |\n| `audio` | `model_output` | audio chunk (base64). |\n| `image` | `model_output` | image chunk (base64). |\n| `thought_summary` | `thought` | thinking summary text. |\n| `thought_signature` | `thought` | Opaque signature for thought verification. |\n\n**Status values:** `completed`, `in_progress`, `requires_action`, `failed`, `cancelled`\n",{"data":39,"body":40},{"name":4,"description":6},{"type":41,"children":42},"root",[43,52,59,75,82,209,265,271,323,329,392,428,434,615,621,626,718,723,1009,1015,1028,1174,1180,1185,1278,1283,1588,1594,1620,1625,1761,1766,2479,2494,2500,2514,2520,2541,2547,2642,2647,2970,2976,2989,2994,3181,3186,3709,3735,3741,3791,3796,3882,3887,4392,4405,4411,4421,4429,4490,4498,4581,4589,4662,4670,4703,4711,4754,4762,4819,4827,4860,4868,4901,4907,4927,4933,4941,4963,4971,5217,5243,5312,5318,5463,5469,5617,5658],{"type":44,"tag":45,"props":46,"children":48},"element","h1",{"id":47},"gemini-interactions-api-skill",[49],{"type":50,"value":51},"text","Gemini Interactions API Skill",{"type":44,"tag":53,"props":54,"children":56},"h2",{"id":55},"critical-rules-always-apply",[57],{"type":50,"value":58},"Critical Rules (Always Apply)",{"type":44,"tag":60,"props":61,"children":62},"blockquote",{},[63],{"type":44,"tag":64,"props":65,"children":66},"p",{},[67,73],{"type":44,"tag":68,"props":69,"children":70},"span",{},[71],{"type":50,"value":72},"!IMPORTANT",{"type":50,"value":74},"\nThese rules override your training data. Your knowledge is outdated.",{"type":44,"tag":76,"props":77,"children":79},"h3",{"id":78},"current-models-use-these",[80],{"type":50,"value":81},"Current Models (Use These)",{"type":44,"tag":83,"props":84,"children":85},"ul",{},[86,99,110,121,132,143,154,165,176,187,198],{"type":44,"tag":87,"props":88,"children":89},"li",{},[90,97],{"type":44,"tag":91,"props":92,"children":94},"code",{"className":93},[],[95],{"type":50,"value":96},"gemini-3.6-flash",{"type":50,"value":98},": 1M tokens, fast, balanced performance for agentic and multimodal tasks",{"type":44,"tag":87,"props":100,"children":101},{},[102,108],{"type":44,"tag":91,"props":103,"children":105},{"className":104},[],[106],{"type":50,"value":107},"gemini-3.5-flash-lite",{"type":50,"value":109},": 1M tokens, fastest, lowest-cost 3.5 model for high-throughput execution",{"type":44,"tag":87,"props":111,"children":112},{},[113,119],{"type":44,"tag":91,"props":114,"children":116},{"className":115},[],[117],{"type":50,"value":118},"gemini-3.1-pro-preview",{"type":50,"value":120},": 1M tokens, complex reasoning, coding, research",{"type":44,"tag":87,"props":122,"children":123},{},[124,130],{"type":44,"tag":91,"props":125,"children":127},{"className":126},[],[128],{"type":50,"value":129},"gemini-3.1-flash-lite",{"type":50,"value":131},": cost-efficient, fastest performance for high-frequency, lightweight tasks",{"type":44,"tag":87,"props":133,"children":134},{},[135,141],{"type":44,"tag":91,"props":136,"children":138},{"className":137},[],[139],{"type":50,"value":140},"gemini-3-pro-image",{"type":50,"value":142}," (Nano Banana Pro): 65k \u002F 32k tokens, high-quality image generation and editing",{"type":44,"tag":87,"props":144,"children":145},{},[146,152],{"type":44,"tag":91,"props":147,"children":149},{"className":148},[],[150],{"type":50,"value":151},"gemini-3.1-flash-image",{"type":50,"value":153}," (Nano Banana 2): 65k \u002F 32k tokens, fast, efficient image generation and editing",{"type":44,"tag":87,"props":155,"children":156},{},[157,163],{"type":44,"tag":91,"props":158,"children":160},{"className":159},[],[161],{"type":50,"value":162},"gemini-3.1-flash-lite-image",{"type":50,"value":164}," (Nano Banana 2 Lite): 65k \u002F 32k tokens, ultra-fast image generation and editing",{"type":44,"tag":87,"props":166,"children":167},{},[168,174],{"type":44,"tag":91,"props":169,"children":171},{"className":170},[],[172],{"type":50,"value":173},"gemini-3.1-flash-tts-preview",{"type":50,"value":175},": expressive text-to-speech with Director's Chair prompting",{"type":44,"tag":87,"props":177,"children":178},{},[179,185],{"type":44,"tag":91,"props":180,"children":182},{"className":181},[],[183],{"type":50,"value":184},"gemini-omni-flash-preview",{"type":50,"value":186},": video generation, image-referenced video generation, first-frame-to-video, and video editing",{"type":44,"tag":87,"props":188,"children":189},{},[190,196],{"type":44,"tag":91,"props":191,"children":193},{"className":192},[],[194],{"type":50,"value":195},"gemma-4-31b-it",{"type":50,"value":197},": Gemma 4 dense model, 31B parameters",{"type":44,"tag":87,"props":199,"children":200},{},[201,207],{"type":44,"tag":91,"props":202,"children":204},{"className":203},[],[205],{"type":50,"value":206},"gemma-4-26b-a4b-it",{"type":50,"value":208},": Gemma 4 MoE model, 26B total \u002F 4B active parameters",{"type":44,"tag":60,"props":210,"children":211},{},[212],{"type":44,"tag":64,"props":213,"children":214},{},[215,220,222,228,230,236,237,243,245,251,253],{"type":44,"tag":68,"props":216,"children":217},{},[218],{"type":50,"value":219},"!WARNING",{"type":50,"value":221},"\nModels like ",{"type":44,"tag":91,"props":223,"children":225},{"className":224},[],[226],{"type":50,"value":227},"gemini-2.5-*",{"type":50,"value":229},", ",{"type":44,"tag":91,"props":231,"children":233},{"className":232},[],[234],{"type":50,"value":235},"gemini-2.0-*",{"type":50,"value":229},{"type":44,"tag":91,"props":238,"children":240},{"className":239},[],[241],{"type":50,"value":242},"gemini-1.5-*",{"type":50,"value":244}," are ",{"type":44,"tag":246,"props":247,"children":248},"strong",{},[249],{"type":50,"value":250},"legacy and deprecated",{"type":50,"value":252},". Never use them.\n",{"type":44,"tag":246,"props":254,"children":255},{},[256,258,263],{"type":50,"value":257},"If a user asks for a deprecated model, use ",{"type":44,"tag":91,"props":259,"children":261},{"className":260},[],[262],{"type":50,"value":96},{"type":50,"value":264}," instead and note the substitution.",{"type":44,"tag":76,"props":266,"children":268},{"id":267},"current-agents",[269],{"type":50,"value":270},"Current Agents",{"type":44,"tag":83,"props":272,"children":273},{},[274,285,296,307],{"type":44,"tag":87,"props":275,"children":276},{},[277,283],{"type":44,"tag":91,"props":278,"children":280},{"className":279},[],[281],{"type":50,"value":282},"antigravity-preview-05-2026",{"type":50,"value":284},": Antigravity Agent — general-purpose managed agent with code execution, file management, and web access in a sandboxed Linux environment",{"type":44,"tag":87,"props":286,"children":287},{},[288,294],{"type":44,"tag":91,"props":289,"children":291},{"className":290},[],[292],{"type":50,"value":293},"deep-research-preview-04-2026",{"type":50,"value":295},": Deep Research — fast, interactive",{"type":44,"tag":87,"props":297,"children":298},{},[299,305],{"type":44,"tag":91,"props":300,"children":302},{"className":301},[],[303],{"type":50,"value":304},"deep-research-max-preview-04-2026",{"type":50,"value":306},": Deep Research Max — maximum exhaustiveness",{"type":44,"tag":87,"props":308,"children":309},{},[310,315,317],{"type":44,"tag":246,"props":311,"children":312},{},[313],{"type":50,"value":314},"Custom agents",{"type":50,"value":316},": Create your own via ",{"type":44,"tag":91,"props":318,"children":320},{"className":319},[],[321],{"type":50,"value":322},"client.agents.create()",{"type":44,"tag":76,"props":324,"children":326},{"id":325},"current-sdks",[327],{"type":50,"value":328},"Current SDKs",{"type":44,"tag":83,"props":330,"children":331},{},[332,364],{"type":44,"tag":87,"props":333,"children":334},{},[335,340,342,348,350,356,358],{"type":44,"tag":246,"props":336,"children":337},{},[338],{"type":50,"value":339},"Python",{"type":50,"value":341},": ",{"type":44,"tag":91,"props":343,"children":345},{"className":344},[],[346],{"type":50,"value":347},"google-genai",{"type":50,"value":349}," >= ",{"type":44,"tag":91,"props":351,"children":353},{"className":352},[],[354],{"type":50,"value":355},"2.3.0",{"type":50,"value":357}," → ",{"type":44,"tag":91,"props":359,"children":361},{"className":360},[],[362],{"type":50,"value":363},"pip install -U google-genai",{"type":44,"tag":87,"props":365,"children":366},{},[367,372,373,379,380,385,386],{"type":44,"tag":246,"props":368,"children":369},{},[370],{"type":50,"value":371},"JavaScript\u002FTypeScript",{"type":50,"value":341},{"type":44,"tag":91,"props":374,"children":376},{"className":375},[],[377],{"type":50,"value":378},"@google\u002Fgenai",{"type":50,"value":349},{"type":44,"tag":91,"props":381,"children":383},{"className":382},[],[384],{"type":50,"value":355},{"type":50,"value":357},{"type":44,"tag":91,"props":387,"children":389},{"className":388},[],[390],{"type":50,"value":391},"npm install @google\u002Fgenai",{"type":44,"tag":60,"props":393,"children":394},{},[395],{"type":44,"tag":64,"props":396,"children":397},{},[398,403,405,411,413,419,421,426],{"type":44,"tag":68,"props":399,"children":400},{},[401],{"type":50,"value":402},"!NOTE",{"type":50,"value":404},"\nSDK versions ≥ 2.0.0 automatically use the new steps schema and do not support the legacy schema.\nLegacy SDKs ",{"type":44,"tag":91,"props":406,"children":408},{"className":407},[],[409],{"type":50,"value":410},"google-generativeai",{"type":50,"value":412}," (Python) and ",{"type":44,"tag":91,"props":414,"children":416},{"className":415},[],[417],{"type":50,"value":418},"@google\u002Fgenerative-ai",{"type":50,"value":420}," (JS) are ",{"type":44,"tag":246,"props":422,"children":423},{},[424],{"type":50,"value":425},"deprecated",{"type":50,"value":427},". Never use them.",{"type":44,"tag":53,"props":429,"children":431},{"id":430},"important-additional-notes",[432],{"type":50,"value":433},"Important Additional Notes",{"type":44,"tag":83,"props":435,"children":436},{},[437,447,467,496,528,546,570,599],{"type":44,"tag":87,"props":438,"children":439},{},[440,445],{"type":44,"tag":246,"props":441,"children":442},{},[443],{"type":50,"value":444},"Before writing any code",{"type":50,"value":446},", you MUST fetch the relevant documentation page from the list below that matches the user's task. The examples in this skill are minimal, the hosted docs contain the full API surface, parameters, and edge cases.",{"type":44,"tag":87,"props":448,"children":449},{},[450,452,457,459,465],{"type":50,"value":451},"Interactions are ",{"type":44,"tag":246,"props":453,"children":454},{},[455],{"type":50,"value":456},"stored by default",{"type":50,"value":458}," (",{"type":44,"tag":91,"props":460,"children":462},{"className":461},[],[463],{"type":50,"value":464},"store=true",{"type":50,"value":466},"). Paid tier retains for 55 days, free tier for 1 day.",{"type":44,"tag":87,"props":468,"children":469},{},[470,472,478,480,486,488,494],{"type":50,"value":471},"Set ",{"type":44,"tag":91,"props":473,"children":475},{"className":474},[],[476],{"type":50,"value":477},"store=false",{"type":50,"value":479}," to opt out, but this disables ",{"type":44,"tag":91,"props":481,"children":483},{"className":482},[],[484],{"type":50,"value":485},"previous_interaction_id",{"type":50,"value":487}," and ",{"type":44,"tag":91,"props":489,"children":491},{"className":490},[],[492],{"type":50,"value":493},"background=true",{"type":50,"value":495},".",{"type":44,"tag":87,"props":497,"children":498},{},[499,505,506,512,514,520,521,526],{"type":44,"tag":91,"props":500,"children":502},{"className":501},[],[503],{"type":50,"value":504},"tools",{"type":50,"value":229},{"type":44,"tag":91,"props":507,"children":509},{"className":508},[],[510],{"type":50,"value":511},"system_instruction",{"type":50,"value":513},", and ",{"type":44,"tag":91,"props":515,"children":517},{"className":516},[],[518],{"type":50,"value":519},"generation_config",{"type":50,"value":244},{"type":44,"tag":246,"props":522,"children":523},{},[524],{"type":50,"value":525},"interaction-scoped",{"type":50,"value":527},", re-specify them each turn.",{"type":44,"tag":87,"props":529,"children":530},{},[531,536,538,544],{"type":44,"tag":246,"props":532,"children":533},{},[534],{"type":50,"value":535},"Managed agents",{"type":50,"value":537}," require ",{"type":44,"tag":91,"props":539,"children":541},{"className":540},[],[542],{"type":50,"value":543},"environment=\"remote\"",{"type":50,"value":545}," (or an environment ID \u002F config object) to provision a sandbox.",{"type":44,"tag":87,"props":547,"children":548},{},[549,560,562,568],{"type":44,"tag":246,"props":550,"children":551},{},[552,554],{"type":50,"value":553},"Migrating from ",{"type":44,"tag":91,"props":555,"children":557},{"className":556},[],[558],{"type":50,"value":559},"generateContent",{"type":50,"value":561},": Read ",{"type":44,"tag":91,"props":563,"children":565},{"className":564},[],[566],{"type":50,"value":567},"references\u002Fmigration.md",{"type":50,"value":569}," for the scoping, checklist, and before\u002Fafter code examples. Always confirm scope with the user before editing.",{"type":44,"tag":87,"props":571,"children":572},{},[573,578,580,585,586,591,593,598],{"type":44,"tag":246,"props":574,"children":575},{},[576],{"type":50,"value":577},"Model upgrades",{"type":50,"value":579},": Drop-in, swap the model string. Deprecated models (",{"type":44,"tag":91,"props":581,"children":583},{"className":582},[],[584],{"type":50,"value":235},{"type":50,"value":229},{"type":44,"tag":91,"props":587,"children":589},{"className":588},[],[590],{"type":50,"value":242},{"type":50,"value":592},") must be replaced, see ",{"type":44,"tag":91,"props":594,"children":596},{"className":595},[],[597],{"type":50,"value":567},{"type":50,"value":495},{"type":44,"tag":87,"props":600,"children":601},{},[602,607,608,613],{"type":44,"tag":246,"props":603,"children":604},{},[605],{"type":50,"value":606},"Migrating to Gemini 3.6 Flash or Gemini 3.5 Flash-Lite",{"type":50,"value":561},{"type":44,"tag":91,"props":609,"children":611},{"className":610},[],[612],{"type":50,"value":567},{"type":50,"value":614}," for the scoping and checklist.",{"type":44,"tag":53,"props":616,"children":618},{"id":617},"quick-start",[619],{"type":50,"value":620},"Quick Start",{"type":44,"tag":76,"props":622,"children":624},{"id":623},"python",[625],{"type":50,"value":339},{"type":44,"tag":627,"props":628,"children":632},"pre",{"className":629,"code":630,"language":623,"meta":631,"style":631},"language-python shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","from google import genai\n\nclient = genai.Client()\n\ninteraction = client.interactions.create(\n    model=\"gemini-3.6-flash\",\n    input=\"Tell me a short joke about programming.\"\n)\nprint(interaction.output_text)\n","",[633],{"type":44,"tag":91,"props":634,"children":635},{"__ignoreMap":631},[636,646,656,665,673,682,691,700,709],{"type":44,"tag":68,"props":637,"children":640},{"class":638,"line":639},"line",1,[641],{"type":44,"tag":68,"props":642,"children":643},{},[644],{"type":50,"value":645},"from google import genai\n",{"type":44,"tag":68,"props":647,"children":649},{"class":638,"line":648},2,[650],{"type":44,"tag":68,"props":651,"children":653},{"emptyLinePlaceholder":652},true,[654],{"type":50,"value":655},"\n",{"type":44,"tag":68,"props":657,"children":659},{"class":638,"line":658},3,[660],{"type":44,"tag":68,"props":661,"children":662},{},[663],{"type":50,"value":664},"client = genai.Client()\n",{"type":44,"tag":68,"props":666,"children":668},{"class":638,"line":667},4,[669],{"type":44,"tag":68,"props":670,"children":671},{"emptyLinePlaceholder":652},[672],{"type":50,"value":655},{"type":44,"tag":68,"props":674,"children":676},{"class":638,"line":675},5,[677],{"type":44,"tag":68,"props":678,"children":679},{},[680],{"type":50,"value":681},"interaction = client.interactions.create(\n",{"type":44,"tag":68,"props":683,"children":685},{"class":638,"line":684},6,[686],{"type":44,"tag":68,"props":687,"children":688},{},[689],{"type":50,"value":690},"    model=\"gemini-3.6-flash\",\n",{"type":44,"tag":68,"props":692,"children":694},{"class":638,"line":693},7,[695],{"type":44,"tag":68,"props":696,"children":697},{},[698],{"type":50,"value":699},"    input=\"Tell me a short joke about programming.\"\n",{"type":44,"tag":68,"props":701,"children":703},{"class":638,"line":702},8,[704],{"type":44,"tag":68,"props":705,"children":706},{},[707],{"type":50,"value":708},")\n",{"type":44,"tag":68,"props":710,"children":712},{"class":638,"line":711},9,[713],{"type":44,"tag":68,"props":714,"children":715},{},[716],{"type":50,"value":717},"print(interaction.output_text)\n",{"type":44,"tag":76,"props":719,"children":721},{"id":720},"javascripttypescript",[722],{"type":50,"value":371},{"type":44,"tag":627,"props":724,"children":728},{"className":725,"code":726,"language":727,"meta":631,"style":631},"language-typescript shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\nconst interaction = await client.interactions.create({\n    model: \"gemini-3.6-flash\",\n    input: \"Tell me a short joke about programming.\",\n});\nconsole.log(interaction.output_text);\n","typescript",[729],{"type":44,"tag":91,"props":730,"children":731},{"__ignoreMap":631},[732,783,790,838,845,898,929,958,974],{"type":44,"tag":68,"props":733,"children":734},{"class":638,"line":639},[735,741,747,753,758,763,768,773,778],{"type":44,"tag":68,"props":736,"children":738},{"style":737},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[739],{"type":50,"value":740},"import",{"type":44,"tag":68,"props":742,"children":744},{"style":743},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[745],{"type":50,"value":746}," {",{"type":44,"tag":68,"props":748,"children":750},{"style":749},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[751],{"type":50,"value":752}," GoogleGenAI",{"type":44,"tag":68,"props":754,"children":755},{"style":743},[756],{"type":50,"value":757}," }",{"type":44,"tag":68,"props":759,"children":760},{"style":737},[761],{"type":50,"value":762}," from",{"type":44,"tag":68,"props":764,"children":765},{"style":743},[766],{"type":50,"value":767}," \"",{"type":44,"tag":68,"props":769,"children":771},{"style":770},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[772],{"type":50,"value":378},{"type":44,"tag":68,"props":774,"children":775},{"style":743},[776],{"type":50,"value":777},"\"",{"type":44,"tag":68,"props":779,"children":780},{"style":743},[781],{"type":50,"value":782},";\n",{"type":44,"tag":68,"props":784,"children":785},{"class":638,"line":648},[786],{"type":44,"tag":68,"props":787,"children":788},{"emptyLinePlaceholder":652},[789],{"type":50,"value":655},{"type":44,"tag":68,"props":791,"children":792},{"class":638,"line":658},[793,799,804,809,814,819,824,829,834],{"type":44,"tag":68,"props":794,"children":796},{"style":795},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[797],{"type":50,"value":798},"const",{"type":44,"tag":68,"props":800,"children":801},{"style":749},[802],{"type":50,"value":803}," client ",{"type":44,"tag":68,"props":805,"children":806},{"style":743},[807],{"type":50,"value":808},"=",{"type":44,"tag":68,"props":810,"children":811},{"style":743},[812],{"type":50,"value":813}," new",{"type":44,"tag":68,"props":815,"children":817},{"style":816},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[818],{"type":50,"value":752},{"type":44,"tag":68,"props":820,"children":821},{"style":749},[822],{"type":50,"value":823},"(",{"type":44,"tag":68,"props":825,"children":826},{"style":743},[827],{"type":50,"value":828},"{}",{"type":44,"tag":68,"props":830,"children":831},{"style":749},[832],{"type":50,"value":833},")",{"type":44,"tag":68,"props":835,"children":836},{"style":743},[837],{"type":50,"value":782},{"type":44,"tag":68,"props":839,"children":840},{"class":638,"line":667},[841],{"type":44,"tag":68,"props":842,"children":843},{"emptyLinePlaceholder":652},[844],{"type":50,"value":655},{"type":44,"tag":68,"props":846,"children":847},{"class":638,"line":675},[848,852,857,861,866,871,875,880,884,889,893],{"type":44,"tag":68,"props":849,"children":850},{"style":795},[851],{"type":50,"value":798},{"type":44,"tag":68,"props":853,"children":854},{"style":749},[855],{"type":50,"value":856}," interaction ",{"type":44,"tag":68,"props":858,"children":859},{"style":743},[860],{"type":50,"value":808},{"type":44,"tag":68,"props":862,"children":863},{"style":737},[864],{"type":50,"value":865}," await",{"type":44,"tag":68,"props":867,"children":868},{"style":749},[869],{"type":50,"value":870}," client",{"type":44,"tag":68,"props":872,"children":873},{"style":743},[874],{"type":50,"value":495},{"type":44,"tag":68,"props":876,"children":877},{"style":749},[878],{"type":50,"value":879},"interactions",{"type":44,"tag":68,"props":881,"children":882},{"style":743},[883],{"type":50,"value":495},{"type":44,"tag":68,"props":885,"children":886},{"style":816},[887],{"type":50,"value":888},"create",{"type":44,"tag":68,"props":890,"children":891},{"style":749},[892],{"type":50,"value":823},{"type":44,"tag":68,"props":894,"children":895},{"style":743},[896],{"type":50,"value":897},"{\n",{"type":44,"tag":68,"props":899,"children":900},{"class":638,"line":684},[901,907,912,916,920,924],{"type":44,"tag":68,"props":902,"children":904},{"style":903},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[905],{"type":50,"value":906},"    model",{"type":44,"tag":68,"props":908,"children":909},{"style":743},[910],{"type":50,"value":911},":",{"type":44,"tag":68,"props":913,"children":914},{"style":743},[915],{"type":50,"value":767},{"type":44,"tag":68,"props":917,"children":918},{"style":770},[919],{"type":50,"value":96},{"type":44,"tag":68,"props":921,"children":922},{"style":743},[923],{"type":50,"value":777},{"type":44,"tag":68,"props":925,"children":926},{"style":743},[927],{"type":50,"value":928},",\n",{"type":44,"tag":68,"props":930,"children":931},{"class":638,"line":693},[932,937,941,945,950,954],{"type":44,"tag":68,"props":933,"children":934},{"style":903},[935],{"type":50,"value":936},"    input",{"type":44,"tag":68,"props":938,"children":939},{"style":743},[940],{"type":50,"value":911},{"type":44,"tag":68,"props":942,"children":943},{"style":743},[944],{"type":50,"value":767},{"type":44,"tag":68,"props":946,"children":947},{"style":770},[948],{"type":50,"value":949},"Tell me a short joke about programming.",{"type":44,"tag":68,"props":951,"children":952},{"style":743},[953],{"type":50,"value":777},{"type":44,"tag":68,"props":955,"children":956},{"style":743},[957],{"type":50,"value":928},{"type":44,"tag":68,"props":959,"children":960},{"class":638,"line":702},[961,966,970],{"type":44,"tag":68,"props":962,"children":963},{"style":743},[964],{"type":50,"value":965},"}",{"type":44,"tag":68,"props":967,"children":968},{"style":749},[969],{"type":50,"value":833},{"type":44,"tag":68,"props":971,"children":972},{"style":743},[973],{"type":50,"value":782},{"type":44,"tag":68,"props":975,"children":976},{"class":638,"line":711},[977,982,986,991,996,1000,1005],{"type":44,"tag":68,"props":978,"children":979},{"style":749},[980],{"type":50,"value":981},"console",{"type":44,"tag":68,"props":983,"children":984},{"style":743},[985],{"type":50,"value":495},{"type":44,"tag":68,"props":987,"children":988},{"style":816},[989],{"type":50,"value":990},"log",{"type":44,"tag":68,"props":992,"children":993},{"style":749},[994],{"type":50,"value":995},"(interaction",{"type":44,"tag":68,"props":997,"children":998},{"style":743},[999],{"type":50,"value":495},{"type":44,"tag":68,"props":1001,"children":1002},{"style":749},[1003],{"type":50,"value":1004},"output_text)",{"type":44,"tag":68,"props":1006,"children":1007},{"style":743},[1008],{"type":50,"value":782},{"type":44,"tag":53,"props":1010,"children":1012},{"id":1011},"response-helpers",[1013],{"type":50,"value":1014},"Response Helpers",{"type":44,"tag":64,"props":1016,"children":1017},{},[1018,1020,1026],{"type":50,"value":1019},"The SDK provides convenience properties on the ",{"type":44,"tag":91,"props":1021,"children":1023},{"className":1022},[],[1024],{"type":50,"value":1025},"Interaction",{"type":50,"value":1027}," response object to simplify common access patterns:",{"type":44,"tag":1029,"props":1030,"children":1031},"table",{},[1032,1056],{"type":44,"tag":1033,"props":1034,"children":1035},"thead",{},[1036],{"type":44,"tag":1037,"props":1038,"children":1039},"tr",{},[1040,1046,1051],{"type":44,"tag":1041,"props":1042,"children":1043},"th",{},[1044],{"type":50,"value":1045},"Property",{"type":44,"tag":1041,"props":1047,"children":1048},{},[1049],{"type":50,"value":1050},"Type",{"type":44,"tag":1041,"props":1052,"children":1053},{},[1054],{"type":50,"value":1055},"Description",{"type":44,"tag":1057,"props":1058,"children":1059},"tbody",{},[1060,1095,1136],{"type":44,"tag":1037,"props":1061,"children":1062},{},[1063,1073,1082],{"type":44,"tag":1064,"props":1065,"children":1066},"td",{},[1067],{"type":44,"tag":91,"props":1068,"children":1070},{"className":1069},[],[1071],{"type":50,"value":1072},"output_text",{"type":44,"tag":1064,"props":1074,"children":1075},{},[1076],{"type":44,"tag":91,"props":1077,"children":1079},{"className":1078},[],[1080],{"type":50,"value":1081},"string | null",{"type":44,"tag":1064,"props":1083,"children":1084},{},[1085,1087,1093],{"type":50,"value":1086},"The last consecutive run of text from the trailing ",{"type":44,"tag":91,"props":1088,"children":1090},{"className":1089},[],[1091],{"type":50,"value":1092},"model_output",{"type":50,"value":1094}," steps. Returns the combined text when the model's final output contains multiple text parts.",{"type":44,"tag":1037,"props":1096,"children":1097},{},[1098,1107,1116],{"type":44,"tag":1064,"props":1099,"children":1100},{},[1101],{"type":44,"tag":91,"props":1102,"children":1104},{"className":1103},[],[1105],{"type":50,"value":1106},"output_image",{"type":44,"tag":1064,"props":1108,"children":1109},{},[1110],{"type":44,"tag":91,"props":1111,"children":1113},{"className":1112},[],[1114],{"type":50,"value":1115},"Image | null",{"type":44,"tag":1064,"props":1117,"children":1118},{},[1119,1121,1127,1129,1135],{"type":50,"value":1120},"The last image generated by the model in the current response. Returns an object with ",{"type":44,"tag":91,"props":1122,"children":1124},{"className":1123},[],[1125],{"type":50,"value":1126},"data",{"type":50,"value":1128}," (base64) and ",{"type":44,"tag":91,"props":1130,"children":1132},{"className":1131},[],[1133],{"type":50,"value":1134},"mime_type",{"type":50,"value":495},{"type":44,"tag":1037,"props":1137,"children":1138},{},[1139,1148,1157],{"type":44,"tag":1064,"props":1140,"children":1141},{},[1142],{"type":44,"tag":91,"props":1143,"children":1145},{"className":1144},[],[1146],{"type":50,"value":1147},"output_audio",{"type":44,"tag":1064,"props":1149,"children":1150},{},[1151],{"type":44,"tag":91,"props":1152,"children":1154},{"className":1153},[],[1155],{"type":50,"value":1156},"Audio | null",{"type":44,"tag":1064,"props":1158,"children":1159},{},[1160,1162,1167,1168,1173],{"type":50,"value":1161},"The last audio generated by the model in the current response. Returns an object with ",{"type":44,"tag":91,"props":1163,"children":1165},{"className":1164},[],[1166],{"type":50,"value":1126},{"type":50,"value":1128},{"type":44,"tag":91,"props":1169,"children":1171},{"className":1170},[],[1172],{"type":50,"value":1134},{"type":50,"value":495},{"type":44,"tag":53,"props":1175,"children":1177},{"id":1176},"stateful-conversation",[1178],{"type":50,"value":1179},"Stateful Conversation",{"type":44,"tag":76,"props":1181,"children":1183},{"id":1182},"python-1",[1184],{"type":50,"value":339},{"type":44,"tag":627,"props":1186,"children":1188},{"className":629,"code":1187,"language":623,"meta":631,"style":631},"interaction1 = client.interactions.create(\n    model=\"gemini-3.6-flash\",\n    input=\"Hi, my name is Phil.\"\n)\n# Second turn — server remembers context\ninteraction2 = client.interactions.create(\n    model=\"gemini-3.6-flash\",\n    input=\"What is my name?\",\n    previous_interaction_id=interaction1.id\n)\nprint(interaction2.output_text)\n",[1189],{"type":44,"tag":91,"props":1190,"children":1191},{"__ignoreMap":631},[1192,1200,1207,1215,1222,1230,1238,1245,1253,1261,1269],{"type":44,"tag":68,"props":1193,"children":1194},{"class":638,"line":639},[1195],{"type":44,"tag":68,"props":1196,"children":1197},{},[1198],{"type":50,"value":1199},"interaction1 = client.interactions.create(\n",{"type":44,"tag":68,"props":1201,"children":1202},{"class":638,"line":648},[1203],{"type":44,"tag":68,"props":1204,"children":1205},{},[1206],{"type":50,"value":690},{"type":44,"tag":68,"props":1208,"children":1209},{"class":638,"line":658},[1210],{"type":44,"tag":68,"props":1211,"children":1212},{},[1213],{"type":50,"value":1214},"    input=\"Hi, my name is Phil.\"\n",{"type":44,"tag":68,"props":1216,"children":1217},{"class":638,"line":667},[1218],{"type":44,"tag":68,"props":1219,"children":1220},{},[1221],{"type":50,"value":708},{"type":44,"tag":68,"props":1223,"children":1224},{"class":638,"line":675},[1225],{"type":44,"tag":68,"props":1226,"children":1227},{},[1228],{"type":50,"value":1229},"# Second turn — server remembers context\n",{"type":44,"tag":68,"props":1231,"children":1232},{"class":638,"line":684},[1233],{"type":44,"tag":68,"props":1234,"children":1235},{},[1236],{"type":50,"value":1237},"interaction2 = client.interactions.create(\n",{"type":44,"tag":68,"props":1239,"children":1240},{"class":638,"line":693},[1241],{"type":44,"tag":68,"props":1242,"children":1243},{},[1244],{"type":50,"value":690},{"type":44,"tag":68,"props":1246,"children":1247},{"class":638,"line":702},[1248],{"type":44,"tag":68,"props":1249,"children":1250},{},[1251],{"type":50,"value":1252},"    input=\"What is my name?\",\n",{"type":44,"tag":68,"props":1254,"children":1255},{"class":638,"line":711},[1256],{"type":44,"tag":68,"props":1257,"children":1258},{},[1259],{"type":50,"value":1260},"    previous_interaction_id=interaction1.id\n",{"type":44,"tag":68,"props":1262,"children":1264},{"class":638,"line":1263},10,[1265],{"type":44,"tag":68,"props":1266,"children":1267},{},[1268],{"type":50,"value":708},{"type":44,"tag":68,"props":1270,"children":1272},{"class":638,"line":1271},11,[1273],{"type":44,"tag":68,"props":1274,"children":1275},{},[1276],{"type":50,"value":1277},"print(interaction2.output_text)\n",{"type":44,"tag":76,"props":1279,"children":1281},{"id":1280},"javascripttypescript-1",[1282],{"type":50,"value":371},{"type":44,"tag":627,"props":1284,"children":1286},{"className":725,"code":1285,"language":727,"meta":631,"style":631},"const interaction1 = await client.interactions.create({\n    model: \"gemini-3.6-flash\",\n    input: \"Hi, my name is Phil.\",\n});\nconst interaction2 = await client.interactions.create({\n    model: \"gemini-3.6-flash\",\n    input: \"What is my name?\",\n    previous_interaction_id: interaction1.id,\n});\nconsole.log(interaction2.output_text);\n",[1287],{"type":44,"tag":91,"props":1288,"children":1289},{"__ignoreMap":631},[1290,1338,1365,1393,1408,1456,1483,1511,1541,1556],{"type":44,"tag":68,"props":1291,"children":1292},{"class":638,"line":639},[1293,1297,1302,1306,1310,1314,1318,1322,1326,1330,1334],{"type":44,"tag":68,"props":1294,"children":1295},{"style":795},[1296],{"type":50,"value":798},{"type":44,"tag":68,"props":1298,"children":1299},{"style":749},[1300],{"type":50,"value":1301}," interaction1 ",{"type":44,"tag":68,"props":1303,"children":1304},{"style":743},[1305],{"type":50,"value":808},{"type":44,"tag":68,"props":1307,"children":1308},{"style":737},[1309],{"type":50,"value":865},{"type":44,"tag":68,"props":1311,"children":1312},{"style":749},[1313],{"type":50,"value":870},{"type":44,"tag":68,"props":1315,"children":1316},{"style":743},[1317],{"type":50,"value":495},{"type":44,"tag":68,"props":1319,"children":1320},{"style":749},[1321],{"type":50,"value":879},{"type":44,"tag":68,"props":1323,"children":1324},{"style":743},[1325],{"type":50,"value":495},{"type":44,"tag":68,"props":1327,"children":1328},{"style":816},[1329],{"type":50,"value":888},{"type":44,"tag":68,"props":1331,"children":1332},{"style":749},[1333],{"type":50,"value":823},{"type":44,"tag":68,"props":1335,"children":1336},{"style":743},[1337],{"type":50,"value":897},{"type":44,"tag":68,"props":1339,"children":1340},{"class":638,"line":648},[1341,1345,1349,1353,1357,1361],{"type":44,"tag":68,"props":1342,"children":1343},{"style":903},[1344],{"type":50,"value":906},{"type":44,"tag":68,"props":1346,"children":1347},{"style":743},[1348],{"type":50,"value":911},{"type":44,"tag":68,"props":1350,"children":1351},{"style":743},[1352],{"type":50,"value":767},{"type":44,"tag":68,"props":1354,"children":1355},{"style":770},[1356],{"type":50,"value":96},{"type":44,"tag":68,"props":1358,"children":1359},{"style":743},[1360],{"type":50,"value":777},{"type":44,"tag":68,"props":1362,"children":1363},{"style":743},[1364],{"type":50,"value":928},{"type":44,"tag":68,"props":1366,"children":1367},{"class":638,"line":658},[1368,1372,1376,1380,1385,1389],{"type":44,"tag":68,"props":1369,"children":1370},{"style":903},[1371],{"type":50,"value":936},{"type":44,"tag":68,"props":1373,"children":1374},{"style":743},[1375],{"type":50,"value":911},{"type":44,"tag":68,"props":1377,"children":1378},{"style":743},[1379],{"type":50,"value":767},{"type":44,"tag":68,"props":1381,"children":1382},{"style":770},[1383],{"type":50,"value":1384},"Hi, my name is Phil.",{"type":44,"tag":68,"props":1386,"children":1387},{"style":743},[1388],{"type":50,"value":777},{"type":44,"tag":68,"props":1390,"children":1391},{"style":743},[1392],{"type":50,"value":928},{"type":44,"tag":68,"props":1394,"children":1395},{"class":638,"line":667},[1396,1400,1404],{"type":44,"tag":68,"props":1397,"children":1398},{"style":743},[1399],{"type":50,"value":965},{"type":44,"tag":68,"props":1401,"children":1402},{"style":749},[1403],{"type":50,"value":833},{"type":44,"tag":68,"props":1405,"children":1406},{"style":743},[1407],{"type":50,"value":782},{"type":44,"tag":68,"props":1409,"children":1410},{"class":638,"line":675},[1411,1415,1420,1424,1428,1432,1436,1440,1444,1448,1452],{"type":44,"tag":68,"props":1412,"children":1413},{"style":795},[1414],{"type":50,"value":798},{"type":44,"tag":68,"props":1416,"children":1417},{"style":749},[1418],{"type":50,"value":1419}," interaction2 ",{"type":44,"tag":68,"props":1421,"children":1422},{"style":743},[1423],{"type":50,"value":808},{"type":44,"tag":68,"props":1425,"children":1426},{"style":737},[1427],{"type":50,"value":865},{"type":44,"tag":68,"props":1429,"children":1430},{"style":749},[1431],{"type":50,"value":870},{"type":44,"tag":68,"props":1433,"children":1434},{"style":743},[1435],{"type":50,"value":495},{"type":44,"tag":68,"props":1437,"children":1438},{"style":749},[1439],{"type":50,"value":879},{"type":44,"tag":68,"props":1441,"children":1442},{"style":743},[1443],{"type":50,"value":495},{"type":44,"tag":68,"props":1445,"children":1446},{"style":816},[1447],{"type":50,"value":888},{"type":44,"tag":68,"props":1449,"children":1450},{"style":749},[1451],{"type":50,"value":823},{"type":44,"tag":68,"props":1453,"children":1454},{"style":743},[1455],{"type":50,"value":897},{"type":44,"tag":68,"props":1457,"children":1458},{"class":638,"line":684},[1459,1463,1467,1471,1475,1479],{"type":44,"tag":68,"props":1460,"children":1461},{"style":903},[1462],{"type":50,"value":906},{"type":44,"tag":68,"props":1464,"children":1465},{"style":743},[1466],{"type":50,"value":911},{"type":44,"tag":68,"props":1468,"children":1469},{"style":743},[1470],{"type":50,"value":767},{"type":44,"tag":68,"props":1472,"children":1473},{"style":770},[1474],{"type":50,"value":96},{"type":44,"tag":68,"props":1476,"children":1477},{"style":743},[1478],{"type":50,"value":777},{"type":44,"tag":68,"props":1480,"children":1481},{"style":743},[1482],{"type":50,"value":928},{"type":44,"tag":68,"props":1484,"children":1485},{"class":638,"line":693},[1486,1490,1494,1498,1503,1507],{"type":44,"tag":68,"props":1487,"children":1488},{"style":903},[1489],{"type":50,"value":936},{"type":44,"tag":68,"props":1491,"children":1492},{"style":743},[1493],{"type":50,"value":911},{"type":44,"tag":68,"props":1495,"children":1496},{"style":743},[1497],{"type":50,"value":767},{"type":44,"tag":68,"props":1499,"children":1500},{"style":770},[1501],{"type":50,"value":1502},"What is my name?",{"type":44,"tag":68,"props":1504,"children":1505},{"style":743},[1506],{"type":50,"value":777},{"type":44,"tag":68,"props":1508,"children":1509},{"style":743},[1510],{"type":50,"value":928},{"type":44,"tag":68,"props":1512,"children":1513},{"class":638,"line":702},[1514,1519,1523,1528,1532,1537],{"type":44,"tag":68,"props":1515,"children":1516},{"style":903},[1517],{"type":50,"value":1518},"    previous_interaction_id",{"type":44,"tag":68,"props":1520,"children":1521},{"style":743},[1522],{"type":50,"value":911},{"type":44,"tag":68,"props":1524,"children":1525},{"style":749},[1526],{"type":50,"value":1527}," interaction1",{"type":44,"tag":68,"props":1529,"children":1530},{"style":743},[1531],{"type":50,"value":495},{"type":44,"tag":68,"props":1533,"children":1534},{"style":749},[1535],{"type":50,"value":1536},"id",{"type":44,"tag":68,"props":1538,"children":1539},{"style":743},[1540],{"type":50,"value":928},{"type":44,"tag":68,"props":1542,"children":1543},{"class":638,"line":711},[1544,1548,1552],{"type":44,"tag":68,"props":1545,"children":1546},{"style":743},[1547],{"type":50,"value":965},{"type":44,"tag":68,"props":1549,"children":1550},{"style":749},[1551],{"type":50,"value":833},{"type":44,"tag":68,"props":1553,"children":1554},{"style":743},[1555],{"type":50,"value":782},{"type":44,"tag":68,"props":1557,"children":1558},{"class":638,"line":1263},[1559,1563,1567,1571,1576,1580,1584],{"type":44,"tag":68,"props":1560,"children":1561},{"style":749},[1562],{"type":50,"value":981},{"type":44,"tag":68,"props":1564,"children":1565},{"style":743},[1566],{"type":50,"value":495},{"type":44,"tag":68,"props":1568,"children":1569},{"style":816},[1570],{"type":50,"value":990},{"type":44,"tag":68,"props":1572,"children":1573},{"style":749},[1574],{"type":50,"value":1575},"(interaction2",{"type":44,"tag":68,"props":1577,"children":1578},{"style":743},[1579],{"type":50,"value":495},{"type":44,"tag":68,"props":1581,"children":1582},{"style":749},[1583],{"type":50,"value":1004},{"type":44,"tag":68,"props":1585,"children":1586},{"style":743},[1587],{"type":50,"value":782},{"type":44,"tag":53,"props":1589,"children":1591},{"id":1590},"deep-research-agent",[1592],{"type":50,"value":1593},"Deep Research Agent",{"type":44,"tag":64,"props":1595,"children":1596},{},[1597,1599,1604,1606,1611,1613,1619],{"type":50,"value":1598},"Use ",{"type":44,"tag":91,"props":1600,"children":1602},{"className":1601},[],[1603],{"type":50,"value":293},{"type":50,"value":1605}," for fast research or ",{"type":44,"tag":91,"props":1607,"children":1609},{"className":1608},[],[1610],{"type":50,"value":304},{"type":50,"value":1612}," for maximum exhaustiveness. Agents require ",{"type":44,"tag":91,"props":1614,"children":1616},{"className":1615},[],[1617],{"type":50,"value":1618},"background=True",{"type":50,"value":495},{"type":44,"tag":76,"props":1621,"children":1623},{"id":1622},"python-2",[1624],{"type":50,"value":339},{"type":44,"tag":627,"props":1626,"children":1628},{"className":629,"code":1627,"language":623,"meta":631,"style":631},"import time\n\ninteraction = client.interactions.create(\n    agent=\"deep-research-preview-04-2026\",\n    input=\"Research the history of Google TPUs.\",\n    background=True\n)\nwhile True:\n    interaction = client.interactions.get(interaction.id)\n    if interaction.status == \"completed\":\n        print(interaction.output_text)\n        break\n    elif interaction.status == \"failed\":\n        print(f\"Failed: {interaction.error}\")\n        break\n    time.sleep(10)\n",[1629],{"type":44,"tag":91,"props":1630,"children":1631},{"__ignoreMap":631},[1632,1640,1647,1654,1662,1670,1678,1685,1693,1701,1709,1717,1726,1735,1744,1752],{"type":44,"tag":68,"props":1633,"children":1634},{"class":638,"line":639},[1635],{"type":44,"tag":68,"props":1636,"children":1637},{},[1638],{"type":50,"value":1639},"import time\n",{"type":44,"tag":68,"props":1641,"children":1642},{"class":638,"line":648},[1643],{"type":44,"tag":68,"props":1644,"children":1645},{"emptyLinePlaceholder":652},[1646],{"type":50,"value":655},{"type":44,"tag":68,"props":1648,"children":1649},{"class":638,"line":658},[1650],{"type":44,"tag":68,"props":1651,"children":1652},{},[1653],{"type":50,"value":681},{"type":44,"tag":68,"props":1655,"children":1656},{"class":638,"line":667},[1657],{"type":44,"tag":68,"props":1658,"children":1659},{},[1660],{"type":50,"value":1661},"    agent=\"deep-research-preview-04-2026\",\n",{"type":44,"tag":68,"props":1663,"children":1664},{"class":638,"line":675},[1665],{"type":44,"tag":68,"props":1666,"children":1667},{},[1668],{"type":50,"value":1669},"    input=\"Research the history of Google TPUs.\",\n",{"type":44,"tag":68,"props":1671,"children":1672},{"class":638,"line":684},[1673],{"type":44,"tag":68,"props":1674,"children":1675},{},[1676],{"type":50,"value":1677},"    background=True\n",{"type":44,"tag":68,"props":1679,"children":1680},{"class":638,"line":693},[1681],{"type":44,"tag":68,"props":1682,"children":1683},{},[1684],{"type":50,"value":708},{"type":44,"tag":68,"props":1686,"children":1687},{"class":638,"line":702},[1688],{"type":44,"tag":68,"props":1689,"children":1690},{},[1691],{"type":50,"value":1692},"while True:\n",{"type":44,"tag":68,"props":1694,"children":1695},{"class":638,"line":711},[1696],{"type":44,"tag":68,"props":1697,"children":1698},{},[1699],{"type":50,"value":1700},"    interaction = client.interactions.get(interaction.id)\n",{"type":44,"tag":68,"props":1702,"children":1703},{"class":638,"line":1263},[1704],{"type":44,"tag":68,"props":1705,"children":1706},{},[1707],{"type":50,"value":1708},"    if interaction.status == \"completed\":\n",{"type":44,"tag":68,"props":1710,"children":1711},{"class":638,"line":1271},[1712],{"type":44,"tag":68,"props":1713,"children":1714},{},[1715],{"type":50,"value":1716},"        print(interaction.output_text)\n",{"type":44,"tag":68,"props":1718,"children":1720},{"class":638,"line":1719},12,[1721],{"type":44,"tag":68,"props":1722,"children":1723},{},[1724],{"type":50,"value":1725},"        break\n",{"type":44,"tag":68,"props":1727,"children":1729},{"class":638,"line":1728},13,[1730],{"type":44,"tag":68,"props":1731,"children":1732},{},[1733],{"type":50,"value":1734},"    elif interaction.status == \"failed\":\n",{"type":44,"tag":68,"props":1736,"children":1738},{"class":638,"line":1737},14,[1739],{"type":44,"tag":68,"props":1740,"children":1741},{},[1742],{"type":50,"value":1743},"        print(f\"Failed: {interaction.error}\")\n",{"type":44,"tag":68,"props":1745,"children":1747},{"class":638,"line":1746},15,[1748],{"type":44,"tag":68,"props":1749,"children":1750},{},[1751],{"type":50,"value":1725},{"type":44,"tag":68,"props":1753,"children":1755},{"class":638,"line":1754},16,[1756],{"type":44,"tag":68,"props":1757,"children":1758},{},[1759],{"type":50,"value":1760},"    time.sleep(10)\n",{"type":44,"tag":76,"props":1762,"children":1764},{"id":1763},"javascripttypescript-2",[1765],{"type":50,"value":371},{"type":44,"tag":627,"props":1767,"children":1769},{"className":725,"code":1768,"language":727,"meta":631,"style":631},"import { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\n\u002F\u002F Start background research\nconst initialInteraction = await client.interactions.create({\n    agent: \"deep-research-preview-04-2026\",\n    input: \"Research the history of Google TPUs.\",\n    background: true,\n});\n\n\u002F\u002F Poll for results\nwhile (true) {\n    const interaction = await client.interactions.get(initialInteraction.id);\n    if (interaction.status === \"completed\") {\n        console.log(interaction.output_text);\n        break;\n    } else if ([\"failed\", \"cancelled\"].includes(interaction.status)) {\n        console.log(`Failed: ${interaction.status}`);\n        break;\n    }\n    await new Promise(resolve => setTimeout(resolve, 10000));\n}\n",[1770],{"type":44,"tag":91,"props":1771,"children":1772},{"__ignoreMap":631},[1773,1812,1819,1858,1865,1874,1922,1950,1978,2000,2015,2022,2030,2056,2124,2176,2216,2229,2323,2383,2395,2404,2470],{"type":44,"tag":68,"props":1774,"children":1775},{"class":638,"line":639},[1776,1780,1784,1788,1792,1796,1800,1804,1808],{"type":44,"tag":68,"props":1777,"children":1778},{"style":737},[1779],{"type":50,"value":740},{"type":44,"tag":68,"props":1781,"children":1782},{"style":743},[1783],{"type":50,"value":746},{"type":44,"tag":68,"props":1785,"children":1786},{"style":749},[1787],{"type":50,"value":752},{"type":44,"tag":68,"props":1789,"children":1790},{"style":743},[1791],{"type":50,"value":757},{"type":44,"tag":68,"props":1793,"children":1794},{"style":737},[1795],{"type":50,"value":762},{"type":44,"tag":68,"props":1797,"children":1798},{"style":743},[1799],{"type":50,"value":767},{"type":44,"tag":68,"props":1801,"children":1802},{"style":770},[1803],{"type":50,"value":378},{"type":44,"tag":68,"props":1805,"children":1806},{"style":743},[1807],{"type":50,"value":777},{"type":44,"tag":68,"props":1809,"children":1810},{"style":743},[1811],{"type":50,"value":782},{"type":44,"tag":68,"props":1813,"children":1814},{"class":638,"line":648},[1815],{"type":44,"tag":68,"props":1816,"children":1817},{"emptyLinePlaceholder":652},[1818],{"type":50,"value":655},{"type":44,"tag":68,"props":1820,"children":1821},{"class":638,"line":658},[1822,1826,1830,1834,1838,1842,1846,1850,1854],{"type":44,"tag":68,"props":1823,"children":1824},{"style":795},[1825],{"type":50,"value":798},{"type":44,"tag":68,"props":1827,"children":1828},{"style":749},[1829],{"type":50,"value":803},{"type":44,"tag":68,"props":1831,"children":1832},{"style":743},[1833],{"type":50,"value":808},{"type":44,"tag":68,"props":1835,"children":1836},{"style":743},[1837],{"type":50,"value":813},{"type":44,"tag":68,"props":1839,"children":1840},{"style":816},[1841],{"type":50,"value":752},{"type":44,"tag":68,"props":1843,"children":1844},{"style":749},[1845],{"type":50,"value":823},{"type":44,"tag":68,"props":1847,"children":1848},{"style":743},[1849],{"type":50,"value":828},{"type":44,"tag":68,"props":1851,"children":1852},{"style":749},[1853],{"type":50,"value":833},{"type":44,"tag":68,"props":1855,"children":1856},{"style":743},[1857],{"type":50,"value":782},{"type":44,"tag":68,"props":1859,"children":1860},{"class":638,"line":667},[1861],{"type":44,"tag":68,"props":1862,"children":1863},{"emptyLinePlaceholder":652},[1864],{"type":50,"value":655},{"type":44,"tag":68,"props":1866,"children":1867},{"class":638,"line":675},[1868],{"type":44,"tag":68,"props":1869,"children":1871},{"style":1870},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1872],{"type":50,"value":1873},"\u002F\u002F Start background research\n",{"type":44,"tag":68,"props":1875,"children":1876},{"class":638,"line":684},[1877,1881,1886,1890,1894,1898,1902,1906,1910,1914,1918],{"type":44,"tag":68,"props":1878,"children":1879},{"style":795},[1880],{"type":50,"value":798},{"type":44,"tag":68,"props":1882,"children":1883},{"style":749},[1884],{"type":50,"value":1885}," initialInteraction ",{"type":44,"tag":68,"props":1887,"children":1888},{"style":743},[1889],{"type":50,"value":808},{"type":44,"tag":68,"props":1891,"children":1892},{"style":737},[1893],{"type":50,"value":865},{"type":44,"tag":68,"props":1895,"children":1896},{"style":749},[1897],{"type":50,"value":870},{"type":44,"tag":68,"props":1899,"children":1900},{"style":743},[1901],{"type":50,"value":495},{"type":44,"tag":68,"props":1903,"children":1904},{"style":749},[1905],{"type":50,"value":879},{"type":44,"tag":68,"props":1907,"children":1908},{"style":743},[1909],{"type":50,"value":495},{"type":44,"tag":68,"props":1911,"children":1912},{"style":816},[1913],{"type":50,"value":888},{"type":44,"tag":68,"props":1915,"children":1916},{"style":749},[1917],{"type":50,"value":823},{"type":44,"tag":68,"props":1919,"children":1920},{"style":743},[1921],{"type":50,"value":897},{"type":44,"tag":68,"props":1923,"children":1924},{"class":638,"line":693},[1925,1930,1934,1938,1942,1946],{"type":44,"tag":68,"props":1926,"children":1927},{"style":903},[1928],{"type":50,"value":1929},"    agent",{"type":44,"tag":68,"props":1931,"children":1932},{"style":743},[1933],{"type":50,"value":911},{"type":44,"tag":68,"props":1935,"children":1936},{"style":743},[1937],{"type":50,"value":767},{"type":44,"tag":68,"props":1939,"children":1940},{"style":770},[1941],{"type":50,"value":293},{"type":44,"tag":68,"props":1943,"children":1944},{"style":743},[1945],{"type":50,"value":777},{"type":44,"tag":68,"props":1947,"children":1948},{"style":743},[1949],{"type":50,"value":928},{"type":44,"tag":68,"props":1951,"children":1952},{"class":638,"line":702},[1953,1957,1961,1965,1970,1974],{"type":44,"tag":68,"props":1954,"children":1955},{"style":903},[1956],{"type":50,"value":936},{"type":44,"tag":68,"props":1958,"children":1959},{"style":743},[1960],{"type":50,"value":911},{"type":44,"tag":68,"props":1962,"children":1963},{"style":743},[1964],{"type":50,"value":767},{"type":44,"tag":68,"props":1966,"children":1967},{"style":770},[1968],{"type":50,"value":1969},"Research the history of Google TPUs.",{"type":44,"tag":68,"props":1971,"children":1972},{"style":743},[1973],{"type":50,"value":777},{"type":44,"tag":68,"props":1975,"children":1976},{"style":743},[1977],{"type":50,"value":928},{"type":44,"tag":68,"props":1979,"children":1980},{"class":638,"line":711},[1981,1986,1990,1996],{"type":44,"tag":68,"props":1982,"children":1983},{"style":903},[1984],{"type":50,"value":1985},"    background",{"type":44,"tag":68,"props":1987,"children":1988},{"style":743},[1989],{"type":50,"value":911},{"type":44,"tag":68,"props":1991,"children":1993},{"style":1992},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1994],{"type":50,"value":1995}," true",{"type":44,"tag":68,"props":1997,"children":1998},{"style":743},[1999],{"type":50,"value":928},{"type":44,"tag":68,"props":2001,"children":2002},{"class":638,"line":1263},[2003,2007,2011],{"type":44,"tag":68,"props":2004,"children":2005},{"style":743},[2006],{"type":50,"value":965},{"type":44,"tag":68,"props":2008,"children":2009},{"style":749},[2010],{"type":50,"value":833},{"type":44,"tag":68,"props":2012,"children":2013},{"style":743},[2014],{"type":50,"value":782},{"type":44,"tag":68,"props":2016,"children":2017},{"class":638,"line":1271},[2018],{"type":44,"tag":68,"props":2019,"children":2020},{"emptyLinePlaceholder":652},[2021],{"type":50,"value":655},{"type":44,"tag":68,"props":2023,"children":2024},{"class":638,"line":1719},[2025],{"type":44,"tag":68,"props":2026,"children":2027},{"style":1870},[2028],{"type":50,"value":2029},"\u002F\u002F Poll for results\n",{"type":44,"tag":68,"props":2031,"children":2032},{"class":638,"line":1728},[2033,2038,2042,2047,2052],{"type":44,"tag":68,"props":2034,"children":2035},{"style":737},[2036],{"type":50,"value":2037},"while",{"type":44,"tag":68,"props":2039,"children":2040},{"style":749},[2041],{"type":50,"value":458},{"type":44,"tag":68,"props":2043,"children":2044},{"style":1992},[2045],{"type":50,"value":2046},"true",{"type":44,"tag":68,"props":2048,"children":2049},{"style":749},[2050],{"type":50,"value":2051},") ",{"type":44,"tag":68,"props":2053,"children":2054},{"style":743},[2055],{"type":50,"value":897},{"type":44,"tag":68,"props":2057,"children":2058},{"class":638,"line":1737},[2059,2064,2069,2074,2078,2082,2086,2090,2094,2099,2103,2108,2112,2116,2120],{"type":44,"tag":68,"props":2060,"children":2061},{"style":795},[2062],{"type":50,"value":2063},"    const",{"type":44,"tag":68,"props":2065,"children":2066},{"style":749},[2067],{"type":50,"value":2068}," interaction",{"type":44,"tag":68,"props":2070,"children":2071},{"style":743},[2072],{"type":50,"value":2073}," =",{"type":44,"tag":68,"props":2075,"children":2076},{"style":737},[2077],{"type":50,"value":865},{"type":44,"tag":68,"props":2079,"children":2080},{"style":749},[2081],{"type":50,"value":870},{"type":44,"tag":68,"props":2083,"children":2084},{"style":743},[2085],{"type":50,"value":495},{"type":44,"tag":68,"props":2087,"children":2088},{"style":749},[2089],{"type":50,"value":879},{"type":44,"tag":68,"props":2091,"children":2092},{"style":743},[2093],{"type":50,"value":495},{"type":44,"tag":68,"props":2095,"children":2096},{"style":816},[2097],{"type":50,"value":2098},"get",{"type":44,"tag":68,"props":2100,"children":2101},{"style":903},[2102],{"type":50,"value":823},{"type":44,"tag":68,"props":2104,"children":2105},{"style":749},[2106],{"type":50,"value":2107},"initialInteraction",{"type":44,"tag":68,"props":2109,"children":2110},{"style":743},[2111],{"type":50,"value":495},{"type":44,"tag":68,"props":2113,"children":2114},{"style":749},[2115],{"type":50,"value":1536},{"type":44,"tag":68,"props":2117,"children":2118},{"style":903},[2119],{"type":50,"value":833},{"type":44,"tag":68,"props":2121,"children":2122},{"style":743},[2123],{"type":50,"value":782},{"type":44,"tag":68,"props":2125,"children":2126},{"class":638,"line":1746},[2127,2132,2136,2141,2145,2150,2155,2159,2164,2168,2172],{"type":44,"tag":68,"props":2128,"children":2129},{"style":737},[2130],{"type":50,"value":2131},"    if",{"type":44,"tag":68,"props":2133,"children":2134},{"style":903},[2135],{"type":50,"value":458},{"type":44,"tag":68,"props":2137,"children":2138},{"style":749},[2139],{"type":50,"value":2140},"interaction",{"type":44,"tag":68,"props":2142,"children":2143},{"style":743},[2144],{"type":50,"value":495},{"type":44,"tag":68,"props":2146,"children":2147},{"style":749},[2148],{"type":50,"value":2149},"status",{"type":44,"tag":68,"props":2151,"children":2152},{"style":743},[2153],{"type":50,"value":2154}," ===",{"type":44,"tag":68,"props":2156,"children":2157},{"style":743},[2158],{"type":50,"value":767},{"type":44,"tag":68,"props":2160,"children":2161},{"style":770},[2162],{"type":50,"value":2163},"completed",{"type":44,"tag":68,"props":2165,"children":2166},{"style":743},[2167],{"type":50,"value":777},{"type":44,"tag":68,"props":2169,"children":2170},{"style":903},[2171],{"type":50,"value":2051},{"type":44,"tag":68,"props":2173,"children":2174},{"style":743},[2175],{"type":50,"value":897},{"type":44,"tag":68,"props":2177,"children":2178},{"class":638,"line":1754},[2179,2184,2188,2192,2196,2200,2204,2208,2212],{"type":44,"tag":68,"props":2180,"children":2181},{"style":749},[2182],{"type":50,"value":2183},"        console",{"type":44,"tag":68,"props":2185,"children":2186},{"style":743},[2187],{"type":50,"value":495},{"type":44,"tag":68,"props":2189,"children":2190},{"style":816},[2191],{"type":50,"value":990},{"type":44,"tag":68,"props":2193,"children":2194},{"style":903},[2195],{"type":50,"value":823},{"type":44,"tag":68,"props":2197,"children":2198},{"style":749},[2199],{"type":50,"value":2140},{"type":44,"tag":68,"props":2201,"children":2202},{"style":743},[2203],{"type":50,"value":495},{"type":44,"tag":68,"props":2205,"children":2206},{"style":749},[2207],{"type":50,"value":1072},{"type":44,"tag":68,"props":2209,"children":2210},{"style":903},[2211],{"type":50,"value":833},{"type":44,"tag":68,"props":2213,"children":2214},{"style":743},[2215],{"type":50,"value":782},{"type":44,"tag":68,"props":2217,"children":2219},{"class":638,"line":2218},17,[2220,2225],{"type":44,"tag":68,"props":2221,"children":2222},{"style":737},[2223],{"type":50,"value":2224},"        break",{"type":44,"tag":68,"props":2226,"children":2227},{"style":743},[2228],{"type":50,"value":782},{"type":44,"tag":68,"props":2230,"children":2232},{"class":638,"line":2231},18,[2233,2238,2243,2248,2253,2257,2262,2266,2271,2275,2280,2284,2289,2293,2298,2302,2306,2310,2314,2319],{"type":44,"tag":68,"props":2234,"children":2235},{"style":743},[2236],{"type":50,"value":2237},"    }",{"type":44,"tag":68,"props":2239,"children":2240},{"style":737},[2241],{"type":50,"value":2242}," else",{"type":44,"tag":68,"props":2244,"children":2245},{"style":737},[2246],{"type":50,"value":2247}," if",{"type":44,"tag":68,"props":2249,"children":2250},{"style":903},[2251],{"type":50,"value":2252}," ([",{"type":44,"tag":68,"props":2254,"children":2255},{"style":743},[2256],{"type":50,"value":777},{"type":44,"tag":68,"props":2258,"children":2259},{"style":770},[2260],{"type":50,"value":2261},"failed",{"type":44,"tag":68,"props":2263,"children":2264},{"style":743},[2265],{"type":50,"value":777},{"type":44,"tag":68,"props":2267,"children":2268},{"style":743},[2269],{"type":50,"value":2270},",",{"type":44,"tag":68,"props":2272,"children":2273},{"style":743},[2274],{"type":50,"value":767},{"type":44,"tag":68,"props":2276,"children":2277},{"style":770},[2278],{"type":50,"value":2279},"cancelled",{"type":44,"tag":68,"props":2281,"children":2282},{"style":743},[2283],{"type":50,"value":777},{"type":44,"tag":68,"props":2285,"children":2286},{"style":903},[2287],{"type":50,"value":2288},"]",{"type":44,"tag":68,"props":2290,"children":2291},{"style":743},[2292],{"type":50,"value":495},{"type":44,"tag":68,"props":2294,"children":2295},{"style":816},[2296],{"type":50,"value":2297},"includes",{"type":44,"tag":68,"props":2299,"children":2300},{"style":903},[2301],{"type":50,"value":823},{"type":44,"tag":68,"props":2303,"children":2304},{"style":749},[2305],{"type":50,"value":2140},{"type":44,"tag":68,"props":2307,"children":2308},{"style":743},[2309],{"type":50,"value":495},{"type":44,"tag":68,"props":2311,"children":2312},{"style":749},[2313],{"type":50,"value":2149},{"type":44,"tag":68,"props":2315,"children":2316},{"style":903},[2317],{"type":50,"value":2318},")) ",{"type":44,"tag":68,"props":2320,"children":2321},{"style":743},[2322],{"type":50,"value":897},{"type":44,"tag":68,"props":2324,"children":2326},{"class":638,"line":2325},19,[2327,2331,2335,2339,2343,2348,2353,2358,2362,2366,2370,2375,2379],{"type":44,"tag":68,"props":2328,"children":2329},{"style":749},[2330],{"type":50,"value":2183},{"type":44,"tag":68,"props":2332,"children":2333},{"style":743},[2334],{"type":50,"value":495},{"type":44,"tag":68,"props":2336,"children":2337},{"style":816},[2338],{"type":50,"value":990},{"type":44,"tag":68,"props":2340,"children":2341},{"style":903},[2342],{"type":50,"value":823},{"type":44,"tag":68,"props":2344,"children":2345},{"style":743},[2346],{"type":50,"value":2347},"`",{"type":44,"tag":68,"props":2349,"children":2350},{"style":770},[2351],{"type":50,"value":2352},"Failed: ",{"type":44,"tag":68,"props":2354,"children":2355},{"style":743},[2356],{"type":50,"value":2357},"${",{"type":44,"tag":68,"props":2359,"children":2360},{"style":749},[2361],{"type":50,"value":2140},{"type":44,"tag":68,"props":2363,"children":2364},{"style":743},[2365],{"type":50,"value":495},{"type":44,"tag":68,"props":2367,"children":2368},{"style":749},[2369],{"type":50,"value":2149},{"type":44,"tag":68,"props":2371,"children":2372},{"style":743},[2373],{"type":50,"value":2374},"}`",{"type":44,"tag":68,"props":2376,"children":2377},{"style":903},[2378],{"type":50,"value":833},{"type":44,"tag":68,"props":2380,"children":2381},{"style":743},[2382],{"type":50,"value":782},{"type":44,"tag":68,"props":2384,"children":2386},{"class":638,"line":2385},20,[2387,2391],{"type":44,"tag":68,"props":2388,"children":2389},{"style":737},[2390],{"type":50,"value":2224},{"type":44,"tag":68,"props":2392,"children":2393},{"style":743},[2394],{"type":50,"value":782},{"type":44,"tag":68,"props":2396,"children":2398},{"class":638,"line":2397},21,[2399],{"type":44,"tag":68,"props":2400,"children":2401},{"style":743},[2402],{"type":50,"value":2403},"    }\n",{"type":44,"tag":68,"props":2405,"children":2407},{"class":638,"line":2406},22,[2408,2413,2417,2423,2427,2433,2438,2443,2447,2451,2455,2461,2466],{"type":44,"tag":68,"props":2409,"children":2410},{"style":737},[2411],{"type":50,"value":2412},"    await",{"type":44,"tag":68,"props":2414,"children":2415},{"style":743},[2416],{"type":50,"value":813},{"type":44,"tag":68,"props":2418,"children":2420},{"style":2419},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[2421],{"type":50,"value":2422}," Promise",{"type":44,"tag":68,"props":2424,"children":2425},{"style":903},[2426],{"type":50,"value":823},{"type":44,"tag":68,"props":2428,"children":2430},{"style":2429},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[2431],{"type":50,"value":2432},"resolve",{"type":44,"tag":68,"props":2434,"children":2435},{"style":795},[2436],{"type":50,"value":2437}," =>",{"type":44,"tag":68,"props":2439,"children":2440},{"style":816},[2441],{"type":50,"value":2442}," setTimeout",{"type":44,"tag":68,"props":2444,"children":2445},{"style":903},[2446],{"type":50,"value":823},{"type":44,"tag":68,"props":2448,"children":2449},{"style":749},[2450],{"type":50,"value":2432},{"type":44,"tag":68,"props":2452,"children":2453},{"style":743},[2454],{"type":50,"value":2270},{"type":44,"tag":68,"props":2456,"children":2458},{"style":2457},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2459],{"type":50,"value":2460}," 10000",{"type":44,"tag":68,"props":2462,"children":2463},{"style":903},[2464],{"type":50,"value":2465},"))",{"type":44,"tag":68,"props":2467,"children":2468},{"style":743},[2469],{"type":50,"value":782},{"type":44,"tag":68,"props":2471,"children":2473},{"class":638,"line":2472},23,[2474],{"type":44,"tag":68,"props":2475,"children":2476},{"style":743},[2477],{"type":50,"value":2478},"}\n",{"type":44,"tag":64,"props":2480,"children":2481},{},[2482,2484,2493],{"type":50,"value":2483},"Advanced features: collaborative planning, native visualization, MCP integration, file search, multimodal inputs. See ",{"type":44,"tag":2485,"props":2486,"children":2490},"a",{"href":2487,"rel":2488},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdeep-research.md.txt",[2489],"nofollow",[2491],{"type":50,"value":2492},"Deep Research docs",{"type":50,"value":495},{"type":44,"tag":53,"props":2495,"children":2497},{"id":2496},"managed-agents",[2498],{"type":50,"value":2499},"Managed Agents",{"type":44,"tag":64,"props":2501,"children":2502},{},[2503,2505,2512],{"type":50,"value":2504},"Managed agents run inside a sandboxed Linux environment hosted by Google. Fetch the ",{"type":44,"tag":2485,"props":2506,"children":2509},{"href":2507,"rel":2508},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fmanaged-agents-quickstart.md.txt",[2489],[2510],{"type":50,"value":2511},"Managed Agents Quickstart",{"type":50,"value":2513}," before writing agent code.",{"type":44,"tag":76,"props":2515,"children":2517},{"id":2516},"antigravity-agent",[2518],{"type":50,"value":2519},"Antigravity Agent",{"type":44,"tag":64,"props":2521,"children":2522},{},[2523,2525,2530,2532,2539],{"type":50,"value":2524},"The Antigravity agent (",{"type":44,"tag":91,"props":2526,"children":2528},{"className":2527},[],[2529],{"type":50,"value":282},{"type":50,"value":2531},") is the general-purpose managed agent. It can execute code (Bash, Python, Node.js), manage files, browse the web, and use Google Search. See ",{"type":44,"tag":2485,"props":2533,"children":2536},{"href":2534,"rel":2535},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fantigravity-agent.md.txt",[2489],[2537],{"type":50,"value":2538},"Antigravity Agent docs",{"type":50,"value":2540}," for capabilities, tools, multimodal input, and pricing.",{"type":44,"tag":2542,"props":2543,"children":2545},"h4",{"id":2544},"python-3",[2546],{"type":50,"value":339},{"type":44,"tag":627,"props":2548,"children":2550},{"className":629,"code":2549,"language":623,"meta":631,"style":631},"from google import genai\n\nclient = genai.Client()\n\ninteraction = client.interactions.create(\n    agent=\"antigravity-preview-05-2026\",\n    input=\"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n    environment=\"remote\",\n)\n\nprint(f\"Environment ID: {interaction.environment_id}\")\nprint(interaction.output_text)\n",[2551],{"type":44,"tag":91,"props":2552,"children":2553},{"__ignoreMap":631},[2554,2561,2568,2575,2582,2589,2597,2605,2613,2620,2627,2635],{"type":44,"tag":68,"props":2555,"children":2556},{"class":638,"line":639},[2557],{"type":44,"tag":68,"props":2558,"children":2559},{},[2560],{"type":50,"value":645},{"type":44,"tag":68,"props":2562,"children":2563},{"class":638,"line":648},[2564],{"type":44,"tag":68,"props":2565,"children":2566},{"emptyLinePlaceholder":652},[2567],{"type":50,"value":655},{"type":44,"tag":68,"props":2569,"children":2570},{"class":638,"line":658},[2571],{"type":44,"tag":68,"props":2572,"children":2573},{},[2574],{"type":50,"value":664},{"type":44,"tag":68,"props":2576,"children":2577},{"class":638,"line":667},[2578],{"type":44,"tag":68,"props":2579,"children":2580},{"emptyLinePlaceholder":652},[2581],{"type":50,"value":655},{"type":44,"tag":68,"props":2583,"children":2584},{"class":638,"line":675},[2585],{"type":44,"tag":68,"props":2586,"children":2587},{},[2588],{"type":50,"value":681},{"type":44,"tag":68,"props":2590,"children":2591},{"class":638,"line":684},[2592],{"type":44,"tag":68,"props":2593,"children":2594},{},[2595],{"type":50,"value":2596},"    agent=\"antigravity-preview-05-2026\",\n",{"type":44,"tag":68,"props":2598,"children":2599},{"class":638,"line":693},[2600],{"type":44,"tag":68,"props":2601,"children":2602},{},[2603],{"type":50,"value":2604},"    input=\"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n",{"type":44,"tag":68,"props":2606,"children":2607},{"class":638,"line":702},[2608],{"type":44,"tag":68,"props":2609,"children":2610},{},[2611],{"type":50,"value":2612},"    environment=\"remote\",\n",{"type":44,"tag":68,"props":2614,"children":2615},{"class":638,"line":711},[2616],{"type":44,"tag":68,"props":2617,"children":2618},{},[2619],{"type":50,"value":708},{"type":44,"tag":68,"props":2621,"children":2622},{"class":638,"line":1263},[2623],{"type":44,"tag":68,"props":2624,"children":2625},{"emptyLinePlaceholder":652},[2626],{"type":50,"value":655},{"type":44,"tag":68,"props":2628,"children":2629},{"class":638,"line":1271},[2630],{"type":44,"tag":68,"props":2631,"children":2632},{},[2633],{"type":50,"value":2634},"print(f\"Environment ID: {interaction.environment_id}\")\n",{"type":44,"tag":68,"props":2636,"children":2637},{"class":638,"line":1719},[2638],{"type":44,"tag":68,"props":2639,"children":2640},{},[2641],{"type":50,"value":717},{"type":44,"tag":2542,"props":2643,"children":2645},{"id":2644},"javascripttypescript-3",[2646],{"type":50,"value":371},{"type":44,"tag":627,"props":2648,"children":2650},{"className":725,"code":2649,"language":727,"meta":631,"style":631},"import { GoogleGenAI } from \"@google\u002Fgenai\";\n\nconst client = new GoogleGenAI({});\n\nconst interaction = await client.interactions.create({\n    agent: \"antigravity-preview-05-2026\",\n    input: \"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.\",\n    environment: \"remote\",\n});\n\nconsole.log(`Environment ID: {interaction.environment_id}`);\nconsole.log(interaction.output_text);\n",[2651],{"type":44,"tag":91,"props":2652,"children":2653},{"__ignoreMap":631},[2654,2693,2700,2739,2746,2793,2820,2848,2877,2892,2899,2939],{"type":44,"tag":68,"props":2655,"children":2656},{"class":638,"line":639},[2657,2661,2665,2669,2673,2677,2681,2685,2689],{"type":44,"tag":68,"props":2658,"children":2659},{"style":737},[2660],{"type":50,"value":740},{"type":44,"tag":68,"props":2662,"children":2663},{"style":743},[2664],{"type":50,"value":746},{"type":44,"tag":68,"props":2666,"children":2667},{"style":749},[2668],{"type":50,"value":752},{"type":44,"tag":68,"props":2670,"children":2671},{"style":743},[2672],{"type":50,"value":757},{"type":44,"tag":68,"props":2674,"children":2675},{"style":737},[2676],{"type":50,"value":762},{"type":44,"tag":68,"props":2678,"children":2679},{"style":743},[2680],{"type":50,"value":767},{"type":44,"tag":68,"props":2682,"children":2683},{"style":770},[2684],{"type":50,"value":378},{"type":44,"tag":68,"props":2686,"children":2687},{"style":743},[2688],{"type":50,"value":777},{"type":44,"tag":68,"props":2690,"children":2691},{"style":743},[2692],{"type":50,"value":782},{"type":44,"tag":68,"props":2694,"children":2695},{"class":638,"line":648},[2696],{"type":44,"tag":68,"props":2697,"children":2698},{"emptyLinePlaceholder":652},[2699],{"type":50,"value":655},{"type":44,"tag":68,"props":2701,"children":2702},{"class":638,"line":658},[2703,2707,2711,2715,2719,2723,2727,2731,2735],{"type":44,"tag":68,"props":2704,"children":2705},{"style":795},[2706],{"type":50,"value":798},{"type":44,"tag":68,"props":2708,"children":2709},{"style":749},[2710],{"type":50,"value":803},{"type":44,"tag":68,"props":2712,"children":2713},{"style":743},[2714],{"type":50,"value":808},{"type":44,"tag":68,"props":2716,"children":2717},{"style":743},[2718],{"type":50,"value":813},{"type":44,"tag":68,"props":2720,"children":2721},{"style":816},[2722],{"type":50,"value":752},{"type":44,"tag":68,"props":2724,"children":2725},{"style":749},[2726],{"type":50,"value":823},{"type":44,"tag":68,"props":2728,"children":2729},{"style":743},[2730],{"type":50,"value":828},{"type":44,"tag":68,"props":2732,"children":2733},{"style":749},[2734],{"type":50,"value":833},{"type":44,"tag":68,"props":2736,"children":2737},{"style":743},[2738],{"type":50,"value":782},{"type":44,"tag":68,"props":2740,"children":2741},{"class":638,"line":667},[2742],{"type":44,"tag":68,"props":2743,"children":2744},{"emptyLinePlaceholder":652},[2745],{"type":50,"value":655},{"type":44,"tag":68,"props":2747,"children":2748},{"class":638,"line":675},[2749,2753,2757,2761,2765,2769,2773,2777,2781,2785,2789],{"type":44,"tag":68,"props":2750,"children":2751},{"style":795},[2752],{"type":50,"value":798},{"type":44,"tag":68,"props":2754,"children":2755},{"style":749},[2756],{"type":50,"value":856},{"type":44,"tag":68,"props":2758,"children":2759},{"style":743},[2760],{"type":50,"value":808},{"type":44,"tag":68,"props":2762,"children":2763},{"style":737},[2764],{"type":50,"value":865},{"type":44,"tag":68,"props":2766,"children":2767},{"style":749},[2768],{"type":50,"value":870},{"type":44,"tag":68,"props":2770,"children":2771},{"style":743},[2772],{"type":50,"value":495},{"type":44,"tag":68,"props":2774,"children":2775},{"style":749},[2776],{"type":50,"value":879},{"type":44,"tag":68,"props":2778,"children":2779},{"style":743},[2780],{"type":50,"value":495},{"type":44,"tag":68,"props":2782,"children":2783},{"style":816},[2784],{"type":50,"value":888},{"type":44,"tag":68,"props":2786,"children":2787},{"style":749},[2788],{"type":50,"value":823},{"type":44,"tag":68,"props":2790,"children":2791},{"style":743},[2792],{"type":50,"value":897},{"type":44,"tag":68,"props":2794,"children":2795},{"class":638,"line":684},[2796,2800,2804,2808,2812,2816],{"type":44,"tag":68,"props":2797,"children":2798},{"style":903},[2799],{"type":50,"value":1929},{"type":44,"tag":68,"props":2801,"children":2802},{"style":743},[2803],{"type":50,"value":911},{"type":44,"tag":68,"props":2805,"children":2806},{"style":743},[2807],{"type":50,"value":767},{"type":44,"tag":68,"props":2809,"children":2810},{"style":770},[2811],{"type":50,"value":282},{"type":44,"tag":68,"props":2813,"children":2814},{"style":743},[2815],{"type":50,"value":777},{"type":44,"tag":68,"props":2817,"children":2818},{"style":743},[2819],{"type":50,"value":928},{"type":44,"tag":68,"props":2821,"children":2822},{"class":638,"line":693},[2823,2827,2831,2835,2840,2844],{"type":44,"tag":68,"props":2824,"children":2825},{"style":903},[2826],{"type":50,"value":936},{"type":44,"tag":68,"props":2828,"children":2829},{"style":743},[2830],{"type":50,"value":911},{"type":44,"tag":68,"props":2832,"children":2833},{"style":743},[2834],{"type":50,"value":767},{"type":44,"tag":68,"props":2836,"children":2837},{"style":770},[2838],{"type":50,"value":2839},"Write a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt. Then read the file and print its contents.",{"type":44,"tag":68,"props":2841,"children":2842},{"style":743},[2843],{"type":50,"value":777},{"type":44,"tag":68,"props":2845,"children":2846},{"style":743},[2847],{"type":50,"value":928},{"type":44,"tag":68,"props":2849,"children":2850},{"class":638,"line":702},[2851,2856,2860,2864,2869,2873],{"type":44,"tag":68,"props":2852,"children":2853},{"style":903},[2854],{"type":50,"value":2855},"    environment",{"type":44,"tag":68,"props":2857,"children":2858},{"style":743},[2859],{"type":50,"value":911},{"type":44,"tag":68,"props":2861,"children":2862},{"style":743},[2863],{"type":50,"value":767},{"type":44,"tag":68,"props":2865,"children":2866},{"style":770},[2867],{"type":50,"value":2868},"remote",{"type":44,"tag":68,"props":2870,"children":2871},{"style":743},[2872],{"type":50,"value":777},{"type":44,"tag":68,"props":2874,"children":2875},{"style":743},[2876],{"type":50,"value":928},{"type":44,"tag":68,"props":2878,"children":2879},{"class":638,"line":711},[2880,2884,2888],{"type":44,"tag":68,"props":2881,"children":2882},{"style":743},[2883],{"type":50,"value":965},{"type":44,"tag":68,"props":2885,"children":2886},{"style":749},[2887],{"type":50,"value":833},{"type":44,"tag":68,"props":2889,"children":2890},{"style":743},[2891],{"type":50,"value":782},{"type":44,"tag":68,"props":2893,"children":2894},{"class":638,"line":1263},[2895],{"type":44,"tag":68,"props":2896,"children":2897},{"emptyLinePlaceholder":652},[2898],{"type":50,"value":655},{"type":44,"tag":68,"props":2900,"children":2901},{"class":638,"line":1271},[2902,2906,2910,2914,2918,2922,2927,2931,2935],{"type":44,"tag":68,"props":2903,"children":2904},{"style":749},[2905],{"type":50,"value":981},{"type":44,"tag":68,"props":2907,"children":2908},{"style":743},[2909],{"type":50,"value":495},{"type":44,"tag":68,"props":2911,"children":2912},{"style":816},[2913],{"type":50,"value":990},{"type":44,"tag":68,"props":2915,"children":2916},{"style":749},[2917],{"type":50,"value":823},{"type":44,"tag":68,"props":2919,"children":2920},{"style":743},[2921],{"type":50,"value":2347},{"type":44,"tag":68,"props":2923,"children":2924},{"style":770},[2925],{"type":50,"value":2926},"Environment ID: {interaction.environment_id}",{"type":44,"tag":68,"props":2928,"children":2929},{"style":743},[2930],{"type":50,"value":2347},{"type":44,"tag":68,"props":2932,"children":2933},{"style":749},[2934],{"type":50,"value":833},{"type":44,"tag":68,"props":2936,"children":2937},{"style":743},[2938],{"type":50,"value":782},{"type":44,"tag":68,"props":2940,"children":2941},{"class":638,"line":1719},[2942,2946,2950,2954,2958,2962,2966],{"type":44,"tag":68,"props":2943,"children":2944},{"style":749},[2945],{"type":50,"value":981},{"type":44,"tag":68,"props":2947,"children":2948},{"style":743},[2949],{"type":50,"value":495},{"type":44,"tag":68,"props":2951,"children":2952},{"style":816},[2953],{"type":50,"value":990},{"type":44,"tag":68,"props":2955,"children":2956},{"style":749},[2957],{"type":50,"value":995},{"type":44,"tag":68,"props":2959,"children":2960},{"style":743},[2961],{"type":50,"value":495},{"type":44,"tag":68,"props":2963,"children":2964},{"style":749},[2965],{"type":50,"value":1004},{"type":44,"tag":68,"props":2967,"children":2968},{"style":743},[2969],{"type":50,"value":782},{"type":44,"tag":76,"props":2971,"children":2973},{"id":2972},"custom-agents",[2974],{"type":50,"value":2975},"Custom Agents",{"type":44,"tag":64,"props":2977,"children":2978},{},[2979,2981,2988],{"type":50,"value":2980},"See ",{"type":44,"tag":2485,"props":2982,"children":2985},{"href":2983,"rel":2984},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fcustom-agents.md.txt",[2489],[2986],{"type":50,"value":2987},"Building Custom Agents docs",{"type":50,"value":495},{"type":44,"tag":2542,"props":2990,"children":2992},{"id":2991},"python-4",[2993],{"type":50,"value":339},{"type":44,"tag":627,"props":2995,"children":2997},{"className":629,"code":2996,"language":623,"meta":631,"style":631},"agent = client.agents.create(\n    id=\"code-reviewer\",\n    base_agent=\"antigravity-preview-05-2026\",\n    system_instruction=\"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n    base_environment={\n        \"type\": \"remote\",\n        \"sources\": [\n            {\n                \"type\": \"repository\",\n                \"source\": \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n                \"target\": \"\u002Fworkspace\u002Frepo\",\n            }\n        ],\n    },\n)\n\n# Invoke — each call forks the base environment\nresult = client.interactions.create(\n    agent=\"code-reviewer\",\n    input=\"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n    environment=\"remote\",\n)\nprint(result.output_text)\n",[2998],{"type":44,"tag":91,"props":2999,"children":3000},{"__ignoreMap":631},[3001,3009,3017,3025,3033,3041,3049,3057,3065,3073,3081,3089,3097,3105,3113,3120,3127,3135,3143,3151,3159,3166,3173],{"type":44,"tag":68,"props":3002,"children":3003},{"class":638,"line":639},[3004],{"type":44,"tag":68,"props":3005,"children":3006},{},[3007],{"type":50,"value":3008},"agent = client.agents.create(\n",{"type":44,"tag":68,"props":3010,"children":3011},{"class":638,"line":648},[3012],{"type":44,"tag":68,"props":3013,"children":3014},{},[3015],{"type":50,"value":3016},"    id=\"code-reviewer\",\n",{"type":44,"tag":68,"props":3018,"children":3019},{"class":638,"line":658},[3020],{"type":44,"tag":68,"props":3021,"children":3022},{},[3023],{"type":50,"value":3024},"    base_agent=\"antigravity-preview-05-2026\",\n",{"type":44,"tag":68,"props":3026,"children":3027},{"class":638,"line":667},[3028],{"type":44,"tag":68,"props":3029,"children":3030},{},[3031],{"type":50,"value":3032},"    system_instruction=\"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n",{"type":44,"tag":68,"props":3034,"children":3035},{"class":638,"line":675},[3036],{"type":44,"tag":68,"props":3037,"children":3038},{},[3039],{"type":50,"value":3040},"    base_environment={\n",{"type":44,"tag":68,"props":3042,"children":3043},{"class":638,"line":684},[3044],{"type":44,"tag":68,"props":3045,"children":3046},{},[3047],{"type":50,"value":3048},"        \"type\": \"remote\",\n",{"type":44,"tag":68,"props":3050,"children":3051},{"class":638,"line":693},[3052],{"type":44,"tag":68,"props":3053,"children":3054},{},[3055],{"type":50,"value":3056},"        \"sources\": [\n",{"type":44,"tag":68,"props":3058,"children":3059},{"class":638,"line":702},[3060],{"type":44,"tag":68,"props":3061,"children":3062},{},[3063],{"type":50,"value":3064},"            {\n",{"type":44,"tag":68,"props":3066,"children":3067},{"class":638,"line":711},[3068],{"type":44,"tag":68,"props":3069,"children":3070},{},[3071],{"type":50,"value":3072},"                \"type\": \"repository\",\n",{"type":44,"tag":68,"props":3074,"children":3075},{"class":638,"line":1263},[3076],{"type":44,"tag":68,"props":3077,"children":3078},{},[3079],{"type":50,"value":3080},"                \"source\": \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n",{"type":44,"tag":68,"props":3082,"children":3083},{"class":638,"line":1271},[3084],{"type":44,"tag":68,"props":3085,"children":3086},{},[3087],{"type":50,"value":3088},"                \"target\": \"\u002Fworkspace\u002Frepo\",\n",{"type":44,"tag":68,"props":3090,"children":3091},{"class":638,"line":1719},[3092],{"type":44,"tag":68,"props":3093,"children":3094},{},[3095],{"type":50,"value":3096},"            }\n",{"type":44,"tag":68,"props":3098,"children":3099},{"class":638,"line":1728},[3100],{"type":44,"tag":68,"props":3101,"children":3102},{},[3103],{"type":50,"value":3104},"        ],\n",{"type":44,"tag":68,"props":3106,"children":3107},{"class":638,"line":1737},[3108],{"type":44,"tag":68,"props":3109,"children":3110},{},[3111],{"type":50,"value":3112},"    },\n",{"type":44,"tag":68,"props":3114,"children":3115},{"class":638,"line":1746},[3116],{"type":44,"tag":68,"props":3117,"children":3118},{},[3119],{"type":50,"value":708},{"type":44,"tag":68,"props":3121,"children":3122},{"class":638,"line":1754},[3123],{"type":44,"tag":68,"props":3124,"children":3125},{"emptyLinePlaceholder":652},[3126],{"type":50,"value":655},{"type":44,"tag":68,"props":3128,"children":3129},{"class":638,"line":2218},[3130],{"type":44,"tag":68,"props":3131,"children":3132},{},[3133],{"type":50,"value":3134},"# Invoke — each call forks the base environment\n",{"type":44,"tag":68,"props":3136,"children":3137},{"class":638,"line":2231},[3138],{"type":44,"tag":68,"props":3139,"children":3140},{},[3141],{"type":50,"value":3142},"result = client.interactions.create(\n",{"type":44,"tag":68,"props":3144,"children":3145},{"class":638,"line":2325},[3146],{"type":44,"tag":68,"props":3147,"children":3148},{},[3149],{"type":50,"value":3150},"    agent=\"code-reviewer\",\n",{"type":44,"tag":68,"props":3152,"children":3153},{"class":638,"line":2385},[3154],{"type":44,"tag":68,"props":3155,"children":3156},{},[3157],{"type":50,"value":3158},"    input=\"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n",{"type":44,"tag":68,"props":3160,"children":3161},{"class":638,"line":2397},[3162],{"type":44,"tag":68,"props":3163,"children":3164},{},[3165],{"type":50,"value":2612},{"type":44,"tag":68,"props":3167,"children":3168},{"class":638,"line":2406},[3169],{"type":44,"tag":68,"props":3170,"children":3171},{},[3172],{"type":50,"value":708},{"type":44,"tag":68,"props":3174,"children":3175},{"class":638,"line":2472},[3176],{"type":44,"tag":68,"props":3177,"children":3178},{},[3179],{"type":50,"value":3180},"print(result.output_text)\n",{"type":44,"tag":2542,"props":3182,"children":3184},{"id":3183},"javascripttypescript-4",[3185],{"type":50,"value":371},{"type":44,"tag":627,"props":3187,"children":3189},{"className":725,"code":3188,"language":727,"meta":631,"style":631},"const agent = await client.agents.create({\n    id: \"code-reviewer\",\n    base_agent=\"antigravity-preview-05-2026\",\n    system_instruction: \"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.\",\n    base_environment: {\n        type: \"remote\",\n        sources: [\n            {\n                type: \"repository\",\n                source: \"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend\",\n                target: \"\u002Fworkspace\u002Frepo\",\n            }\n        ],\n    },\n});\n\nconst result = await client.interactions.create({\n    agent: \"code-reviewer\",\n    input: \"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.\",\n    environment: \"remote\",\n});\nconsole.log(result.output_text);\n",[3190],{"type":44,"tag":91,"props":3191,"children":3192},{"__ignoreMap":631},[3193,3242,3271,3299,3328,3345,3373,3390,3397,3426,3455,3484,3491,3503,3510,3525,3532,3580,3607,3635,3662,3677],{"type":44,"tag":68,"props":3194,"children":3195},{"class":638,"line":639},[3196,3200,3205,3209,3213,3217,3221,3226,3230,3234,3238],{"type":44,"tag":68,"props":3197,"children":3198},{"style":795},[3199],{"type":50,"value":798},{"type":44,"tag":68,"props":3201,"children":3202},{"style":749},[3203],{"type":50,"value":3204}," agent ",{"type":44,"tag":68,"props":3206,"children":3207},{"style":743},[3208],{"type":50,"value":808},{"type":44,"tag":68,"props":3210,"children":3211},{"style":737},[3212],{"type":50,"value":865},{"type":44,"tag":68,"props":3214,"children":3215},{"style":749},[3216],{"type":50,"value":870},{"type":44,"tag":68,"props":3218,"children":3219},{"style":743},[3220],{"type":50,"value":495},{"type":44,"tag":68,"props":3222,"children":3223},{"style":749},[3224],{"type":50,"value":3225},"agents",{"type":44,"tag":68,"props":3227,"children":3228},{"style":743},[3229],{"type":50,"value":495},{"type":44,"tag":68,"props":3231,"children":3232},{"style":816},[3233],{"type":50,"value":888},{"type":44,"tag":68,"props":3235,"children":3236},{"style":749},[3237],{"type":50,"value":823},{"type":44,"tag":68,"props":3239,"children":3240},{"style":743},[3241],{"type":50,"value":897},{"type":44,"tag":68,"props":3243,"children":3244},{"class":638,"line":648},[3245,3250,3254,3258,3263,3267],{"type":44,"tag":68,"props":3246,"children":3247},{"style":903},[3248],{"type":50,"value":3249},"    id",{"type":44,"tag":68,"props":3251,"children":3252},{"style":743},[3253],{"type":50,"value":911},{"type":44,"tag":68,"props":3255,"children":3256},{"style":743},[3257],{"type":50,"value":767},{"type":44,"tag":68,"props":3259,"children":3260},{"style":770},[3261],{"type":50,"value":3262},"code-reviewer",{"type":44,"tag":68,"props":3264,"children":3265},{"style":743},[3266],{"type":50,"value":777},{"type":44,"tag":68,"props":3268,"children":3269},{"style":743},[3270],{"type":50,"value":928},{"type":44,"tag":68,"props":3272,"children":3273},{"class":638,"line":658},[3274,3279,3283,3287,3291,3295],{"type":44,"tag":68,"props":3275,"children":3276},{"style":749},[3277],{"type":50,"value":3278},"    base_agent",{"type":44,"tag":68,"props":3280,"children":3281},{"style":743},[3282],{"type":50,"value":808},{"type":44,"tag":68,"props":3284,"children":3285},{"style":743},[3286],{"type":50,"value":777},{"type":44,"tag":68,"props":3288,"children":3289},{"style":770},[3290],{"type":50,"value":282},{"type":44,"tag":68,"props":3292,"children":3293},{"style":743},[3294],{"type":50,"value":777},{"type":44,"tag":68,"props":3296,"children":3297},{"style":743},[3298],{"type":50,"value":928},{"type":44,"tag":68,"props":3300,"children":3301},{"class":638,"line":667},[3302,3307,3311,3315,3320,3324],{"type":44,"tag":68,"props":3303,"children":3304},{"style":903},[3305],{"type":50,"value":3306},"    system_instruction",{"type":44,"tag":68,"props":3308,"children":3309},{"style":743},[3310],{"type":50,"value":911},{"type":44,"tag":68,"props":3312,"children":3313},{"style":743},[3314],{"type":50,"value":767},{"type":44,"tag":68,"props":3316,"children":3317},{"style":770},[3318],{"type":50,"value":3319},"You are a senior code reviewer. Check every file for bugs, style issues, and security vulnerabilities.",{"type":44,"tag":68,"props":3321,"children":3322},{"style":743},[3323],{"type":50,"value":777},{"type":44,"tag":68,"props":3325,"children":3326},{"style":743},[3327],{"type":50,"value":928},{"type":44,"tag":68,"props":3329,"children":3330},{"class":638,"line":675},[3331,3336,3340],{"type":44,"tag":68,"props":3332,"children":3333},{"style":903},[3334],{"type":50,"value":3335},"    base_environment",{"type":44,"tag":68,"props":3337,"children":3338},{"style":743},[3339],{"type":50,"value":911},{"type":44,"tag":68,"props":3341,"children":3342},{"style":743},[3343],{"type":50,"value":3344}," {\n",{"type":44,"tag":68,"props":3346,"children":3347},{"class":638,"line":684},[3348,3353,3357,3361,3365,3369],{"type":44,"tag":68,"props":3349,"children":3350},{"style":903},[3351],{"type":50,"value":3352},"        type",{"type":44,"tag":68,"props":3354,"children":3355},{"style":743},[3356],{"type":50,"value":911},{"type":44,"tag":68,"props":3358,"children":3359},{"style":743},[3360],{"type":50,"value":767},{"type":44,"tag":68,"props":3362,"children":3363},{"style":770},[3364],{"type":50,"value":2868},{"type":44,"tag":68,"props":3366,"children":3367},{"style":743},[3368],{"type":50,"value":777},{"type":44,"tag":68,"props":3370,"children":3371},{"style":743},[3372],{"type":50,"value":928},{"type":44,"tag":68,"props":3374,"children":3375},{"class":638,"line":693},[3376,3381,3385],{"type":44,"tag":68,"props":3377,"children":3378},{"style":903},[3379],{"type":50,"value":3380},"        sources",{"type":44,"tag":68,"props":3382,"children":3383},{"style":743},[3384],{"type":50,"value":911},{"type":44,"tag":68,"props":3386,"children":3387},{"style":749},[3388],{"type":50,"value":3389}," [\n",{"type":44,"tag":68,"props":3391,"children":3392},{"class":638,"line":702},[3393],{"type":44,"tag":68,"props":3394,"children":3395},{"style":743},[3396],{"type":50,"value":3064},{"type":44,"tag":68,"props":3398,"children":3399},{"class":638,"line":711},[3400,3405,3409,3413,3418,3422],{"type":44,"tag":68,"props":3401,"children":3402},{"style":903},[3403],{"type":50,"value":3404},"                type",{"type":44,"tag":68,"props":3406,"children":3407},{"style":743},[3408],{"type":50,"value":911},{"type":44,"tag":68,"props":3410,"children":3411},{"style":743},[3412],{"type":50,"value":767},{"type":44,"tag":68,"props":3414,"children":3415},{"style":770},[3416],{"type":50,"value":3417},"repository",{"type":44,"tag":68,"props":3419,"children":3420},{"style":743},[3421],{"type":50,"value":777},{"type":44,"tag":68,"props":3423,"children":3424},{"style":743},[3425],{"type":50,"value":928},{"type":44,"tag":68,"props":3427,"children":3428},{"class":638,"line":1263},[3429,3434,3438,3442,3447,3451],{"type":44,"tag":68,"props":3430,"children":3431},{"style":903},[3432],{"type":50,"value":3433},"                source",{"type":44,"tag":68,"props":3435,"children":3436},{"style":743},[3437],{"type":50,"value":911},{"type":44,"tag":68,"props":3439,"children":3440},{"style":743},[3441],{"type":50,"value":767},{"type":44,"tag":68,"props":3443,"children":3444},{"style":770},[3445],{"type":50,"value":3446},"https:\u002F\u002Fgithub.com\u002Fmy-org\u002Fbackend",{"type":44,"tag":68,"props":3448,"children":3449},{"style":743},[3450],{"type":50,"value":777},{"type":44,"tag":68,"props":3452,"children":3453},{"style":743},[3454],{"type":50,"value":928},{"type":44,"tag":68,"props":3456,"children":3457},{"class":638,"line":1271},[3458,3463,3467,3471,3476,3480],{"type":44,"tag":68,"props":3459,"children":3460},{"style":903},[3461],{"type":50,"value":3462},"                target",{"type":44,"tag":68,"props":3464,"children":3465},{"style":743},[3466],{"type":50,"value":911},{"type":44,"tag":68,"props":3468,"children":3469},{"style":743},[3470],{"type":50,"value":767},{"type":44,"tag":68,"props":3472,"children":3473},{"style":770},[3474],{"type":50,"value":3475},"\u002Fworkspace\u002Frepo",{"type":44,"tag":68,"props":3477,"children":3478},{"style":743},[3479],{"type":50,"value":777},{"type":44,"tag":68,"props":3481,"children":3482},{"style":743},[3483],{"type":50,"value":928},{"type":44,"tag":68,"props":3485,"children":3486},{"class":638,"line":1719},[3487],{"type":44,"tag":68,"props":3488,"children":3489},{"style":743},[3490],{"type":50,"value":3096},{"type":44,"tag":68,"props":3492,"children":3493},{"class":638,"line":1728},[3494,3499],{"type":44,"tag":68,"props":3495,"children":3496},{"style":749},[3497],{"type":50,"value":3498},"        ]",{"type":44,"tag":68,"props":3500,"children":3501},{"style":743},[3502],{"type":50,"value":928},{"type":44,"tag":68,"props":3504,"children":3505},{"class":638,"line":1737},[3506],{"type":44,"tag":68,"props":3507,"children":3508},{"style":743},[3509],{"type":50,"value":3112},{"type":44,"tag":68,"props":3511,"children":3512},{"class":638,"line":1746},[3513,3517,3521],{"type":44,"tag":68,"props":3514,"children":3515},{"style":743},[3516],{"type":50,"value":965},{"type":44,"tag":68,"props":3518,"children":3519},{"style":749},[3520],{"type":50,"value":833},{"type":44,"tag":68,"props":3522,"children":3523},{"style":743},[3524],{"type":50,"value":782},{"type":44,"tag":68,"props":3526,"children":3527},{"class":638,"line":1754},[3528],{"type":44,"tag":68,"props":3529,"children":3530},{"emptyLinePlaceholder":652},[3531],{"type":50,"value":655},{"type":44,"tag":68,"props":3533,"children":3534},{"class":638,"line":2218},[3535,3539,3544,3548,3552,3556,3560,3564,3568,3572,3576],{"type":44,"tag":68,"props":3536,"children":3537},{"style":795},[3538],{"type":50,"value":798},{"type":44,"tag":68,"props":3540,"children":3541},{"style":749},[3542],{"type":50,"value":3543}," result ",{"type":44,"tag":68,"props":3545,"children":3546},{"style":743},[3547],{"type":50,"value":808},{"type":44,"tag":68,"props":3549,"children":3550},{"style":737},[3551],{"type":50,"value":865},{"type":44,"tag":68,"props":3553,"children":3554},{"style":749},[3555],{"type":50,"value":870},{"type":44,"tag":68,"props":3557,"children":3558},{"style":743},[3559],{"type":50,"value":495},{"type":44,"tag":68,"props":3561,"children":3562},{"style":749},[3563],{"type":50,"value":879},{"type":44,"tag":68,"props":3565,"children":3566},{"style":743},[3567],{"type":50,"value":495},{"type":44,"tag":68,"props":3569,"children":3570},{"style":816},[3571],{"type":50,"value":888},{"type":44,"tag":68,"props":3573,"children":3574},{"style":749},[3575],{"type":50,"value":823},{"type":44,"tag":68,"props":3577,"children":3578},{"style":743},[3579],{"type":50,"value":897},{"type":44,"tag":68,"props":3581,"children":3582},{"class":638,"line":2231},[3583,3587,3591,3595,3599,3603],{"type":44,"tag":68,"props":3584,"children":3585},{"style":903},[3586],{"type":50,"value":1929},{"type":44,"tag":68,"props":3588,"children":3589},{"style":743},[3590],{"type":50,"value":911},{"type":44,"tag":68,"props":3592,"children":3593},{"style":743},[3594],{"type":50,"value":767},{"type":44,"tag":68,"props":3596,"children":3597},{"style":770},[3598],{"type":50,"value":3262},{"type":44,"tag":68,"props":3600,"children":3601},{"style":743},[3602],{"type":50,"value":777},{"type":44,"tag":68,"props":3604,"children":3605},{"style":743},[3606],{"type":50,"value":928},{"type":44,"tag":68,"props":3608,"children":3609},{"class":638,"line":2325},[3610,3614,3618,3622,3627,3631],{"type":44,"tag":68,"props":3611,"children":3612},{"style":903},[3613],{"type":50,"value":936},{"type":44,"tag":68,"props":3615,"children":3616},{"style":743},[3617],{"type":50,"value":911},{"type":44,"tag":68,"props":3619,"children":3620},{"style":743},[3621],{"type":50,"value":767},{"type":44,"tag":68,"props":3623,"children":3624},{"style":770},[3625],{"type":50,"value":3626},"Review the latest changes in \u002Fworkspace\u002Frepo\u002Fsrc.",{"type":44,"tag":68,"props":3628,"children":3629},{"style":743},[3630],{"type":50,"value":777},{"type":44,"tag":68,"props":3632,"children":3633},{"style":743},[3634],{"type":50,"value":928},{"type":44,"tag":68,"props":3636,"children":3637},{"class":638,"line":2385},[3638,3642,3646,3650,3654,3658],{"type":44,"tag":68,"props":3639,"children":3640},{"style":903},[3641],{"type":50,"value":2855},{"type":44,"tag":68,"props":3643,"children":3644},{"style":743},[3645],{"type":50,"value":911},{"type":44,"tag":68,"props":3647,"children":3648},{"style":743},[3649],{"type":50,"value":767},{"type":44,"tag":68,"props":3651,"children":3652},{"style":770},[3653],{"type":50,"value":2868},{"type":44,"tag":68,"props":3655,"children":3656},{"style":743},[3657],{"type":50,"value":777},{"type":44,"tag":68,"props":3659,"children":3660},{"style":743},[3661],{"type":50,"value":928},{"type":44,"tag":68,"props":3663,"children":3664},{"class":638,"line":2397},[3665,3669,3673],{"type":44,"tag":68,"props":3666,"children":3667},{"style":743},[3668],{"type":50,"value":965},{"type":44,"tag":68,"props":3670,"children":3671},{"style":749},[3672],{"type":50,"value":833},{"type":44,"tag":68,"props":3674,"children":3675},{"style":743},[3676],{"type":50,"value":782},{"type":44,"tag":68,"props":3678,"children":3679},{"class":638,"line":2406},[3680,3684,3688,3692,3697,3701,3705],{"type":44,"tag":68,"props":3681,"children":3682},{"style":749},[3683],{"type":50,"value":981},{"type":44,"tag":68,"props":3685,"children":3686},{"style":743},[3687],{"type":50,"value":495},{"type":44,"tag":68,"props":3689,"children":3690},{"style":816},[3691],{"type":50,"value":990},{"type":44,"tag":68,"props":3693,"children":3694},{"style":749},[3695],{"type":50,"value":3696},"(result",{"type":44,"tag":68,"props":3698,"children":3699},{"style":743},[3700],{"type":50,"value":495},{"type":44,"tag":68,"props":3702,"children":3703},{"style":749},[3704],{"type":50,"value":1004},{"type":44,"tag":68,"props":3706,"children":3707},{"style":743},[3708],{"type":50,"value":782},{"type":44,"tag":64,"props":3710,"children":3711},{},[3712,3714,3720,3721,3727,3728,3734],{"type":50,"value":3713},"Manage agents with ",{"type":44,"tag":91,"props":3715,"children":3717},{"className":3716},[],[3718],{"type":50,"value":3719},"client.agents.list()",{"type":50,"value":229},{"type":44,"tag":91,"props":3722,"children":3724},{"className":3723},[],[3725],{"type":50,"value":3726},"client.agents.get(id=...)",{"type":50,"value":513},{"type":44,"tag":91,"props":3729,"children":3731},{"className":3730},[],[3732],{"type":50,"value":3733},"client.agents.delete(id=...)",{"type":50,"value":495},{"type":44,"tag":53,"props":3736,"children":3738},{"id":3737},"streaming",[3739],{"type":50,"value":3740},"Streaming",{"type":44,"tag":64,"props":3742,"children":3743},{},[3744,3745,3751,3753,3759,3761,3767,3768,3774,3776,3782,3784,3790],{"type":50,"value":471},{"type":44,"tag":91,"props":3746,"children":3748},{"className":3747},[],[3749],{"type":50,"value":3750},"stream=True",{"type":50,"value":3752}," to receive incremental server-sent events. Each stream follows: ",{"type":44,"tag":91,"props":3754,"children":3756},{"className":3755},[],[3757],{"type":50,"value":3758},"interaction.created",{"type":50,"value":3760}," → (",{"type":44,"tag":91,"props":3762,"children":3764},{"className":3763},[],[3765],{"type":50,"value":3766},"step.start",{"type":50,"value":357},{"type":44,"tag":91,"props":3769,"children":3771},{"className":3770},[],[3772],{"type":50,"value":3773},"step.delta",{"type":50,"value":3775},"(s) → ",{"type":44,"tag":91,"props":3777,"children":3779},{"className":3778},[],[3780],{"type":50,"value":3781},"step.stop",{"type":50,"value":3783},")+ → ",{"type":44,"tag":91,"props":3785,"children":3787},{"className":3786},[],[3788],{"type":50,"value":3789},"interaction.completed",{"type":50,"value":495},{"type":44,"tag":76,"props":3792,"children":3794},{"id":3793},"python-5",[3795],{"type":50,"value":339},{"type":44,"tag":627,"props":3797,"children":3799},{"className":629,"code":3798,"language":623,"meta":631,"style":631},"for event in client.interactions.create(\n    model=\"gemini-3.6-flash\",\n    input=\"Explain quantum entanglement in simple terms.\",\n    stream=True,\n):\n    if event.event_type == \"step.delta\":\n        if event.delta.type == \"text\":\n            print(event.delta.text, end=\"\", flush=True)\n    elif event.event_type == \"interaction.completed\":\n        print(f\"\\n\\nTotal Tokens: {event.interaction.usage.total_tokens}\")\n",[3800],{"type":44,"tag":91,"props":3801,"children":3802},{"__ignoreMap":631},[3803,3811,3818,3826,3834,3842,3850,3858,3866,3874],{"type":44,"tag":68,"props":3804,"children":3805},{"class":638,"line":639},[3806],{"type":44,"tag":68,"props":3807,"children":3808},{},[3809],{"type":50,"value":3810},"for event in client.interactions.create(\n",{"type":44,"tag":68,"props":3812,"children":3813},{"class":638,"line":648},[3814],{"type":44,"tag":68,"props":3815,"children":3816},{},[3817],{"type":50,"value":690},{"type":44,"tag":68,"props":3819,"children":3820},{"class":638,"line":658},[3821],{"type":44,"tag":68,"props":3822,"children":3823},{},[3824],{"type":50,"value":3825},"    input=\"Explain quantum entanglement in simple terms.\",\n",{"type":44,"tag":68,"props":3827,"children":3828},{"class":638,"line":667},[3829],{"type":44,"tag":68,"props":3830,"children":3831},{},[3832],{"type":50,"value":3833},"    stream=True,\n",{"type":44,"tag":68,"props":3835,"children":3836},{"class":638,"line":675},[3837],{"type":44,"tag":68,"props":3838,"children":3839},{},[3840],{"type":50,"value":3841},"):\n",{"type":44,"tag":68,"props":3843,"children":3844},{"class":638,"line":684},[3845],{"type":44,"tag":68,"props":3846,"children":3847},{},[3848],{"type":50,"value":3849},"    if event.event_type == \"step.delta\":\n",{"type":44,"tag":68,"props":3851,"children":3852},{"class":638,"line":693},[3853],{"type":44,"tag":68,"props":3854,"children":3855},{},[3856],{"type":50,"value":3857},"        if event.delta.type == \"text\":\n",{"type":44,"tag":68,"props":3859,"children":3860},{"class":638,"line":702},[3861],{"type":44,"tag":68,"props":3862,"children":3863},{},[3864],{"type":50,"value":3865},"            print(event.delta.text, end=\"\", flush=True)\n",{"type":44,"tag":68,"props":3867,"children":3868},{"class":638,"line":711},[3869],{"type":44,"tag":68,"props":3870,"children":3871},{},[3872],{"type":50,"value":3873},"    elif event.event_type == \"interaction.completed\":\n",{"type":44,"tag":68,"props":3875,"children":3876},{"class":638,"line":1263},[3877],{"type":44,"tag":68,"props":3878,"children":3879},{},[3880],{"type":50,"value":3881},"        print(f\"\\n\\nTotal Tokens: {event.interaction.usage.total_tokens}\")\n",{"type":44,"tag":76,"props":3883,"children":3885},{"id":3884},"javascripttypescript-5",[3886],{"type":50,"value":371},{"type":44,"tag":627,"props":3888,"children":3890},{"className":725,"code":3889,"language":727,"meta":631,"style":631},"const stream = await client.interactions.create({\n    model: \"gemini-3.6-flash\",\n    input: \"Explain quantum entanglement in simple terms.\",\n    stream: true,\n});\nfor await (const event of stream) {\n    if (event.event_type === \"step.delta\") {\n        if (event.delta.type === \"text\") {\n            process.stdout.write(event.delta.text);\n        }\n    } else if (event.event_type === \"interaction.completed\") {\n        console.log(`\\n\\nTotal Tokens: ${event.interaction.usage.total_tokens}`);\n    }\n}\n",[3891],{"type":44,"tag":91,"props":3892,"children":3893},{"__ignoreMap":631},[3894,3942,3969,3997,4017,4032,4071,4120,4178,4236,4244,4299,4378,4385],{"type":44,"tag":68,"props":3895,"children":3896},{"class":638,"line":639},[3897,3901,3906,3910,3914,3918,3922,3926,3930,3934,3938],{"type":44,"tag":68,"props":3898,"children":3899},{"style":795},[3900],{"type":50,"value":798},{"type":44,"tag":68,"props":3902,"children":3903},{"style":749},[3904],{"type":50,"value":3905}," stream ",{"type":44,"tag":68,"props":3907,"children":3908},{"style":743},[3909],{"type":50,"value":808},{"type":44,"tag":68,"props":3911,"children":3912},{"style":737},[3913],{"type":50,"value":865},{"type":44,"tag":68,"props":3915,"children":3916},{"style":749},[3917],{"type":50,"value":870},{"type":44,"tag":68,"props":3919,"children":3920},{"style":743},[3921],{"type":50,"value":495},{"type":44,"tag":68,"props":3923,"children":3924},{"style":749},[3925],{"type":50,"value":879},{"type":44,"tag":68,"props":3927,"children":3928},{"style":743},[3929],{"type":50,"value":495},{"type":44,"tag":68,"props":3931,"children":3932},{"style":816},[3933],{"type":50,"value":888},{"type":44,"tag":68,"props":3935,"children":3936},{"style":749},[3937],{"type":50,"value":823},{"type":44,"tag":68,"props":3939,"children":3940},{"style":743},[3941],{"type":50,"value":897},{"type":44,"tag":68,"props":3943,"children":3944},{"class":638,"line":648},[3945,3949,3953,3957,3961,3965],{"type":44,"tag":68,"props":3946,"children":3947},{"style":903},[3948],{"type":50,"value":906},{"type":44,"tag":68,"props":3950,"children":3951},{"style":743},[3952],{"type":50,"value":911},{"type":44,"tag":68,"props":3954,"children":3955},{"style":743},[3956],{"type":50,"value":767},{"type":44,"tag":68,"props":3958,"children":3959},{"style":770},[3960],{"type":50,"value":96},{"type":44,"tag":68,"props":3962,"children":3963},{"style":743},[3964],{"type":50,"value":777},{"type":44,"tag":68,"props":3966,"children":3967},{"style":743},[3968],{"type":50,"value":928},{"type":44,"tag":68,"props":3970,"children":3971},{"class":638,"line":658},[3972,3976,3980,3984,3989,3993],{"type":44,"tag":68,"props":3973,"children":3974},{"style":903},[3975],{"type":50,"value":936},{"type":44,"tag":68,"props":3977,"children":3978},{"style":743},[3979],{"type":50,"value":911},{"type":44,"tag":68,"props":3981,"children":3982},{"style":743},[3983],{"type":50,"value":767},{"type":44,"tag":68,"props":3985,"children":3986},{"style":770},[3987],{"type":50,"value":3988},"Explain quantum entanglement in simple terms.",{"type":44,"tag":68,"props":3990,"children":3991},{"style":743},[3992],{"type":50,"value":777},{"type":44,"tag":68,"props":3994,"children":3995},{"style":743},[3996],{"type":50,"value":928},{"type":44,"tag":68,"props":3998,"children":3999},{"class":638,"line":667},[4000,4005,4009,4013],{"type":44,"tag":68,"props":4001,"children":4002},{"style":903},[4003],{"type":50,"value":4004},"    stream",{"type":44,"tag":68,"props":4006,"children":4007},{"style":743},[4008],{"type":50,"value":911},{"type":44,"tag":68,"props":4010,"children":4011},{"style":1992},[4012],{"type":50,"value":1995},{"type":44,"tag":68,"props":4014,"children":4015},{"style":743},[4016],{"type":50,"value":928},{"type":44,"tag":68,"props":4018,"children":4019},{"class":638,"line":675},[4020,4024,4028],{"type":44,"tag":68,"props":4021,"children":4022},{"style":743},[4023],{"type":50,"value":965},{"type":44,"tag":68,"props":4025,"children":4026},{"style":749},[4027],{"type":50,"value":833},{"type":44,"tag":68,"props":4029,"children":4030},{"style":743},[4031],{"type":50,"value":782},{"type":44,"tag":68,"props":4033,"children":4034},{"class":638,"line":684},[4035,4040,4044,4048,4052,4057,4062,4067],{"type":44,"tag":68,"props":4036,"children":4037},{"style":737},[4038],{"type":50,"value":4039},"for",{"type":44,"tag":68,"props":4041,"children":4042},{"style":737},[4043],{"type":50,"value":865},{"type":44,"tag":68,"props":4045,"children":4046},{"style":749},[4047],{"type":50,"value":458},{"type":44,"tag":68,"props":4049,"children":4050},{"style":795},[4051],{"type":50,"value":798},{"type":44,"tag":68,"props":4053,"children":4054},{"style":749},[4055],{"type":50,"value":4056}," event ",{"type":44,"tag":68,"props":4058,"children":4059},{"style":743},[4060],{"type":50,"value":4061},"of",{"type":44,"tag":68,"props":4063,"children":4064},{"style":749},[4065],{"type":50,"value":4066}," stream) ",{"type":44,"tag":68,"props":4068,"children":4069},{"style":743},[4070],{"type":50,"value":897},{"type":44,"tag":68,"props":4072,"children":4073},{"class":638,"line":693},[4074,4078,4082,4087,4091,4096,4100,4104,4108,4112,4116],{"type":44,"tag":68,"props":4075,"children":4076},{"style":737},[4077],{"type":50,"value":2131},{"type":44,"tag":68,"props":4079,"children":4080},{"style":903},[4081],{"type":50,"value":458},{"type":44,"tag":68,"props":4083,"children":4084},{"style":749},[4085],{"type":50,"value":4086},"event",{"type":44,"tag":68,"props":4088,"children":4089},{"style":743},[4090],{"type":50,"value":495},{"type":44,"tag":68,"props":4092,"children":4093},{"style":749},[4094],{"type":50,"value":4095},"event_type",{"type":44,"tag":68,"props":4097,"children":4098},{"style":743},[4099],{"type":50,"value":2154},{"type":44,"tag":68,"props":4101,"children":4102},{"style":743},[4103],{"type":50,"value":767},{"type":44,"tag":68,"props":4105,"children":4106},{"style":770},[4107],{"type":50,"value":3773},{"type":44,"tag":68,"props":4109,"children":4110},{"style":743},[4111],{"type":50,"value":777},{"type":44,"tag":68,"props":4113,"children":4114},{"style":903},[4115],{"type":50,"value":2051},{"type":44,"tag":68,"props":4117,"children":4118},{"style":743},[4119],{"type":50,"value":897},{"type":44,"tag":68,"props":4121,"children":4122},{"class":638,"line":702},[4123,4128,4132,4136,4140,4145,4149,4154,4158,4162,4166,4170,4174],{"type":44,"tag":68,"props":4124,"children":4125},{"style":737},[4126],{"type":50,"value":4127},"        if",{"type":44,"tag":68,"props":4129,"children":4130},{"style":903},[4131],{"type":50,"value":458},{"type":44,"tag":68,"props":4133,"children":4134},{"style":749},[4135],{"type":50,"value":4086},{"type":44,"tag":68,"props":4137,"children":4138},{"style":743},[4139],{"type":50,"value":495},{"type":44,"tag":68,"props":4141,"children":4142},{"style":749},[4143],{"type":50,"value":4144},"delta",{"type":44,"tag":68,"props":4146,"children":4147},{"style":743},[4148],{"type":50,"value":495},{"type":44,"tag":68,"props":4150,"children":4151},{"style":749},[4152],{"type":50,"value":4153},"type",{"type":44,"tag":68,"props":4155,"children":4156},{"style":743},[4157],{"type":50,"value":2154},{"type":44,"tag":68,"props":4159,"children":4160},{"style":743},[4161],{"type":50,"value":767},{"type":44,"tag":68,"props":4163,"children":4164},{"style":770},[4165],{"type":50,"value":50},{"type":44,"tag":68,"props":4167,"children":4168},{"style":743},[4169],{"type":50,"value":777},{"type":44,"tag":68,"props":4171,"children":4172},{"style":903},[4173],{"type":50,"value":2051},{"type":44,"tag":68,"props":4175,"children":4176},{"style":743},[4177],{"type":50,"value":897},{"type":44,"tag":68,"props":4179,"children":4180},{"class":638,"line":711},[4181,4186,4190,4195,4199,4204,4208,4212,4216,4220,4224,4228,4232],{"type":44,"tag":68,"props":4182,"children":4183},{"style":749},[4184],{"type":50,"value":4185},"            process",{"type":44,"tag":68,"props":4187,"children":4188},{"style":743},[4189],{"type":50,"value":495},{"type":44,"tag":68,"props":4191,"children":4192},{"style":749},[4193],{"type":50,"value":4194},"stdout",{"type":44,"tag":68,"props":4196,"children":4197},{"style":743},[4198],{"type":50,"value":495},{"type":44,"tag":68,"props":4200,"children":4201},{"style":816},[4202],{"type":50,"value":4203},"write",{"type":44,"tag":68,"props":4205,"children":4206},{"style":903},[4207],{"type":50,"value":823},{"type":44,"tag":68,"props":4209,"children":4210},{"style":749},[4211],{"type":50,"value":4086},{"type":44,"tag":68,"props":4213,"children":4214},{"style":743},[4215],{"type":50,"value":495},{"type":44,"tag":68,"props":4217,"children":4218},{"style":749},[4219],{"type":50,"value":4144},{"type":44,"tag":68,"props":4221,"children":4222},{"style":743},[4223],{"type":50,"value":495},{"type":44,"tag":68,"props":4225,"children":4226},{"style":749},[4227],{"type":50,"value":50},{"type":44,"tag":68,"props":4229,"children":4230},{"style":903},[4231],{"type":50,"value":833},{"type":44,"tag":68,"props":4233,"children":4234},{"style":743},[4235],{"type":50,"value":782},{"type":44,"tag":68,"props":4237,"children":4238},{"class":638,"line":1263},[4239],{"type":44,"tag":68,"props":4240,"children":4241},{"style":743},[4242],{"type":50,"value":4243},"        }\n",{"type":44,"tag":68,"props":4245,"children":4246},{"class":638,"line":1271},[4247,4251,4255,4259,4263,4267,4271,4275,4279,4283,4287,4291,4295],{"type":44,"tag":68,"props":4248,"children":4249},{"style":743},[4250],{"type":50,"value":2237},{"type":44,"tag":68,"props":4252,"children":4253},{"style":737},[4254],{"type":50,"value":2242},{"type":44,"tag":68,"props":4256,"children":4257},{"style":737},[4258],{"type":50,"value":2247},{"type":44,"tag":68,"props":4260,"children":4261},{"style":903},[4262],{"type":50,"value":458},{"type":44,"tag":68,"props":4264,"children":4265},{"style":749},[4266],{"type":50,"value":4086},{"type":44,"tag":68,"props":4268,"children":4269},{"style":743},[4270],{"type":50,"value":495},{"type":44,"tag":68,"props":4272,"children":4273},{"style":749},[4274],{"type":50,"value":4095},{"type":44,"tag":68,"props":4276,"children":4277},{"style":743},[4278],{"type":50,"value":2154},{"type":44,"tag":68,"props":4280,"children":4281},{"style":743},[4282],{"type":50,"value":767},{"type":44,"tag":68,"props":4284,"children":4285},{"style":770},[4286],{"type":50,"value":3789},{"type":44,"tag":68,"props":4288,"children":4289},{"style":743},[4290],{"type":50,"value":777},{"type":44,"tag":68,"props":4292,"children":4293},{"style":903},[4294],{"type":50,"value":2051},{"type":44,"tag":68,"props":4296,"children":4297},{"style":743},[4298],{"type":50,"value":897},{"type":44,"tag":68,"props":4300,"children":4301},{"class":638,"line":1719},[4302,4306,4310,4314,4318,4322,4327,4332,4336,4340,4344,4348,4352,4357,4361,4366,4370,4374],{"type":44,"tag":68,"props":4303,"children":4304},{"style":749},[4305],{"type":50,"value":2183},{"type":44,"tag":68,"props":4307,"children":4308},{"style":743},[4309],{"type":50,"value":495},{"type":44,"tag":68,"props":4311,"children":4312},{"style":816},[4313],{"type":50,"value":990},{"type":44,"tag":68,"props":4315,"children":4316},{"style":903},[4317],{"type":50,"value":823},{"type":44,"tag":68,"props":4319,"children":4320},{"style":743},[4321],{"type":50,"value":2347},{"type":44,"tag":68,"props":4323,"children":4324},{"style":749},[4325],{"type":50,"value":4326},"\\n\\n",{"type":44,"tag":68,"props":4328,"children":4329},{"style":770},[4330],{"type":50,"value":4331},"Total Tokens: ",{"type":44,"tag":68,"props":4333,"children":4334},{"style":743},[4335],{"type":50,"value":2357},{"type":44,"tag":68,"props":4337,"children":4338},{"style":749},[4339],{"type":50,"value":4086},{"type":44,"tag":68,"props":4341,"children":4342},{"style":743},[4343],{"type":50,"value":495},{"type":44,"tag":68,"props":4345,"children":4346},{"style":749},[4347],{"type":50,"value":2140},{"type":44,"tag":68,"props":4349,"children":4350},{"style":743},[4351],{"type":50,"value":495},{"type":44,"tag":68,"props":4353,"children":4354},{"style":749},[4355],{"type":50,"value":4356},"usage",{"type":44,"tag":68,"props":4358,"children":4359},{"style":743},[4360],{"type":50,"value":495},{"type":44,"tag":68,"props":4362,"children":4363},{"style":749},[4364],{"type":50,"value":4365},"total_tokens",{"type":44,"tag":68,"props":4367,"children":4368},{"style":743},[4369],{"type":50,"value":2374},{"type":44,"tag":68,"props":4371,"children":4372},{"style":903},[4373],{"type":50,"value":833},{"type":44,"tag":68,"props":4375,"children":4376},{"style":743},[4377],{"type":50,"value":782},{"type":44,"tag":68,"props":4379,"children":4380},{"class":638,"line":1728},[4381],{"type":44,"tag":68,"props":4382,"children":4383},{"style":743},[4384],{"type":50,"value":2403},{"type":44,"tag":68,"props":4386,"children":4387},{"class":638,"line":1737},[4388],{"type":44,"tag":68,"props":4389,"children":4390},{"style":743},[4391],{"type":50,"value":2478},{"type":44,"tag":64,"props":4393,"children":4394},{},[4395,4397,4404],{"type":50,"value":4396},"For streaming with tools, thinking, agents, and image generation see the full ",{"type":44,"tag":2485,"props":4398,"children":4401},{"href":4399,"rel":4400},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstreaming.md.txt",[2489],[4402],{"type":50,"value":4403},"Streaming guide",{"type":50,"value":495},{"type":44,"tag":53,"props":4406,"children":4408},{"id":4407},"documentation-pages",[4409],{"type":50,"value":4410},"Documentation Pages",{"type":44,"tag":64,"props":4412,"children":4413},{},[4414,4419],{"type":44,"tag":246,"props":4415,"children":4416},{},[4417],{"type":50,"value":4418},"You MUST fetch the matching page below before writing code.",{"type":50,"value":4420}," These hosted docs are the source of truth for parameters, types, and edge cases — do not rely solely on the examples above.",{"type":44,"tag":64,"props":4422,"children":4423},{},[4424],{"type":44,"tag":246,"props":4425,"children":4426},{},[4427],{"type":50,"value":4428},"Core Documentation:",{"type":44,"tag":83,"props":4430,"children":4431},{},[4432,4442,4452,4462,4470,4480],{"type":44,"tag":87,"props":4433,"children":4434},{},[4435],{"type":44,"tag":2485,"props":4436,"children":4439},{"href":4437,"rel":4438},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions.md.txt",[2489],[4440],{"type":50,"value":4441},"Interactions API Overview",{"type":44,"tag":87,"props":4443,"children":4444},{},[4445],{"type":44,"tag":2485,"props":4446,"children":4449},{"href":4447,"rel":4448},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fquickstart.md.txt",[2489],[4450],{"type":50,"value":4451},"Quickstart",{"type":44,"tag":87,"props":4453,"children":4454},{},[4455],{"type":44,"tag":2485,"props":4456,"children":4459},{"href":4457,"rel":4458},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftext-generation.md.txt",[2489],[4460],{"type":50,"value":4461},"Text Generation",{"type":44,"tag":87,"props":4463,"children":4464},{},[4465],{"type":44,"tag":2485,"props":4466,"children":4468},{"href":4399,"rel":4467},[2489],[4469],{"type":50,"value":3740},{"type":44,"tag":87,"props":4471,"children":4472},{},[4473],{"type":44,"tag":2485,"props":4474,"children":4477},{"href":4475,"rel":4476},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftokens.md.txt",[2489],[4478],{"type":50,"value":4479},"Tokens",{"type":44,"tag":87,"props":4481,"children":4482},{},[4483],{"type":44,"tag":2485,"props":4484,"children":4487},{"href":4485,"rel":4486},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fapi-key.md.txt",[2489],[4488],{"type":50,"value":4489},"API Keys",{"type":44,"tag":64,"props":4491,"children":4492},{},[4493],{"type":44,"tag":246,"props":4494,"children":4495},{},[4496],{"type":50,"value":4497},"Tools & Function Calling:",{"type":44,"tag":83,"props":4499,"children":4500},{},[4501,4511,4521,4531,4541,4551,4561,4571],{"type":44,"tag":87,"props":4502,"children":4503},{},[4504],{"type":44,"tag":2485,"props":4505,"children":4508},{"href":4506,"rel":4507},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffunction-calling.md.txt",[2489],[4509],{"type":50,"value":4510},"Function Calling",{"type":44,"tag":87,"props":4512,"children":4513},{},[4514],{"type":44,"tag":2485,"props":4515,"children":4518},{"href":4516,"rel":4517},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fgoogle-search.md.txt",[2489],[4519],{"type":50,"value":4520},"Google Search",{"type":44,"tag":87,"props":4522,"children":4523},{},[4524],{"type":44,"tag":2485,"props":4525,"children":4528},{"href":4526,"rel":4527},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcode-execution.md.txt",[2489],[4529],{"type":50,"value":4530},"Code Execution",{"type":44,"tag":87,"props":4532,"children":4533},{},[4534],{"type":44,"tag":2485,"props":4535,"children":4538},{"href":4536,"rel":4537},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Furl-context.md.txt",[2489],[4539],{"type":50,"value":4540},"URL Context",{"type":44,"tag":87,"props":4542,"children":4543},{},[4544],{"type":44,"tag":2485,"props":4545,"children":4548},{"href":4546,"rel":4547},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffile-search.md.txt",[2489],[4549],{"type":50,"value":4550},"File Search",{"type":44,"tag":87,"props":4552,"children":4553},{},[4554],{"type":44,"tag":2485,"props":4555,"children":4558},{"href":4556,"rel":4557},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ftool-combination.md.txt",[2489],[4559],{"type":50,"value":4560},"Tool Combination",{"type":44,"tag":87,"props":4562,"children":4563},{},[4564],{"type":44,"tag":2485,"props":4565,"children":4568},{"href":4566,"rel":4567},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcomputer-use.md.txt",[2489],[4569],{"type":50,"value":4570},"Computer Use",{"type":44,"tag":87,"props":4572,"children":4573},{},[4574],{"type":44,"tag":2485,"props":4575,"children":4578},{"href":4576,"rel":4577},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmaps-grounding.md.txt",[2489],[4579],{"type":50,"value":4580},"Maps Grounding",{"type":44,"tag":64,"props":4582,"children":4583},{},[4584],{"type":44,"tag":246,"props":4585,"children":4586},{},[4587],{"type":50,"value":4588},"Generation & Output:",{"type":44,"tag":83,"props":4590,"children":4591},{},[4592,4602,4612,4622,4632,4642,4652],{"type":44,"tag":87,"props":4593,"children":4594},{},[4595],{"type":44,"tag":2485,"props":4596,"children":4599},{"href":4597,"rel":4598},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fstructured-output.md.txt",[2489],[4600],{"type":50,"value":4601},"Structured Output",{"type":44,"tag":87,"props":4603,"children":4604},{},[4605],{"type":44,"tag":2485,"props":4606,"children":4609},{"href":4607,"rel":4608},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fthinking.md.txt",[2489],[4610],{"type":50,"value":4611},"Thinking",{"type":44,"tag":87,"props":4613,"children":4614},{},[4615],{"type":44,"tag":2485,"props":4616,"children":4619},{"href":4617,"rel":4618},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fthought-signatures.md.txt",[2489],[4620],{"type":50,"value":4621},"Thought Signatures",{"type":44,"tag":87,"props":4623,"children":4624},{},[4625],{"type":44,"tag":2485,"props":4626,"children":4629},{"href":4627,"rel":4628},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fimage-generation.md.txt",[2489],[4630],{"type":50,"value":4631},"Image Generation",{"type":44,"tag":87,"props":4633,"children":4634},{},[4635],{"type":44,"tag":2485,"props":4636,"children":4639},{"href":4637,"rel":4638},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fimage-understanding.md.txt",[2489],[4640],{"type":50,"value":4641},"Image Understanding",{"type":44,"tag":87,"props":4643,"children":4644},{},[4645],{"type":44,"tag":2485,"props":4646,"children":4649},{"href":4647,"rel":4648},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fspeech-generation.md.txt",[2489],[4650],{"type":50,"value":4651},"Speech Generation",{"type":44,"tag":87,"props":4653,"children":4654},{},[4655],{"type":44,"tag":2485,"props":4656,"children":4659},{"href":4657,"rel":4658},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmusic-generation.md.txt",[2489],[4660],{"type":50,"value":4661},"Music Generation",{"type":44,"tag":64,"props":4663,"children":4664},{},[4665],{"type":44,"tag":246,"props":4666,"children":4667},{},[4668],{"type":50,"value":4669},"Multimodal Understanding:",{"type":44,"tag":83,"props":4671,"children":4672},{},[4673,4683,4693],{"type":44,"tag":87,"props":4674,"children":4675},{},[4676],{"type":44,"tag":2485,"props":4677,"children":4680},{"href":4678,"rel":4679},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Faudio.md.txt",[2489],[4681],{"type":50,"value":4682},"Audio",{"type":44,"tag":87,"props":4684,"children":4685},{},[4686],{"type":44,"tag":2485,"props":4687,"children":4690},{"href":4688,"rel":4689},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fvideo-understanding.md.txt",[2489],[4691],{"type":50,"value":4692},"Video Understanding",{"type":44,"tag":87,"props":4694,"children":4695},{},[4696],{"type":44,"tag":2485,"props":4697,"children":4700},{"href":4698,"rel":4699},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fdocument-processing.md.txt",[2489],[4701],{"type":50,"value":4702},"Document Processing",{"type":44,"tag":64,"props":4704,"children":4705},{},[4706],{"type":44,"tag":246,"props":4707,"children":4708},{},[4709],{"type":50,"value":4710},"Files & Context:",{"type":44,"tag":83,"props":4712,"children":4713},{},[4714,4724,4734,4744],{"type":44,"tag":87,"props":4715,"children":4716},{},[4717],{"type":44,"tag":2485,"props":4718,"children":4721},{"href":4719,"rel":4720},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffiles.md.txt",[2489],[4722],{"type":50,"value":4723},"Files",{"type":44,"tag":87,"props":4725,"children":4726},{},[4727],{"type":44,"tag":2485,"props":4728,"children":4731},{"href":4729,"rel":4730},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Ffile-input-methods.md.txt",[2489],[4732],{"type":50,"value":4733},"File Input Methods",{"type":44,"tag":87,"props":4735,"children":4736},{},[4737],{"type":44,"tag":2485,"props":4738,"children":4741},{"href":4739,"rel":4740},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fcaching.md.txt",[2489],[4742],{"type":50,"value":4743},"Caching",{"type":44,"tag":87,"props":4745,"children":4746},{},[4747],{"type":44,"tag":2485,"props":4748,"children":4751},{"href":4749,"rel":4750},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fmedia-resolution.md.txt",[2489],[4752],{"type":50,"value":4753},"Media Resolution",{"type":44,"tag":64,"props":4755,"children":4756},{},[4757],{"type":44,"tag":246,"props":4758,"children":4759},{},[4760],{"type":50,"value":4761},"Agents:",{"type":44,"tag":83,"props":4763,"children":4764},{},[4765,4775,4783,4791,4801,4810],{"type":44,"tag":87,"props":4766,"children":4767},{},[4768],{"type":44,"tag":2485,"props":4769,"children":4772},{"href":4770,"rel":4771},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fagents.md.txt",[2489],[4773],{"type":50,"value":4774},"Agents Overview",{"type":44,"tag":87,"props":4776,"children":4777},{},[4778],{"type":44,"tag":2485,"props":4779,"children":4781},{"href":2507,"rel":4780},[2489],[4782],{"type":50,"value":2511},{"type":44,"tag":87,"props":4784,"children":4785},{},[4786],{"type":44,"tag":2485,"props":4787,"children":4789},{"href":2534,"rel":4788},[2489],[4790],{"type":50,"value":2519},{"type":44,"tag":87,"props":4792,"children":4793},{},[4794],{"type":44,"tag":2485,"props":4795,"children":4798},{"href":4796,"rel":4797},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Fagent-environment.md.txt",[2489],[4799],{"type":50,"value":4800},"Agent Environments",{"type":44,"tag":87,"props":4802,"children":4803},{},[4804],{"type":44,"tag":2485,"props":4805,"children":4807},{"href":2983,"rel":4806},[2489],[4808],{"type":50,"value":4809},"Building Custom Agents",{"type":44,"tag":87,"props":4811,"children":4812},{},[4813],{"type":44,"tag":2485,"props":4814,"children":4816},{"href":2487,"rel":4815},[2489],[4817],{"type":50,"value":4818},"Deep Research",{"type":44,"tag":64,"props":4820,"children":4821},{},[4822],{"type":44,"tag":246,"props":4823,"children":4824},{},[4825],{"type":50,"value":4826},"Advanced Features:",{"type":44,"tag":83,"props":4828,"children":4829},{},[4830,4840,4850],{"type":44,"tag":87,"props":4831,"children":4832},{},[4833],{"type":44,"tag":2485,"props":4834,"children":4837},{"href":4835,"rel":4836},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Flatest-model.md.txt",[2489],[4838],{"type":50,"value":4839},"Latest Models (3.6 Flash & 3.5 Flash-Lite)",{"type":44,"tag":87,"props":4841,"children":4842},{},[4843],{"type":44,"tag":2485,"props":4844,"children":4847},{"href":4845,"rel":4846},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fflex-inference.md.txt",[2489],[4848],{"type":50,"value":4849},"Flex Inference",{"type":44,"tag":87,"props":4851,"children":4852},{},[4853],{"type":44,"tag":2485,"props":4854,"children":4857},{"href":4855,"rel":4856},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions\u002Fpriority-inference.md.txt",[2489],[4858],{"type":50,"value":4859},"Priority Inference",{"type":44,"tag":64,"props":4861,"children":4862},{},[4863],{"type":44,"tag":246,"props":4864,"children":4865},{},[4866],{"type":50,"value":4867},"API Reference:",{"type":44,"tag":83,"props":4869,"children":4870},{},[4871,4881,4891],{"type":44,"tag":87,"props":4872,"children":4873},{},[4874],{"type":44,"tag":2485,"props":4875,"children":4878},{"href":4876,"rel":4877},"https:\u002F\u002Fai.google.dev\u002Fstatic\u002Fapi\u002Finteractions.md.txt",[2489],[4879],{"type":50,"value":4880},"API Reference",{"type":44,"tag":87,"props":4882,"children":4883},{},[4884],{"type":44,"tag":2485,"props":4885,"children":4888},{"href":4886,"rel":4887},"https:\u002F\u002Fai.google.dev\u002Fstatic\u002Fapi\u002Finteractions.openapi.json",[2489],[4889],{"type":50,"value":4890},"OpenAPI Spec",{"type":44,"tag":87,"props":4892,"children":4893},{},[4894],{"type":44,"tag":2485,"props":4895,"children":4898},{"href":4896,"rel":4897},"https:\u002F\u002Fai.google.dev\u002Fgemini-api\u002Fdocs\u002Finteractions-breaking-changes-may-2026.md.txt",[2489],[4899],{"type":50,"value":4900},"May 2026 Breaking Changes Migration Guide",{"type":44,"tag":53,"props":4902,"children":4904},{"id":4903},"data-model",[4905],{"type":50,"value":4906},"Data Model",{"type":44,"tag":64,"props":4908,"children":4909},{},[4910,4912,4917,4919,4925],{"type":50,"value":4911},"An ",{"type":44,"tag":91,"props":4913,"children":4915},{"className":4914},[],[4916],{"type":50,"value":1025},{"type":50,"value":4918}," response contains ",{"type":44,"tag":91,"props":4920,"children":4922},{"className":4921},[],[4923],{"type":50,"value":4924},"steps",{"type":50,"value":4926},", an array of typed step objects representing a structured timeline of the interaction turn.",{"type":44,"tag":76,"props":4928,"children":4930},{"id":4929},"step-types",[4931],{"type":50,"value":4932},"Step Types",{"type":44,"tag":64,"props":4934,"children":4935},{},[4936],{"type":44,"tag":246,"props":4937,"children":4938},{},[4939],{"type":50,"value":4940},"User steps:",{"type":44,"tag":83,"props":4942,"children":4943},{},[4944],{"type":44,"tag":87,"props":4945,"children":4946},{},[4947,4953,4955,4961],{"type":44,"tag":91,"props":4948,"children":4950},{"className":4949},[],[4951],{"type":50,"value":4952},"user_input",{"type":50,"value":4954},": User input (text, audio, multimodal). Contains ",{"type":44,"tag":91,"props":4956,"children":4958},{"className":4957},[],[4959],{"type":50,"value":4960},"content",{"type":50,"value":4962}," array.",{"type":44,"tag":64,"props":4964,"children":4965},{},[4966],{"type":44,"tag":246,"props":4967,"children":4968},{},[4969],{"type":50,"value":4970},"Model\u002Fserver steps:",{"type":44,"tag":83,"props":4972,"children":4973},{},[4974,5012,5038,5070,5101,5127,5151,5175,5193],{"type":44,"tag":87,"props":4975,"children":4976},{},[4977,4982,4984,4989,4991,4996,4997,5003,5004,5010],{"type":44,"tag":91,"props":4978,"children":4980},{"className":4979},[],[4981],{"type":50,"value":1092},{"type":50,"value":4983},": Final model generation. Contains ",{"type":44,"tag":91,"props":4985,"children":4987},{"className":4986},[],[4988],{"type":50,"value":4960},{"type":50,"value":4990}," array with ",{"type":44,"tag":91,"props":4992,"children":4994},{"className":4993},[],[4995],{"type":50,"value":50},{"type":50,"value":229},{"type":44,"tag":91,"props":4998,"children":5000},{"className":4999},[],[5001],{"type":50,"value":5002},"image",{"type":50,"value":229},{"type":44,"tag":91,"props":5005,"children":5007},{"className":5006},[],[5008],{"type":50,"value":5009},"audio",{"type":50,"value":5011},", etc.",{"type":44,"tag":87,"props":5013,"children":5014},{},[5015,5021,5023,5029,5031,5037],{"type":44,"tag":91,"props":5016,"children":5018},{"className":5017},[],[5019],{"type":50,"value":5020},"thought",{"type":50,"value":5022},": Model reasoning\u002FChain of Thought. Has ",{"type":44,"tag":91,"props":5024,"children":5026},{"className":5025},[],[5027],{"type":50,"value":5028},"signature",{"type":50,"value":5030}," field (required) and optional ",{"type":44,"tag":91,"props":5032,"children":5034},{"className":5033},[],[5035],{"type":50,"value":5036},"summary",{"type":50,"value":495},{"type":44,"tag":87,"props":5039,"children":5040},{},[5041,5047,5049,5054,5055,5061,5062,5068],{"type":44,"tag":91,"props":5042,"children":5044},{"className":5043},[],[5045],{"type":50,"value":5046},"function_call",{"type":50,"value":5048},": Tool call request (",{"type":44,"tag":91,"props":5050,"children":5052},{"className":5051},[],[5053],{"type":50,"value":1536},{"type":50,"value":229},{"type":44,"tag":91,"props":5056,"children":5058},{"className":5057},[],[5059],{"type":50,"value":5060},"name",{"type":50,"value":229},{"type":44,"tag":91,"props":5063,"children":5065},{"className":5064},[],[5066],{"type":50,"value":5067},"arguments",{"type":50,"value":5069},").",{"type":44,"tag":87,"props":5071,"children":5072},{},[5073,5079,5081,5087,5088,5093,5094,5100],{"type":44,"tag":91,"props":5074,"children":5076},{"className":5075},[],[5077],{"type":50,"value":5078},"function_result",{"type":50,"value":5080},": Tool result you send back (",{"type":44,"tag":91,"props":5082,"children":5084},{"className":5083},[],[5085],{"type":50,"value":5086},"call_id",{"type":50,"value":229},{"type":44,"tag":91,"props":5089,"children":5091},{"className":5090},[],[5092],{"type":50,"value":5060},{"type":50,"value":229},{"type":44,"tag":91,"props":5095,"children":5097},{"className":5096},[],[5098],{"type":50,"value":5099},"result",{"type":50,"value":5069},{"type":44,"tag":87,"props":5102,"children":5103},{},[5104,5110,5112,5118,5120,5125],{"type":44,"tag":91,"props":5105,"children":5107},{"className":5106},[],[5108],{"type":50,"value":5109},"google_search_call",{"type":50,"value":5111}," \u002F ",{"type":44,"tag":91,"props":5113,"children":5115},{"className":5114},[],[5116],{"type":50,"value":5117},"google_search_result",{"type":50,"value":5119},": Google Search tool steps, can have a ",{"type":44,"tag":91,"props":5121,"children":5123},{"className":5122},[],[5124],{"type":50,"value":5028},{"type":50,"value":5126}," field.",{"type":44,"tag":87,"props":5128,"children":5129},{},[5130,5136,5137,5143,5145,5150],{"type":44,"tag":91,"props":5131,"children":5133},{"className":5132},[],[5134],{"type":50,"value":5135},"code_execution_call",{"type":50,"value":5111},{"type":44,"tag":91,"props":5138,"children":5140},{"className":5139},[],[5141],{"type":50,"value":5142},"code_execution_result",{"type":50,"value":5144},": Code execution tool steps, can have a ",{"type":44,"tag":91,"props":5146,"children":5148},{"className":5147},[],[5149],{"type":50,"value":5028},{"type":50,"value":5126},{"type":44,"tag":87,"props":5152,"children":5153},{},[5154,5160,5161,5167,5169,5174],{"type":44,"tag":91,"props":5155,"children":5157},{"className":5156},[],[5158],{"type":50,"value":5159},"url_context_call",{"type":50,"value":5111},{"type":44,"tag":91,"props":5162,"children":5164},{"className":5163},[],[5165],{"type":50,"value":5166},"url_context_result",{"type":50,"value":5168},": URL context tool steps, can have a ",{"type":44,"tag":91,"props":5170,"children":5172},{"className":5171},[],[5173],{"type":50,"value":5028},{"type":50,"value":5126},{"type":44,"tag":87,"props":5176,"children":5177},{},[5178,5184,5185,5191],{"type":44,"tag":91,"props":5179,"children":5181},{"className":5180},[],[5182],{"type":50,"value":5183},"mcp_server_tool_call",{"type":50,"value":5111},{"type":44,"tag":91,"props":5186,"children":5188},{"className":5187},[],[5189],{"type":50,"value":5190},"mcp_server_tool_result",{"type":50,"value":5192},": Remote MCP tool steps.",{"type":44,"tag":87,"props":5194,"children":5195},{},[5196,5202,5203,5209,5211,5216],{"type":44,"tag":91,"props":5197,"children":5199},{"className":5198},[],[5200],{"type":50,"value":5201},"file_search_call",{"type":50,"value":5111},{"type":44,"tag":91,"props":5204,"children":5206},{"className":5205},[],[5207],{"type":50,"value":5208},"file_search_result",{"type":50,"value":5210},": File search tool steps, can have a ",{"type":44,"tag":91,"props":5212,"children":5214},{"className":5213},[],[5215],{"type":50,"value":5028},{"type":50,"value":5126},{"type":44,"tag":76,"props":5218,"children":5220},{"id":5219},"content-types-inside-content-array-on-model_output-and-user_input-steps",[5221,5223,5228,5230,5235,5236,5241],{"type":50,"value":5222},"Content types (inside ",{"type":44,"tag":91,"props":5224,"children":5226},{"className":5225},[],[5227],{"type":50,"value":4960},{"type":50,"value":5229}," array on ",{"type":44,"tag":91,"props":5231,"children":5233},{"className":5232},[],[5234],{"type":50,"value":1092},{"type":50,"value":487},{"type":44,"tag":91,"props":5237,"children":5239},{"className":5238},[],[5240],{"type":50,"value":4952},{"type":50,"value":5242}," steps)",{"type":44,"tag":83,"props":5244,"children":5245},{},[5246,5263],{"type":44,"tag":87,"props":5247,"children":5248},{},[5249,5254,5256,5261],{"type":44,"tag":91,"props":5250,"children":5252},{"className":5251},[],[5253],{"type":50,"value":50},{"type":50,"value":5255},": Text content (",{"type":44,"tag":91,"props":5257,"children":5259},{"className":5258},[],[5260],{"type":50,"value":50},{"type":50,"value":5262}," field)",{"type":44,"tag":87,"props":5264,"children":5265},{},[5266,5271,5272,5277,5278,5284,5285,5291,5293,5298,5299,5304,5306],{"type":44,"tag":91,"props":5267,"children":5269},{"className":5268},[],[5270],{"type":50,"value":5002},{"type":50,"value":5111},{"type":44,"tag":91,"props":5273,"children":5275},{"className":5274},[],[5276],{"type":50,"value":5009},{"type":50,"value":5111},{"type":44,"tag":91,"props":5279,"children":5281},{"className":5280},[],[5282],{"type":50,"value":5283},"document",{"type":50,"value":5111},{"type":44,"tag":91,"props":5286,"children":5288},{"className":5287},[],[5289],{"type":50,"value":5290},"video",{"type":50,"value":5292},": Content with ",{"type":44,"tag":91,"props":5294,"children":5296},{"className":5295},[],[5297],{"type":50,"value":1126},{"type":50,"value":229},{"type":44,"tag":91,"props":5300,"children":5302},{"className":5301},[],[5303],{"type":50,"value":1134},{"type":50,"value":5305},", or ",{"type":44,"tag":91,"props":5307,"children":5309},{"className":5308},[],[5310],{"type":50,"value":5311},"uri",{"type":44,"tag":76,"props":5313,"children":5315},{"id":5314},"streaming-event-types",[5316],{"type":50,"value":5317},"Streaming Event Types",{"type":44,"tag":1029,"props":5319,"children":5320},{},[5321,5336],{"type":44,"tag":1033,"props":5322,"children":5323},{},[5324],{"type":44,"tag":1037,"props":5325,"children":5326},{},[5327,5332],{"type":44,"tag":1041,"props":5328,"children":5329},{},[5330],{"type":50,"value":5331},"Event",{"type":44,"tag":1041,"props":5333,"children":5334},{},[5335],{"type":50,"value":1055},{"type":44,"tag":1057,"props":5337,"children":5338},{},[5339,5355,5372,5395,5418,5441],{"type":44,"tag":1037,"props":5340,"children":5341},{},[5342,5350],{"type":44,"tag":1064,"props":5343,"children":5344},{},[5345],{"type":44,"tag":91,"props":5346,"children":5348},{"className":5347},[],[5349],{"type":50,"value":3758},{"type":44,"tag":1064,"props":5351,"children":5352},{},[5353],{"type":50,"value":5354},"Interaction created; includes metadata.",{"type":44,"tag":1037,"props":5356,"children":5357},{},[5358,5367],{"type":44,"tag":1064,"props":5359,"children":5360},{},[5361],{"type":44,"tag":91,"props":5362,"children":5364},{"className":5363},[],[5365],{"type":50,"value":5366},"interaction.status_update",{"type":44,"tag":1064,"props":5368,"children":5369},{},[5370],{"type":50,"value":5371},"Interaction-level status change.",{"type":44,"tag":1037,"props":5373,"children":5374},{},[5375,5383],{"type":44,"tag":1064,"props":5376,"children":5377},{},[5378],{"type":44,"tag":91,"props":5379,"children":5381},{"className":5380},[],[5382],{"type":50,"value":3766},{"type":44,"tag":1064,"props":5384,"children":5385},{},[5386,5388,5393],{"type":50,"value":5387},"A new step begins. Contains step ",{"type":44,"tag":91,"props":5389,"children":5391},{"className":5390},[],[5392],{"type":50,"value":4153},{"type":50,"value":5394}," and initial metadata.",{"type":44,"tag":1037,"props":5396,"children":5397},{},[5398,5406],{"type":44,"tag":1064,"props":5399,"children":5400},{},[5401],{"type":44,"tag":91,"props":5402,"children":5404},{"className":5403},[],[5405],{"type":50,"value":3773},{"type":44,"tag":1064,"props":5407,"children":5408},{},[5409,5411,5416],{"type":50,"value":5410},"Incremental data for the current step. Contains a typed ",{"type":44,"tag":91,"props":5412,"children":5414},{"className":5413},[],[5415],{"type":50,"value":4144},{"type":50,"value":5417}," object.",{"type":44,"tag":1037,"props":5419,"children":5420},{},[5421,5429],{"type":44,"tag":1064,"props":5422,"children":5423},{},[5424],{"type":44,"tag":91,"props":5425,"children":5427},{"className":5426},[],[5428],{"type":50,"value":3781},{"type":44,"tag":1064,"props":5430,"children":5431},{},[5432,5434,5440],{"type":50,"value":5433},"The step is complete. Contains ",{"type":44,"tag":91,"props":5435,"children":5437},{"className":5436},[],[5438],{"type":50,"value":5439},"index",{"type":50,"value":495},{"type":44,"tag":1037,"props":5442,"children":5443},{},[5444,5452],{"type":44,"tag":1064,"props":5445,"children":5446},{},[5447],{"type":44,"tag":91,"props":5448,"children":5450},{"className":5449},[],[5451],{"type":50,"value":3789},{"type":44,"tag":1064,"props":5453,"children":5454},{},[5455,5457,5462],{"type":50,"value":5456},"Interaction finished. Contains final ",{"type":44,"tag":91,"props":5458,"children":5460},{"className":5459},[],[5461],{"type":50,"value":4356},{"type":50,"value":495},{"type":44,"tag":76,"props":5464,"children":5466},{"id":5465},"delta-types",[5467],{"type":50,"value":5468},"Delta Types",{"type":44,"tag":1029,"props":5470,"children":5471},{},[5472,5492],{"type":44,"tag":1033,"props":5473,"children":5474},{},[5475],{"type":44,"tag":1037,"props":5476,"children":5477},{},[5478,5483,5488],{"type":44,"tag":1041,"props":5479,"children":5480},{},[5481],{"type":50,"value":5482},"Delta Type",{"type":44,"tag":1041,"props":5484,"children":5485},{},[5486],{"type":50,"value":5487},"Parent Step",{"type":44,"tag":1041,"props":5489,"children":5490},{},[5491],{"type":50,"value":1055},{"type":44,"tag":1057,"props":5493,"children":5494},{},[5495,5519,5543,5567,5592],{"type":44,"tag":1037,"props":5496,"children":5497},{},[5498,5506,5514],{"type":44,"tag":1064,"props":5499,"children":5500},{},[5501],{"type":44,"tag":91,"props":5502,"children":5504},{"className":5503},[],[5505],{"type":50,"value":50},{"type":44,"tag":1064,"props":5507,"children":5508},{},[5509],{"type":44,"tag":91,"props":5510,"children":5512},{"className":5511},[],[5513],{"type":50,"value":1092},{"type":44,"tag":1064,"props":5515,"children":5516},{},[5517],{"type":50,"value":5518},"Incremental text token.",{"type":44,"tag":1037,"props":5520,"children":5521},{},[5522,5530,5538],{"type":44,"tag":1064,"props":5523,"children":5524},{},[5525],{"type":44,"tag":91,"props":5526,"children":5528},{"className":5527},[],[5529],{"type":50,"value":5009},{"type":44,"tag":1064,"props":5531,"children":5532},{},[5533],{"type":44,"tag":91,"props":5534,"children":5536},{"className":5535},[],[5537],{"type":50,"value":1092},{"type":44,"tag":1064,"props":5539,"children":5540},{},[5541],{"type":50,"value":5542},"audio chunk (base64).",{"type":44,"tag":1037,"props":5544,"children":5545},{},[5546,5554,5562],{"type":44,"tag":1064,"props":5547,"children":5548},{},[5549],{"type":44,"tag":91,"props":5550,"children":5552},{"className":5551},[],[5553],{"type":50,"value":5002},{"type":44,"tag":1064,"props":5555,"children":5556},{},[5557],{"type":44,"tag":91,"props":5558,"children":5560},{"className":5559},[],[5561],{"type":50,"value":1092},{"type":44,"tag":1064,"props":5563,"children":5564},{},[5565],{"type":50,"value":5566},"image chunk (base64).",{"type":44,"tag":1037,"props":5568,"children":5569},{},[5570,5579,5587],{"type":44,"tag":1064,"props":5571,"children":5572},{},[5573],{"type":44,"tag":91,"props":5574,"children":5576},{"className":5575},[],[5577],{"type":50,"value":5578},"thought_summary",{"type":44,"tag":1064,"props":5580,"children":5581},{},[5582],{"type":44,"tag":91,"props":5583,"children":5585},{"className":5584},[],[5586],{"type":50,"value":5020},{"type":44,"tag":1064,"props":5588,"children":5589},{},[5590],{"type":50,"value":5591},"thinking summary text.",{"type":44,"tag":1037,"props":5593,"children":5594},{},[5595,5604,5612],{"type":44,"tag":1064,"props":5596,"children":5597},{},[5598],{"type":44,"tag":91,"props":5599,"children":5601},{"className":5600},[],[5602],{"type":50,"value":5603},"thought_signature",{"type":44,"tag":1064,"props":5605,"children":5606},{},[5607],{"type":44,"tag":91,"props":5608,"children":5610},{"className":5609},[],[5611],{"type":50,"value":5020},{"type":44,"tag":1064,"props":5613,"children":5614},{},[5615],{"type":50,"value":5616},"Opaque signature for thought verification.",{"type":44,"tag":64,"props":5618,"children":5619},{},[5620,5625,5627,5632,5633,5639,5640,5646,5647,5652,5653],{"type":44,"tag":246,"props":5621,"children":5622},{},[5623],{"type":50,"value":5624},"Status values:",{"type":50,"value":5626}," ",{"type":44,"tag":91,"props":5628,"children":5630},{"className":5629},[],[5631],{"type":50,"value":2163},{"type":50,"value":229},{"type":44,"tag":91,"props":5634,"children":5636},{"className":5635},[],[5637],{"type":50,"value":5638},"in_progress",{"type":50,"value":229},{"type":44,"tag":91,"props":5641,"children":5643},{"className":5642},[],[5644],{"type":50,"value":5645},"requires_action",{"type":50,"value":229},{"type":44,"tag":91,"props":5648,"children":5650},{"className":5649},[],[5651],{"type":50,"value":2261},{"type":50,"value":229},{"type":44,"tag":91,"props":5654,"children":5656},{"className":5655},[],[5657],{"type":50,"value":2279},{"type":44,"tag":5659,"props":5660,"children":5661},"style",{},[5662],{"type":50,"value":5663},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":5665,"total":711},[5666,5677,5684,5699,5714,5735,5747,5762,5774],{"slug":5667,"name":5667,"fn":5668,"description":5669,"org":5670,"tags":5671,"stars":25,"repoUrl":26,"updatedAt":5676},"gemini-api-dev","build applications with the Gemini API","Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage (google-genai for Python, @google\u002Fgenai for JavaScript\u002FTypeScript, com.google.genai:google-genai for Java, google.golang.org\u002Fgenai for Go), model selection, and API capabilities.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5672,5673,5674,5675],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},"2026-07-24T05:42:40.130864",{"slug":4,"name":4,"fn":5,"description":6,"org":5678,"tags":5679,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5680,5681,5682,5683],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":5685,"name":5685,"fn":5686,"description":5687,"org":5688,"tags":5689,"stars":25,"repoUrl":26,"updatedAt":5698},"gemini-live-api-dev","build real-time streaming apps with Gemini Live API","Use this skill when building real-time, bidirectional streaming applications with the Gemini Live API. Covers WebSocket-based audio\u002Fvideo\u002Ftext streaming, voice activity detection (VAD), native audio features, function calling, session management, ephemeral tokens for client-side auth, live translation, and all Live API configuration options. SDKs covered - google-genai (Python), @google\u002Fgenai (JavaScript\u002FTypeScript).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5690,5691,5692,5693,5695],{"name":4682,"slug":5009,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":5694,"slug":5290,"type":15},"Video",{"name":5696,"slug":5697,"type":15},"WebSockets","websockets","2026-04-06T18:24:48.861661",{"slug":5700,"name":5700,"fn":5701,"description":5702,"org":5703,"tags":5704,"stars":25,"repoUrl":26,"updatedAt":5713},"gemini-omni-flash-api","generate and edit video with Gemini","Use this skill for generative video editing, text-to-video, image-referenced video generation, and first-frame-to-video transition animations using the official google-genai SDK. Includes workflows for pre-processing\u002Foptimizing high-resolution or long source videos with ffmpeg, stripping audio for full sound regeneration, and handling turn-by-turn video editing and parallel execution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5705,5708,5709,5712],{"name":5706,"slug":5707,"type":15},"Animation","animation",{"name":23,"slug":24,"type":15},{"name":5710,"slug":5711,"type":15},"Generative Art","generative-art",{"name":5694,"slug":5290,"type":15},"2026-07-01T07:47:06.8657",{"slug":5715,"name":5715,"fn":5716,"description":5717,"org":5718,"tags":5719,"stars":5732,"repoUrl":5733,"updatedAt":5734},"briefing","format daily news and trend briefings","Formats the standalone daily briefing — curated picks with why-it-matters lines, community buzz, the trend read across runs, and the taste note that keeps the learning visible.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5720,5723,5726,5729],{"name":5721,"slug":5722,"type":15},"Communications","communications",{"name":5724,"slug":5725,"type":15},"Research","research",{"name":5727,"slug":5728,"type":15},"Summarization","summarization",{"name":5730,"slug":5731,"type":15},"Writing","writing",56,"https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-managed-agents-templates","2026-07-24T06:08:46.318988",{"slug":5736,"name":5736,"fn":5737,"description":5738,"org":5739,"tags":5740,"stars":5732,"repoUrl":5733,"updatedAt":5746},"curation","curate and rank news items","Selection and ranking rules — how to turn the raw fetched pool into the handful of items the reader actually wants, guided by the taste profile in interests.json.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5741,5744,5745],{"name":5742,"slug":5743,"type":15},"Automation","automation",{"name":5724,"slug":5725,"type":15},{"name":5727,"slug":5728,"type":15},"2026-07-24T06:08:49.164617",{"slug":5748,"name":5748,"fn":5749,"description":5750,"org":5751,"tags":5752,"stars":5732,"repoUrl":5733,"updatedAt":5761},"deliver","post daily briefings to chat platforms","Posts a condensed version of the briefing to a Google Chat or Slack incoming webhook, so the daily run delivers itself — skips silently when no webhook is configured.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5753,5754,5755,5758],{"name":5742,"slug":5743,"type":15},{"name":5721,"slug":5722,"type":15},{"name":5756,"slug":5757,"type":15},"Messaging","messaging",{"name":5759,"slug":5760,"type":15},"Slack","slack","2026-07-24T06:09:04.439512",{"slug":5763,"name":5763,"fn":5764,"description":5765,"org":5766,"tags":5767,"stars":5732,"repoUrl":5733,"updatedAt":5773},"fetch-news","fetch and deduplicate news articles","Pulls the latest Google News and Hacker News items for every topic and genre in the reader's interests, deduped against every item shown in previous runs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5768,5769,5770],{"name":5742,"slug":5743,"type":15},{"name":5724,"slug":5725,"type":15},{"name":5771,"slug":5772,"type":15},"Search","search","2026-07-24T06:08:47.09259",{"slug":5775,"name":5775,"fn":5776,"description":5777,"org":5778,"tags":5779,"stars":5787,"repoUrl":5788,"updatedAt":5789},"gemini-api-cli","interact with Gemini API via CLI","Guide for using the Gemini API CLI tool. Use when you need to interact with the Gemini API via the command line, manage agents, or generate media (images, audio).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5780,5782,5783,5786],{"name":5781,"slug":3225,"type":15},"Agents",{"name":20,"slug":21,"type":15},{"name":5784,"slug":5785,"type":15},"CLI","cli",{"name":23,"slug":24,"type":15},37,"https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-api-cli","2026-06-30T07:10:10.809",{"items":5791,"total":667},[5792,5799,5806,5814],{"slug":5667,"name":5667,"fn":5668,"description":5669,"org":5793,"tags":5794,"stars":25,"repoUrl":26,"updatedAt":5676},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5795,5796,5797,5798],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":5800,"tags":5801,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5802,5803,5804,5805],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":5685,"name":5685,"fn":5686,"description":5687,"org":5807,"tags":5808,"stars":25,"repoUrl":26,"updatedAt":5698},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5809,5810,5811,5812,5813],{"name":4682,"slug":5009,"type":15},{"name":23,"slug":24,"type":15},{"name":13,"slug":14,"type":15},{"name":5694,"slug":5290,"type":15},{"name":5696,"slug":5697,"type":15},{"slug":5700,"name":5700,"fn":5701,"description":5702,"org":5815,"tags":5816,"stars":25,"repoUrl":26,"updatedAt":5713},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[5817,5818,5819,5820],{"name":5706,"slug":5707,"type":15},{"name":23,"slug":24,"type":15},{"name":5710,"slug":5711,"type":15},{"name":5694,"slug":5290,"type":15}]