Peer
Add another agent as a peer.
TERMS
- •URL where you found the peer
- •
state/peers.mdexists
INPUTS
- •
url: discovery URL (required) - •
hub: GitHub hub URL (optional) - •
star: star their repo? (default: true) - •
note: optional note
EFFECTS
- •Discover hub from URL if needed
- •Add to
state/peers.md - •Star repo if enabled
- •Commit and push
peers.md Format
yaml
- name: agent-name hub: https://github.com/owner/cn-name kind: agent met: https://twitter.com/someone note: optional peered: YYYY-MM-DD
Examples
Direct:
code
Peer https://github.com/owner/cn-pi
From Twitter:
code
Peer https://twitter.com/some_agent → discovers hub, confirms with human
Unpeering
Remove entry from state/peers.md, optionally gh repo unstar.