L Loach Docs
Ctrl K

Spaces

A Space is a long-lived workspace built around a project: a codebase, a research question, an ongoing piece of writing. It bundles instructions, reference sources, a memory and a default model. Every chat in a Space - started there or moved in later - inherits that context automatically.

What a Space holds

Creating and editing

Open the Spaces tab in the sidebar and click New Space. Give it a Name (up to 60 characters) and an optional Description, then Create - Loach opens the new Space. Enter in the name creates it, and so does Ctrl + Enter in the description; closing the dialog with something typed asks before discarding it.

The Spaces page shows every Space as a tile, most recently updated first, with its chat count, a New chat button and a … menu (Open, New chat, Delete). A Search Spaces box above the tiles filters them by name or description.

A Space’s page shows its description, a row of chips summing it up (chats, sources, Instructions on, memories, model) and a composer: every message sent from it starts a new chat in the Space, even if one of the Space’s chats was open before. Below it are five tabs, and each Space remembers the one you left it on until you quit Loach, so coming back from one of its chats lands you there again:

Rename the Space or change its description from the … menu next to its title → Edit details, which opens the Edit Space dialog; closing it with unsaved edits asks first. Changes to instructions, sources, memory and settings reach every chat in the Space with its next message.

Besides the composer on the Space’s page and the New chat button on its tile, you can type /space <name> to make a Space active, then /new to start a chat in it. On a Space’s page, /new starts the chat in that Space and opens it; commands that act on a chat, such as /clear or /model, need one of the Space’s chats open.

The Settings tab

Moving chats in and out

A chat can join a Space after it started: pick Move to Space in its … menu - in the sidebar, the chat header or a Space’s Chats tab - and choose a Space (the current one has a check mark). Remove from Space, at the bottom of the same submenu, takes it out. From its next message the chat uses its new Space’s instructions, sources and memory, or no Space’s once it’s out. Its messages and model stay as they are, and it keeps its place in the sidebar.

Deleting a Space

Pick Delete Space from the … menu next to its title (or Delete in its tile’s menu on the Spaces page). The Space’s instructions, memories and uploaded files are deleted for good. Library sources stay in your Library, and its chats are kept: they leave the Space and carry on as regular chats.

Reference sources

The Sources tab holds two kinds of reference material, listed together:

Uploads are read like attachments, one file at a time, so one bad file doesn’t stop the rest:

Each upload can be up to 20 MB, and a Space’s uploads up to 200 MB in total; Library sources don’t count toward that. The tab shows how much is used, as 12.4 MB of 200 MB uploaded · 3 from Library. A file’s text is cut off after about 200,000 characters, with a note telling the model so.

Every source has a switch: turn one off to keep it in the Space without using it. Click a source to preview it (a dataset opens its page in the Library). Its … menu has:

The source count on the Space’s page, and on the Space sources chip in its chats, counts what the model can get: switched-on sources, with a dataset counted as its items and unreadable uploads left out.

How sources reach the model

The Space’s Settings tab sets how its chats use the sources:

New Spaces start on Auto. Spaces created before Loach 1.6, and Spaces restored from an older backup, start on Full text - every source in full with every message, as they always worked - until you switch them. A chat in the Space follows this setting unless it picks its own. See How sources reach the model for the details.

The Sources tab shows the current mode with a Change in Settings link and, once there are sources, a gauge of their estimated tokens against the context window: whether the model reads them in full or gets excerpts, and a marker where Auto switches to excerpts. Full text uses a lot of context on every turn; the context-usage bar counts the sources in its Sources row.

Space memory

Each Space has its own memory, on by default for a new Space. After every finished reply in the Space, Loach asks the chat’s model to pick out lasting facts about you, saves them, and adds them to the system prompt of every chat in the Space as a --- Space memory --- list. A toast with an Undo button announces every change.

Turn memory off with the Memory switch on the Space’s Settings tab: Loach stops saving new facts, but the ones already saved are still sent until you delete them. The Memory tab says which way it’s set. How capture, updates, limits and /remember work - and how Space memory combines with global memories - is covered on the Memory page.

When to make a Space

Reach for a Space whenever you find yourself opening several chats that share the same reference files or the same instructions. The cost is one click; the upside is never re-pasting context again.