Agent workspace
The workspace is an Agent’s home. It is the working directory used for that Agent’s file tools and workspace context. Keep it private and treat it as memory. This is separate from~/.fased/, which stores config, credentials, and
sessions.
Important: the workspace is the default cwd, not a hard sandbox. Tools
resolve relative paths against the workspace, but absolute paths can still reach
elsewhere on the host unless sandboxing is enabled. If you need isolation, use
agents.defaults.sandbox (and/or per‑agent sandbox config).
When sandboxing is enabled and workspaceAccess is not "rw", tools operate
inside a sandbox workspace under ~/.fased/sandboxes, not your host workspace.
Default location
- Default Agent:
~/.fased/workspace - If
FASED_PROFILEis set and not"default", the default becomes~/.fased/workspace-<profile>. - Override the default workspace in
~/.fased/fased.json:
workspace, Fased derives one from
the default workspace. With agents.defaults.workspace set, the fallback is
<default-workspace>/<agentId>. Without a configured default, the fallback is
under the Fased state directory, for example ~/.fased/workspace-research.
fased onboard, fased configure, or fased setup will create the
workspace and seed the bootstrap files if they are missing.
If you already manage the workspace files yourself, you can disable bootstrap
file creation:
Extra workspace folders
Older installs may have created~/fased. Keeping multiple workspace
directories around can cause confusing auth or state drift, because only one
workspace is active at a time.
Recommendation: keep one active workspace per Agent. If you no longer use
extra folders, archive or move them to Trash (for example trash ~/fased). If
you intentionally keep multiple workspaces, make sure agents.defaults.workspace
and any agents.list[].workspace entries point to the right folders.
Fased does not automatically choose among extra folders. Check the active path
in Agent > Setup, fased status, or fased agents list before archiving an
old workspace.
Workspace file map (what each file means)
These are the standard files Fased expects inside the workspace:-
AGENTS.md- Operating instructions for the agent and how it should use memory.
- Loaded at the start of every session.
- Good place for rules, priorities, and “how to behave” details.
-
SOUL.md- Persona, tone, and boundaries.
- Loaded every session.
-
USER.md- Who the user is and how to address them.
- Loaded every session.
-
IDENTITY.md- The agent’s name, vibe, and emoji.
- Created/updated during the bootstrap ritual.
-
TOOLS.md- Notes about your local tools and conventions.
- Does not control tool availability; it is only guidance.
-
HEARTBEAT.md- Optional tiny checklist for heartbeat runs.
- Keep it short to avoid token burn.
-
BOOT.md- Optional operator-created startup checklist.
- Runs on gateway startup only when the bundled
boot-mdinternal hook is enabled. - Keep it short; use the message tool for outbound sends.
-
BOOTSTRAP.md- One-time first-run ritual.
- Only created for a brand-new workspace.
- Delete it after the ritual is complete.
-
memory/*.md- Optional archived session summaries, daily notes, or topic notes.
- Retrieved through memory tools/search when needed; not all files are injected by default.
-
MEMORY.md(optional)- Curated long-term memory.
- Only load in the main, private session (not shared/group contexts).
-
skills/(optional)- Workspace-specific skills.
- Overrides managed/bundled skills when names collide.
-
canvas/(optional)- Optional place to keep Canvas UI project files.
- The Canvas host default root is the Fased state canvas directory. Set
canvasHost.rootif you want the Gateway to serve<workspace>/canvas.
agents.defaults.bootstrapMaxChars (default: 20000) and
agents.defaults.bootstrapTotalMaxChars (default: 150000).
fased setup can recreate missing defaults without overwriting existing
files.
Fased also writes internal workspace state under <workspace>/.fased/, such as
bootstrap/onboarding completion markers. Do not edit those files by hand.
What is NOT in the workspace
These live under~/.fased/ and should NOT be committed to the workspace repo:
~/.fased/fased.json(config)~/.fased/credentials/(OAuth tokens, API keys)~/.fased/agents/<agentId>/sessions/(session transcripts + metadata)~/.fased/skills/(managed skills)
Git backup (recommended, private)
Treat the workspace as private memory. Put it in a private git repo so it is backed up and recoverable. Run these steps on the machine where the Gateway runs (that is where the workspace lives).1) Initialize the repo
If git is installed, brand-new workspaces are initialized automatically. If this workspace is not already a repo, run:2) Add a private remote (beginner-friendly options)
Option A: GitHub web UI- Create a new private repository on GitHub.
- Do not initialize with a README (avoids merge conflicts).
- Copy the HTTPS remote URL.
- Add the remote and push:
gh)
- Create a new private repository on GitLab.
- Do not initialize with a README (avoids merge conflicts).
- Copy the HTTPS remote URL.
- Add the remote and push:
3) Ongoing updates
Do not commit secrets
Even in a private repo, avoid storing secrets in the workspace:- API keys, OAuth tokens, passwords, or private credentials.
- Anything under
~/.fased/. - Raw dumps of chats or sensitive attachments.
~/.fased/).
Suggested .gitignore starter:
Moving the workspace to a new machine
- Clone the repo to the desired path (default
~/.fased/workspace). - Set
agents.defaults.workspaceor the selectedagents.list[].workspaceto that path in~/.fased/fased.json. - Run
fased setup --workspace <path>to seed any missing files. - If you need sessions, copy
~/.fased/agents/<agentId>/sessions/from the old machine separately.
Advanced notes
- Multi-agent routing can use different workspaces per Agent. See Channel routing for routing configuration.
- If
agents.defaults.sandboxis enabled, non-main sessions can use per-session sandbox workspaces underagents.defaults.sandbox.workspaceRoot.