Tools ·

Google standardizes agent infrastructure: Credentials and Files API

What happened

Google refreshed Gemini-managed agents with a new harness based on Antigravity and added two practical pieces. The Credentials API keeps secrets out of the model's context — the model sees a placeholder while the real key gets injected with traffic proxied only to approved domains. The Files API handles moving artifacts and persistent sandbox environments. Google also claims up to 30% lower cost and a 22% higher cache-hit rate.

Why it matters

API keys sitting in the prompt is the most common mistake in homegrown agents, and this is the first time a major player has solved it at the platform level instead of leaving it to you. The pattern is worth adopting even if you don't use Gemini.

Sources

More from this brief