Skip to main content

DPX settlement and intelligence tools for LangChain agents — quote, ESG scoring, oracle status, and settlement execution.

Project description

dpx-langchain

LangChain tools for cross-border payment settlement and macro intelligence via the DPX Protocol.

pip install dpx-langchain

Tools

Tool What it does
DpxQuoteTool Price a cross-border or domestic payment before executing
DpxSettleTool Execute a settlement — USD→EUR, USD→GBP, or same-currency on Base mainnet
DpxEsgTool Counterparty ESG scoring from 6 institutional sources (World Bank, UN, IMF, OECD, SEC, Climate Monitor) — required for EU SFDR/CSRD compliance
DpxOracleTool Go/hold signal from the DPX Stability Oracle — stability score, peg deviation, AI recommendation
DpxOracleFullTool Full 10-layer macro intelligence: climate (30–90 day lead), FX, commodities, geopolitical risk, yield curve, USD structural health, AI synthesis
DpxRailsTool Live health of local payment rails — PIX, SEPA, FedACH, CHAPS, UPI, PromptPay

Usage

from dpx_langchain import get_dpx_tools
from langchain.agents import create_react_agent

tools = get_dpx_tools()
agent = create_react_agent(llm=llm, tools=tools, prompt=prompt)

Individual tools:

from dpx_langchain import DpxQuoteTool, DpxSettleTool, DpxEsgTool, DpxOracleTool

tools = [DpxQuoteTool(), DpxSettleTool(), DpxEsgTool(), DpxOracleTool()]

Exclude specific tools:

tools = get_dpx_tools(exclude=["dpx_oracle_full", "dpx_rail_status"])

Environment variables

Variable Default
DPX_ORACLE_URL https://stability.untitledfinancial.com
DPX_AGENT_URL https://agent.untitledfinancial.com

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dpx_langchain-1.0.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dpx_langchain-1.0.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file dpx_langchain-1.0.2.tar.gz.

File metadata

  • Download URL: dpx_langchain-1.0.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for dpx_langchain-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a4d64b85d67dc526bc853f05cc2acc596d455a31992c509566b99eede498afce
MD5 af899fc10c485e20a06eaba479ad2830
BLAKE2b-256 b1d6b0468895361a204c6cfc9dd6c568efa61d3b545c810f4866a0f8908ade73

See more details on using hashes here.

File details

Details for the file dpx_langchain-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: dpx_langchain-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for dpx_langchain-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9c715621a7a16cce0d0c5fa1ec17679ff0ec6e0341c02f7b5f59d9b1b8b13a1f
MD5 d00ab4a8ab65f9e68e24269b07e232b7
BLAKE2b-256 15f02389f7e75ddf99736a19c1a9cf8dbc87e92474edf2aa31aa528638ae3e30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page