Inference Brew

Google previews Tool Retrieval in the Gemini API for large tool libraries

00:00 / --:--

Today's news AI developers shouldn't miss.

5 minutes a day, only the essentials concisely. Listen to audio summaries on your commute.

Today's Briefing

View all →

1. Google previews Tool Retrieval in the Gemini API for large tool libraries

Designed for agents managing large tool collections, Tool Retrieval avoids sending every parameter schema upfront by letting the model request schemas on demand. Server-side mode resolves the tool search, schema load, and function call within one API request, whereas client-side mode uses tool_search_call, relies on custom application lookup, and adds an extra round trip per search. Tool Retrieval incurs no separate feature fee, though loaded schemas remain in context and are billed as input tokens for the remainder of the conversation; unlike Anthropic and OpenAI, which report 85% and 47% token savings in their respective tool-search tests, Google has not published savings figures.

  • • Tool Retrieval is now in preview in the Gemini API's Interactions API, deferring tool parameter schemas until the model requests them.
  • • Server-side mode completes search, schema loading, and function calling in a single API request, while client-side mode uses tool_search_call with custom app lookup and adds one round trip per search.
  • • Tool Retrieval adds no separate fee, though loaded schemas stay in context and count as billed input tokens for the rest of the conversation.
  • • Google has published no token-savings numbers for Gemini Tool Retrieval, compared with reported savings of 85% from Anthropic and 47% from OpenAI in their tool search tests.

Developers building Gemini agents with large tool sets can keep more tools accessible without bloating every prompt with unused schemas.

SOURCES

2. Personal AI agents compared across memory, sandboxing, and security risks

Self-hosted agents such as OpenClaw 2.0 (v2026.9.5, MIT license) and Nous Research's Hermes Agent store persistent memory in Markdown and SQLite while giving developers control over local or provider models, whereas vendor-managed platforms like Google's Gemini Spark, OpenAI's dots, Meta's Muse, and Perplexity Personal Computer bundle cloud or hybrid execution into $17 to $167 monthly subscriptions. On security, the comparison notes that OpenClaw defaults to full host access with an opt-in Docker sandbox, suffered the CVE-2026-25253 one-click RCE vulnerability, and had 341 malicious entries found out of 2,857 audited ClawHub skills by Koi Security, contrasting with Hermes Agent's fail-closed 7-layer defense model, NanoClaw's Docker MicroVM sandboxes, and IronClaw's WebAssembly sandbox for untrusted tools.

  • • OpenClaw 2.0 (MIT-licensed, v2026.9.5) moved session storage to SQLite and defaults to full host access with an opt-in Docker sandbox; CVE-2026-25253 enabled one-click RCE via a WebSocket origin bypass, and Koi Security found 341 malicious skills among 2,857 audited on ClawHub.
  • • Nous Research's open-source Hermes Agent supports roughly 25 platforms, persists memory in Markdown and SQLite FTS5, generates reusable agentskills.io skills, and uses a 7-layer fail-closed defense model with 300-second approval timeouts.
  • • Managed vendor offerings include Google Gemini Spark ($20 AI Pro / $99.99 AI Ultra on Gemini 3.5 Flash), OpenAI dots (GPT-6 Astra with 4,000+ app plugins), Meta Muse (free, $20, and $100 tiers with an isolated Sentinel agent), and Perplexity Personal Computer (hybrid cloud/macOS, $17/mo Pro or $167/mo Max annual).
  • • Alternative lightweight runtimes emphasize isolation, including NanoClaw with Docker MicroVM sandboxes, IronClaw running untrusted tools in WebAssembly, and ZeroClaw running in under 5MB of RAM on $10 hardware.

Developers choosing or securing continuous AI agents gain a concrete comparison of memory architectures, sandboxing models, and known skill-ecosystem risks across self-hosted and managed platforms.

SOURCES

3. LocalCode brings open-source agentic coding and local API serving to Apple Silicon

Installed via pip through uv on macOS 13 or newer, LocalCode reads and edits project files, runs tests, builds, Git, and shell commands while prompting before touching anything outside the project, and restricts network activity to model downloads, web_search/web_fetch tools, and configured MCP servers. Users can pick from 12 Hugging Face models and 169 quant options—with automatic memory-fit recommendations, 8-bit KV cache, flash attention, precompiled GPU kernels, and speculative drafting for Gemma 4, Qwen 3.6, Muse Glimmer, and Qwen 3.8—and expose an OpenAI-compatible API server endpoint; for Inkling 2, GPU expert execution, banded attention, and a fused activation op cut memory usage by 3.3 GB at 128K context.

  • • LocalCode is an Apache 2.0-licensed agentic coding tool for Apple Silicon Macs (macOS 13+, 16 GB+ unified memory, Python 3.10+), installable with pip via uv.
  • • It edits files, runs builds, tests, Git, and shell commands, integrates with MCP servers, and exposes an OpenAI-compatible endpoint via its API server.
  • • Users can choose from 12 Hugging Face models and 169 quant options with memory-based recommendations, 8-bit KV cache, flash attention, and speculative drafting for Gemma 4, Qwen 3.6, Muse Glimmer, and Qwen 3.8.
  • • For Inkling 2, LocalCode runs experts on the GPU with banded attention and a fused activation op to save 3.3 GB of memory at 128K context.

Mac developers can run an open-source coding agent and OpenAI-compatible local model server directly on Apple Silicon without relying on cloud inference.

SOURCES

4. Fast-Anything automates porting slow functions to Rust with coding agents

Installable via npm or cargo, fast-anything targets hot paths across Python, Node.js, Bun, Deno, Ruby, Java, Maven, Gradle, Go, PHP, C, C++, and R rather than requiring full-application rewrites. The tool compiles each port as a single-function crate sharing a cache in .fast/target and checks outputs against recorded real calls alongside derived edge cases and shrunk inputs before activating the replacement. It also ships with a Claude Code plugin, a built-in MCP server exposing 8 tools, and an agent skill.

  • • fast-anything identifies slow functions, directs a coding agent to port them to Rust as single-function crates cached in .fast/target, and swaps them in after verifying identical outputs on recorded calls and derived edge cases.
  • • It supports Python, Node.js, Bun, Deno, Ruby, Java, Maven, Gradle, Go, PHP, C, C++, and R.
  • • The MIT-licensed tool installs via npm i -g @el4cteo/fast-anything or cargo install fast-anything.
  • • It includes a Claude Code plugin, a built-in 8-tool MCP server, and an agent skill.

Application developers can accelerate performance-critical functions across multiple runtimes without manually rewriting entire codebases in Rust.

SOURCES

Inference Brew in your inbox

5 minutes a day. Free, unsubscribe anytime.

Inference Brew in your inbox

5 minutes a day. Free, unsubscribe anytime.