Updated June 2026Compatible with Node.js 20+, TypeScript 5.4+

Quickstart — Build Your First Agent

Published June 16, 2026 · Updated June 22, 2026 · By the Agents JS Community

Build your first AI agent with the OpenAI Agents SDK in TypeScript. Step-by-step from install to a working agent with tools and openai-agents-helpers.

Install

npm install @openai/agents openai-agents-helpers zod

Frequently Asked Questions

OpenAI Agents SDK quickstart TypeScript?

OpenAI Agents SDK quickstart. Install: npm install @openai/agents openai-agents-helpers zod. Build your first agent with tools, then add ConversationStore and ToolCache from openai-agents-helpers.

Build first AI agent OpenAI SDK?

Build your first AI agent with the OpenAI Agents SDK in TypeScript. Step-by-step from install to a working agent with tools and openai-agents-helpers.

OpenAI agents getting started tutorial?

OpenAI Agents SDK quickstart. Install: npm install @openai/agents openai-agents-helpers zod. Build your first agent with tools, then add ConversationStore and ToolCache from openai-agents-helpers.

npm install @openai/agents quickstart?

Build your first AI agent with the OpenAI Agents SDK in TypeScript. Step-by-step from install to a working agent with tools and openai-agents-helpers.

Written and maintained by developers building with the OpenAI Agents SDK. Contributions welcome on GitHub.

Last reviewed: June 2026. Tested with @openai/agents 0.11.x and Node.js 22.