Skip to content

agentcore exec reports 'No deployed runtimes found' for harness deployments #1724

Description

@jesseturner21

Summary

agentcore exec reports "No deployed runtimes found" for agents deployed via the harness devenv, even though the deployment is confirmed present through other commands. exec doesn't appear to support harness deployments.

Steps to reproduce

  1. Deploy an agent using the harness.
  2. Confirm the deployment exists:
    • agentcore status — shows the deployed harness.
    • agentcore invoke --session-id ... — successfully invokes the deployed harness.
  3. Run agentcore exec.

Expected behavior

agentcore exec recognizes the harness deployment (consistent with agentcore status and agentcore invoke) and executes against it.

Actual behavior

agentcore exec reports No deployed runtimes found, despite status and invoke both confirming a deployed runtime is present.

Environment

  • CLI version: 1.0.0-preview.20
  • User agent: AgentCoreCLI/1.0.0-preview.20 (darwin 25.5.0; node/v22.15.0)
  • OS: darwin 25.5.0
  • Node: v22.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions