# Laya Decisions — Local Triage, Routing & Guard Screening

> Give your coding agent five local classification workflows, typed JSON answers, probabilities, and custom decision schemas—without running an MCP server or using a hosted inference API key.

Laya Decisions — Local Triage, Routing & Guard Screening is a free AI agent skill on Agensi by METAFISICA, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [METAFISICA](https://www.agensi.io/creators/metafisica)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-21
- Security: scan passed (2026-11-21); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/laya-decisions-local-triage-routing-guard-screening
- Tags: llm-ops, automation, ai-agents, python, text-classification, nlp

## About this skill

Turn text into structured decisions locally. Laya Decisions packages request routing, support-ticket triage, content moderation, prompt-injection screening, and custom choice/score/yes-no questions into one reusable skill.

Includes 19 built-in signals, a self-contained JSONL runner, examples for all five workflows, input validation, and first-call versus warm timing. One process handles many records while keeping the model loaded. JSON output preserves probability distributions and uncertainty metadata.

Tested with Laya 0.5.1 on macOS arm64. All five workflows ran successfully. A small synthetic ticket-intent smoke evaluation scored 10/12 (83.3%); this is an integration check, not a production accuracy claim. Warm median inference ranged from 133.8 to 321.8 ms across the five short example inputs on the test CPU; startup and downloads are excluded.

Requires Python 3.10+, a PyTorch-compatible machine, dependency installation, and an initial model download. Cached inference can run offline. No weights are bundled and no hosted inference API key is required.

Guard screening is fallible. Model probabilities are review signals, not guarantees. The skill does not issue refunds, send messages, ban users, or change model providers by itself.

Based on YerikZ/laya-mcp; its MIT notices are preserved. The separately installed Laya model and SDK retain their own licensing.

## Requires

- Python 3.10+

## Known limitations

Guard screening and classification are fallible; probabilities need target-domain validation. The 12-ticket synthetic smoke check is not production validation. Records are processed sequentially without GPU batching. Requires Python 3.10+, laya==0.5.1, PyTorch-compatible hardware and an initial model download. Text-only agents cannot execute it.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Laya Decisions — Local Triage, Routing & Guard Screening skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Laya Decisions reduce costs compared to using standard LLM APIs for classification?

Inference runs locally and requires no hosted inference API key. Hardware, electricity, setup and review still have costs. Latency varies by input and hardware; measure it locally with --repeat.

### Which AI agent frameworks or environments are compatible with this skill?

The skill requires Python 3.10+ and the Laya SDK (v0.5.1); it is compatible with any AI agent workflow that can execute Python scripts and handle JSONL data streams.

### Does my data leave my local environment when using this skill for moderation?

The runner performs local inference. Initial installation and model downloads contact package registries and Hugging Face. Your agent host has its own data handling; review that separately.

### What assets are included in the 'laya decisions' skill package?

The free package includes SKILL.md, a standalone JSONL runner, examples, setup instructions, workflow and custom-question references, requirements, and licensing notices. Model weights are downloaded separately.

### Can I use this skill for real-time high-volume batch processing on a GPU?

While the skill currently processes records sequentially without GPU batching, you can measure performance using the built-in `--repeat` flag to track p50/p95 timing for your specific hardware.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
