---
title: Agent
description: Reference for the current version of the Agent library.
pypi: cua-agent
github:
  - https://github.com/trycua/cua/tree/main/libs/python/agent
---

The Agent library provides the ComputerAgent class and tools for building AI agents that automate workflows on Cua Computers.

## Agent Loops

See the [Agent Loops](../agent-sdk/agent-loops) documentation for how agents process information and take actions.

## Chat History

See the [Chat History](../agent-sdk/chat-history) documentation for managing conversational context and turn-by-turn interactions.

## Callbacks

See the [Callbacks](../agent-sdk/callbacks) documentation for extending and customizing agent behavior with custom hooks.
