360 Secure SkillHub
360 安全技能中心

AI Reliability Layer

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

分类:效率
renoblabs
renoblabs
热度 25.23
最近更新 2026-05-11 17:42:05

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add renoblabs/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.