Governate
Sign in Start a trial

Agents

People can connect their own AI agents to this installation, so that an agent can look up files, change permissions and read the record on their behalf. It uses the Model Context Protocol, which most agents understand.

Switching it on

An administrator switches on Agent access under Settings. An Agents page then appears for everyone.

Connecting an agent

On the Agents page, make a token and give it a name, such as the machine it is for. The page then shows, once:

The address agents connect to is your installation's address followed by /mcp. A token lasts 30 days, 90 days or a year, and can be removed at any time; the agent using it stops working at once.

What an agent can do

An agent acts as the person whose token it holds, with exactly that person's rights.

It canIt cannot
List the person's files and those shared with themReceive the content of any file
See and change what readers may doReceive any key
Share, stop sharing, and hand a file to someone elseProtect or open a file: that is done with the command-line tool on the person's own machine
Revoke a file, when the call carries an explicit confirmationMake or remove tokens
Read a file's historyDo anything the person could not do themselves
For administrators: list users, read the activity record, see the licence

Every tool is carried out by the same API the website uses. So every permission check applies, and everything an agent does is recorded under the person's name, like anything else they do.

What to tell people

A token is a passwordAnyone who has a token can act as its owner here. Keep it out of shared files and chat. If one is lost or leaked, remove it on the Agents page and make another.

Revoking a file cannot be undone. The tool refuses unless the call says it is confirmed, and tells the agent to ask the person first; a careful person still reads what an agent proposes before agreeing.

Switching it off

Switching Agent access off closes the address and removes every token, for everyone. Tokens do not come back if it is switched on again.

For those connecting other software

RequestPurpose
POST /mcpOne JSON-RPC 2.0 message per request, answered as JSON. Send the token as Authorization: Bearer.
GET /api/v1/agent-tokensYour tokens, and the address.
POST /api/v1/agent-tokensMake a token: {"label": "...", "days": 90}. The token is in the reply and nowhere else.
DELETE /api/v1/agent-tokens/{id}Remove one.