# Send Astrai Inference Router to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/astrai-inference-router",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astrai-inference-router",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "config.example.toml",
      "plugin.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "astrai-inference-router",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T23:24:40.001Z",
      "expiresAt": "2026-05-06T23:24:40.001Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astrai-inference-router",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=astrai-inference-router",
        "contentDisposition": "attachment; filename=\"astrai-inference-router-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "astrai-inference-router"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Astrai Inference Router

Route every LLM call through Astrai's intelligent router.
Save 40%+ on API costs. Privacy controls built in.

### What it does

Smart routing: Classifies each task (code, research, chat, creative) and picks the optimal model
Cost savings: Bayesian learning finds the cheapest provider that meets your quality threshold
Auto-failover: Circuit breaker switches providers when one goes down
PII protection: Personally identifiable information stripped before reaching any provider
EU routing: GDPR-compliant European-only routing with one setting
Budget caps: Set daily spend limits to prevent runaway costs
Real-time tracking: See exactly how much you're saving per request

### Setup

Get a free API key at as-trai.com
Set ASTRAI_API_KEY in your environment or skill config
Choose your privacy mode (default: enhanced)
Done — all LLM calls now route through Astrai

### Privacy Modes

standard: Full routing intelligence, normal logging
enhanced: PII stripped, metadata-only logging, region enforced
max: Zero data retention, EU-only, all PII stripped, no prompt logging

### Environment Variables

VariableRequiredDescriptionDefaultASTRAI_API_KEYYesYour API key from as-trai.com—PRIVACY_MODENostandard, enhanced, maxenhancedREGIONNoany, eu, usanyDAILY_BUDGETNoMax daily spend in USD (0 = unlimited)10

### External Endpoints

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

### Security & Privacy

All requests authenticated via API key in Authorization header
PII stripping runs locally before any data leaves your machine (enhanced/max modes)
EU routing mode ensures prompts never leave European infrastructure
Zero data retention available in max privacy mode
No credentials are stored by the skill — only your API key in environment variables
Source code is fully open: github.com/beee003/astrai-openclaw

### Model Invocation

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.

### Pricing

Free: 1,000 requests/day, smart routing, failover
Pro ($49/mo): Unlimited requests, EU routing, PII stripping, analytics
Business ($199/mo): Multi-agent dashboards, compliance exports, SLA
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: beee003
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T23:24:40.001Z
- Expires at: 2026-05-06T23:24:40.001Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/astrai-inference-router)
- [Send to Agent page](https://openagent3.xyz/skills/astrai-inference-router/agent)
- [JSON manifest](https://openagent3.xyz/skills/astrai-inference-router/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/astrai-inference-router/agent.md)
- [Download page](https://openagent3.xyz/downloads/astrai-inference-router)