x402 agent-native · pay-per-call
Deterministic finance math your AI agents can call.
Building a trading, PE, or fintech agent? Give it reliable, test-backed quant endpoints — DCF & IRR, LP/GP waterfalls, Black-Scholes Greeks, bond analytics, portfolio risk, and AML screening — metered per call over x402. No data feeds to wire up, no hallucinated math, evidence in every response.
Why agents call these instead of doing the math themselves
LLMs hallucinate numbers
Financial decisions can't ride on a model guessing an IRR. Every endpoint is a deterministic, unit-tested function — the same inputs always return the same audited result.
No data feed to own
These are pure calculations over inputs your agent already has. Nothing to license, no rate limits, no keys — just a result and the evidence behind it.
Pay only when you call
x402 lets your agent settle a few cents per call autonomously over USDC on Base. No subscription, no onboarding — discover the endpoint and pay.
The finance & quant suite
Six endpoints covering returns, private-capital splits, derivatives, fixed income, portfolio risk, and compliance — priced from $0.10 to $0.30 per call.
CashflowLens
$0.20/callNPV, IRR, XIRR & DCF valuation in a single call.
- Solve IRR / XIRR from any cashflow series
- NPV + DCF (Gordon-growth or exit-multiple)
- MOIC / DPI / TVPI and payback period
POST /api/agent-services/cashflowlens/analyzeWaterfallLens
$0.30/callLP/GP distribution waterfalls, solved exactly.
- Return of capital → preferred → catch-up → carry
- Exact effective carry %, per-tier breakdown
- Compounded or simple preferred return
POST /api/agent-services/waterfall/distributeOptionLens
$0.30/callBlack-Scholes option pricing with the full Greeks.
- Calls & puts with continuous dividend yield
- Delta, gamma, vega, theta, rho
- Intrinsic / time value and moneyness
POST /api/agent-services/options/priceBondLens
$0.25/callYield, duration, convexity & loan amortization.
- Price ↔ yield-to-maturity
- Macaulay & modified duration, convexity
- Level-payment loan amortization schedules
POST /api/agent-services/bond/analyzePortfolioGuard
$0.15/callPortfolio risk scored straight from holdings.
- Volatility, Sharpe, max drawdown
- Concentration (HHI) & diversification
- Per-rule findings with concrete fixes
POST /api/agent-services/portfolioguard/scoreWalletGuard
$0.10/callWallet AML & compliance risk screening.
- Sanctions, exposure & fund-source signals
- 0–100 risk score with severity level
- Evidence-backed findings, never fabricated
POST /api/agent-services/walletguard/scoreHow an agent calls a service
- 1. POST your inputs. The first unpaid request returns HTTP 402 with an x402 payment challenge.
- 2. Pay per call. Your x402 client signs a USDC-on-Base payment and retries — no API key, no account.
- 3. Get a result + evidence. HTTP 200 returns the computed values plus per-rule findings explaining them.
- Endpoints are published in the OpenAPI spec and auto-cataloged in the CDP Bazaar, so agents can discover them on their own.
POST https://hermesplant.com/api/agent-services/cashflowlens/analyze
{
"cashflows": [-1000000, 50000, 60000, 70000, 1200000],
"discountRate": 0.08
}
→ 402 Payment Required (x402 challenge)
→ sign USDC payment, retry
→ 200 OK
{
"summary": { "irrAnnual": 0.0966, "npv": 110446.12, "moic": 1.38 },
"findings": [ ... ]
}Also: keep your agents safe
The same pay-per-call model for guardrails — score risky actions and untrusted tools before your agent runs them.
MCP Server Risk Analyzer
$0.05/callScore an MCP server before your agent installs it.
- Destructive tools, over-broad scopes, weak auth
- Per-tool, per-factor findings
- A concrete fix, not just a number
POST /api/agent-services/mcp-risk/scoreDestructGuard Command Score
$0.10/callCatch destructive agent commands before they run.
- Scores shell / SQL / git actions for risk
- Flags force-push, hard-reset, drops, teardown
- Returns an approve-or-block recommendation
POST /api/agent-services/destructguard/scoreReviewQueue Agent Submit
$0.25/callRoute risky agent actions to human approval.
- Paid risk triage + approval routing
- Request id and recommended action
- Pause-and-escalate on critical risk
POST /api/agent-services/reviewqueue/submitFrequently asked questions
- How do AI agents pay for Hermes Plant's finance APIs?
- Each endpoint is metered with the x402 protocol. An agent's first request returns an HTTP 402 challenge; the agent signs a small USDC-on-Base payment and retries to get the result. There is no API key, account, or subscription — the agent pays a few cents per call autonomously.
- Why call an API instead of letting the LLM compute the math?
- Language models hallucinate numbers, which is unacceptable for financial decisions. Every Hermes Plant endpoint is a deterministic, unit-tested function: the same inputs always return the same audited result, with per-rule findings explaining each output.
- Do these finance APIs require a market-data feed or API key?
- No. They are pure calculations over the inputs your agent already has — cashflows, holdings, option parameters, bond terms. There is nothing to license, no rate limits, and no keys to manage.
- What finance and quant calculations are available?
- DCF and IRR/XIRR (CashflowLens), LP/GP distribution waterfalls (WaterfallLens), Black-Scholes option pricing and Greeks (OptionLens), bond yield, duration, convexity and loan amortization (BondLens), portfolio risk scoring (PortfolioGuard), and wallet AML/compliance screening (WalletGuard).
- How much does each call cost?
- Per-call prices range from $0.02 to $0.30 in USDC on Base. You pay only when your agent calls the endpoint — no minimums and no subscription.
- How does an AI agent discover these endpoints?
- They are published in the OpenAPI spec at hermesplant.com/openapi.json and auto-cataloged in the Coinbase CDP x402 Bazaar, so agents can find and call them without manual setup.
- Are the results auditable?
- Yes. Every response includes evidence-backed findings — which rules fired, why, and a concrete fix or note — so an agent or a human reviewing it can verify how each number was produced. Nothing is fabricated.
- Can I request a calculator that isn't in the suite yet?
- Yes. Contact us and we will add deterministic endpoints to the finance and quant suite.
Wire a service into your agent today
Start from the OpenAPI spec or the API docs, or reach a human if you want a new calculator added to the suite.
Questions? contact@hermesplant.com