Skip to content

Examples and guides for using the OpenAI API

Remove unpublished AgentCore companion credit (#2949)

Deepak Jainaa2c1e8867b8
diff --git a/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/README.md b/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/README.md
index 6129d7d7..fa376805 100644
--- a/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/README.md
+++ b/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/README.md
@@ -234,10 +234,3 @@ Also review the current AWS guidance for
[prerequisites](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/payments-prerequisites.html),
[payment instruments](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/payments-create-instrument.html),
and [bounded sessions](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/payments-create-session.html).
-
-## Source and credit
-
-Nick's AWS paid-research sample
-provides a broader multi-agent live testnet reference. Its wallet-neutral setup
-and bounded-session exercise informed this example. No source code was copied.
-See `SOURCE_ATTRIBUTION.md` for the fixed revision and license.
diff --git a/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/SOURCE_ATTRIBUTION.md b/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/SOURCE_ATTRIBUTION.md
deleted file mode 100644
index d52e287c..00000000
--- a/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/SOURCE_ATTRIBUTION.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Source attribution
-
-## AWS paid-research companion sample
-
-- Contributor: Nick (`mccartnick`), AWS Solutions Architect
-- Reviewed revision: `85aa4e5ca9a2d55ad7c412f2d015011095b2222d`
-- Review date: August 5, 2026
-- License: Apache-2.0
-
-The companion sample reports a live multi-agent testnet run using a
-Bedrock-hosted OpenAI model, AgentCore Payments, delegated wallet signing, an
-x402 V2 challenge, and a paid retry that returned HTTP 200. That is evidence
-for the AWS sample at the reviewed revision, not for this example's optional
-live path.
-
-The provider-neutral setup language and below-price session exercise informed
-this example. No source code from the AWS sample is copied. This example
-independently implements a narrower one-agent, one-tool pattern with
-application-owned authorization, challenge validation, idempotency, receipts,
-audit evidence, and deterministic local tests.
diff --git a/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/tests/test_publication_contract.py b/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/tests/test_publication_contract.py
index ebd3d5ce..a0242927 100644
--- a/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/tests/test_publication_contract.py
+++ b/examples/partners/AWS/controlled_agentic_commerce_with_agentcore_payments/tests/test_publication_contract.py
@@ -5,7 +5,6 @@ import re
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
-UPSTREAM_REVISION = "85aa4e5ca9a2d55ad7c412f2d015011095b2222d"
DIAGRAMS = (
"controlled-agentic-commerce-overview.png",
"controlled-agentic-commerce-local-and-testnet.png",
@@ -21,14 +20,6 @@ def _notebook_path() -> Path:
return next(path for path in candidates if path.is_file())
-def _attribution_path() -> Path:
- candidates = (
- ROOT / "SOURCE_ATTRIBUTION.md",
- ROOT / "docs/UPSTREAM_SOURCES.md",
- )
- return next(path for path in candidates if path.is_file())
-
-
def test_documented_uv_commands_do_not_require_a_lockfile() -> None:
readme = (ROOT / "README.md").read_text(encoding="utf-8")
notebook = _notebook_path().read_text(encoding="utf-8")
@@ -95,14 +86,6 @@ def test_live_opt_ins_are_disabled_by_default() -> None:
assert settings["AGENTCORE_RUNTIME_AWS_PROFILE"] == ""
-def test_upstream_source_is_pinned_and_licensed() -> None:
- attribution = _attribution_path().read_text(encoding="utf-8")
-
- assert UPSTREAM_REVISION in attribution
- assert "Apache" in attribution
- assert "No source code from the AWS sample is copied" in attribution
-
-
def test_publishable_text_has_no_high_confidence_credentials() -> None:
allowed_suffixes = {
".example",