Skip to content

Commit 79731cb

Browse files
committed
fix intro
1 parent 579d66b commit 79731cb

File tree

1 file changed

+4
-4
lines changed
  • src/content/docs/agents/api-reference

1 file changed

+4
-4
lines changed

src/content/docs/agents/api-reference/sdk.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: The Agent class
2+
title: Agents SDK API Reference
33
pcx_content_type: concept
44
sidebar:
55
order: 1
@@ -8,7 +8,9 @@ sidebar:
88

99
import { MetaInfo, Render, Type, TypeScriptExample, WranglerConfig } from "~/components";
1010

11-
At its most basic, an Agent is a JavaScript class that extends the `Agent` class from the `agents-sdk` package. An Agent encapsulates all of the logic for an Agent, including how clients can connect to it, how it stores state, the methods it exposes, and any error handling.
11+
This page provides an overview of the Agent SDK API, including the `Agent` class, methods and properties built-in to the `agents-sdk`.
12+
13+
An Agent is a JavaScript class that extends the `Agent` class from the `agents-sdk` package. An Agent encapsulates all of the logic for an Agent, including how clients can connect to it, how it stores state, the methods it exposes, and any error handling.
1214

1315
<TypeScriptExample>
1416

@@ -495,8 +497,6 @@ To learn more about how to manage state within an Agent, refer to the documentat
495497

496498
:::
497499

498-
499-
500500
## Routing to Agents
501501

502502
You can create and run an instance of an Agent directly from a Worker in one of three ways:

0 commit comments

Comments
 (0)