# AgentConnection (/api/reference/objects/agent-connection)

A page of agents.

```graphql
type AgentConnection {
  edges: [AgentEdge!]!
  pageInfo: PageInfo!
}
```

### Fields [#fields]

#### [`AgentConnection.edges`](#edges) · [`[AgentEdge!]!`](/api/reference/objects/agent-edge) `non-null` `object` [#edges]
The rows of this page, each with its cursor.

#### [`AgentConnection.pageInfo`](#page-info) · [`PageInfo!`](/api/reference/objects/page-info) `non-null` `object` [#page-info]
Whether there is more to read, and from where.

### Returned By [#returned-by]

[`agents`](/api/reference/queries/agents)  `query`