# Answer an Agent's questions and requests

> What to do with each card an Agent sends you: questions, forms, logins, GitHub, sign-ins, App Store Connect, background services and more.

Source: https://air.build/docs/projects/answer-agent-requests/

When an Agent needs something only a person can give, such as a decision, a value, a login or access to an account, it posts a card in the chat. The card says what it needs and has its own buttons. The Agent waits until the card is answered, then carries on.

A few things are true of every card:

- A card is answered once, by whoever answers first. If someone beat you to it, the card closes and shows their answer.
- Anyone in the Team can answer, except cards that connect GitHub or move the project. Only the Team's owner can answer those. In a Team you joined, a GitHub card's button doesn't open GitHub, and a **Move this app** card shows no Teams to pick. Ask the Team's owner to answer them.
- If an Agent no longer needs an answer, it can take its question back. The card then says **Expired** and takes no answer.
- You can always answer in words instead. The Agent reads the chat.

To find cards still waiting for you, tap **Unanswered** above the message box. See [Work with your Agents in chat](https://air.build/docs/projects/work-with-agents-in-chat/#find-questions-you-havent-answered).

## Which card is which

| The card | What to do | Read more |
| --- | --- | --- |
| A question with options A, B, C… | Tap an option, or type your own answer and tap **Submit**. | [Work with your Agents in chat](https://air.build/docs/projects/work-with-agents-in-chat/#answer-an-agents-question) |
| A form: a title and a few boxes | Fill in every box and tap **Submit**. | [Fill in a form](https://air.build/docs/projects/answer-agent-requests/#fill-in-a-form) below |
| A login to save, with boxes such as **Email** and **Password** | Fill in every box and tap **Submit**. The values go to the Team's Passwords, not into the chat. | [Save logins for Agents](https://air.build/docs/agents/save-logins-for-agents/#save-a-login-when-an-agent-asks) |
| **GitHub**, asking for access | The Team's owner taps **Grant Access** and grants it on GitHub. | [Connect your GitHub account](https://air.build/docs/team/connect-github-account/#when-an-agent-asks-in-a-chat) |
| "Choose a GitHub repository to share." | The Team's owner taps **Choose Repository**. | [Share a GitHub repository](https://air.build/docs/projects/answer-agent-requests/#share-a-github-repository) below |
| A service's icon and "Sign in so the agent can use your account." | Tap **Connect** followed by the service's name and sign in. | [Connect an Agent to outside services](https://air.build/docs/agents/connect-outside-services/#sign-in-from-a-card) |
| "Choose the team your agents sign and upload with." | Pick a team in **App Store Connect**. | [Connect your Apple Developer account](https://air.build/docs/app-store/connect-apple-developer-account/#when-an-agent-asks-for-a-team) |
| A background service, with **Open** | Tap **Open** to see what it serves. | [Open a background service](https://air.build/docs/projects/answer-agent-requests/#open-a-background-service) below |
| An AirBuild service, with **Turn On _Service_…** | Tap it, then **Turn On _Service_** or **Not Now**. | [Add an AirBuild service to your app](https://air.build/docs/services/add-an-airbuild-service/#answer-an-agents-service-card) |
| **AirRouter Billing** | Top up the balance. The card takes no answer. | [Add AI to your app (AirRouter)](https://air.build/docs/services/add-ai-to-your-app/#the-airrouter-billing-card) |
| **Move this app** | The Team's owner picks a Team. | [Move a project to another Team](https://air.build/docs/projects/move-project/#when-an-agent-offers-the-move) |
| "Install on Your iPhone or iPad" | Tap **Install on iPhone** (Mac) or **Get AirBuild for Mac**. | [Install with a free Apple ID (Mac)](https://air.build/docs/build/install-with-free-apple-id/#the-install-card-in-chat) |
| **Choose the upload key for Google Play** | Tap **Upload Keystore** or **Create New Key**. | [Make an Android or PocketJS version (beta)](https://air.build/docs/build/android-and-pocketjs/#choose-the-apps-upload-key-for-google-play) |
| **The Air Daily** | Tap the card, then **Turn On** or **Not Now**. | [Get a daily report on your apps](https://air.build/docs/agents/get-a-daily-report/#turn-on-the-air-daily) |
| An Agent template, or "Wants to register a new agent" | Open the template, or tap **Allow** or **Don't Allow**. | [Add an Agent to your Team](https://air.build/docs/team/add-an-agent/#add-an-agent-from-a-chat) |
| A chart: a title, a number and a plot | Tap it to read every value. The card takes no answer. | [Read a chart or a check report an Agent sends](https://air.build/docs/agents/read-charts-and-checks-from-agents/#read-a-chart) |
| A check report, such as an App Store precheck, with findings marked **Needs fixing** or **Needs checking** | Tap a finding to read it. The card takes no answer: reply in the chat to act on it. | [Read a chart or a check report an Agent sends](https://air.build/docs/agents/read-charts-and-checks-from-agents/#read-a-report) |

Two things you may come across aren't cards from an Agent. The **Import from GitHub** card in a new project's empty chat starts an import. See [Import a project from GitHub](https://air.build/docs/get-started/import-from-github/). The list of apps you pick from to start a project from App Store Connect is part of that import. See [Import an app from App Store Connect](https://air.build/docs/get-started/import-from-app-store-connect/).

## Fill in a form

An Agent sends a form when it needs a few exact values that only you know, for example the contact details App Review should use or a demo account for reviewers. The card has a title, a line from the Agent about what the values are for, and one box per value, each under its label.

The Agent fills in whatever it can guess. Check those values, and change any that are wrong.

1. Fill in every box. Every one is needed.
2. Tap **Submit**. On the Mac you can also press Return in a box.

Until every box has something in it, the button shows how many are filled, for example **Submit (2/3)**, and doesn't send.

Once it's sent, the card shows each label with the value you sent under it. The boxes, the Agent's line and the button are gone, and the answer can't be changed. The Agent gets each value exactly as you typed it. To change one later, tell the Agent in the chat.

If sending fails, the card itself says "Unable to send your answer. Check your connection and try again." Your values are still in the boxes. Tap **Submit** again.

> [!NOTE]
> A form's answers are posted in the chat for everyone in it to read. A card for a login looks like a form but keeps its values out of the chat. See [Save logins for Agents](https://air.build/docs/agents/save-logins-for-agents/).

## Share a GitHub repository

When an Agent needs a repository and lets you choose it, the card says "Choose a GitHub repository to share." Only the Team's owner can answer it. In a Team you joined, **Choose Repository** doesn't open anything: ask the owner.

1. Tap **Choose Repository**. The **Share Repository** sheet opens.
2. If GitHub isn't connected, tap **Connect GitHub** and sign in. If it asks, tap **Sign In to GitHub Again**.
3. Choose the account, then tap **Repository** and pick one. If the repository you want isn't listed, tap **Install AirBuild GitHub App** (or **Add Account…**) and grant it on GitHub. The list refreshes by itself when you come back. **Refresh** reads it again.
4. Tap **Share**.

The card then says "Access granted to" and the repository, and the Agent works with it. If sharing fails, the app shows **Unable to Share** with the reason. For more on what Agents can reach on GitHub, see [Connect your GitHub account](https://air.build/docs/team/connect-github-account/).

## Open a background service

When an Agent starts a program that keeps running, such as a development server for a website, it can show it in the chat with a card. The card has the program's name, how it's doing, and an **Open** button for each address it serves (**Open :3000**, **Open :8080** and so on when there's more than one).

Tap **Open** to see it. It opens in a **Website** tab inside AirBuild. If the Team is asleep, tapping **Open** wakes it first, and the button spins until the page is ready.

| The card says | What it means |
| --- | --- |
| **Running** | The program is running. |
| **Running, Preparing preview** | It's running, and its address isn't ready yet. |
| **Ended** or **Ended with exit code _number_** | It stopped. A number other than 0 usually means it stopped on an error. Ask the Agent. |
| **Environment asleep** or **Environment asleep, Open to wake it** | The Team is asleep. **Open** wakes it. |
| **Environment offline** | AirBuild can't reach the Team right now. For a Mac Team, check that the Mac is on and AirBuild is open. |

While a service the Agents showed in this chat is running, a chip above the message box shows its name, or **Services** if there are several. Tap it to open the service, or to pick one from the list.

## Questions

**An answer failed to send.**

The card says "Unable to send your answer. Check your connection and try again." Check your connection and answer again. If it says "You're signed out. Sign in and try again.", sign in first.

**The card closed before I answered.**

Someone else in the Team answered it first, or the Agent took the question back (**Expired**). The card shows what happened.

**I don't want to answer.**

Leave the card, or tell the Agent in the chat. A card waits until someone answers it or the Agent takes it back.

**A message says “This message requires a newer version of AirBuild.”**

The Agent sent a kind of card your copy of AirBuild doesn't know yet. Update AirBuild, then open the chat again.

**The upload key card says “This answer can't be sent. Update AirBuild and try again.”**

This copy of AirBuild can't send that answer. Update AirBuild, then answer the **Choose the upload key for Google Play** card again. See [Make an Android or PocketJS version (beta)](https://air.build/docs/build/android-and-pocketjs/#choose-the-apps-upload-key-for-google-play).

**A message says “This request is out of date.”**

It was an older kind of GitHub request that AirBuild no longer shows. Nothing needs doing: "The agent will send a new one if it still needs GitHub access."
