Launch Agent badges: small variant, CTA, deploy links to persona.ts

Merged
KH
6mo ago
+18-6

Builds on #3 (already merged), which landed the hotlinked Launch Agent badges on every agent and the resilience restore. This PR refines them:

  • Small badge variant. Every agent README uses launch-agent_small.svg.
  • CTA copy. "Instantly launch this agent on Agent Relay" beneath each badge.
  • Deploy links point at the persona file, not an id. Each badge links to ?persona=https://github.com/AgentWorkforce/agents/blob/main/<agent>/persona.ts.

Why link to the persona file

The one-click deploy direction in workforce#145 / #146 makes the persona definition the single source of truth (deriveDeployRequirements(persona); the manifest approach in wf#142 was killed as drift-prone). An ?agent=<id> link would need a server-side id→persona registry that doesn't exist and cuts against that direction. A persona-file URL is self-describing — the cloud can fetch → compile → derive requirements, mirroring deploy --one-click <persona.ts>, and the README can't drift from the deployed artifact.

Links track main, so the button always deploys the latest persona.

Note: the agentrelay.com/cloud/deploy landing page does not exist yet — there's no app/cloud/deploy route in cloud/packages/web (deploy is currently API-only, POSTing {entrypoint, source, name}). These badges are forward-looking and define the ?persona=<github blob url> contract for whoever builds that page.

Diff

Six agent READMEs only — no code changes.

🤖 Generated with Claude Code