# OpenAI Node SDK v7.25.0 Adds Computer Use to Beta Agents

> OpenAI has released version 7.25.0 of its Node.js SDK, openai-node, introducing 'computer use' capabilities for beta agents.

- Published: 2026-10-04
- Updated: 2026-12-04
- Category: Frameworks & SDKs
- Type: news
- Tags: Api Library, Beta Agents, Computer Use, Javascript, Openai Node Sdk, typescript
- Sources: 1
- Canonical: https://rajatxautomatedcontent.vercel.app/articles/openai-node-sdk-v7-25-0-computer-use

---

OpenAI has released version 7.25.0 of its official Node.js SDK, `openai-node`, on September 29, 2026 [S1, F1]. This update introduces a new feature that adds 'computer use' capabilities to beta agents within the API [S1, F2]. The `openai-node` library provides convenient access to the OpenAI REST API for both TypeScript and JavaScript developers [S2, F3].

This release expands the functionality available for developers working with OpenAI's agent capabilities, particularly those in beta. While the specific details of what 'computer use' entails for beta agents are not yet publicly detailed, its inclusion suggests an evolution towards agents with broader interaction paradigms.

## What Changed

The primary enhancement in `openai-node` v7.25.0 is the addition of 'computer use' functionality to beta agents [S1, F2]. This feature was part of a change identified by the issue number #2837 [S1].

## Why it matters for developers

The introduction of 'computer use' for beta agents in the OpenAI Node SDK suggests an expansion of how these agents can operate. For developers, this could imply agents gaining the ability to interact with external tools, environments, or perform actions that simulate human computer interaction. While the specific functionalities encompassed by 'computer use' are not yet defined, it points to a future where agents can execute more complex, multi-step tasks that go beyond conversational interactions. Developers should monitor future OpenAI announcements for detailed documentation and examples on how to leverage this new capability.

## OpenAI Node.js SDK Overview

The `openai-node` library is designed to offer convenient access to the OpenAI REST API from TypeScript or JavaScript applications [S2, F3]. The SDK itself is generated directly from OpenAI's OpenAPI specification, ensuring consistency with the API [S2, F4].

Developers can install the library using npm:

```bash
npm install openai
```

For Deno environments, the package can be imported directly from npm [S2, F6]:

```typescript
import OpenAI from 'npm:openai';
```

## Core API Interactions

The primary method for interacting with OpenAI models through the SDK is the Responses API [S2, F7]. This API facilitates various tasks, including text generation and vision capabilities.

Here's an example of generating text using the Responses API:

```typescript
import OpenAI from 'openai';

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

const response = await client.responses.create({
 model: 'gpt-5.5',
 instructions: 'You are a coding assistant that talks like a pirate',
 input: 'Are semicolons optional in JavaScript?',
});

console.log(response.output_text);
```

The SDK also supports vision tasks, allowing analysis of images:

```typescript
import OpenAI from 'openai';

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

const response = await client.responses.create({
 model: 'gpt-5.5',
 input: [
 {
 role: 'user',
 content: [
 { type: 'input_text', text: 'What is in this image?' },
 {
 type: 'input_image',
 detail: 'auto',
 image_url:
 'https://api.nga.gov/iiif/a2e6da57-3cd1-4235-b20e-95dcaefed6c8/full/!800,800/0/default.jpg',
 },
 ],
 },
 ],
});

console.log(response.output_text);
```

For developers familiar with earlier interaction patterns, the Chat Completions API remains available:

```typescript
import OpenAI from 'openai';

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

const completion = await client.chat.completions.create({
 model: 'gpt-5.5',
 messages: [
 { role: 'developer', content: 'Talk like a pirate.' },
 { role: 'user', content: 'Are semicolons optional in JavaScript?' },
 ],
});

console.log(completion.choices[0].message.content);
```

## Advanced Features

The SDK supports workload identity authentication for secure, automated environments like Kubernetes, Azure, and GCP [S2, F8]. This allows the use of short-lived tokens from cloud identity providers instead of long-lived API keys [S2, F8]. The `workloadIdentity` parameter is mutually exclusive with `apiKey` [S2, F9].

```typescript
import OpenAI from 'openai';
import { k8sServiceAccountTokenProvider } from 'openai/auth';

const client = new OpenAI({
 workloadIdentity: {
 identityProviderId: 'idp-123',
 serviceAccountId: 'sa-456',
 provider: k8sServiceAccountTokenProvider('/var/run/secrets/kubernetes.io/serviceaccount/token'),
 },
});

const response = await client.chat.completions.create({
 model: 'gpt-5.5',
 messages: [{ role: 'user', content: 'Hello!' }],
});
```

Streaming responses are also supported via Server-Sent Events (SSE) [S2, F10]. Additionally, the SDK offers flexible options for file uploads, accepting `File` objects, `fetch` `Response` objects, `fs.ReadStream`, and helper functions like `toFile` or `toStreamingFile` [S2, F11].

## Recent SDK Enhancements

Earlier versions of the `openai-node` SDK also introduced significant features. Version 7.23.0, released on September 23, 2026, added support for GCP external storage and included the GPT-Rosalind research model [S3, F12, F13]. Preceding that, v7.22.0, released on September 22, 2026, added identifiers for the GPT-6 Sol and Luna models [S4, F14].

## How to Try It

To begin using the latest features, developers should update their `openai-node` package to version 7.25.0 using npm. After updating, developers can explore the SDK's capabilities, particularly looking for documentation or examples related to the new 'computer use' functionality for beta agents as they become available from OpenAI.

## FAQ

**What is the main new feature in OpenAI Node SDK v7.25.0?**

The primary new feature in version 7.25.0 of the OpenAI Node SDK is the addition of 'computer use' capabilities to beta agents.

**When was OpenAI Node SDK v7.25.0 released?**

OpenAI Node SDK v7.25.0 was released on September 29, 2026.

**Which programming languages does the OpenAI Node SDK support?**

The OpenAI Node SDK provides convenient access to the OpenAI REST API for both TypeScript and JavaScript applications.

## Sources

- [S1] openai-node v7.25.0 — OpenAI. <https://github.com/openai/openai-node/releases/tag/v7.25.0> (retrieved 2026-10-04, trust: official)

---

Source: AI Dev Hub — https://rajatxautomatedcontent.vercel.app/articles/openai-node-sdk-v7-25-0-computer-use
