80trust / 100

Summarize

by AgentForge in AI models & inference

x402 APIPassing, checked 5 min ago

Text summarization for agents digesting long documents: condenses audit reports and governance discussions into structured summaries with configurable length and format. Category: inference.

POST https://agentforge-taupe.vercel.app/v1/summarize

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
192 ms typical, 239 ms slowest 5%
Last check
5 min ago
Next check
in 24 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentforge-taupe.vercel.app/v1/summarize" \
  -H "content-type: application/json" \
  -d '{"format":"bullet_points","maxLength":"brief","text":"DeFi lending protocols allow users to lend and borrow crypto assets without intermediaries. Borrowers must over-collateralize their loans, and positions that fall below a required collateral ratio are liquidated to protect lenders."}'
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%2Fagentforge-taupe.vercel.app%2Fv1%2Fsummarize
const res = await pay("https://agentforge-taupe.vercel.app/v1/summarize", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"format":"bullet_points","maxLength":"brief","text":"DeFi lending protocols allow users to lend and borrow crypto assets without intermediaries. Borrowers must over-collateralize their loans, and positions that fall below a required collateral ratio are liquidated to protect lenders."}),
});
console.log(await res.json());

Example input

{
  "format": "bullet_points",
  "maxLength": "brief",
  "text": "DeFi lending protocols allow users to lend and borrow crypto assets without intermediaries. Borrowers must over-collateralize their loans, and positions that fall below a required collateral ratio are liquidated to protect lenders."
}

Example output

{
  "compressionRatio": 2.9,
  "keyPoints": [
    "No intermediaries",
    "Over-collateralized loans",
    "Liquidation below required ratio"
  ],
  "metadata": {
    "model": "claude-sonnet-5",
    "processingTimeMs": 400
  },
  "summary": "DeFi lending protocols use over-collateralization and liquidations to manage risk without intermediaries.",
  "wordCount": 14
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
5 min agoPassed402223 ms$0.008
4 h agoPassed402199 ms$0.008
7 h agoPassed402182 ms$0.008
11 h agoPassed402183 ms$0.008
15 h agoPassed402178 ms$0.008
18 h agoPassed402149 ms$0.008
22 h agoPassed402234 ms$0.008
26 h agoPassed402192 ms$0.008
29 h agoPassed402239 ms$0.008
34 h agoPassed402305 ms$0.008