SuperAPIAI Directory

mcp-laya

github.com · AI developer platforms

Fast, local, non-autoregressive System-1 decision engine as MCP tools — typed decisions (classify / score / yes-no) over text, email, tickets or JSON in 100+ languages, with calibrated confidence and no t

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: mcp-laya provides agents with a "thinking primitive" that strips classification, scoring, and yes/no judgments out of slow, expensive LLM round trips, letting a local model deliver typed decisions in milliseconds. Suitable for judging things like "which team should handle this ticket / is it urgent / is it a refund request."

Main capabilities: provides three checkpoints and routes automatically per request—english (ModernBERT-large), multilingual (mmBERT, 100+ languages), typed-decisions. Input can be any state, such as text, email, ticket, or JSON object; a single local forward pass takes about 33 milliseconds and generates no text, so there is no parsing needed, no hallucination, and every answer comes with a calibrated confidence score.

Usage: requires Python 3.10+, depends on torch; model checkpoints are not downloaded by default, so you need to prefetch once with LAYA_ALLOW_DOWNLOAD=true while online, after which it can run fully offline. For client configuration, see docs/CLIENTS.md (Claude Code / Cursor / Codex / VS Code / Windsurf); for environment variables, see .env.example. A typical use is to have the agent "use laya to determine the department for this ticket and whether it is a churn risk." Includes the laya-decisions skill, which guides agents on when to hand decisions to laya and how to phrase typed questions.

Security and limitations: laya is read-only inference and does not modify anything. It is offline by default and sends no data at runtime; the only exception is the initial checkpoint download, which is disabled when LAYA_ALLOW_DOWNLOAD is not enabled. Use LAYA_MODELS to limit which checkpoints can be loaded, and LAYA_MAX_INPUT_CHARS / LAYA_MAX_QUESTIONS to limit request size; LAY A_MIN_CONFIDENCE flags low-confidence answers instead of trusting them by default; LAY A_REDACT_STATE hides input text from JSON audit logs by default. This server wraps Convai Innovations' laya library (Apache-2.0), which performs the model work. Other details are not yet provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools