Reexpress

Reexpress

Enable Similarity-Distance-Magnitude statistical verification for your search, software, and data science workflows

4
Stars
1
Forks
4
Releases

Overview

Reexpress MCP Server is a drop-in solution to add state-of-the-art statistical verification to your complex LLM pipelines, as well as everyday use of LLMs for search and QA in software development and data science settings. It's the first reliable, statistically robust AI second opinion for your AI workflows. Simply install the MCP server and append the Reexpress prompt to the end of your chat text. The tool-calling LLM (e.g., Claude Opus 4.1) will then check its response with the provided pre-trained Reexpress SDM estimator, which ensembles gpt-5-2025-08-07, gemini-2.5-pro, and granite-3.3-8b-instruct (run locally), along with the LLM output, and computes a robust estimate of predictive uncertainty against a training/calibration database from OpenVerification1. You can adapt the model to your tasks by calling ReexpressAddTrue or ReexpressAddFalse after a verification, and future calls will incorporate those updates when calculating the verification probability. The package includes training scripts for retraining or using alternative underlying LLMs. Data is processed locally; only standard LLM API calls to Azure/OpenAI and Google are made, with optional web-search via your MCP client. File access is controlled via ReexpressDirectorySet() and ReexpressFileSet(). Version 2.0.0 updates the SDM estimator and code for efficiency, with canonical SDM as the reference.

Details

Owner
ReexpressAI
Language
Python
License
Apache License 2.0
Updated
2025-12-07

Features

SDM Estimator Integration

Canonical SDM estimator that ensembles gpt-5-2025-08-07, gemini-2.5-pro, and granite-3.3-8b-instruct (run locally) to produce a robust verification.

Local Processing and Privacy

All SDM processing happens on your machine; only standard LLM API calls to Azure/OpenAI and Google are used.

Adaptive Verification with ReexpressAddTrue/AddFalse

After a verification, use ReexpressAddTrue or ReexpressAddFalse to update the model’s verification probability for future calls.

Training Scripts Included

Includes training scripts to retrain the model or experiment with alternative underlying LLMs.

File Access Control

Conservative file-access system using ReexpressDirectorySet() and ReexpressFileSet().

Cross-Platform Support & Granite Model

Runs on Linux and macOS and relies on ibm-granite/granite-3.3-8b-instruct via HuggingFace transformers.

Version 2.0.0 Enhancements

Updated SDM formulation, simplified calibration, and refactored code for efficiency and scalability; canonical SDM estimator.

Easy Installation & Drop-in Use

Install MCP server and append the Reexpress prompt to chats for immediate verification integration.

Audience

DevelopersInstall and integrate SDM verification into LLM-driven software development workflows.
Data scientistsLeverage SDM verification to validate model outputs in data science experiments.
LLM developersIntegrate Reexpress SDM verification into tool-calling LLM pipelines and agents.

Tags

MCPSDMSimilarity-Distance-Magnitudestatistical verificationLLMtool-callingprivacylocal processingOpenVerification1training scriptsLinuxmacOSgranite-3.3-8b-instruct