Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
234 changes: 224 additions & 10 deletions command.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# AgentCore CLI command reference

This reference was generated from `agentcore --help` for version `1.3.0`.
This reference was generated from `agentcore --help` for version `1.4.0`.

## Table of contents

Expand All @@ -23,6 +23,11 @@ This reference was generated from `agentcore --help` for version `1.3.0`.
- [`agentcore add credentials api-key`](#agentcore-add-credentials-api-key)
- [`agentcore add credentials oauth`](#agentcore-add-credentials-oauth)
- [`agentcore add credentials payment`](#agentcore-add-credentials-payment)
- [`agentcore add credentials payment stripe`](#agentcore-add-credentials-payment-stripe)
- [`agentcore add credentials payment paypal`](#agentcore-add-credentials-payment-paypal)
- [`agentcore add credentials payment amazon-pay`](#agentcore-add-credentials-payment-amazon-pay)
- [`agentcore add credentials payment coinbase-cdp`](#agentcore-add-credentials-payment-coinbase-cdp)
- [`agentcore add credentials payment stripe-privy`](#agentcore-add-credentials-payment-stripe-privy)
- [`agentcore add memory`](#agentcore-add-memory)
- [`agentcore add evaluator`](#agentcore-add-evaluator)
- [`agentcore add evaluator llm-as-a-judge`](#agentcore-add-evaluator-llm-as-a-judge)
Expand Down Expand Up @@ -221,6 +226,14 @@ This reference was generated from `agentcore --help` for version `1.3.0`.
- [`agentcore payment instrument get`](#agentcore-payment-instrument-get)
- [`agentcore payment instrument list`](#agentcore-payment-instrument-list)
- [`agentcore payment instrument balance`](#agentcore-payment-instrument-balance)
- [`agentcore payment intent`](#agentcore-payment-intent)
- [`agentcore payment intent create`](#agentcore-payment-intent-create)
- [`agentcore payment intent get`](#agentcore-payment-intent-get)
- [`agentcore payment intent create-buyer-approval-url`](#agentcore-payment-intent-create-buyer-approval-url)
- [`agentcore payment intent initiate`](#agentcore-payment-intent-initiate)
- [`agentcore payment intent authorize`](#agentcore-payment-intent-authorize)
- [`agentcore payment intent capture`](#agentcore-payment-intent-capture)
- [`agentcore payment intent cancel`](#agentcore-payment-intent-cancel)
- [CLI settings and feedback](#cli-settings-and-feedback)
- [`agentcore feedback`](#agentcore-feedback)
- [`agentcore config`](#agentcore-config)
Expand Down Expand Up @@ -490,18 +503,86 @@ add an OAuth2 credential provider to the current project
##### `agentcore add credentials payment`

```text
agentcore add credentials payment [options]
agentcore add credentials payment [options] [command]
```

add a payment credential provider to the current project

###### `agentcore add credentials payment stripe`

```text
agentcore add credentials payment stripe [options]
```

add Stripe credentials to the current project

**Options**

- `--name <name>`: the name of the credential provider (required)
- `--restricted-key <restricted-key>`: the Stripe restricted key (file://path or - for stdin; inline values are rejected)
- `--restricted-key-secret-reference <restricted-key-secret-reference>`: external secret reference JSON: {"secretId":"&lt;id-or-arn&gt;","jsonKey":"&lt;key&gt;"}
- `--publishable-key <publishable-key>`: optional Stripe publishable key

###### `agentcore add credentials payment paypal`

```text
agentcore add credentials payment paypal [options]
```

add PayPal credentials to the current project

**Options**

- `--name <name>`: the name of the credential provider (required)
- `--client-id <client-id>`: the PayPal REST application client ID
- `--client-secret <client-secret>`: the PayPal client secret (file://path or - for stdin; inline values are rejected)
- `--client-secret-reference <client-secret-reference>`: external secret reference JSON: {"secretId":"&lt;id-or-arn&gt;","jsonKey":"&lt;key&gt;"}
- `--environment <environment>`: PayPal environment: SANDBOX or LIVE (no default)

###### `agentcore add credentials payment amazon-pay`

```text
agentcore add credentials payment amazon-pay [options]
```

add Amazon Pay credentials to the current project

**Options**

- `--name <name>`: the name of the credential provider (required)
- `--merchant-id <merchant-id>`: the Amazon Pay merchant ID
- `--store-id <store-id>`: the Amazon Pay store ID
- `--authorization-token <authorization-token>`: the Amazon Pay authorization token (file://path or - for stdin; inline values are rejected)
- `--authorization-token-secret-reference <authorization-token-secret-reference>`: external secret reference JSON: {"secretId":"&lt;id-or-arn&gt;","jsonKey":"&lt;key&gt;"}
- `--environment <environment>`: Amazon Pay environment: SANDBOX or LIVE (no default)
- `--amazon-pay-region <amazon-pay-region>`: Amazon Pay merchant region: NA or EU (no default)

###### `agentcore add credentials payment coinbase-cdp`

```text
agentcore add credentials payment coinbase-cdp [options]
```

add CoinbaseCDP credentials to the current project

**Options**

- `--name <name>`: the name of the credential provider (required)
- `--provider <provider>`: the payment provider: CoinbaseCDP or StripePrivy (required)
- `--api-key-id <api-key-id>`: Coinbase CDP API key ID
- `--api-key-secret <api-key-secret>`: Coinbase CDP API key secret (file://path or - for stdin; inline values are rejected)
- `--wallet-secret <wallet-secret>`: Coinbase CDP wallet secret (file://path or - for stdin; inline values are rejected)

###### `agentcore add credentials payment stripe-privy`

```text
agentcore add credentials payment stripe-privy [options]
```

add StripePrivy credentials to the current project

**Options**

- `--name <name>`: the name of the credential provider (required)
- `--app-id <app-id>`: Privy application ID
- `--app-secret <app-secret>`: Privy application secret (file://path or - for stdin; inline values are rejected)
- `--authorization-private-key <authorization-private-key>`: Stripe/Privy authorization private key (file://path or - for stdin; inline values are rejected)
Expand Down Expand Up @@ -646,6 +727,7 @@ add a connector to a project payment manager (not available in China regions)
- `--manager <manager>`: the parent payment manager (required)
- `--name <name>`: the payment connector name (required)
- `--credential <credential>`: an existing payment credential to reuse
- `--aws-billing`: create an AWS Marketplace billing connector (requires its service-linked role) (default: false)
- `--quick-create`: create a CoinbaseCDP connector through Quick Create (default: false)

### `agentcore dev`
Expand Down Expand Up @@ -697,6 +779,16 @@ invoke a Runtime, harness, or Gateway
- `--target <target>`: project deployment target (default: "default")
- `--local`: invoke the local development server (project Runtime only) (default: false)
- `--port <port>`: local development server port (defaults: HTTP/AG-UI 8080, MCP 8000, A2A 9000)
- `--payment-user-id <payment-user-id>`: explicit payment buyer ID; separate from Runtime --user-id
- `--payment-intent-id <payment-intent-id>`: merchant intent context (does not authorize a payment)
- `--payment-instrument-id <payment-instrument-id>`: legacy payment instrument context
- `--payment-session-id <payment-session-id>`: legacy payment session context
- `--mcp-method <mcp-method>`: the MCP method
- `--mcp-name <mcp-name>`: the MCP tool, resource, or prompt name
- `--trace-id <trace-id>`: the X-Ray trace ID
- `--trace-parent <trace-parent>`: the W3C trace parent
- `--trace-state <trace-state>`: the W3C trace state
- `--baggage <baggage>`: the W3C baggage
- `--payload <payload>`: the inline payload to send
- `--qualifier <qualifier>`: the Runtime endpoint qualifier
- `--content-type <content-type>`: the payload content type
Expand All @@ -708,12 +800,6 @@ invoke a Runtime, harness, or Gateway
- `--mcp-session-id <mcp-session-id>`: the MCP session ID
- `--mcp-protocol-version <mcp-protocol-version>`: the MCP protocol version
- `--output-file <output-file>`: the response output file
- `--mcp-method <mcp-method>`: the MCP method
- `--mcp-name <mcp-name>`: the MCP tool, resource, or prompt name
- `--trace-id <trace-id>`: the X-Ray trace ID
- `--trace-parent <trace-parent>`: the W3C trace parent
- `--trace-state <trace-state>`: the W3C trace state
- `--baggage <baggage>`: the W3C baggage
- `--prompt <prompt>`: the message to send to the harness
- `--path <path>`: the path relative to the Gateway origin
- `--method <method>`: the HTTP request method
Expand Down Expand Up @@ -1316,6 +1402,10 @@ invoke a Runtime

**Options**

- `--payment-user-id <payment-user-id>`: explicit payment buyer ID; separate from Runtime --user-id
- `--payment-intent-id <payment-intent-id>`: merchant intent context (does not authorize a payment)
- `--payment-instrument-id <payment-instrument-id>`: legacy payment instrument context
- `--payment-session-id <payment-session-id>`: legacy payment session context
- `--id <id>`: the ID of the Runtime (required)
- `--payload <payload>`: the inline payload to send
- `--qualifier <qualifier>`: the Runtime endpoint qualifier
Expand Down Expand Up @@ -3017,7 +3107,7 @@ enable or disable an Agent Insight Store, or change its encryption key
agentcore payment [options] [command]
```

inspect payment managers, sessions, and instruments
inspect payment resources and manage intent lifecycles

#### `agentcore payment manager`

Expand Down Expand Up @@ -3200,6 +3290,130 @@ get a payment instrument's token balance on a specific chain
- `--token <token>`: the token to query (USDC) (default: "USDC")
- `--agent-name <agent-name>`: optional observability label, not an agent selector

#### `agentcore payment intent`

```text
agentcore payment intent [options] [command]
```

create, inspect and manage payment intents

##### `agentcore payment intent create`

```text
agentcore payment intent create [options]
```

create a merchant payment intent

**Options**

- `--manager-id <manager-id>`: the parent payment manager ID (required)
- `--user-id <user-id>`: the application buyer ID (required independently of Runtime identity) (required)
- `--agent-name <agent-name>`: optional agent observability label
- `--connector-id <connector-id>`: the payment connector ID (required)
- `--capture-strategy <capture-strategy>`: INSTANT, FUTURE or SETUP (required)
- `--checkout-details <checkout-details>`: checkout JSON object, file://&lt;path&gt;, or '-' for stdin (required)
- `--client-token <client-token>`: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation

##### `agentcore payment intent get`

```text
agentcore payment intent get [options]
```

get a payment intent by id

**Options**

- `--manager-id <manager-id>`: the parent payment manager ID (required)
- `--intent-id <intent-id>`: the payment intent ID (required)
- `--user-id <user-id>`: the application user ID associated with the intent (required)
- `--agent-name <agent-name>`: optional observability label, not an agent selector

##### `agentcore payment intent create-buyer-approval-url`

```text
agentcore payment intent create-buyer-approval-url [options]
```

create an approval URL for delivery to the buyer UI

**Options**

- `--manager-id <manager-id>`: the parent payment manager ID (required)
- `--user-id <user-id>`: the application buyer ID (required independently of Runtime identity) (required)
- `--agent-name <agent-name>`: optional agent observability label
- `--intent-id <intent-id>`: the payment intent ID (required)
- `--parent-origin <parent-origin>`: the exact origin allowed to embed the buyer approval widget (required)
- `--client-token <client-token>`: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation

##### `agentcore payment intent initiate`

```text
agentcore payment intent initiate [options]
```

initiate an approved intent using developer/backend credentials

**Options**

- `--manager-id <manager-id>`: the parent payment manager ID (required)
- `--user-id <user-id>`: the application buyer ID (required independently of Runtime identity) (required)
- `--agent-name <agent-name>`: optional agent observability label
- `--intent-id <intent-id>`: the payment intent ID (required)
- `--client-token <client-token>`: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation

##### `agentcore payment intent authorize`

```text
agentcore payment intent authorize [options]
```

authorize an initiated intent using developer/backend credentials

**Options**

- `--manager-id <manager-id>`: the parent payment manager ID (required)
- `--user-id <user-id>`: the application buyer ID (required independently of Runtime identity) (required)
- `--agent-name <agent-name>`: optional agent observability label
- `--intent-id <intent-id>`: the payment intent ID (required)
- `--partner-callback-result <partner-callback-result>`: sensitive partner callback from file://&lt;path&gt; or stdin '-'
- `--client-token <client-token>`: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation

##### `agentcore payment intent capture`

```text
agentcore payment intent capture [options]
```

capture authorized funds using developer/backend credentials

**Options**

- `--manager-id <manager-id>`: the parent payment manager ID (required)
- `--user-id <user-id>`: the application buyer ID (required independently of Runtime identity) (required)
- `--agent-name <agent-name>`: optional agent observability label
- `--intent-id <intent-id>`: the payment intent ID (required)
- `--capture-amount <capture-amount>`: optional amount JSON object, file://&lt;path&gt;, or stdin '-' (omitted: remainder)
- `--client-token <client-token>`: caller-owned capture token (33-256 letters, digits or hyphens); reuse on retries, new token requests a new capture (required)

##### `agentcore payment intent cancel`

```text
agentcore payment intent cancel [options]
```

cancel a payment intent

**Options**

- `--manager-id <manager-id>`: the parent payment manager ID (required)
- `--user-id <user-id>`: the application buyer ID (required independently of Runtime identity) (required)
- `--agent-name <agent-name>`: optional agent observability label
- `--intent-id <intent-id>`: the payment intent ID (required)
- `--client-token <client-token>`: idempotency token (33-256 letters, digits or hyphens); reuse for the same operation

## CLI settings and feedback

### `agentcore feedback`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws/agentcore",
"version": "1.3.0",
"version": "1.4.0",
"repository": {
"type": "git",
"url": "https://github.com/aws/agentcore-cli.git"
Expand Down
2 changes: 1 addition & 1 deletion src/assets/cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"typescript": "~5.9.3"
},
"dependencies": {
"@aws/agentcore-cdk": "1.3.0",
"@aws/agentcore-cdk": "1.4.0",
"aws-cdk-lib": "~2.269.0",
"constructs": "~10.7.0"
}
Expand Down
Loading