awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
NandhaKishorM avatar

NandhaKishorM/laya

0
View on GitHub↗
huggingface.co/convaiinnovations/laya↗

Laya

Laya, also referred to in its docs as Decision Router, is a text decision engine that answers typed choice, score, and yes/no questions about text in a single forward pass rather than generating tokens. Each answer comes back with probabilities and a confidence value. It reads text in more than one hundred languages without translating first, and it routes each request to a matching model checkpoint based on detected script, language, and workflow. Checkpoints load lazily and the least recently used one is evicted.

Several capabilities set it apart. Answers can be shaped by a JSON schema or typed data model, so enums, booleans, and bounded integers come back as typed values with per-field confidence. Low-confidence answers can be flagged for review through opt-in abstention thresholds. Large option sets are handled with shortlist narrowing and tournament selection, and long text is scanned in overlapping windows. Lifecycle hooks let callers observe, redact, rewrite, or cache around each decision. Integrations cover LangChain graph edges, guardrails and triage, plus tools exposed over MCP for editors and assistants.

Beyond the core engine, the project includes a self-hosted HTTP server with single and batch prediction endpoints, bearer-key authentication, a browser playground, and health reporting. It supports NVIDIA GPU deployment and offline container builds with baked-in checkpoints. Lightweight Python and JavaScript clients and a command-line interface call it remotely or locally. Other areas include selectable inference backends, ONNX export, and ready-made question sets for moderation and email or ticket triage. Training tools cover fine-tuning and head fitting on labelled data. Evaluation tools cover calibration metrics, benchmarking, and baseline and per-slice quality gates that fail on regressions. Images, audio, and video can pass through the same decision interface.

Features

  • Non-Autoregressive Decision Engines - Answers typed choice, score, and yes/no questions about text in one forward pass, returning probabilities and confidence instead of generated tokens.
  • Typed-Question Text Classification - Answers typed choice, score and yes/no questions about text in a single forward pass, returning probabilities and a confidence value per answer.
  • Decision Confidence Reporting - Returns per-field answers with probability distributions, confidence scores, raw answers, token usage and routing details so callers can judge reliability and flag uncertain cases.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
35,180 stars·3,148 forks·Python·Apache-2.0·15 views
Non-Autoregressive Decoders - Answers typed choice, score, and yes/no questions in one forward pass instead of generating tokens, returning probabilities and confidence.
  • Agent Routing Components - Routes LangChain graph edges, screens prompts, and triages tickets quickly, with tools exposed over MCP, instead of waiting on a generative model.
  • Model Checkpoint Routers - Detects script, language, and workflow per request, picks a matching checkpoint through ordered rules, and attaches the routing reason to each result.
  • Checkpoint Routers - Detects script, language, and workflow per request, picks the matching checkpoint, loads it lazily, and evicts the least recently used.
  • Checkpoint Routing Rules - Chooses a checkpoint per request using ordered rules over model, task, language, and detection, and explains the choice in routing metadata.
  • Multilingual Text Decisions - Reads and reasons over text in more than one hundred languages in one decision pipeline without translating first.
  • Option and Label Selection - Selects the best answer from a closed set of described options in one forward pass, returning the winner and the full probability distribution.
  • Text Classification - Sorts messages, tickets, and emails into labels, urgency levels, or yes/no verdicts in a single quick pass without token generation.
  • Typed Structured Decisions - Turns a schema of enums, booleans, and bounded numbers into schema-shaped answers with per-field confidence so code never parses generated text.
  • Self-Hosted Inference Servers - Runs decision inference on private GPU or CPU machines behind an authenticated HTTP server with routing, batching, preloading, and health monitoring.
  • Agentic Workflow Graphs - Chooses the next step in an agent graph or routes prompts to small or large models using fast classification instead of generated reasoning.
  • Edge Routers - Picks the next node in an agent workflow by classifying state against named criteria in one pass, with low-confidence cases sent to a fallback branch.
  • Email Triage - Applies ready-made question sets to flag phishing, spam, urgency, intent, refund requests and churn risk in emails and support tickets in one pass.
  • Batch Prediction Processing - Scores many independent inputs against one shared question set in a single request, returning ordered per-item results with combined token usage.
  • Calibrated Decision Servers - Serves single and batch prediction endpoints over HTTP with calibrated confidence, abstention on uncertain answers, and bearer-key authentication.
  • Decision Calibration - Reports calibration error, Brier score, risk-coverage area, and selective accuracy at fixed coverage points to show whether confidence separates right from wrong.
  • Document Language Detection - Detects the script and language of text, dict, and list values in under a millisecond to choose a checkpoint, with a configurable default fallback.
  • Domain Decision Fine-Tuning - Fine-tunes a checkpoint on domain labelled decisions with proper-scoring-rule rewards and calibration temperatures, far exceeding zero-shot accuracy.
  • GPU-Accelerated Inference - Speeds up predictions with fused GPU kernels, half-precision weights and captured execution graphs, falling back to the standard path on unsupported devices.
  • Head Fitting on Labelled Data - Trains a small head per question over frozen features from a labelled CSV in seconds, then refits temperature and thresholds.
  • LangChain Guardrail Integrations - Ships ready-made LangChain chain and graph components for routing, guardrails, triage, and evaluation that run batches and accept hooks and routing hints.
  • Context Window Management - Splits text longer than the context limit into overlapping windows, scores them together, and aggregates answers per question while reporting the producing window.
  • Low-Confidence Abstention - Flags answers below an opt-in confidence threshold, as a single value or per-bucket values, and reports abstention details while metrics stay on raw predictions.
  • Model Loading - Loads checkpoints lazily or on demand, keeps a limited number resident, evicts the least recently used, and supports preloading and explicit unloading.
  • Multi-Question Single Pass - Combines choice, score and yes/no questions about the same text into one forward pass instead of running separate calls for each.
  • Probability Calibrations - Produces a calibrated probability that a statement about a text is true so callers can set their own threshold.
  • Question Set Presets - Provides ready-made question sets for triage, email sorting, guardrails, moderation and routing, applied to text with customizable email categories.
  • Schema-to-Question Converters - Converts JSON schemas or typed models into fixed-option choice, score, and yes/no questions so answers come back in the schema's own typed shape.
  • Typed Custom Questions - Lets users declare choice, score and yes/no questions with instructions and criteria, inferring question IDs and label types for strongly typed answers.
  • Window Scanning and Shortlist Strategies - Splits oversized text into overlapping windows and narrows large option sets through shortlist or tournament rounds before making the final decision.
  • Tool and Resource Exposures - Exposes routing, prediction, batch, shortlist, tournament, and long-text scanning as MCP tools that editors and AI assistants can call.
  • Content Moderation Question Sets - Ships ready-made question sets that detect toxicity, harassment, threats, jailbreaks, prompt injection and sensitive-data leaks in text.
  • Multilingual and Multimodal Variants - Screens text in many languages for toxicity, prompt injection, jailbreaks, and leaked sensitive data before it reaches costly models or people.
  • Prompt Screening - Screens incoming prompts for injections, jailbreaks, policy violations and sensitive data, then raises an error, returns a canned rejection or annotates the state.
  • Decision Lifecycle Hooks - Runs user callbacks before and after each decision and on routing, model load, eviction, and errors without changing the engine.
  • Middleware Lifecycle Hooks - Runs user callbacks before, after, and on error around each decision, plus on routing and model load or eviction, with a shared mutable context.
  • Star history

    Star history chart for nandhakishorm/layaStar history chart for nandhakishorm/laya

    How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

    Frequently asked questions

    What does nandhakishorm/laya do?

    Laya, also referred to in its docs as Decision Router, is a text decision engine that answers typed choice, score, and yes/no questions about text in a single forward pass rather than generating tokens. Each answer comes back with probabilities and a confidence value. It reads text in more than one hundred languages without translating first, and it routes each request to a matching model checkpoint based on detected script, language, and workflow. Checkpoints load lazily…

    What are the main features of nandhakishorm/laya?

    The main features of nandhakishorm/laya are: Non-Autoregressive Decision Engines, Typed-Question Text Classification, Decision Confidence Reporting, Non-Autoregressive Decoders, Agent Routing Components, Model Checkpoint Routers, Checkpoint Routers, Checkpoint Routing Rules.

    Which projects share features with nandhakishorm/laya?

    Projects with overlapping indexed features include: jaredpalmer/kev — Kev is a self-hosted decision model toolkit. It reads a document and answers typed questions about it (yes/no,… maziyarpanahi/openmed — OpenMed is a local-first healthcare AI toolkit for clinical text. It finds diseases, drugs, anatomy, genes and… huggingface/text-embeddings-inference — Text Embeddings Inference is a high-performance inference server designed to host text embedding and sequence… ravenscroftj/turbopilot — Turbopilot is a local large language model inference server designed to provide private code completions. It functions… nvidia/isaac-gr00t. pytorch/executorch — ExecuTorch is a lightweight C++ runtime for deploying PyTorch models on mobile, embedded, and edge hardware. It…

    Projects sharing features with Laya

    These projects share indexed features with Laya. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
    • jaredpalmer/kevjaredpalmer avatar

      jaredpalmer/kev

      9,878View on GitHub↗

      Kev is a self-hosted decision model toolkit. It reads a document and answers typed questions about it (yes/no, multiple-choice, or ordinal rating) in a single forward pass, returning calibrated probabilities and a confidence value instead of free-form text. The underlying model is a compact open language model customized with low-rank adapters and a pointer head, so it picks among supplied options rather than generating output. What sets it apart is how the answers are served and trusted. Many questions can be scored over one shared document, with each question isolated from the others and ba

      Pythondecision-modeljevqwen3
      View on GitHub↗9,878
    • maziyarpanahi/openmedmaziyarpanahi avatar

      maziyarpanahi/openmed

      5,785View on GitHub↗

      OpenMed is a local-first healthcare AI toolkit for clinical text. It finds diseases, drugs, anatomy, genes and personal identifiers in medical notes, then masks, replaces, hashes or date-shifts the identifiers under HIPAA, GDPR and research-style policy profiles. It also turns extracted entities into terminology-coded FHIR resources and OMOP records. A curated registry of specialized medical entity-recognition models, selectable by name, sits underneath all of this. Its de-identification work covers dozens of languages and scripts. It uses locale-aware fake replacements, checksum-valid nation

      Pythonandroidclinical-nlphealthcare
      View on GitHub↗5,785
    • huggingface/text-embeddings-inferencehuggingface avatar

      huggingface/text-embeddings-inference

      4,871View on GitHub↗

      Text Embeddings Inference is a high-performance inference server designed to host text embedding and sequence classification models as scalable API endpoints. It provides a vector embedding API to convert text into dense representations and a cross-encoder reranking server for scoring the relevance of document sequences against a query. The project features a GPU-accelerated inference engine that utilizes dynamic batching and specialized kernels to maximize throughput. It offers a high-performance binary interface via gRPC as an alternative to standard HTTP to reduce network latency and seria

      Rust
      View on GitHub↗4,871
    • ravenscroftj/turbopilotravenscroftj avatar

      ravenscroftj/turbopilot

      3,790View on GitHub↗

      Turbopilot is a local large language model inference server designed to provide private code completions. It functions as a self-hosted engine that executes models on local hardware, ensuring development workflows remain offline and source code does not leave the machine. The system includes a quantization tool and model manager used to compress weights and merge sharded data into a unified binary format. This optimization reduces memory footprints and accelerates loading for execution on consumer-grade hardware. Performance is managed through a GPU accelerated inference engine that offloads

      C++code-completioncpplanguage-model
      View on GitHub↗3,790
    Compare all 30 related projects→