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
- Documentation
- MCP server —
npx @untitledfinancial/dpx-mcp - GitHub
Metadata
Release files for dpx-langchain 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dpx_langchain-1.0.2.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dpx_langchain-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / dpx_langchain-1.0.2.tar.gz
| Download URL | dpx_langchain-1.0.2.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4d64b85d67dc526bc853f05cc2acc596d455a31992c509566b99eede498afce
|
|
BLAKE2b-256 checksum How to use checksums |
b1d6b0468895361a204c6cfc9dd6c568efa61d3b545c810f4866a0f8908ade73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / dpx_langchain-1.0.2-py3-none-any.whl
| Download URL | dpx_langchain-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c715621a7a16cce0d0c5fa1ec17679ff0ec6e0341c02f7b5f59d9b1b8b13a1f
|
|
BLAKE2b-256 checksum How to use checksums |
15f02389f7e75ddf99736a19c1a9cf8dbc87e92474edf2aa31aa528638ae3e30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|