Urgent.News

What's breaking now, across hundreds of outlets.

AI

Anthropic migrated Messages API to Rust with no Rust developers

The Messages API, which serves as the primary interface for customers and Anthropic's own applications, migrated from Python to Rust between early 2024 and fall 2026. The decision to rewrite the API in Rust aimed to achieve significant performance improvements, such as using 70% less CPU per request and cutting the median time to first token by about 20%.

However, the migration posed challenges in verifying the Rust API's performance and functionality compared to the Python version, as the Python API continued to evolve throughout the migration process. This made it difficult to establish a reliable method for ensuring the Rust API remained at parity with the production API. To address this challenge, Anthropic turned the production Messages API itself into a verifier, enabling them to test the new Rust version on production traffic and automatically dispatch agents to fix any discrepancies.

This approach allowed for the successful deployment of the Rust-based API without downtime or freezing feature development.

Rewritten by urgent.news; may contain errors — check the original.

Source: anthropic.com

Read the original at anthropic.com →

Report a problem with this story

More in AI

Deploy an Azure OpenAI Model in Microsoft Foundry and Call It from .NET

This walkthrough deploys gpt-5.4-mini in Microsoft Foundry and calls it from a single C# file. Azure hosts the model, while the .NET app runs locally and sends a support ticket to the deployment for a…

  • Deploy gpt-5.4-mini model in Microsoft Foundry
  • Call model from .NET application using .NET 11 SDK
  • Steps include creating resource group, deploying resource, testing with C# script

Before You Let An AI Agent Spend Your Money, Read This

AI agents have moved from answering questions to spending real money, buying products with your card, paying for data and even trading Bitcoin , so anyone thinking of handing one their wallet needs to…

  • AI agents can now autonomously purchase goods and services.
  • Safely allow AI agents to handle money with spending limits and transaction logs.
  • Use dedicated wallets or bank budgets to safeguard AI agent transactions.

Zipher Raises $53 Million To Let AI Agents Run Your Data Infrastructure For You

AI agents can query, start pipelines and spin up data jobs at any hour of the day. While they help the productivity of companies, there’s one major drawback.

  • Zipher raises $53M for AI agents to automate data infrastructure
  • Agents handle resource allocation, scheduling, framework selection
  • Customers report 40% compute cost reductions and 40-60% efficiency gains

More from Wednesday 25 November →