Skip to content

Amazon Bedrock

Add DPX as an Action Group in any Amazon Bedrock agent. The agent receives oracle data, fee quotes, and ESG scores as structured tool results.

Download the DPX OpenAPI spec (Bedrock requires OpenAPI 3.0):

Terminal window
curl -o dpx-openapi.yaml \
https://raw.githubusercontent.com/untitledfinancial/dpx-integrations/main/amazon-bedrock/openapi-bedrock.yaml
aws s3 cp dpx-openapi.yaml s3://YOUR_BUCKET/dpx-openapi.yaml

Ensure your Bedrock agent’s IAM role has s3:GetObject on that bucket.

  1. AWS Console → Amazon BedrockAgents → your agent → Edit
  2. Action groupsAdd
  3. Name: DPXProtocol
  4. Executor: Return control (agent receives data, decides next step)
  5. Schema: Amazon S3 location → your bucket and key
  6. SavePrepareDeploy
You have access to DPX Protocol tools for treasury settlement intelligence.
For any settlement request:
1. Call getOracleReliability — confirm STABLE before proceeding
2. Call getEsgScore with the counterparty wallet address
3. Call getSettlementQuote with amount, hasFx flag, and ESG score
4. Return the fee breakdown and net recipient amount
If oracle returns CAUTION, note it and ask whether to proceed.
If UNSTABLE, advise against settling until conditions improve.
operationIdDescription
getOracleReliabilityStability status — STABLE / CAUTION / UNSTABLE
getSettlementQuoteBinding fee quote — core, FX, ESG, net amount
getEsgScoreCounterparty ESG score 0–100
getRailStatusPayment corridor health (SEPA, FedACH, PIX, etc.)
getHealthOracle liveness
  • Bedrock requires OpenAPI 3.0 — the spec in the integrations repo is 3.0-compatible
  • RETURN_CONTROL executor is recommended for production; Lambda executor also supported
  • No API key required for public intelligence endpoints

Full config files: github.com/untitledfinancial/dpx-integrations/tree/main/amazon-bedrock