Axes · decision quality
DQL — Decision Quality Layer
Scores a proposed action on five axes — intent, scope, risk, consistency, and reversibility — so weak or overreaching decisions surface before they execute. Humans use the app; agents hit the same API.
Call example
curl -X POST https://dql.thoughtproof.ai/dql/verify \
-H "Content-Type: application/json" \
-H "X-DQL-Key: dqlk_your_key_here" \
-d '{"mandate":"Book a morning BER–FCO flight on July 20.","proposed_action":"Book LH1234 MUC–FCO 09:15 on July 20.","reasoning":"Earliest morning option in the search results."}'
Live POST /dql/verify returns HTTP 402 without an X-DQL-Key or an x402 payment.
Agents can settle the same path with x402 (USDC) on Base. Trial and packs stay on the
app.
MCP / agents
Desktop / CLI stdio — Node.js 18+ and a host with stdio MCP support
(Cursor, Claude Desktop, and similar). Add the published connector and call
verify_decision before the action.
- Get a key One
dqlk_from app.thoughtproof.ai/pricing — trial or pack. - Add the connector Point the host at
npx -y thoughtproof-mcp@0.3.2and setDQL_API_KEY. - Call before the action Hero tool is
verify_decision.executeis true only on ALLOW.
{
"mcpServers": {
"thoughtproof": {
"command": "npx",
"args": ["-y", "thoughtproof-mcp@0.3.2"],
"env": {
"DQL_API_KEY": "dqlk_your_key_here"
}
}
}
}
Default spend / checkout language routes to DQL. Auto-route can also pick Sentinel for other
irreversible exits — a DQL-only key is not enough on that path.
mode=sentinel needs SENTINEL_API_KEY.
Package: thoughtproof-mcp@0.3.2 on npm.
Direct API calls stay on POST /dql/verify above.
The five axes
- IntentDoes the plan actually solve the request, or is it a plausible-sounding detour?
- ScopeIs the action inside the mandate, or did the agent expand the job?
- RiskAre irreversible side effects recognized before they happen?
- ConsistencyDo the steps, evidence, and stated goal still line up?
- ReversibilityHow hard is it to undo if this is wrong?
App first
Start at app.thoughtproof.ai/pricing —
trial credits, prepaid packs, and account billing live there.
Agents can also pay per call with USDC (x402) on Base against the same POST /dql/verify endpoint.
Longer product narrative: The Decision Quality Layer.
Related
Typical agent exit: Sentinel. Plan cascade: PLV. Adversarial panel: RV.