DPX settlement and intelligence tools for LangChain agents — quote, ESG scoring, oracle status, and settlement execution.
Project description
dpx-langchain
DPX settlement and intelligence tools for LangChain agents.
pip install dpx-langchain
Tools
| Tool | Description |
|---|---|
DpxQuoteTool |
Binding fee quote — amount, rate breakdown, quoteId (300s TTL) |
DpxSettleTool |
Execute settlement — cross-border or domestic, sandbox by default |
DpxEsgTool |
Live ESG score for a wallet — 6 institutional sources, hourly |
DpxOracleTool |
Oracle stability status — STABLE/CAUTION/UNSTABLE + recommendation |
DpxOracleFullTool |
Full 10-layer oracle output — macro, climate, FX, geopolitical |
DpxRailsTool |
Local payment rail health — PIX, SEPA, FedACH, CHAPS, UPI |
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)
Or 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 | Description |
|---|---|---|
DPX_ORACLE_URL |
https://stability.untitledfinancial.com |
Override for local dev |
DPX_AGENT_URL |
https://agent.untitledfinancial.com |
Override for local dev |
Example agent interaction
User: What's the fee to settle $500,000 USD to EUR?
Agent: [calls dpx_quote(amount_usd=500000, has_fx=True)]
DPX quote for $500,000 cross-border:
• All-in rate: 2.035%
• Total fee: $10,175
• Net received: $489,825
• Oracle: STABLE
• Quote ID: q_... (valid 300 seconds)
Links
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.0.tar.gz
(6.4 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.0.tar.gz.
File metadata
- Download URL: dpx_langchain-1.0.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05402015c95be1117fe112a4e314d4a2b02afda0c49bb3c2a5f4db13fb533838
|
|
| MD5 |
d33099b18e7fd3957c7184ffa8c2ba01
|
|
| BLAKE2b-256 |
04d2ed108f05dc378bc30c21f0cd82799d7ff4d6ac1550c85fba4f3100bca463
|
File details
Details for the file dpx_langchain-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dpx_langchain-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.5 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 |
aff45fda3ba0fe2797872bfc2213f9b22b470f99686e319fe72881c622daa894
|
|
| MD5 |
c9a2cc8abca79d3f55c2e3e47228354e
|
|
| BLAKE2b-256 |
2b8276f14786b9dc6ab4954a4319cd1a53151ad3f2103974179845727f5bb8df
|