81trust / 100
Decide
by Decide: tool plan for a task in Productivity & SaaS
x402 APIPassing, checked 2 h ago
Describe a job and get a call-ready plan: which tools, across this catalog and outside x402 sellers with a recently verified 402, solve it end to end, in what order, with fallbacks, input params that validate against each tool's schema, and cost/latency estimates. Priced by depth: quick (one best tool), plan (steps + fallbacks), full (plan + params + compiled prompt). The fee comes back as a credit toward running the plan with POST /api/decide/execute.
POST https://agent402.tools/api/decide
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 192 ms typical, 223 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/decide" \
-H "content-type: application/json" \
-d '{"depth":"plan","task":"Research the latest EU AI Act obligations for general-purpose models, with citations"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fdecide
const res = await pay("https://agent402.tools/api/decide", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"depth":"plan","task":"Research the latest EU AI Act obligations for general-purpose models, with citations"}),
});
console.log(await res.json());Example input
{
"depth": "plan",
"task": "Research the latest EU AI Act obligations for general-purpose models, with citations"
}Example output
{
"cached": false,
"confidence": 0.92,
"decisionId": "dec_2b1c9e0f4a7d4c3e9b8a1f00",
"depth": "plan",
"estimatedCostUsd": 0.02,
"estimatedCostViaAgent402Usd": 0.02,
"estimatedLatencyMs": 1500,
"gaps": [],
"neutrality": "Every candidate is scored by one formula with the same weights: fit to the step, observed reliability, price, schema quality and a freshness pass mark. It has no term for who sells the tool, and every tool carries firstParty. Fit is judged from the same bounded description for every tool; reliability counts one observation per payer per day. Outside tools are eligible when a live 402 was seen within the configured window and their input schema is known.",
"partial": false,
"plan": [
{
"dependsOn": [],
"fallbacks": [],
"purpose": "search recent sources on the EU AI Act GPAI obligations",
"score": 0.801,
"step": 1,
"tool": {
"endpoint": "https://agent402.tools/api/search",
"exampleParams": {
"q": "EU AI Act general-purpose AI model obligations 2026"
},
"exampleParamsSource": "task",
"executeViaAgent402Usd": 0.02,
"firstParty": true,
"id": "a1b2",
"inputSchema": {
"properties": {
"q": {
"type": "string"
}
},
"required": [
"q"
],
"type": "object"
},
"method": "GET",
"name": "Web search",
"networks": [
"eip155:8453"
],
"priceUsd": 0.02,
"rail": "x402",
"rails": [
"x402",
"mpp"
],
"seller": "agent402",
"slug": "search"
},
"why": "fit 0.92, score 0.801"
}
],
"priceUsd": 0.02,
"ranking": {
"firstPartyWeight": 0,
"weights": {
"fit": 0.45,
"freshness": 0.1,
"price": 0.15,
"reliability": 0.2,
"schema": 0.1
}
},
"task": "Research the latest EU AI Act obligations for general-purpose models, with citations"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 223 ms | $0.02 |
| 5 h ago | Passed | 402 | 188 ms | $0.02 |
| 10 h ago | Passed | 402 | 196 ms | $0.02 |
| 13 h ago | Passed | 402 | 192 ms | $0.02 |
| 16 h ago | Passed | 402 | 185 ms | $0.02 |
| 21 h ago | Passed | 402 | 321 ms | $0.02 |