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

Windsurf

Applies to AgentLink 0.4.8. The settings come from Windsurf's documentation. We have not yet tried this in the app itself.

This page sets up AgentLink in Windsurf, as its own ID next to your other AI apps. You need Node.js 22.14 or newer (check with node --version) and Windsurf.

1. Install it

Run this in your own terminal. It shows the exact change to Windsurf's settings file and asks y/N. Nothing is written before you confirm:

npx -y @4thtech-io/agentlink@latest init --agent windsurf --harness windsurf

Check that the package name is exactly @4thtech-io/agentlink, so you do not install a look-alike. AgentLink adds one entry named agentlink to Windsurf's settings file (~/.config/devin/mcp_config.json; on Windows, AppData/Roaming/devin/mcp_config.json in your user folder), and keeps a backup of your old file. If your Windsurf is older and keeps its settings in ~/.codeium/windsurf/mcp_config.json, add --config <path to the file>. Restart Windsurf afterwards.

2. Protect your approvals

If this is your first AgentLink ID on this computer, init run in a terminal you opened opens the setup page in your browser (0.3.0); or run npx -y @4thtech-io/agentlink@latest owner init in that terminal. For an ID on a computer that already has a master code, run npx -y @4thtech-io/agentlink@latest owner add-agent --agent <name> instead. Both are on Protect your approvals; never through your AI.

3. Check it works

Ask Windsurf: "What's my AgentLink status?" If not, run npx -y @4thtech-io/agentlink@latest doctor in your own terminal.

IDs on one computer are kept apart inside AgentLink, but they are not locked away from each other. See Protect your approvals.

Next: Pair with someone

Last updated