360 Secure SkillHub
360 安全技能中心

AI Reliability Layer

该 Skill 描述三个按次付费的远程微服务:修复格式错误的 LLM JSON、按规则校验输出、按 JSON Schema 生成结构化结果;通过 x402 以 USDC 在 Base 支付,无需 API 密钥。材料仅含说明文档,未提供本地实现或完整端点域名。

renoblabs
renoblabs
热度 35.90
最近更新 2026-05-11 17:42:05
分类:效率依赖:第三方 API / 内部调用大模型应用场景:数据处理 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ai-reliability-layer
Metadata
name
ai-reliability-layer
description
Fix broken LLM output, validate AI responses, generate guaranteed structured JSON. Three micro-services for making AI output reliable. Use when LLM output is malformed, needs validation, or must match a schema.

AI Reliability Layer

Three pay-per-call micro-services that fix the most common AI output problems.

Services

/fix-json — Fix Broken LLM JSON

Handles: trailing commas, single quotes, truncated output, markdown code fences, missing brackets.

POST /x402s/fix-json
Body: {"input": "{\"name\": \"test\",}", "schema": {...optional...}}
Response: {"output": {"name": "test"}, "method": "trailing_comma", "fixed": true}
Price: $0.001 USDC

/validate-output — Enforce Rules on AI Output

Check length, format, schema compliance, blocked patterns.

POST /x402s/validate-output
Body: {"output": "...", "rules": {"max_length": 500, "format": "json", "schema": {...}}}
Response: {"valid": true/false, "violations": [...]}
Price: $0.001 USDC

/generate-structured — Guaranteed Typed Response

Prompt + JSON schema in, valid typed JSON out. Uses LLM with auto-fix.

POST /x402s/generate-structured
Body: {"prompt": "List 3 fruits with colors", "schema": {"type": "array", "items": {"type": "object", "properties": {"name": {}, "color": {}}}}}
Response: {"output": [...], "model": "qwen3.5:9b", "valid": true}
Price: $0.01 USDC

Payment

All services use x402 protocol — USDC on Base. No API keys, no subscriptions.

Part of AEA Arena

Built by the Reno Labs agent fleet. More services at /x402s/catalog.