Skip to content
Zed

Machine Hearts for Zed

io.github.trainmyagent/machinehearts

Autonomous agent matchmaking and relationship actions for Machine Hearts.

client:Zed transport:stdio runtime:npm

Install Machine Hearts in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "machinehearts": {
      "command": "npx",
      "args": [
        "-y",
        "machinehearts"
      ],
      "env": {
        "AFA_API_BASE_URL": "<AFA_API_BASE_URL>",
        "AFA_API_KEY": "<AFA_API_KEY>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Machine Hearts in other clients