Support interactive TUI invocation for existing AgentCore Harnesses by ARN
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- aws, typescript
- 領域
- cli
調査の方向性
ペイロードには実装ファイルもテストも記載されていません。まず agentcore invoke エントリポイントと既存の --harness-arn パスから始め、InvokeHarness のストリーミングフローを追跡してください。外部管理の Harnesses がインタラクティブチャットを開き、セッションを再利用または再開し、ストリーミング出力を表示し、終了時にセッション ID を報告できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Description
AgentCore CLI should support opening the existing interactive chat/TUI experience against an already-deployed AgentCore Harness that was created outside the current AgentCore CLI project, such as a Harness created through the AWS Console, Terraform, CloudFormation, or the AgentCore control-plane API.
Today an externally managed Harness can be invoked with:
agentcore invoke \
--harness-arn arn:aws:bedrock-agentcore:us-west-2:123456789012:harness/example \
--region us-west-2 \
--session-id <session-id> \
"prompt"
However, --harness-arn is treated as a non-interactive option. Omitting the prompt results in:
No prompt provided. Usage: agentcore invoke --harness-arn <arn> --region <region> "your prompt"
This means users of externally managed Harnesses cannot use the CLI's interactive chat/TUI experience and instead have to repeatedly invoke the Harness with individual prompts or build their own frontend.
It would be useful to support something along the lines of:
agentcore invoke \
--harness-arn <arn> \
--region us-west-2 \
--interactive
or, if no prompt is supplied and stdin is a TTY, automatically enter interactive mode:
agentcore invoke \
--harness-arn <arn> \
--region us-west-2
The interactive session should reuse a single runtimeSessionId for the duration of the session and allow an explicitly supplied --session-id so an existing Harness session can be resumed.
This would make the AgentCore CLI useful as a general client for managed Harnesses without requiring the Harness infrastructure to be owned or deployed by an AgentCore CLI/CDK project.
This is especially valuable for organizations that manage AgentCore infrastructure centrally with Terraform or CloudFormation while individual developers authenticate using their own AWS credentials.
Acceptance Criteria
-
agentcore invokecan enter an interactive terminal chat experience when targeting a Harness with--harness-arn. -
The feature works without requiring an AgentCore CLI project or
agentcore deploy. -
The Harness may have been created by the AWS Console, Terraform, CloudFormation, or API.
-
An existing session can be resumed with:
agentcore invoke \ --harness-arn <arn> \ --region <region> \ --session-id <existing-session-id> \ --interactive -
Streaming assistant output is rendered interactively.
-
Exiting the TUI reports the session ID so the user can reconnect later.
Additional Context
A common deployment model is:
Terraform / CloudFormation / AWS Console
|
v
AgentCore Harness
^
|
InvokeHarness API
|
v
Developer CLI
In this model, the developer may have permission to invoke the Harness but intentionally does not have permission to deploy or modify it.
The existing CLI can already invoke such a Harness non-interactively:
agentcore invoke \
--harness-arn <arn> \
--region <region> \
--session-id <session-id> \
"prompt"
and --verbose exposes structured Harness streaming events such as toolUse and toolResult. The missing piece is an interactive frontend over the same invocation mechanism.
This would avoid teams having to build custom Harness clients solely to obtain a persistent terminal conversation and visibility into agent tool execution.
It would also make infrastructure ownership independent from developer UX: platform teams could manage Harnesses through their preferred IaC tooling while developers still get the native AgentCore interactive experience.
- 主要言語
- TypeScript
- スター
- 291
- フォーク
- 96
- 平均マージ
- 20時間 50分
- マージ済み PR(30日)
- 214
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/agentcore-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
aws/agentcore-cli#2395 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
aws/agentcore-cli#2392 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/agentcore-cli#2267 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2258 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2176 ·
aws/agentcore-cli の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
motiondivision/motion#3849 ·
-
Add: S Play Event HD オープンcheck:passed streams:add
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
i-am-bee/beeai-framework#1697 · リアクション 1 件 ·
-
Support bun dedupe オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
antfu/node-modules-inspector#214 ·