DEV Community

Cover image for Anthropic SDK (Python) v0.120.0 Adds Claude Opus 5 — Plus FastAPI 0.140.0, Gemini, & Rust
soy
soy

Posted on • Originally published at media.patentllm.org

Anthropic SDK (Python) v0.120.0 Adds Claude Opus 5 — Plus FastAPI 0.140.0, Gemini, & Rust

Today's digest highlights major AI advancements with the Anthropic SDK (Python) v0.120.0 and Claude Code introducing Claude Opus 5, alongside Google's Gemini Enterprise Agent Platform getting advanced grounding. Developers also see new releases for FastAPI 0.140.0, Rust 1.97.1, and Streamlit 1.60.0, bringing significant updates across frameworks and tools.

Cloud AI, APIs & MCP

Today's highlights include the integration of Claude Opus 5 into Anthropic's Python SDK and Claude Code, bringing advanced tool-use capabilities and expanded context. Concurrently, Google's Gemini Enterprise Agent Platform enhances its grounding with a new Parallel Web Search integration.

Anthropic SDK (Python) v0.120.0 Adds Claude Opus 5 and Tooling (Anthropic SDK (Python))

Source: Anthropic SDK (Python)

This official release of the Anthropic Python SDK, version 0.120.0, marks a significant update for developers interacting with Anthropic's models. A key addition is first-class API support for the new claude-opus-5 model, expanding the range of powerful models available directly through the SDK. This integration allows developers to leverage the latest advancements in Claude's capabilities within their Python applications.

Furthermore, the update introduces robust features specifically designed for building advanced AI agents. These include "tool addition/removal blocks" and "tool_change events," which provide developers with more granular control over how agents dynamically manage and utilize external tools. This enhances agents' adaptability and functionality within complex, multi-step workflows. The release also lays groundwork for "Managed Agents model effort, initial session events, and threads delta streaming," signaling Anthropic's ongoing commitment to sophisticated agent capabilities and real-time interaction patterns, enabling more responsive and intelligent AI applications.

This SDK update is a must-have for anyone building serious Claude applications, especially with the Opus 5 integration and the new, more granular control over agent tooling, making complex agentic flows much more manageable.

Claude Code v2.1.219 Introduces Claude Opus 5 and Fast Mode (Claude Code)

Source: Claude Code

Anthropic's official Claude Code tool, in its v2.1.219 release, significantly upgrades its core capabilities by integrating the new Claude Opus 5 model. This release positions claude-opus-5 as the default Opus model for the tool, offering developers a substantial 1 million token context window. This expanded context is crucial for handling large codebases, detailed project specifications, and extensive review processes, allowing for more comprehensive and accurate AI assistance within coding environments.

Notably, the update also introduces a "fast mode" for Opus 5, with transparent pricing set at $10 per million input tokens and $50 per million output tokens. This provides cost-effective options for quicker interactions and less demanding tasks, balancing performance with operational costs. Additionally, a new sandbox.network.strictAllowlist setting has been added to enhance security by denying non-allowlisted hosts for sandboxed comma environments, which is critical for secure code execution and review within the tool.

Accessing Opus 5 directly within Claude Code with 1M context is huge for complex code analysis and generation, and the new fast mode pricing makes it more practical for iterative development and testing.

Gemini Enterprise Agent Platform Integrates Parallel Web Search for Advanced Grounding (Google Developers Blog)

Source: Google Developers Blog

The Google Developers Blog announced a significant enhancement to the Gemini Enterprise Agent Platform through a strategic partnership with Parallel Web Systems. This integration natively incorporates Parallel's advanced search infrastructure as a dedicated web grounding provider, directly within the Gemini platform. This new capability is designed to drastically improve the factual accuracy and reliability of AI agent responses.

By providing Gemini agents with real-time, up-to-date web information, this feature directly addresses the challenge of AI hallucination, ensuring that responses are anchored in verifiable data. This comprehensive knowledge base facilitates the creation of more trustworthy and effective enterprise-grade AI applications, enabling more sophisticated and verifiable agent behaviors across various industry use cases. Developers can now build agents that not only retrieve information but also validate it against the latest web content, making them invaluable for critical business functions.

Adding native parallel web search for grounding in Gemini agents is a game-changer for building reliable enterprise AI solutions that need up-to-date information without hallucinating. This drastically increases trust in agent outputs.

Full Cloud AI, APIs & MCP archive

Rust, Cloudflare & Dev Stack

Today's highlights focus on essential updates across the core developer stack, with critical stability fixes for Rust and significant performance enhancements for FastAPI. Streamlit also receives important security and configuration options, reinforcing robust application development.

Announcing Rust 1.97.1 (Rust Blog)

Source: Rust Blog

The Rust team has released Rust 1.97.1, a crucial point release addressing a miscompilation issue in LLVM optimization. This update includes a backport of an LLVM submodule bump that incorporates the necessary LLVM-side fix, alongside a revert of a specific rustc change known to trigger the bug. While the prior Rust 1.97.0 release focused on stabilizing language features—such as treating Result<T, Uninhabited> and ControlFlow<Uninhabited, T> as equivalent to T for the must_use lint, and introducing an allow-by-default dead_code_pub_in_binary lint for unused public items in binary crates—the 1.97.1 patch is vital for ensuring the compiler's stability and correctness. Developers are strongly encouraged to upgrade to this version to benefit from these critical stability improvements and avoid potential runtime issues that could arise from the miscompilation bug. This rapid follow-up release underscores the Rust team's commitment to delivering a reliable and performant toolchain.

A quick patch release is always welcome, especially when it addresses critical miscompilation bugs that can affect code generation. Keeping our Rust toolchain stable and reliable is paramount for production systems.

FastAPI 0.140.0 Released (FastAPI)

Source: FastAPI

FastAPI 0.140.0 has been released, bringing a significant refactor aimed at reducing memory usage in dependencies. This improvement, contributed by project lead Tiangolo, is a crucial enhancement for applications deployed in resource-constrained environments like serverless functions or containers, where memory efficiency directly impacts cost and performance. Beyond the core performance boost, this release also includes valuable documentation updates. Developers will find fixed links and new "Library Skills documentation," which helps users understand and leverage FastAPI's capabilities more effectively. Additionally, the release subtly encourages the use of uv for project management, aligning with modern, high-performance Python dependency management practices. These changes collectively enhance both the operational efficiency and the developer experience for FastAPI users.

Reduced memory usage in dependencies for FastAPI is a huge win for deploying efficient services, especially on serverless platforms or containers where every MB counts. The docs updates are a nice bonus for onboarding new features.

Streamlit 1.60.0 Released (Streamlit)

Source: Streamlit

Streamlit has announced the release of version 1.60.0, introducing several important updates that impact configuration, security, and stability. A notable breaking change in this release is the addition of the server.maxWidgetStateSize configuration option. This new setting provides developers with granular control over the maximum size of widget state data, which is crucial for managing application memory footprint and preventing potential denial-of-service attacks through oversized inputs. Alongside this, the update includes fixes that specifically limit the client-supplied query string size and field count, further hardening applications against malformed requests. Additionally, Streamlit 1.60.0 now rejects spoofed st-stream headers, contributing to enhanced security by preventing certain types of header manipulation. These combined efforts reflect Streamlit's continuous commitment to building a robust and secure platform for data applications, ensuring more predictable resource usage and greater resilience against adversarial inputs.

Controlling server.maxWidgetStateSize is a welcome feature for preventing unexpected memory usage or malicious inputs in Streamlit apps. Security and resource management are key for reliable deployments.

Full Rust, Cloudflare & Dev Stack archive


Compiled daily from official release feeds, vendor changelogs and engineering blogs. Archive: https://media.patentllm.org

Top comments (0)