{
  "schemaVersion": "1.0",
  "item": {
    "slug": "astrai-inference-router",
    "name": "Astrai Inference Router",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/beee003/astrai-inference-router",
    "canonicalUrl": "https://clawhub.ai/beee003/astrai-inference-router",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/astrai-inference-router",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astrai-inference-router",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "config.example.toml",
      "plugin.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/astrai-inference-router"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/astrai-inference-router",
    "agentPageUrl": "https://openagent3.xyz/skills/astrai-inference-router/agent",
    "manifestUrl": "https://openagent3.xyz/skills/astrai-inference-router/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/astrai-inference-router/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Astrai Inference Router",
        "body": "Route every LLM call through Astrai's intelligent router.\nSave 40%+ on API costs. Privacy controls built in."
      },
      {
        "title": "What it does",
        "body": "Smart routing: Classifies each task (code, research, chat, creative) and picks the optimal model\nCost savings: Bayesian learning finds the cheapest provider that meets your quality threshold\nAuto-failover: Circuit breaker switches providers when one goes down\nPII protection: Personally identifiable information stripped before reaching any provider\nEU routing: GDPR-compliant European-only routing with one setting\nBudget caps: Set daily spend limits to prevent runaway costs\nReal-time tracking: See exactly how much you're saving per request"
      },
      {
        "title": "Setup",
        "body": "Get a free API key at as-trai.com\nSet ASTRAI_API_KEY in your environment or skill config\nChoose your privacy mode (default: enhanced)\nDone — all LLM calls now route through Astrai"
      },
      {
        "title": "Privacy Modes",
        "body": "standard: Full routing intelligence, normal logging\nenhanced: PII stripped, metadata-only logging, region enforced\nmax: Zero data retention, EU-only, all PII stripped, no prompt logging"
      },
      {
        "title": "Environment Variables",
        "body": "VariableRequiredDescriptionDefaultASTRAI_API_KEYYesYour API key from as-trai.com—PRIVACY_MODENostandard, enhanced, maxenhancedREGIONNoany, eu, usanyDAILY_BUDGETNoMax daily spend in USD (0 = unlimited)10"
      },
      {
        "title": "External Endpoints",
        "body": "EndpointPurposeData Senthttps://as-trai.com/v1/chat/completionsLLM inference routingPrompts (with PII stripped if enhanced/max mode)https://as-trai.com/v1/signupFree API key registrationEmail address"
      },
      {
        "title": "Security & Privacy",
        "body": "All requests authenticated via API key in Authorization header\nPII stripping runs locally before any data leaves your machine (enhanced/max modes)\nEU routing mode ensures prompts never leave European infrastructure\nZero data retention available in max privacy mode\nNo credentials are stored by the skill — only your API key in environment variables\nSource code is fully open: github.com/beee003/astrai-openclaw"
      },
      {
        "title": "Model Invocation",
        "body": "This skill intercepts outgoing LLM API calls and reroutes them through the Astrai gateway. The gateway selects the optimal provider and model based on task type, cost, and quality. Your prompts are processed by third-party LLM providers (Anthropic, OpenAI, Google, Mistral, etc.) according to your region and privacy settings."
      },
      {
        "title": "Pricing",
        "body": "Free: 1,000 requests/day, smart routing, failover\nPro ($49/mo): Unlimited requests, EU routing, PII stripping, analytics\nBusiness ($199/mo): Multi-agent dashboards, compliance exports, SLA"
      }
    ],
    "body": "Astrai Inference Router\n\nRoute every LLM call through Astrai's intelligent router. Save 40%+ on API costs. Privacy controls built in.\n\nWhat it does\nSmart routing: Classifies each task (code, research, chat, creative) and picks the optimal model\nCost savings: Bayesian learning finds the cheapest provider that meets your quality threshold\nAuto-failover: Circuit breaker switches providers when one goes down\nPII protection: Personally identifiable information stripped before reaching any provider\nEU routing: GDPR-compliant European-only routing with one setting\nBudget caps: Set daily spend limits to prevent runaway costs\nReal-time tracking: See exactly how much you're saving per request\nSetup\nGet a free API key at as-trai.com\nSet ASTRAI_API_KEY in your environment or skill config\nChoose your privacy mode (default: enhanced)\nDone — all LLM calls now route through Astrai\nPrivacy Modes\nstandard: Full routing intelligence, normal logging\nenhanced: PII stripped, metadata-only logging, region enforced\nmax: Zero data retention, EU-only, all PII stripped, no prompt logging\nEnvironment Variables\nVariable\tRequired\tDescription\tDefault\nASTRAI_API_KEY\tYes\tYour API key from as-trai.com\t—\nPRIVACY_MODE\tNo\tstandard, enhanced, max\tenhanced\nREGION\tNo\tany, eu, us\tany\nDAILY_BUDGET\tNo\tMax daily spend in USD (0 = unlimited)\t10\nExternal Endpoints\nEndpoint\tPurpose\tData Sent\nhttps://as-trai.com/v1/chat/completions\tLLM inference routing\tPrompts (with PII stripped if enhanced/max mode)\nhttps://as-trai.com/v1/signup\tFree API key registration\tEmail address\nSecurity & Privacy\nAll requests authenticated via API key in Authorization header\nPII stripping runs locally before any data leaves your machine (enhanced/max modes)\nEU routing mode ensures prompts never leave European infrastructure\nZero data retention available in max privacy mode\nNo credentials are stored by the skill — only your API key in environment variables\nSource code is fully open: github.com/beee003/astrai-openclaw\nModel Invocation\n\nThis skill intercepts outgoing LLM API calls and reroutes them through the Astrai gateway. The gateway selects the optimal provider and model based on task type, cost, and quality. Your prompts are processed by third-party LLM providers (Anthropic, OpenAI, Google, Mistral, etc.) according to your region and privacy settings.\n\nPricing\nFree: 1,000 requests/day, smart routing, failover\nPro ($49/mo): Unlimited requests, EU routing, PII stripping, analytics\nBusiness ($199/mo): Multi-agent dashboards, compliance exports, SLA"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/beee003/astrai-inference-router",
    "publisherUrl": "https://clawhub.ai/beee003/astrai-inference-router",
    "owner": "beee003",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/astrai-inference-router",
    "downloadUrl": "https://openagent3.xyz/downloads/astrai-inference-router",
    "agentUrl": "https://openagent3.xyz/skills/astrai-inference-router/agent",
    "manifestUrl": "https://openagent3.xyz/skills/astrai-inference-router/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/astrai-inference-router/agent.md"
  }
}