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
- Documentation
- MCP server —
npx @untitledfinancial/dpx-mcp - GitHub
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dpx_langchain-1.0.1.tar.gz.
File metadata
- Download URL: dpx_langchain-1.0.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2837bf76432dd5924d3810754eca2f6a06d0bf05efc8b00227316bc9d4bc5052
|
|
| MD5 |
038db0fc4c5fe621feec15427fc89c8c
|
|
| BLAKE2b-256 |
a2bdef1c2bae38f656649fc8c240b31cd21b87d59da6383579970e64dfc3e764
|
File details
Details for the file dpx_langchain-1.0.1-py3-none-any.whl.
File metadata
- Download URL: dpx_langchain-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2f2c19806a19142909876f53a653dca65c148f27f13aa222831864acfbf36c6
|
|
| MD5 |
0dc8da788fd22aa8b3d27ced3087ba78
|
|
| BLAKE2b-256 |
98af283b43e5fe0c2db7c2a9d7372f2b6236a028996f65b0ebc4e070950b04a9
|