Docs
Sign in

Repositories

Repositories is the home page of TAO Code. It lists your GitHub repositories, the workspaces and sessions you already have, and is where you start a new coding session.

Screenshot to add: The Code page with Active Sessions, Your Workspaces and the repository cards.

Open the page

Click Code in the Studio menu (/code). If GitHub is not connected yet you see Connect GitHub instead. The page is titled Code: "Manage workspaces and browse your GitHub repositories". You need the apex.code permission.

Two ideas to know

TermMeaning
WorkspaceOne per repository. It holds the repository's files and its sessions.
SessionOne working conversation in its own sealed container, with its own chat, terminal and editor. You can run several on the same repository at once.

The top of the page

  • A Session History button, which opens Sessions.
  • A memory chip, "Memory: X / Y GB · N running session(s)". It only appears when your administrator has turned on a per-person memory limit. It turns amber near the limit and red at the limit, and refreshes every 15 seconds.
  • A GitHub button showing "@(username)". Its menu has "Signed in as @(user)", Switch account and Disconnect.
  • A refresh button.

If you are at your limit, a banner says "At your session-memory quota (X / Y GB across N running sessions) — archive or stop a session to start a new one." Near the limit it says "Approaching your session-memory quota … archive or stop a session before starting new ones."

Active Sessions

Active Sessions (N) is a row of chips for sessions that are running or idle. Each chip shows "Running on :(port)", "N live terminal(s)" or "idle".

  • Click a chip (or press Enter on it) to resume that session.
  • Click the ◼ on a chip to stop it. This frees memory and ports and keeps the session so you can resume it later. TAO asks Stop session? and explains that the agent finishes its current step, history is kept and the session resumes where it left off. Click Stop.
  • A chip showing "⚠ Deletes in Nd — Resume to keep" is about to be deleted. Resuming resets the timer.

At most 12 chips show, then "+ N more".

Your Workspaces

A grid of cards, one per repository you have opened. Each shows the repository, a status and an Open button.

StatusMeaning
Creating and CloningBeing set up
ReadyAvailable
IdleRunning but not in use
Stopping and StoppedShut down, can be resumed
ErrorSomething failed

The ⋯ menu has Change repository (opens a search box) and Delete workspace. Deleting asks "Delete workspace?" and warns "Permanently deletes this workspace and all its sessions. This cannot be undone." Messages: "Workspace deleted" or "Failed to delete workspace".

Find a repository

Type in Search repositories… to filter the list that is already loaded. The list loads 30 repositories at a time; click Load more repositories for more.

Each repository card shows a lock (private) or globe (public), the name (linking to GitHub), the description, a Private tag, the main language and the last push date. The button depends on what exists:

ButtonWhen
Open WorkspaceNo workspace yet
OpenA workspace exists
ResumeThe workspace is stopped
Opening…Working on it

Cards with a workspace also list their sessions (up to 4, then "+ N more") and a + New session button. The trash icon ("Delete session permanently") asks "Delete session?" and warns "Permanently deletes this session and its history. This cannot be undone." Messages: "Session deleted" or "Failed to delete session".

Empty states: "No repositories found" ("Your GitHub repositories will appear here once connected"), and "No repositories match your search" ("Try a different search term"). Errors: "Failed to load repositories".

Start a new session

  1. Click + New session, or Open Workspace

    The NEW SESSION window opens, showing the repository name.

  2. Choose the branch

    Pick Use existing branch or Create new branch. Choose the Base branch (the agent starts there, or the new branch is made from it). Protected branches are marked "· protected". For a new branch, type a New branch name, for example feature/fix-logout.

  3. Add a title (optional)

    For example "Fix logout redirect".

  4. Check the runtimes

    TAO looks at the repository and ticks the languages and tools it finds ("· detecting…" while it works). Change them if needed. Advanced (Base OS, version pinning) adds extra controls, described below.

  5. Pick a size

    Lightweight (0.5 CPU · 512 MB), Standard (1 CPU · 1 GB, the default) or Heavy (2 CPU · 2 GB).

  6. Start

    Click Start session (or Build & start when a new environment must be built first, or Creating… while it works). You land in the IDE Workspace.

You can run several sessions on the same repository: "each gets its own chat, terminal, and isolated container. Sessions persist across browser refreshes; agent runs continue even if you close the tab."

Advanced settings

SettingWhat it does
Base OS (optional)For example debian-bookworm. It is recorded, but the standard base image is used today.
Version pinsChoose exact versions of the detected runtimes. Unknown versions fall back to the default.
Setup script (optional) — runs on every rebuildCommands run as you in /workspace, for example npm ci. Up to 16 KB.
Root setup script (optional) — apt / system installsCommands run as an administrator inside your sealed container. Up to 16 KB.

If a session cannot start

TitleWhat to do
At your memory quotaStop or archive a running session first. The Start button is also disabled.
Server at capacityTry again in a moment.
Backend unavailableThe code service is down for a moment; try again.
Runtime not availableThe language or version you chose is not offered.
Session archivedRestore it first.

If the connected GitHub account cannot open the repository, TAO shows "Cannot open session" with the reason. A repository your account cannot reach is refused when the session is created.

When you open or resume a session

TAO checks first. If the session failed to start last time you see This session failed to start last time (Retry or Stay). If it was removed you see This session was destroyed. At your memory limit you see At your memory quota with Resume anyway or Stay. If these checks themselves fail, TAO lets you through.

Known gaps