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

# Agent

> Chat with an assistant that has its own Linux computer: it runs code, installs packages and makes files for you to download.

The **Agent** is a chat with an assistant that has its own private Linux computer. Ask it to do something rather than build a page: analyse a spreadsheet, convert files, write and test a script, fetch data from the web, or work out an answer by running code. It runs the commands itself, checks the results, and saves what it makes for you to download.

The Agent runs on your own [Pollinations](https://docs.aicodezero.com/pollinations.md) account, so its replies and computer time are paid from your Pollen. It works in the browser version, the desktop app and the Android app.

## Start a chat

**1. Pick the Agent**

On the home page, click **Agent (its own computer)** (the robot icon) at the bottom of the prompt box. On a phone, tap the studio button until it shows the Agent.

**2. Sign in with Pollinations**

The first time you switch to the Agent, AI Code Zero asks you to sign in. Click **Sign in with Pollinations** and approve AI Code Zero on the Pollinations page. Check **Run hosted sandboxes** there: it lets the Agent use a Linux computer. Choose the most Pollen AI Code Zero may spend and how many days the sign-in lasts.

**3. Ask for something**

Describe the task and press **Enter**, for example "Make a CSV of the first 100 prime numbers and a chart of the gaps between them".

This is the same sign-in as **Settings → Extensions → Pollinations**. If you signed in there before without checking **Run hosted sandboxes**, the Agent asks you to sign in again.

## What happens in a chat

* Each step shows in the chat: **Ran** for a command, **Read** and **Wrote** for files. Click a step to see its output.
* The header shows the computer: **Computer starts when needed**, **Computer running**, or **Computer deleted**.
* The Agent takes up to 20 steps for each message. If it stops before it's done, say "continue".
* To stop it, click the square button in the prompt box.

The computer runs Debian Linux with Node.js, npm, Python, git and internet access. The Agent can install more with `sudo`.

## Your files

The Agent saves everything it makes for you in one folder, and the **Files** panel on the right lists it. (On a narrow screen, click **Files** in the header.) Click a file to download it.

* Each download is limited to 70 KB. For anything bigger, ask the Agent to zip or split it.
* Only that folder is shown. Ask the Agent to copy anything else you want into it.

> [!WARNING]
>
> The computer and every file on it are deleted when the chat ends: when you click **New chat**, leave the Agent, or close the tab. It is also deleted after 10 minutes without use. Download anything you want to keep.

## Saved chats

Agent chats are saved as projects. Open **Saved projects** and pick the **Agent** filter to find them. A reopened chat keeps the conversation, but its computer is gone, so the Agent starts with a new, empty one.

## Cost

Everything the Agent does is paid from your Pollen, within the budget you set when you signed in: the AI's replies and the time the computer runs. Each use keeps the computer running for another 10 minutes. Using Pollinations through AI Code Zero costs 20% more than using it directly. The extra supports AI Code Zero.

If you see **used up its Pollen budget**, add Pollen on Pollinations, or sign in again with a bigger budget. If you see **running as many computers as it can**, close other Agent chats, or wait up to 10 minutes for unused computers to stop.

## Privacy

The computer belongs to your Pollinations account: no one else can reach it. AI Code Zero never sees your Pollinations password, and your sign-in is never written into a page. The Agent refuses harmful requests, and your messages are checked against AI Code Zero's Terms of Use before they are sent.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.