Start work in a space
A space is a folder of its own under ~/spaces for work that has no repository: drafting a document, summarising a
spreadsheet, researching a question. What the agent writes stays there, apart from your home folder’s own files.
How it works
Section titled “How it works”| What you do | What happens |
|---|---|
| Write what you want done under Start in a space and press Start in a new space | A new folder is made under ~/spaces and the agent starts in it with your text as its first prompt |
| Look in the Sessions view | The session is listed under Spaces, below the space’s name |
| Delete the space | The folder and its sessions go to the trash, and Clean up → “Trash (restore)” brings them back (Delete a space) |
| Recreate the workspace | The space is kept: Recreate deletes only ~/repos (Recreate the workspace) |
Start in a new space
Section titled “Start in a new space”- Press + Start on the workspace action bar and open Start in a space (it is open the first time)
- Write the task under What would you like done?. Paste or drop files, or attach them with +
- Under Place, New space is chosen. Give it a name if you like; left empty, it is named by its folder
- Details stays folded with a summary of the agent, the model and what else it will use. Open it to change the agent, the model route, the model, the execution method, the reasoning effort, the start mode or the tool permissions. There is no branch: a space is not a repository
- Press Start in a new space (Ctrl+Enter in the box does the same, or Enter, as your send key is set). With files attached, pick an agent that takes attachments; otherwise remove them first
The session opens in the chat view.
| Agent | How it runs in a space |
|---|---|
| One that has Managed | Managed, whatever your usual default is. You can switch it under Details |
| Claude | Terminal (CLI), the only way it runs; its pane opens in the chat view, and the terminal is one click away |
Start in a space you used before
Section titled “Start in a space you used before”Work that goes on over several days stays in one space. Open Place and pick the space instead of New space:
- Recent lists the five spaces you started a session in last. A space with no session yet is ranked by when it was made
- All spaces lists the older ones
- With a space picked, the name box is gone (a space is named when it is made), and the button reads Start in this space. The agent starts in that folder and sees what earlier sessions left there
- A space where an AI session is running right now is marked Running. A space has no branch to keep two agents
apart, so when you press start there, the Console names the running session and asks first: Start in a new space
(the default) or Start here anyway. A shell open in the space does not count, and a new shell is never asked
about. A regular AI session start that names the space through the API (
space.folder) is held to the same rule: the Agent refuses it unless it says “here anyway” (space.allow_busy). A child session started by another session is judged by the child-session rule instead, wherespace.allow_busygrants nothing
Without a pick, each start makes a new space.
Rename a space
Section titled “Rename a space”In the Spaces section of the Sessions view, point at a space’s row and press the pencil. Type the new name and Save (on a touch screen the pencil is always shown). Leave the name empty to show the folder name again. Only the name shown in the Console changes: the folder and the files in it stay where they are, and so do the sessions. A space shows in this section while it has a session or a shell; after you delete the last one, the space and its files stay, but it has no row to rename or delete it from.
Delete a space
Section titled “Delete a space”In the Spaces section of the Sessions view, point at a space’s row and press the trash can (on a touch screen it is always shown). The dialog says what goes: the space’s folder and every file in it move to the trash, and its sessions go with it, the way deleting a working copy does. Stopped AI sessions move to the archive, and shell and SSM sessions to the trash.
- A session that is running, or locked against deletion, stops it. The dialog names it, and the button stays off. Stop it, or unlock it, and press again
- Your files are not deleted for good. The space is a folder moved into the trash, so every file keeps its content and
its modification time. Clean up → “Trash (restore)” → “Restore” moves the folder back to
~/spacesunder the same name and takes the archived sessions off the archive, so they resume where they left off. Shell and SSM sessions are separate rows in the trash, restored one by one. A shell’s scrollback (its recorded terminal output) is not kept, as when you delete a shell - A restore is refused when something already sits at the space’s folder name under
~/spaces: move or delete that, then restore again - “Delete permanently” on the trash row removes the folder and its files for good. The row’s size is the folder’s. The trash never empties on its own, and it takes the room until then
- The space needs the trash and
~/spacesto be on one file system, which they are in a workspace. If they are not, nothing is deleted and the dialog says so
Deleting a single session never deletes its space.
Files you attach
Section titled “Files you attach”For a session in a space, each attached file is also copied into the space’s attachments folder, under its own name
(report.pdf; a second file of that name becomes report-2.pdf). You find the files beside your work, and a later
session in the same space has them too. The agent is still pointed at the upload’s own path in the first prompt.
If a file cannot be copied into the space, it is not attached, and the launch says which one.
What a space keeps
Section titled “What a space keeps”- The folder name never changes. The session and its conversation history are tied to the folder, so the folder is never renamed or moved. The name you gave is shown in the Sessions view and is stored apart from the folder, so you can rename it while it has a row in the Sessions view
- Deleting a session keeps its space, and the files in it. Deleting the space is the other way round: its sessions go with it, to the archive and the trash, and come back with it
- The file browser does not delete or rename it.
~/spaces, a space’s folder and the.af-space.jsonfile that makes the folder a space are refused there, with a pointer to Delete a space; files inside the space are yours to change. The.af-space.jsonfile is not listed in the file tree - A removed
.af-space.jsoncomes back. If an agent or you delete it some other way, the workspace writes it again with the space’s name, and the space keeps its row and its sessions. This covers every space the workspace has made or listed; a space it has never listed (one made by an older Agent, before its first listing) is not covered yet. Moving the folder away and putting another folder in its place does not count: the new folder is not the space. It also needs a home file system that records when a folder was created; where it does not (a home on EFS may not), a removed.af-space.jsonis not written back - Clean home deletes it, like the rest of your home
When it goes wrong
Section titled “When it goes wrong”“This workspace’s Agent is too old to start in a space”
Section titled ““This workspace’s Agent is too old to start in a space””The workspace runs an older Agent, which would start the session in home instead. Stop the workspace and start it again: it starts from the latest image (Pick up a new image). Until then, start in a repository or use Other → Launch an agent in home.
“This space no longer exists”
Section titled ““This space no longer exists””The space you picked was removed after the list was read. The start is stopped rather than sent to another place, and your text and files stay in the box. Pick another place or New space.
“Could not check whether this workspace can start in a space”
Section titled ““Could not check whether this workspace can start in a space””The workspace did not answer, often because it is still starting. Press Check again after a moment.
Related
Section titled “Related”- Start a session: the Start screen and the Start working dialog
- Find your shells and SSM sessions: shells opened in a space