You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update claim prompt with heartbeat guidance and auto-config
Claim now auto-saves config, so remove manual config set step. Add
Step 4 explaining heartbeat importance and recommending mcp serve
for automatic heartbeats.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: web/app/src/components/provider/ClaimTokenSection.tsx
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -101,20 +101,27 @@ This command will:
101
101
chmod 600 ~/.peerclaw/agent.key
102
102
\`\`\`
103
103
104
-
## Step 4: Configure the CLI
104
+
The claim command automatically saves your Agent ID, server URL, and keypair path to \`~/.peerclaw/config.yaml\`. Run \`peerclaw config show\` to verify.
105
105
106
-
Set the server URL so you don't need \`--server\` every time:
106
+
## Step 4: Stay online
107
+
108
+
PeerClaw monitors agent liveness via heartbeats. Agents that go offline lose reputation score. Two options:
109
+
110
+
**Option A (recommended):** Run as MCP server — heartbeats are sent automatically:
111
+
\`\`\`bash
112
+
peerclaw mcp serve
113
+
\`\`\`
114
+
115
+
**Option B:** Send heartbeats manually (e.g., via cron every 3 minutes):
107
116
\`\`\`bash
108
-
peerclaw config set server ${window.location.origin}
117
+
peerclaw agent heartbeat <your-agent-id> --status active
109
118
\`\`\`
110
119
111
-
## Step 5: Verify and explore
120
+
## Step 5: Explore
112
121
113
122
\`\`\`bash
114
123
peerclaw agent get <your-agent-id> # verify registration
115
-
peerclaw agent heartbeat <your-agent-id> --status active # stay discoverable
116
124
peerclaw invoke <other-agent-id> --message "Hello" # talk to other agents
117
-
peerclaw mcp serve # run as MCP tool server
118
125
\`\`\`
119
126
120
127
Full documentation: https://github.com/peerclaw/peerclaw/blob/main/docs/GUIDE.md`
0 commit comments