Title: [A2A] CLI Integration (serve, discover, connect, ask, delegate) · Issue #334 · github/squad · GitHub
Open Graph Title: [A2A] CLI Integration (serve, discover, connect, ask, delegate) · Issue #334 · github/squad
X Title: [A2A] CLI Integration (serve, discover, connect, ask, delegate) · Issue #334 · github/squad
Description: Overview Extend Squad CLI with commands for cross-repo squad interaction: discover, connect, ask, delegate, broadcast. Reference PRD: See tamresearch1 repo, branch squad/296-cross-repo-a2a, file .squad/research/cross-repo-a2a-prd.md Rela...
Open Graph Description: Overview Extend Squad CLI with commands for cross-repo squad interaction: discover, connect, ask, delegate, broadcast. Reference PRD: See tamresearch1 repo, branch squad/296-cross-repo-a2a, file .s...
X Description: Overview Extend Squad CLI with commands for cross-repo squad interaction: discover, connect, ask, delegate, broadcast. Reference PRD: See tamresearch1 repo, branch squad/296-cross-repo-a2a, file .s...
Opengraph URL: https://github.com/github/squad/issues/334
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[A2A] CLI Integration (serve, discover, connect, ask, delegate)","articleBody":"## Overview\r\nExtend Squad CLI with commands for cross-repo squad interaction: discover, connect, ask, delegate, broadcast.\r\n\r\n## Reference\r\n- PRD: See tamresearch1 repo, branch squad/296-cross-repo-a2a, file .squad/research/cross-repo-a2a-prd.md\r\n- Related Issue: tamirdresher_microsoft/tamresearch1#296\r\n- Depends on: #332 (Core A2A), #333 (Discovery)\r\n\r\n## New CLI Commands\r\n\r\n### squad serve\r\nStart A2A server mode\r\n- Flags: --port (default: auto), --network (opt-in), --registry (local|network)\r\n- Behavior: Register in discovery, serve A2A endpoints, heartbeat loop\r\n\r\n### squad discover\r\nList all discovered squads\r\n- Output: Table with repo, port, status, capabilities\r\n- Filter: --local, --network, --repo (pattern match)\r\n\r\n### squad connect [squad-name]\r\nEstablish connection to a squad\r\n- Interactive: Select from discovered squads if name not provided\r\n- Validation: Check health endpoint, test query\r\n- Output: Connection details, available capabilities\r\n\r\n### squad ask [squad-name] [query]\r\nQuery another squad\r\n- Examples: squad ask backend \"API versioning strategy\"\r\n- Output: Decision documents, research, or response\r\n- Flags: --format (text|json), --scope (architecture|security|...)\r\n\r\n### squad delegate [squad-name] [title]\r\nDelegate a task to another squad\r\n- Interactive prompt for description, priority\r\n- Creates issue in target repo via A2A\r\n- Output: Task ID, tracking link\r\n\r\n### squad broadcast [message]\r\nSend message to all discovered squads\r\n- Use cases: Breaking changes, security alerts\r\n- Output: Delivery status per squad\r\n- Flags: --scope (local|network)\r\n\r\n### squad health\r\nCheck health of squads\r\n- Flags: --all (check all discovered), --squad (specific)\r\n- Output: Status, latency, last seen\r\n\r\n## User Experience\r\n- Zero-config for local discovery\r\n- Intuitive command names\r\n- Rich terminal output (colors, tables)\r\n- Error messages with suggestions\r\n- Progressive disclosure (simple → advanced)\r\n\r\n## Deliverables\r\n- CLI command implementations (src/cli/a2a-commands.ts)\r\n- Interactive prompts (inquirer.js)\r\n- Terminal output formatting (chalk, cli-table)\r\n- Help documentation for each command\r\n- Man pages / --help text\r\n- Example workflows\r\n- Integration tests\r\n\r\n## Success Criteria\r\n- All commands working end-to-end\r\n- Help text clear and comprehensive\r\n- Error handling graceful\r\n- Performance: Commands respond \u003c1s\r\n- User testing: 5/5 users complete workflow without docs\r\n\r\n## Timeline\r\n3 weeks\r\n","author":{"url":"https://github.com/tamirdresher","@type":"Person","name":"tamirdresher"},"datePublished":"2026-03-10T21:05:56Z","url":"https://github.com/github/squad/issues/334"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ede70444-dd42-f99a-8374-5d8f3406685a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B08:6DC60:1A0C14E:20C9ACF:6B017FF3 |
| html-safe-nonce | c727f6920b648b6589be91572cfa70c14982a230f02e059a0fea0e7595085e2f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjA4OjZEQzYwOjFBMEMxNEU6MjBDOUFDRjo2QjAxN0ZGMyIsInZpc2l0b3JfaWQiOiIxNjc2OTE2Mzk4NTA2NDc1NTA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 82bb68825b6cbb6ae7cdb348725ce8dc63d8de1c340566707d923a4aeedcaa54 |
| hovercard-subject-tag | issue:4054223124 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/squad/334/issue_layout |
| twitter:image | https://opengraph.githubassets.com/34526f2095c93b8eb43611aed8050b5ffb9738149cbea410e350241021a8ed71/github/squad/issues/334 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/34526f2095c93b8eb43611aed8050b5ffb9738149cbea410e350241021a8ed71/github/squad/issues/334 |
| og:image:alt | Overview Extend Squad CLI with commands for cross-repo squad interaction: discover, connect, ask, delegate, broadcast. Reference PRD: See tamresearch1 repo, branch squad/296-cross-repo-a2a, file .s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tamirdresher |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width