How Anthropic ships the #1 LLM in the World - with Katelyn Lesse and Angela Jiang

Latent Space

Anthropic's Katelyn Lesse and Angela Jiang on Opus 5.5, Rust rewrite and agent sandboxes

Anthropic's heads of engineering and product explain how the Messages API was ported from Python to Rust, why the model is harder to distill, and how Claude Managed Agents keep credentials out of the sandbox.

In this Latent Space interview, recorded the day after Claude Opus 5.5 launched, Anthropic's Katelyn Lesse (engineering) and Angela Jiang (product) describe how the company turns model capabilities into a platform. The headline details: the Messages API now runs on Rust, saving roughly 40 to 50 percent of CPU, and Claude Managed Agents split the agent's "brain" from its "hands" so that credentials never enter the sandbox. Host swyx opens with his own reading of Anthropic's S-1 filing.

The S-1 numbers behind the efficiency story

swyx says Anthropic's trailing twelve month revenue per employee is now $6.6 million, up from $1.4 million a year earlier, and that it reported its first profitable quarter on a GAAP basis, a 19 percent profit against a 129 percent loss a year before. He credits two loops: better models bring more use cases and feedback, while revenue growth funds more investment. He also notes the filing says over half of customers spending $100,000 or more use the Claude platform.

Making the API harder to distill

Jiang says a good deal of the Opus 5.5 work was not in the launch post: changes to make the API harder to distill from, such as locking thinking to a prefix and limiting how thinking tokens can be replayed across models. Lesse explains the reasoning. Extracting chain of thought is a powerful way to copy a model, and a copy run without Anthropic's safeguard classifiers could be misused. The hard part is protecting developers who use the API legitimately.

The team required thinking blocks to be preserved across turns and contacted open source harness maintainers and large customers beforehand. It also shipped a compaction feature in the API for customers whose own compaction would otherwise have broken. Jiang says distillation has become measurably harder, and that Anthropic cares about it mainly for safety, not commercially.

Video interview frame of a podcast conversation about distillation protections in Anthropic's API.
The guests discuss why Anthropic works to prevent chain of thought extraction and model distillation.

Safeguards and trust grants on every model launch

Lesse says most launch work now goes on safety: online and offline safeguards, data retention policies that differ by model, and verification programs for cyber and life science work. Opus 5.5 does not carry the data retention requirements that Fable has. She describes "trust grants", a plain authorization layer that records who may use a given model or program. It was built generically, and it has since been reused for grandfathering customers through the thinking changes and for managing access programs.

The Messages API rewritten in Rust

Lesse says CPU, not only GPUs, is now a hard constraint, driven by sandboxes, CI runs and the API itself. The Messages API began as a Python monolith in a single GCP region. Her team chose to port the whole thing to Rust with Claude writing the code, though nobody on the team was a Rust developer. Humans designed the system, and the work centred on planning and verification: a full fork of the API ran shadow traffic, with its outputs compared against the Python system's. The team resisted adding features during the port.

It was fully rolled out the week before the interview. Lesse puts CPU savings at about 40 to 50 percent and time to first token improvements at 10 to 20 percent, with larger gains on long running workloads.

Video interview frame of the guests discussing the Rust rewrite of Anthropic's Messages API.
Discussion of porting the Messages API from Python to Rust and verifying it with shadow traffic.

Managed Agents: the brain, the hands and credentials

Claude Managed Agents are a set of APIs for defining an agent and starting sessions, with the harness supplied by Anthropic. The harness runs on a durable server, and the execution environment is spawned only when needed. That means a sandbox can die without killing the agent, and the first tokens come back faster. Lesse says the first prototype, Claude Code in a sandbox behind an API, was slow to boot and fragile.

Credentials sit in a separate vault. The agent sees only a placeholder, and a proxy injects the real credential on the way out. Egress controls such as domain allow lists, or no network access at all, limit what untrusted code can reach. Lesse argues that sandbox breakouts reported in the news mostly involve models in training, not production workloads with these safeguards.

Video interview frame of a guest describing the brain and hands architecture for agent security.
Explaining how Managed Agents separate the harness from sandboxes and keep credentials in a vault.

The conversation closes with a view on slop, which Lesse puts as: use Claude, but the human stays responsible for quality. Jiang adds that a multi-agent setup with one lead and asynchronous sub agents sharing state is worth trying on Opus 5.5.

Questions and answers

What did Anthropic's Katelyn Lesse and Angela Jiang say about Claude Opus 5.5 in the Latent Space interview?

Anthropic's Katelyn Lesse (engineering) and Angela Jiang (product) described how Anthropic turns model capabilities into a platform, in an interview recorded the day after Claude Opus 5.5 launched. They covered a Rust rewrite of the Messages API, steps to make the API harder to distill, and Claude Managed Agents.

How did Anthropic move the Claude Messages API to Rust in 2025?

Anthropic ported the Messages API from a Python monolith to Rust, with Claude writing the code, though nobody on the team was a Rust developer. Humans designed the system. A full fork ran shadow traffic, and its outputs were compared against the Python system. The team resisted adding features during the port.

How much did Anthropic's Rust rewrite of the Messages API save?

Katelyn Lesse puts the CPU savings at about 40 to 50 percent and the time to first token improvement at 10 to 20 percent. Gains are larger on long running workloads. The Rust version was fully rolled out the week before the interview.

How do Claude Managed Agents keep credentials out of the sandbox?

Claude Managed Agents keep credentials in a separate vault. The agent sees only a placeholder, and a proxy injects the real credential on outgoing requests. Egress controls, such as domain allow lists or no network access at all, limit what untrusted code can reach.

What is the brain and hands architecture in Anthropic's Claude Managed Agents?

It splits the agent's brain from its hands. Anthropic's harness runs on a durable server, and the execution environment is spawned only when needed. A sandbox can therefore die without killing the agent, and first tokens come back faster. Developers define an agent and start sessions through APIs.

Why did Anthropic make the Claude API harder to distill with Opus 5.5?

Katelyn Lesse says extracting chain of thought is a powerful way to copy a model, and a copy run without Anthropic's safeguard classifiers could be misused. Changes include locking thinking to a prefix and limiting how thinking tokens can be replayed across models. Angela Jiang says Anthropic cares mainly for safety, not commercially.

From the YouTube description

An agent’s sandbox can die without taking the whole agent with it. That’s the idea behind “the brain and the hands,” Anthropic’s architecture for Claude Managed Agents.

Now that the dust has settled on Opus 5.5, it is universally agreed to be the best model in the world. In this conversation with Katelyn Lesse and Angela Jiang, Anthropic’s Heads of Engineering and of Product, goes inside the systems that turn model capabilities into products developers can use.

We cover:

- Why Anthropic separated the agent harness, session state and execution environment.
- Letting agents use credentials without putting those credentials inside their sandboxes.
- Rebuilding the Messages API from Python to Rust with Claude-and verifying the rewrite with shadow traffic.
- Preventing model distillation while preserving the developer experience.
- Memory, “dreaming,” agent evaluations and the work still left for human engineers.
- How Anthropic’s own teams use Claude while keeping responsibility for their code and writing.

The episode opens with swyx’s look at Anthropic’s S-1: revenue per employee, compute efficiency, and the improvement and investment loops behind the business.

**Related links**

- [Claude Opus 5.5](https://www.anthropic.com/claude-opus-5-5) - Performance, pricing and safeguards.
- [The brain and the hands](https://www.anthropic.com/research/managed-agents) - The Managed Agents architecture.
- [How Anthropic contains Claude](https://www.anthropic.com/research/how-we-contain-claude) - Isolation, credentials and network controls.
- [Harnesses for long-running agents](https://www.anthropic.com/research/effective-harnesses-for-long-running-agents) - Maintaining progress across context windows.

Sponsorship and business inquiries: business@latent.space

Watch on YouTube

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.