Summary
Update ttadev/cli/agent.py and ttadev/cli/agents.py to use OpenHands as the execution backend instead of the custom AgentRegistry + AgentPrimitive system.
Current CLI commands
tta agent list — Lists registered agents from Python registry
tta agent run <name> <task> — Executes via AgentPrimitive
tta agents spawn — Fleet spawning
Target state
Discovery approach
Instead of Python registry, discover agents from:
.github/agents/*.agent.md — Copilot agent definitions
- OpenHands presets — Programmatic agent configurations
.github/copilot-catalog.yml — Composition metadata
Acceptance criteria
Depends on
Summary
Update
ttadev/cli/agent.pyandttadev/cli/agents.pyto use OpenHands as the execution backend instead of the customAgentRegistry+AgentPrimitivesystem.Current CLI commands
tta agent list— Lists registered agents from Python registrytta agent run <name> <task>— Executes via AgentPrimitivetta agents spawn— Fleet spawningTarget state
tta agent list— List available.agent.mdfiles + OpenHands presetstta agent run <name> <task>— Execute viaOpenHandsPrimitivewith preset matchingtta agents spawn— Delegate to MCP fleet tool v2 (feat: Implement MCP fleet tool v2 with OpenHands execution #384)Discovery approach
Instead of Python registry, discover agents from:
.github/agents/*.agent.md— Copilot agent definitions.github/copilot-catalog.yml— Composition metadataAcceptance criteria
tta agent listshows .agent.md rostertta agent runexecutes via OpenHandsDepends on