Omni Nli — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Omni Nli (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
<div align="center"> <picture> <img alt="Omni-NLI Logo" src="logo.svg" width="200"> </picture> <br>
<h2>Omni-NLI</h2>
A multi-interface (REST and MCP) server for natural language inference
</div>
Omni-NLI is a self-hostable server that provides natural language inference (NLI) capabilities via RESTful and the Model Context Protocol (MCP) interfaces. It can be used both as a very scalable standalone stateless microservice (via the REST API) and also as an MCP server for AI agents to implement a verification layer for AI-based applications.
Architecture Diagram
Given two pieces of text called premise and hypothesis, NLI (AKA textual entailment) is the task of determining the directional relationship between them as it is perceived by a human reader. The relationship is given one of these three labels:
"entailment": the hypothesis is supported by the premise"contradiction": the hypothesis is contradicted by the premise"neutral": the hypothesis is neither supported nor contradicted by the premise[!IMPORTANT] NLI is not the same as logical entailment. Its goal is to determine if a reasonable human would consider the hypothesis to follow from the premise. This checks for consistency instead of the absolute truth of the hypothesis.
Typical applications of NLI include:
from a chatbot or AI assistant contradicts something that was said earlier in the conversation.
[!IMPORTANT] The quality of the results depends a lot on the model (the LLM) that is used. A good strategy is to first fine-tune the model using a dataset of premise-hypothesis-label triples that are relevant to your application domain.
See ROADMAP.md for the list of implemented and planned features.
[!IMPORTANT] Omni-NLI is in early development, so bugs and breaking changes are expected. Please use the issues page to report bugs or request features.
#### 1. Installation
pip install omni-nli[huggingface]#### 2. Start the Server
omni-nli#### 3. Evaluate NLI (with REST API)
curl -X POST \
-H "Content-Type: application/json" \
-d '{
"premise": "A football player kicks a ball into the goal.",
"hypothesis": "The football player is asleep on the field."
}' \
http://127.0.0.1:8000/api/v1/nli/evaluateExample response:
{
"label": "contradiction",
"confidence": 0.99,
"model": "microsoft/Phi-3.5-mini-instruct",
"backend": "huggingface"
}#### 4. Evaluate NLI (with MCP Interface)
lm_studio_mcp_usage_example_1.png
Check out the Omni-NLI Documentation for more information, including configuration options, API reference, and examples.
Contributions are always welcome! Please see CONTRIBUTING.md for details on how to get started.
Omni-NLI is licensed under the MIT License (see LICENSE).
<!-- Need to add this line for MCP registry publication --> <!-- mcp-name: io.github.CogitatorTech/omni-nli -->
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.