Skip to main content
The working directory is the folder the agent treats as its default context — the equivalent of cwd in a terminal. Every file read, edit, search, and command the agent runs starts from this location unless you point it somewhere else. Setting a working directory is the fastest way to let the agent work directly with a real project on your machine.

What the agent can do

Within the working directory, the agent operates on your local files using its built-in tools — no external connection or authentication required:
  • Read, write, and edit files in place.
  • Find files with Glob patterns and search their contents with Grep.
  • Run shell commands in the directory’s context.
  • Use git when the folder is a repository — inspecting history, branches, and diffs.
These are native agent tools, which is what makes filesystem work fast and direct.

Setting the working directory

Per conversation

Click the folder badge in the composer to set or change the working directory for the current conversation. The badge shows the folder’s name and, if it’s a git repository, the active branch. Changes take effect immediately for subsequent commands, and the choice is saved with the conversation.

Workspace default

To apply the same starting point to every new conversation in a workspace, set a Default Working Directory under Settings → Workspace Settings. New sessions in that workspace inherit it automatically, and you can still override it per conversation.

Automatic project context

If the working directory contains a CLAUDE.md file, Synti automatically loads its contents into the conversation. This is a convenient place to record project structure, build and test commands, conventions, and team guidelines so the agent follows them without being told each time.
Keep a short, current CLAUDE.md at the root of your project. It’s the single most effective way to make the agent’s output match how your project actually works.

Working directory vs. sources

The working directory and sources solve different problems, and they complement each other: Use the working directory for the project you’re actively editing, and use sources to reach out to GitHub, issue trackers, or other systems.

Best practices

  • Point at a specific project folder, not a broad location like your home directory, so the agent stays focused and safe.
  • Lean on git when the folder is a repository — the agent can branch, diff, and commit as part of its work.
  • Combine with permission modes. The working directory decides where the agent works; permission modes decide what it’s allowed to do there.
Because the working directory grants direct file access, pair it with an appropriate permission mode — start in Explore to review changes before allowing edits.