extension API · NandhaKishorM/laya
Prediction hooks
Observes or modifies routing and inference for logging, redaction, caching, metrics, gating, and overrides.
Location
Repository path
docs/hooks/index.mdInvocation
Pass hooks, on_predict_start, or on_predict_end to Agent or Router
Setup
Installation / activation
Lifecycle events during load, route, predict, error, or eviction
Keywords
hooksauditredactioncachemetricslifecycle
Repository context
NandhaKishorM/laya
Apache-2.0 multilingual decision-model toolkit that provides Python and TypeScript SDKs, local CLI and HTTP serving, ONNX runtimes, framework integrations, evaluation harnesses, and an optional MCP server for fast typed choice, ordinal-score, and yes/no decisions; no native Claude Code plugin, hook, skill, or Claude-specific installation path is evidenced.
machine learningnatural language processingclassificationdecision routingmultilingual inferenceguardrailscontent moderationsupport automationmodel routingevaluation