Find the files and documents Agents made
Browse and read a project's files, open the Markdown documents Agents send in chat, and save or share what you find.
What your Agents make ends up in one of three places:
| What | Where to find it |
|---|---|
| The project itself: the source code and every other file the Agents write | The project’s Files tab. See Open Files. |
| A file an Agent sends you in a chat, such as a Markdown document, a picture or a zip | In the chat, on the Agent’s message. See Documents an Agent sends. |
| A page, document or report an Agent publishes with a link | Its card in the chat, and the project’s Artifacts tab. See Open pages and reports Agents publish. |
Open Files
Files shows the project’s folder as the Agents leave it, as a tree of folders and files you can read. Anyone in the Team can open it.
Open the project’s chat and tap the tabs button (four squares) in the top-right corner. In the list under the tab cards, tap Files. It’s in the Project group.
Open the project’s chat and choose View › Go To › Files. You can also open the inspector (View › Show Inspector, ⌥⌘I), click New Tab (+) and click Files.
Files is for reading. You can’t change, add or delete a file there. To change something, ask an Agent in the chat. In a local Team, you can also open the project’s folder in your own editor on the Mac that runs the Team: see Open a project in Xcode, Cursor or another editor.
Move around the tree
- Tap a folder to open or close it. Folders come first, then files, in name order.
- Tap a file to read it. See Read a file.
- Touch and hold a file or folder (on the Mac, right-click it) and choose Copy Path to copy where it sits in the project, for example
Sources/App/ContentView.swift. That’s handy for telling an Agent which file you mean.
What the tree shows:
- Files and folders whose names start with a dot are listed. The project’s Git folder,
.git, is not. - Files and folders that the project’s
.gitignoreleaves out, such as build output, are listed dimmed. You can still open them. - A few items, such as a link that leads outside the project, are dimmed and can’t be opened.
- An empty folder shows Empty Folder. A very large folder lists only its first items and ends with “Some items aren’t shown.”
The tree is read again each time you open the tab and each time you come back to the app. To read it again now, tap Refresh (the circular arrow) next to the project’s name at the top of the tree. On iPhone, pull down on the tree instead.
Read a file
| The file is | What you see |
|---|---|
| Text, such as code, Markdown, JSON or SVG | The text with line numbers and colors for the code. Lines don’t wrap: scroll sideways for long ones. A file over 1 MB shows only its start, under “Showing the first 1 MB of this file.” |
| A picture (PNG, JPEG, GIF, HEIC, WebP, TIFF, BMP or ICO) | The picture, fitted to the space. |
| Anything else | No Preview Available: “This file isn’t text or a picture.” Use Export to get the file itself. |
There’s no copy button. To copy text, select it in the file. To copy the file’s path, use Copy Path in the tree.
The file opens as a page of its own, named after the file. Tap the back button at the top left, or swipe from the left edge, to go back to the tree.
When the pane is wide enough, the tree stays on the left and the file opens beside it, under a bar with the file’s name and the folder it’s in. Click Hide Files (the sidebar button) in that bar to put the tree away and give the file the whole pane, and Show Files to bring it back. When the pane is narrow, the file covers the tree; click Back to return to the tree. Until you pick a file, the right side says “Select a file to view it.” On iPad it works the same way.
Save a file or the whole project
Export (a square with an arrow) saves what you’re looking at:
- With a file open, it saves that file.
- With no file open, it saves the whole project as a
.zip, Git history included.
On iPhone it’s at the left end of the row at the bottom while you’re on the tree, and at the top right of a file’s page. On iPad and Mac it’s at the left end of the bar at the foot of the pane. On the Mac you choose where to save. On iPhone and iPad the share sheet opens, where you can save to Files or send it to another app. For what the .zip holds and other ways to get the source, see Share or export a project’s source.
Documents an Agent sends
When an Agent sends a Markdown file (.md) in a chat, tap it to read it. It opens as a tab named after the file, with the chat’s other tabs: over the chat on iPhone, in the pane beside the chat on iPad and Mac. The document is shown formatted, at your text size. While its tab is open, tapping the file again brings that tab forward.
While the document downloads, the tab shows a progress bar and the file’s name. If it can’t be downloaded, the tab says Unable to Load Document: “The document could not be downloaded. Check your internet connection and try again.” Tap Try Again. If you were offline, the document also loads by itself once you’re back online.
To save, share or copy a document, use the tab’s menu:
Tap the tabs button (four squares), then touch and hold the document’s card. Choose Save As… to save it to Files, Open In… to send it to another app, or Copy All to copy its text, Markdown included.
On iPad, touch and hold the document’s tab in the pane’s row of tabs for the same choices.
Right-click the document’s tab at the top of the inspector. Choose Save As…, Share…, Copy All (its text, Markdown included), Open in Default App or Reveal in Finder.
The same choices are on the file in the chat: touch and hold it (on the Mac, right-click it).
Other files Agents send
Pictures, videos, PDFs, zips and other files open from the chat the same way as files people send. See Send photos, files and sketches to an Agent. To find a picture or video again, use the chat’s Photos grid: see Find a chat or a message.
A file sent in a chat belongs to that message. It isn’t added to the project’s Files, unless the Agent also saved it in the project.
Messages in Files
| The app says | What to do |
|---|---|
| No Files Yet: “Ask the agents in the project chat to start building. The project’s files appear here.” | The project has no files yet. Ask an Agent to start, then tap Check Again. |
| Unable to Load Files | The reason is shown under it. Tap Try Again. |
| “This project’s folder isn’t available right now.” | In a local Team, check that the Mac that runs the Team is on with AirBuild open, then tap Try Again. |
| “Browsing files isn’t available for this workspace yet.” | The Team’s environment is older than the Files tab. For a local Team, update the Mac that runs it: see Teams. |
| Unable to Open File: “This file no longer exists.” | An Agent moved or deleted it. Tap Refresh to read the tree again. |
| “This item has changed. Refresh and try again.” | Tap Refresh, then open it again. |
| “This file couldn’t be read.” | AirBuild can’t read this file. Ask an Agent about it in the chat. |
| “This picture couldn’t be loaded.” | Open the picture again. If it keeps failing, use Export to get the file. |
| Unable to Export Source: “The file couldn’t be downloaded. Try again.” | Tap Export again. |
Questions
Can I edit a file in Files?
Why are some files gray?
.gitignore leaves them out, so Git doesn’t track them. They’re usually things like build output and caches. You can still open them.An Agent just made a file, but I don't see it.
Where is the project's Git history?
.git folder. The .zip from Export, with no file open, includes the history.