Google adds Files API and secret-safe Credentials API to Gemini managed agents
_philschmid · x · 2026-09-18
Google shipped two new APIs for Gemini managed agent environments:
Files API: move data in and out of agent sandboxes — files.upload() for inline seeds or mid-conversation uploads, files.list() to inspect generated files and directory sizes, files.download() for artifacts, dashboards, reports, CSVs or git repos; sandboxes persist across turns via environmentid.
Credentials API: authenticate with external services and MCP servers without the model ever seeing secrets — credentials.create() supports bearertoken, environmentvariable and oauth2 (auto-refresh, token rotation); secrets never enter model context, stdout, or memory, with the agent seeing only placeholders.
More from coding & agent
- Geoffrey Litt: The Document Editor Is the Next IDE as Prompts Become Executable Software — ivanhzhao · 2026-09-18
- SportScore launches free no-key MCP server for live sports data — modelcontextprotocol · 2026-09-18
- Web Search Neo: MCP server for DuckDuckGo and Yandex search — modelcontextprotocol · 2026-09-18
- Jev Plays Minecraft: an AI agent livestreams 24/7 to beat the Ender Dragon — jarrodwatts · 2026-09-18
- Single RTX 3090 + Qwen 3 8B with deepseek harness 'game changing', dev reports — tlpta · 2026-09-18
- Making agents 10x faster and cheaper with jev: routing, review, and a $0.0039 browser demo — gabriel1 · 2026-09-18