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
- awa-video-reel: free Claude Code skill auto-edits shorts and records website B-roll — TawohAwa · 2026-11-02
- Econ PhD Job Market Database Hits 900+ Candidates, Open to Codex and Claude Code — aniketapanjwani · 2026-11-02
- Cron works by hand, fails on schedule: a 7-point debugging checklist — petrusenko_max · 2026-11-02
- Local quants vs Claude on 9 real private bugs: 3-bit costs thinking time, not score — FeydRowan · 2026-11-02
- Build products for AI, not humans: MCP lets Claude Code run everything — gefei55 · 2026-11-02
- Solo dev launches hosted MCP server with 31 tools scheduling to 20+ social networks — troyizzle · 2026-11-02