---
title: Introducing the Agents SDK
description: Build and ship AI Agents on Cloudflare using the Agents SDK
image: https://developers.cloudflare.com/changelog-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/changelog/llms.txt  
> Use this file to discover all available pages before exploring further. 

[Skip to content](#%5Ftop) 

# Changelog

New updates and improvements at Cloudflare.

[ Subscribe to RSS ](https://developers.cloudflare.com/changelog/rss/index.xml) [ View RSS feeds ](https://developers.cloudflare.com/fundamentals/new-features/available-rss-feeds/) 

![hero image](https://developers.cloudflare.com/_astro/hero.CVYJHPAd_26AMqX.svg) 

[ ← Back to all posts ](https://developers.cloudflare.com/changelog/) 

## Introducing the Agents SDK

Feb 25, 2025 

[ Agents ](https://developers.cloudflare.com/agents/)[ Workers ](https://developers.cloudflare.com/workers/) 

We've released the [Agents SDK ↗](http://blog.cloudflare.com/build-ai-agents-on-cloudflare/), a package and set of tools that help you build and ship AI Agents.

You can get up and running with a [chat-based AI Agent ↗](https://github.com/cloudflare/agents-starter) (and deploy it to Workers) that uses the Agents SDK, tool calling, and state syncing with a React-based front-end by running the following command:

Terminal window

```
npm create cloudflare@latest agents-starter -- --template="cloudflare/agents-starter"# open up README.md and follow the instructions
```

You can also add an Agent to any existing Workers application by installing the `agents` package directly

Terminal window

```
npm i agents
```

... and then define your first Agent:

TypeScript

```
import { Agent } from "agents";
export class YourAgent extends Agent<Env> {  // Build it out  // Access state on this.state or query the Agent's database via this.sql  // Handle WebSocket events with onConnect and onMessage  // Run tasks on a schedule with this.schedule  // Call AI models  // ... and/or call other Agents.}
```

Head over to the [Agents documentation](https://developers.cloudflare.com/agents/) to learn more about the Agents SDK, the SDK APIs, as well as how to test and deploying agents to production.

```json
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/post/2025-02-25-agents-sdk/#page","headline":"Introducing the Agents SDK · Changelog","description":"Build and ship AI Agents on Cloudflare using the Agents SDK","url":"https://developers.cloudflare.com/changelog/post/2025-02-25-agents-sdk/","inLanguage":"en","image":"https://developers.cloudflare.com/changelog-preview.png","dateModified":"2025-02-25","datePublished":"2025-02-25","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
