# Anthropic TypeScript SDK v0.130.0: Managed Agents & Admin API

> Anthropic has released version 0.130.0 of its TypeScript SDK, bringing new features for Managed Agents and significant enhancements to the Admin API for Claude Enterprise users.

- Published: 2026-10-04
- Updated: 2026-12-04
- Category: Frameworks & SDKs
- Type: news
- Tags: Admin Api, Claude Enterprise, Managed Agents, Plugins, Rbac, Sdk, anthropic, typescript
- Sources: 2
- Canonical: https://rajatxautomatedcontent.vercel.app/articles/anthropic-typescript-sdk-v0-130-0

---

Anthropic released version 0.130.0 of its TypeScript SDK on September 30, 2026 [S1]. This update expands Managed Agents capabilities and introduces new enterprise-grade features through the Admin API, particularly for Claude Enterprise users [S1]. Developers working with Anthropic's API can leverage these changes for improved agent management and organizational control.

## What Changed

### Enhanced Managed Agents Capabilities

Version 0.130.0 introduces new details for Managed Agents. Developers can now access a refusal stop reason and associated stop details for Managed Agents session idle events [S1]. Additionally, repository error types have been added to Managed Agents session errors, providing more granular insights into potential issues [S1].

### Admin API Expands for Enterprise Management

Significant updates have been made to the Admin API, primarily benefiting Claude Enterprise users. The API now includes support for Claude Enterprise analytics, spend limits, and the management of Role-Based Access Control (RBAC) groups and roles [S1]. For better oversight, per-user usage and cost reports are available within the Admin API's analytics features [S1].

Plugin management has also been integrated, allowing for the addition of Plugins and Plugin Marketplaces via the Admin API [S1]. Developers can now remove a plugin's organization-wide installation setting through the SDK [S1].

### General Availability of Organization API Endpoints

Organization API endpoints, which provide programmatic access to organizational resources, are now generally available (GA) [S1]. This marks a stabilization of these endpoints for broader use.

### Key Bug Fixes and Improvements

The release includes two notable bug fixes. An issue where auto-paging would continue past an empty page, even when `next_page` was set, has been resolved [S1]. Another fix ensures that the tool runner only sends API fields for runnable tools, improving correctness in tool usage [S1].

## Why it Matters for Developers

For developers utilizing Managed Agents, the added refusal stop reasons, stop details, and repository error types provide more comprehensive debugging and state management capabilities [S1]. This can help in understanding agent behavior and diagnosing issues more effectively.

The Admin API enhancements are particularly relevant for organizations managing Claude Enterprise deployments. The introduction of analytics, spend limits, and RBAC groups/roles offers greater control over resource consumption and user permissions [S1]. The ability to manage Plugins and Plugin Marketplaces via the API streamlines the integration and deployment of custom functionalities across an organization [S1]. The general availability of Organization API endpoints signifies a mature and stable interface for organizational management [S1].

## How to Try It

To update to the latest version of the Anthropic TypeScript SDK, use npm [S2]:

```bash
npm install @anthropic-ai/sdk
```

The SDK requires TypeScript version 5.0 or later [S2]. It supports various JavaScript runtimes, including Node.js 20 LTS or later, Deno v1.28.0+, Bun 1.0+, Cloudflare Workers, Vercel Edge Runtime, and Nitro v2.6+ [S2].

Here is a basic example of using the SDK to create a message:

```javascript
import Anthropic from '@anthropic-ai/sdk';

const client = new Anthropic({
 apiKey: process.env['ANTHROPIC_API_KEY'], // This is the default and can be omitted
});

const message = await client.messages.create({
 max_tokens: 1024,
 messages: [{ role: 'user', content: 'Hello, Claude' }],
 model: 'claude-opus-5-5',
});

console.log(message.content);
```

## Limitations and Open Questions

While the release notes detail new features, specific code examples or comprehensive documentation for implementing the new Managed Agents features (like refusal stop reasons or repository error types) are not provided within the scope of the release announcement [S1]. Similarly, detailed integration guides for the new Claude Enterprise analytics, spend limits, RBAC, and Plugin Marketplaces via the Admin API are not immediately available [S1]. Developers may need to consult future documentation or experiment to fully leverage these new capabilities. There is no explicit mention of breaking changes in this release, but developers should review their implementations when upgrading.

## Related Resources

*   [Structured Outputs with TypeScript AI SDK and Zod](/articles/structured-outputs-typescript-ai-sdk-zod)

## FAQ

**What are the key new features in Anthropic TypeScript SDK v0.130.0?**

Version 0.130.0 introduces new features for Managed Agents, including refusal stop reasons and repository error types. It also significantly expands the Admin API with Claude Enterprise analytics, spend limits, RBAC, and Plugin management capabilities. Organization API endpoints are now generally available.

**Which runtimes and TypeScript versions are supported by this SDK version?**

The SDK requires TypeScript 5.0 or later. It supports Node.js 20 LTS+, Deno v1.28.0+, Bun 1.0+, Cloudflare Workers, Vercel Edge Runtime, and Nitro v2.6+.

**How do I install the Anthropic TypeScript SDK v0.130.0?**

You can install the SDK using npm with the command: npm install @anthropic-ai/sdk.

## Sources

- [S1] anthropic-sdk-typescript sdk: v0.130.0 — Anthropic. <https://github.com/anthropics/anthropic-sdk-typescript/releases/tag/sdk-v0.130.0> (retrieved 2026-10-04, trust: official)
- [S2] anthropics/anthropic-sdk-typescript: Access to Anthropic's safety-first language model APIs in TypeScript — Anthropic. <https://github.com/anthropics/anthropic-sdk-typescript> (retrieved 2026-10-04, trust: official)

---

Source: AI Dev Hub — https://rajatxautomatedcontent.vercel.app/articles/anthropic-typescript-sdk-v0-130-0
