Ability to use shared gateways with CLI

Open
#2,541 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
62/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
node.js, typescript
Domain
cli

Research direction

Start from the gateway subcommand implementation in the CLI source (the code path that runs when a target is added), and find where it assumes it must create or own the gateway rather than accepting an existing one. Compare that flow against the gateway's create path and any docs/help text about shared gateways to see what a 'bring your own gateway' mode needs. Done means a user can point the target command at an existing shared gateway and register only the target, verified by running the gateway/target commands locally against a shared gateway.

Written by the indexing model from the issue text.

Description

enhancement
Description

It seems like we can't use shared gateways with the cli currently. it tries to own the whole gateway. this is blocking me from adding just a target, as i need to add the gateway to my project.

Acceptance Criteria

Able to use a shared gateway, and add only a target for said gateway.

Additional Context

version: AgentCoreCLI/0.31.0 (linux 7.0.0-34-generic; node/v24.0.1)

Dominant language
TypeScript
Stars
339
Forks
129
Avg merge
19h 21m
Merged PRs (30d)
125

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/agentcore-cli

All issues in aws/agentcore-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.