For the complete documentation index, see llms.txt. This page is also available as Markdown.

Files page

Applies to AgentLink 0.4.8. Files you exchange with a person are on their page on Home. Folders your AI may send from are in Settings, under Files folder. The page below still describes the Received, Sent and Send folders views.

Saved automatically

From 0.4.6, a file from a contact you keep is downloaded, checked and saved for you into ~/AgentLink/Inbox, with no request from you or your AI. On Home it reads Saved to ~/AgentLink/Inbox with Show in Finder (Show in Explorer on Windows, Show in folder on Linux). Rules that keep this safe:

  • Limits per day: 50 files and 500 MB per contact, 200 files and 2 GB in total. A file over a limit waits for you.

  • 1 GiB of disk space is always kept free.

  • Nothing is saved while the ID is paused. Choosing another folder, turning automatic saving off and Ask before saving for one contact are not in the app yet.

  • Saved files get the system's downloaded mark on macOS and Windows, are never made runnable and never replace another file. Names the system could act on get .download added.

  • AgentLink never opens a file.

A file that is not saved reads Arrived · not saved. Press Save to Inbox and confirm with Touch ID (or your master code). The settings for turning this off or changing the folder are not in the app yet; the Inbox folder is fixed for now.

The three views

The Files page has three tabs: Received, Sent and Send folders. Received and Sent list your files. Send folders is where you allow a folder. Your AI can send a file only from a folder you have allowed, and that tab shows those folders and lets you allow a new one or stop one. Looking changes nothing. Every change needs your passkey or your master code.

Three allowed folders; the last one opens at another location.
Files, with made-up folders. The last folder is a link to somewhere else.

A file that is being sent or received right now shows the same small mark as in Messages on its row, for about a minute. It shows a word and a direction only.

Received and Sent

The Received tab with two files, each with who sent it, the name it was saved under and a Show in Finder button.
Received files, with made-up names.
The Sent tab with two files, each with who it went to and where it stands.
Sent files, with made-up names.

You don't upload files here. Put a file in your Send folder, or ask your AI to send it. Files you receive appear under Received.

What you see
What it means

From or To, with a contact's name

Who sent the file, or who you sent it to

Saved as …

The name the file has in your Inbox folder. You may have moved or renamed it since, so it might not be there now.

Show in Finder (on a Mac) or Show in folder

Opens your Inbox folder at that file. On Windows it opens File Explorer with the file selected. The file is only shown, never opened

Arrived · not saved, with Save to Inbox

The file arrived but is not on your computer yet. Save asks for Touch ID

Expired. It can no longer be fetched.

The sender's copy is gone

Waiting to send, Sent, Not delivered

Where a file you sent stands. For Not delivered, ask your AI to send it again

Delivery confirmed

The contact confirmed the file arrived

Send folders

The rest of this page is about the Send folders tab.

What you see

What you see
What it means
What happens behind

Folders your AI can send files from

The list of your allowed folders. Subfolders count too

Read from your rules on your computer. Nothing is sent anywhere

A folder, then Opens at another folder

The folder you allowed is a link to somewhere else. Your AI sends from the real folder

AgentLink always follows the link and checks the real folder

Not found on this computer. Your AI can't send from it.

The folder was moved or deleted

Nothing can be sent from it until it is back

The × button (Stop sending from …)

Stop your AI using this folder

Opens a confirm step first

Allow a folder

Add a folder

Opens the Folder field

Every change here needs your passkey or master code.

Your AI cannot change this list

No tool your AI uses can add a folder

With no folders yet, the page says Your AI can't send files yet. Allow a folder it may send from. New setups already have the ~/AgentLink/Send folder. See Folders for sending files.

Allow a folder

The Folder field with ~/Documents/Shared typed in, and the Check folder button.
The Folder field after you press Allow a folder.
  1. Press Allow a folder.

  2. In Folder, type the full path, for example ~/Documents/Shared. Press Check folder.

  3. The confirm step asks Allow your AI to send files from this folder? It shows the real folder that will be allowed. If you typed a link or another spelling, it says so: "You typed … It leads to the folder above, so that is the folder allowed."

  4. Under Before you confirm, tick each one:, tick every line. Each line says, in plain words, what the change lets your AI do. Allow folder stays off until all are ticked.

  5. Press Allow folder and confirm with your passkey. No passkey? Press Use your master code instead and type your master code.

  6. The page says Allowed. Your AI can now send files from this folder.

The confirm step: the folder, one ticked line saying what your AI may do, and the Allow folder button.
The confirm step. Allow folder stays off until every line is ticked.

Your AI can send any file in the folder and its subfolders to your contacts. Hidden files, such as .env, are never sent.

Good to know: your AI can open this page with the folder already filled in. That only fills the field. Nothing is allowed until you check, tick and confirm.

Stop sending from a folder

  1. Press the × next to the folder.

  2. The page asks Stop your AI sending files from this folder?

  3. Press Stop sending and confirm with your passkey or master code.

Files already sent stay sent. Your AI can no longer send new ones from that folder.

Folders that can't be allowed

AgentLink refuses these, and says why:

  • Your whole computer or your whole home folder. Choose a folder inside it, such as ~/Documents/Shared.

  • Folders that hold keys or AgentLink's own data, such as ~/.ssh and ~/.agentlink, and any folder that contains one.

  • Hidden folders, and folders inside them.

  • Something that isn't a folder, a folder that doesn't exist, or a path with . or .. in it.

  • More than 32 folders. Remove one first.

Messages you may see

Message
What to do

This check timed out. Nothing was changed.

Press Check folder again

Your rules changed in the meantime. Nothing was changed.

Something else changed your rules. Check the folder again

That didn't match your passkey or master code. Nothing was changed.

Try again. After too many tries, the page asks you to wait

Before changing folders, answer one question about delivery receipts on the Rules page.

Press Open Rules, answer, then come back

Your change was saved, but AgentLink couldn't confirm it

Run agentlink doctor in your own terminal. Until then AgentLink uses its strictest settings

Your rules couldn't be checked, so no folder can be changed.

Run agentlink policy recover in your own terminal

This page has expired.

Ask your AI to open AgentLink again

For the technically curious: how this page is built

The page never makes the change itself. The local AgentLink server on your computer checks the folder, prepares the change and, after your passkey or master code, makes it. Your browser only sees the folder, the warning lines and a one-time review token.

On the page
What happens
Where it is built

Folder list, Opens at, Not found

The allowed folders and where each really points

GET /api/ui/files · files.ts · 06 §3 files.allowedFolders

Check folder

Full path, no . or .., real folder found, protected and too-broad folders refused

GET /api/ui/files/review?add= · 04 §4 · D-99

The tick list

Allowed only when the ticked set is exactly the warnings for this change

preparePolicyEdit in @4thtech-io/core · D-119

Allow folder, Stop sending

Your passkey or master code is checked first; then the local server signs exactly the reviewed change, once. The browser never signs

POST /api/ui/files/folders (presence: true) · 04 §2.5 · I-4

Delivery receipts question

A folder change never switches receipts off silently

D-109 · Rules page

Page text

Every string on this page

More: Files in the technical docs and Security model.

Back to The local app.

Last updated