DEV Community

hui feng
hui feng

Posted on

Run Ultra-Fast Probabilistic Decision Models on Your Laptop CPU with jevos

Run Ultra-Fast Probabilistic Decision Models on Your Laptop CPU with jevos

TL;DR

jevos is a high-performance C++ engine that serves as an open-source alternative to Jev and Microsoft-Decision-1. It eliminates the need for power-hungry GPUs by executing binary decisions, multi-choice routing, and probability scoring entirely on standard laptop CPUs with sub-millisecond latency.


Key Features & Benchmarks

  • Zero-GPU Footprint: Built purely in modern C++, delivering optimized CPU execution without requiring PyTorch, CUDA, or heavy runtimes.
  • Probabilistic Outputs: Generates calibrated confidence scores, yes/no outcomes, and multi-class decisions natively with explicit probability distributions.
  • Ultra-Low Latency Inference: Designed for local edge systems, robotics, and fast routing pipelines where API round-trips to frontier models are too slow or costly.
  • Direct Microsoft-Decision-1 Alternative: Provides open drop-in architectural primitives for decision tasks that previously required closed or heavyweight enterprise endpoints.
  • Minimal Dependencies: Lightweight binary compilation that fits seamlessly into existing C/C++ backends, CLI utilities, or embedded runtimes.

Quick Start

Clone the repository and build the engine using standard C++ build tooling:

# Clone the repository
git clone https://github.com/feder-cr/jev.git
cd jev

# Build with CMake
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

# Run a sample decision benchmark
./jevos --input "sample_decision_data.json" --threshold 0.75
Enter fullscreen mode Exit fullscreen mode

You can also integrate it into your C++ project directly:

#include "jevos/decision_engine.hpp"
#include <iostream>

int main() {
    jevos::DecisionEngine engine;
    engine.load_model("decision_model.bin");

    auto result = engine.evaluate({"latency_sensitive", "local_only"});
    std::cout << "Decision: " << (result.choice ? "YES" : "NO") 
              << " (Confidence: " << result.probability * 100 << "%)" << std::endl;
    return 0;
}
Enter fullscreen mode Exit fullscreen mode

Why It Matters

Not every task requires a 70-billion-parameter LLM. Routing queries, evaluating policy gates, triaging system alerts, and determining deterministic fallbacks can be handled locally and instantly on commodity hardware.

jevos is ideal for:

  • Edge and IoT Engineers: Needing deterministic decisions with strict power and memory budgets.
  • Local AI Architects: Looking to build layered agent architectures where a CPU-based gatekeeper decides whether to invoke an expensive remote LLM.
  • Security-Conscious Teams: Enforcing data sovereignty by ensuring classification and routing logic never leave the local machine.

🛠️ Recommended AI Stack & Resources

  • Cloud GPU Hosting: Need to train or fine-tune models before deploying to CPU? Rent top-tier GPUs starting at $0.20/hr on RunPod.
  • AI Code Editor: Accelerate your C++ and AI development with Cursor, the AI-native editor engineered for speed.
  • Production Vector Database: Scale your embeddings, context pipelines, and structured search with Pinecone or Supabase.
  • Global Dev Network: Secure, low-latency connectivity for high-speed Hugging Face downloads and remote cloud server management via WD-Gold Network.
  • Local AI Daily Newsletter: Subscribe to get daily breakdowns of cutting-edge open-source tools, model optimizations, and local AI infrastructure.
  • Sponsorship & Partnerships: Want to showcase your developer tool or AI engine to thousands of engineers? Contact: fengdahui195@gmail.com

Top comments (0)