Skip to content

feat: Update tta agent CLI to use OpenHands backend #385

Description

@theinterneti

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:

  1. .github/agents/*.agent.md — Copilot agent definitions
  2. OpenHands presets — Programmatic agent configurations
  3. .github/copilot-catalog.yml — Composition metadata

Acceptance criteria

  • tta agent list shows .agent.md roster
  • tta agent run executes via OpenHands
  • Backward-compatible flags for transition period
  • Help text updated

Depends on

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium priority - Nice to have enhancementsagent-modernizationAgent system migration to OpenHands + .agent.mdstale

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions