Guides
Work with an agent
Ask an agent to make a change on a branch. It shows its work, asks before it acts, and you commit what you're happy with.
Before you start
Set up an agent first: Claude Code, Codex, Gemini CLI, Grok or Pi, installed and signed in. Filament can install it from the "AI" tab in Settings. It can sign you in to all of them but Pi, which signs in with its own command. Each one's maker also shows how: Claude Code, Codex, Gemini CLI, Grok and Pi.
The project has to be mounted on this computer, because the agent works on its files there. The agent's list of projects shows only mounted ones.
Give the agent its own branch, so its work stays apart until you're happy with it.
Asking for a change
A chat with an agent is called a session.
- Click the "+" next to "Agents" in the app's sidebar, or press ⌘N (Ctrl+N on Windows and Linux).
- Above the message box, after "New session in", choose the project from the first list.
- After "on", choose the agent's branch. The list shows the project's open branches.
- Describe the change you want, in plain words.
- Send it.
To start the agent on a new branch instead, tick "New branch" after the branch list. The new branch is made from the one you chose, and stays private until you share it.
Say what "done" looks like. For example: "Make the sky warmer in all six skybox images, and keep the file names."
Approving its steps
When the agent wants to do something, it asks. Read what it wants to do, then choose "No, cancel", "Yes" or "Always".
"Always" opens a menu. Choose "This function" for that tool, or "All … tools" for every tool from the same source. It stops asking about them for the rest of this chat. To undo it, click the chat's "…" button ("Chat settings"), then "Revoke all" under "Remembered approvals".
Checking its work
The files the agent changed appear above the message box. To see them in "Pending", like your own changes, check out the agent's branch first.
- If you're not on the agent's branch, right-click it in "Branches", in the project's sidebar.
- Choose "Checkout", to make it the branch your project folder shows.
- Click "Pending" in the project's sidebar.
- Look through each changed file.
- Right-click anything you don't want and choose "Discard change". This removes the agent's edit to that file. For 10 seconds you can click "Undo" to bring it back.
- Tick the files you want to keep, then commit them. Committing shows how.
When the work is ready, merge its branch into main.