explainx.ai350K+ learn from us
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR
  • Why A2A on AWS now
  • Architecture walkthrough
  • Interoperability: LangChain without Strands
  • Bidirectional callback security
  • MCP inside, A2A outside
  • Deploy and cost notes
  • What to try this week
  • Notebook deployment sequence (from AWS)
  • Security decisions embedded in the sample
  • When to choose A2A versus MCP-only
  • Observability gaps to plan
  • Cost modeling notes
  • Failure modes from HN-style operations experience
  • Language note on Linux Foundation A2A
  • Related on explainx.ai
← Back to blog

explainx / blog

AWS A2A Demo: LangChain Orchestrator, Strands on AgentCore, OAuth Across Accounts

AWS, Amazon Bedrock AgentCore, AI Agents, MCP, Guides

Part of Microsoft, Apple and Amazon AI

On November 12, 2026 AWS published a reference architecture where a LangChain enterprise orchestrator on ECS calls a Strands compliance agent on Bedrock AgentCore using the A2A protocol with bidirectional OAuth.

Nov 12, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
AWS A2A Demo: LangChain Orchestrator, Strands on AgentCore, OAuth Across Accounts

On November 12, 2026, AWS published a deployable A2A reference architecture where a LangChain enterprise orchestrator on Amazon ECS talks to a Strands compliance agent on Amazon Bedrock AgentCore in a separate AWS account — using the Agent-to-Agent protocol without either team importing the other's SDK.

If you sell an agent SaaS or run agents that must call partner-built skills, this is AWS's answer to framework lock-in: discover capabilities through Agent Cards, authenticate with OAuth, and keep tool internals private while still composing workflows.

Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

TL;DR

table · 2 cols
PieceAWS sample (Nov 12, 2026)
Enterprise entryAPI Gateway HTTPS to LangChain orchestrator (Claude Sonnet 4.6) on ECS Fargate
Enterprise contextSecond LangChain agent (Nova Lite) exposing account metadata over A2A
SaaS agentStrands compliance scanner on AgentCore with synthetic Config-style findings
DiscoveryFetch Agent Cards at startup; LLM picks skills as LangChain tools
Cross-boundary wireA2A JSON-RPC message/send over HTTPS with pinned agent URLs
AuthDual Cognito pools; callback uses partner API Gateway with SaaS-issued tokens
BidirectionalSaaS agent callbacks to enterprise context agent before scanning
RepoGitHub notebooks: onboarding request, SaaS deploy, enterprise deploy (~28 minutes)

Why A2A on AWS now

AWS notes A2A is now a Linux Foundation project with industry supporters. Without a standard, every ISV writes custom HTTPS glue per customer framework — the same integration swamp that MCP reduced for tools, but at the agent boundary.

Our A2A versus MCP explainer separates layers: MCP wires one agent to databases and APIs; A2A wires agents to agents where neither should see the other's prompts or tool lists.

AWS's earlier Part 4 interoperability post showed two Strands agents on A2A. November 12 adds cross-framework proof (LangChain plus Strands), cross-account trust, and OAuth in both directions — the pattern regulated enterprises ask for when a compliance vendor sits outside the VPC.

AWS A2A multi-agent delegation with a hub routing tasks to partner agents across accountsAWS A2A multi-agent delegation with a hub routing tasks to partner agents across accounts

Architecture walkthrough

The post diagrams three agents in two accounts:

Enterprise account

  1. Enterprise Orchestrator — user questions enter through API Gateway, forwarded via VPC link and internal NLB to ECS. At startup it downloads the SaaS Agent Card from /.well-known/agent-card.json and registers one LangChain tool per skill.
  2. Enterprise Context Agent — serves policy metadata (data classification, escalation contacts). The SaaS agent reaches it only through a partner API endpoint registered at onboarding.

SaaS account

  1. Compliance SaaS Agent — Strands @tool functions simulate AWS Config / Security Hub style findings. The Agent Card advertises one curated skill, not internal tool names — so customer models see product capabilities, not implementation.

Request path (simplified)

  • User obtains Cognito token, asks a compliance question.
  • Orchestrator model decides to invoke the external skill.
  • Orchestrator fetches enterprise pool token from Secrets Manager, sends A2A message to AgentCore URL pinned at discovery.
  • SaaS agent callbacks to context agent with SaaS pool token for production account lists and policies.
  • Results return upstream; orchestrator summarizes for leadership.

Private subnets, no public IPs on enterprise agents, and fail-closed token fetch (no empty bearer) match patterns in Agent Registry governance.

Interoperability: LangChain without Strands

The post's proof point is explicit: orchestrator code uses httpx and JSON-RPC, not Strands SDK. If the ISV rewrote its agent in another A2A framework but kept the card and wire format, enterprise code stays stable.

That mirrors why we track Agent Registry discovery separately from runtime auth: contracts live at the protocol layer, not the Python import layer.

Snippet concept from AWS (abridged):

  • Build payload method: message/send with text parts.
  • POST to pinned agent_url from card discovery — never trust redirect URLs from messages.
  • On 401, refresh OAuth token once and retry.

OAuth bearer tokens crossing account boundaries in the AWS A2A reference architectureOAuth bearer tokens crossing account boundaries in the AWS A2A reference architecture

Bidirectional callback security

One-way demos break when the callee needs caller-only data. AWS's SaaS agent:

  1. Verifies the callback URL registered at onboarding.
  2. Fetches the enterprise context Agent Card anonymously.
  3. Obtains SaaS Cognito token.
  4. Calls enterprise partner API.

Failures collapse to a single model-facing string — "Enterprise context unavailable" — while details log on the SaaS side. That is how you avoid leaking stack traces into customer-facing agent transcripts.

Compare to Bedrock AgentCore Gateway patterns where one hop returns cited answers; A2A here is multi-hop peer negotiation with separate audit trails per account.

MCP inside, A2A outside

AWS states production SaaS agents might use MCP internally to reach Config APIs while exposing A2A externally. Builders should not conflate the two URLs:

table · 3 cols
LayerAudienceContract
MCP serverOwning agent's runtimetools/list, schemas
A2A Agent CardExternal orchestratorsSkills, auth schemes, endpoints

If you already run MCP gateways on AgentCore, think of A2A as the customer-facing flange — especially when customers standardize on LangChain, Strands, or future Linux Foundation adapters.

Deploy and cost notes

Prerequisites include two accounts, Anthropic Claude Sonnet 4.6 enabled in Bedrock (plus Nova Lite in enterprise account), and Jupyter with AWS CLI profiles. Notebook 3 deploy takes about 20 minutes; cleanup sections tear down VPC, Fargate, and AgentCore resources.

AWS warns about Bedrock, AgentCore, Fargate, and VPC charges — run cleanup after labs. For teams comparing cloud agent hosts, pair this sample with UAEF evaluation framework thinking: measure cross-org latency and token use before production SLAs.

What to try this week

  1. Clone AWS's linked GitHub repo and run notebook 1 onboarding JSON exchange — practice public-only handoffs (issuer URLs, scopes, endpoints).
  2. Diff your existing MCP OpenAPI specs against Agent Card skills — decide which capabilities are customer-facing.
  3. Map Cognito pools to AgentCore Identity patterns you may already use for MCP OAuth.
  4. If you are an ISV, publish one curated skill first; keep scanning tools private until card versioning is stable.

Notebook deployment sequence (from AWS)

AWS orders three Jupyter notebooks:

table · 4 cols
StepAccountApproximate timeOutput artifact
1Enterprise~3 minutesonboarding-request.json (public URLs, scopes)
2SaaS provider~5 minutesonboarding-response.json
3Enterprise~20 minutesAgents live + end-to-end test

Only public values cross organizational email — no shared secrets. That matches how regulated banks onboard vendors: metadata first, credentials later via each side's secret store.

Prerequisites worth repeating: two accounts in us-east-1, us-east-2, or us-west-2, Anthropic Claude Sonnet 4.6 enabled (first-time Anthropic form per account), enterprise account also needs Amazon Nova Lite for the context agent.

Security decisions embedded in the sample

  • Pinned agent URLs after card discovery — mitigates open-redirect style attacks if a malicious card sneaks into onboarding.
  • Separate Cognito pools — enterprise users never receive SaaS pool tokens and vice versa.
  • Partner API for callbacks — SaaS cannot hit arbitrary intranet hosts; only registered callback hostnames.
  • Synthetic compliance data in demo — production would wire Config/Security Hub/GuardDuty readers behind MCP internally while still exposing one A2A skill externally.

Compare to prompt injection social engineering themes: more integration surface means more identity binding work — A2A adds peers, not fewer auth checks.

When to choose A2A versus MCP-only

table · 3 cols
PatternPick A2APick MCP only
External vendor agentYesRarely — you still need HTTP glue
Internal tools in one VPCOptionalOften simpler
Customer brings LangChain, you run StrandsYesForces SDK adapters per customer
Fine-grained KB row ACLsUse gateway interceptor pattern on MCPA2A does not replace ACL injection

Observability gaps to plan

AWS's post focuses on wiring, not trace UX. In production, log:

  • OAuth token refresh failures (orchestrator 401 retry path).
  • Callback latency — bidirectional flows double network hops.
  • Skill name chosen by LLM — detect routing drift after prompt edits.

Pair with Agent DLC if compliance questions require release gates per external skill.

Cost modeling notes

Charges accrue across Fargate tasks, Bedrock tokens (Sonnet 4.6 for two agents, Nova Lite for context), AgentCore runtime, API Gateway, and cross-account data transfer. Demo cleanup sections are mandatory — idle NAT gateways and public ALBs dominate lab bills.

For multi-tenant ISVs, per-customer Agent Cards may mean per-customer OAuth clients; account for Cognito client limits and rotation runbooks.

Failure modes from HN-style operations experience

Although this launch is fresh, similar agent integrations fail predictably:

  • Card URL typos at onboarding — orchestrator tools point at stale skills forever until restart.
  • Clock skew on JWT expiry — manifests as flaky 401 retries.
  • Rate limits on partner API during batch compliance scans — needs queueing on SaaS side.

Document runbooks beside architecture diagrams.

Language note on Linux Foundation A2A

AWS states A2A graduated to Linux Foundation governance, which matters for procurement: standards with foundation homes tend to pick up multi-vendor conformance tests over time. Betting on A2A for ISV edges is partly a bet that LangChain, Strands, Google, and AWS keep Agent Card schemas compatible across minor versions — still validate with contract tests each release.

Related on explainx.ai

  • What is A2A versus MCP
  • AWS Agent Registry runtime discovery
  • Agent Registry push sync
  • Bedrock AgentCore seven-layer framework
  • AgentCore Web Answer GA
  • UAEF agent evaluation
  • Agent DLC lifecycle post

Model IDs, notebook timings, and A2A SDK pin versions are accurate as of the November 12, 2026 AWS blog post.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 12, 2026

Agent DLC on AWS: Evaluation Loops for Shipping LLM Agents

AWS says demos are not releases. Its Agent DLC framework ties business-approved gold standards to repeated evaluations, Cedar-style release tiers, and AgentCore Observability — with a worked HR policy example where chunk precision hid missing documents.

Nov 11, 2026

AWS Agent Registry Push Sync: CloudTrail, EventBridge, and MCP Metadata

AWS showed how to keep AWS Agent Registry tool metadata current when MCP servers on AgentCore change. CloudTrail captures UpdateAgentRuntime, EventBridge routes events to a sync Lambda that OAuth-authenticates, calls tools/list, diffs schemas, and updates only when needed — with no secrets in environment variables.

Oct 20, 2026

AWS Agent Registry: How Agents Discover MCP Tools and A2A Agents at Runtime

On October 20, 2026 the AWS Machine Learning blog described AWS Agent Registry, a managed catalog of MCP servers, agents and agent skills, and a Python sample where an orchestrator discovers tools by semantic search at request time. Here is how the discover, instantiate, execute loop works, the approval workflow, the security design, and the limits AWS itself states.