extension API · NandhaKishorM/laya

Prediction hooks

Observes or modifies routing and inference for logging, redaction, caching, metrics, gating, and overrides.

Type
extension API
Repository
NandhaKishorM/laya
Readiness
Usable for evaluation and carefully validated deployments, but shipped calibration, multilingual task quality, option-order sensitivity, and workload-specific accuracy require local testing before automated actions.
Keywords
6

Location

Repository path

docs/hooks/index.md

Invocation

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

Open full repository research