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
Metadata
Release files for dpx-crewai 1.0.1
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_crewai-1.0.1.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dpx_crewai-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / dpx_crewai-1.0.1.tar.gz
| Download URL | dpx_crewai-1.0.1.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ed260d89cf037b8d57e37b8cb101a9e1d22b57c6c181eb6c32f665f0846969f
|
|
BLAKE2b-256 checksum How to use checksums |
59015f479ce607d5c16ba4cee8d65b9153727da8084081bb478bab817e0219ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / dpx_crewai-1.0.1-py3-none-any.whl
| Download URL | dpx_crewai-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d9473443bf91330e76f579ae54e8390a31d08685798fa3d6ab877f4a493b65a
|
|
BLAKE2b-256 checksum How to use checksums |
6e83f179c475776a941e733cff5420ee92bb088df2dbebd0f4c764324a69b392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|