DPX settlement and intelligence tools for CrewAI agents — quote, ESG scoring, oracle status, settlement, and macro intelligence.
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_crewai-1.0.0.tar.gz
(6.1 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_crewai-1.0.0.tar.gz.
File metadata
- Download URL: dpx_crewai-1.0.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bff0747e677c82a9a186e356f3e717090fd1f7c231d4680ea8e45ac5717c8aff
|
|
| MD5 |
4011760287ad91a9f8f19db86cad4f5b
|
|
| BLAKE2b-256 |
a38c1785e8fcb3225ae3b8bfe77ce7df5a902c353ed02cd03f43f3fdb47e6ff8
|
File details
Details for the file dpx_crewai-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dpx_crewai-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.9 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 |
20dfaa96ccc100893d39c2be1a8d3e3e57f1af53f483cc64d9b5f3f3e8dd590c
|
|
| MD5 |
2b1b9ceead808b20f15a0b8787312bb5
|
|
| BLAKE2b-256 |
331315774142b704fafa6d94bfa458d628e116815877294d4e7c40e5f272eb28
|