Production-Ready • Operator Controlled • Enterprise-Hardened

Private, High-Performance
Offline-First RAG Platform

Transform large enterprise document repositories into instant, secure semantic intelligence. Zero cloud leaks, local LLM synthesis, streaming file descriptors, and PyO3 Rust vector acceleration.

< 50ms P99 Search Latency
40x Rust PyO3 Re-ranking
O(1) RAM Streaming Directory Scan
100% Air-Gapped & Fail-Closed
bash — Quick CLI & Python Aliases
# 1. Install CLI & Python RAG library $ pip install ses-core # 2. Mount & index folder in 1 simple command $ ses mount /data/docs --namespace legal # 3. Query documents via terminal $ ses search "liability limitation clause" --namespace legal

Interactive RAG Simulator

Experience the hybrid retrieval & PyO3 Rust re-ranking pipeline directly in your browser.

Preset Queries: Contract Liability Mount Mode Streaming Fail-Closed Security
STAGE 01 COMPLETED
Dense Embedding (384-d)
STAGE 02 COMPLETED
Qdrant Candidate Fetch
STAGE 03 COMPLETED
PyO3 Rust Hybrid Re-rank
STAGE 04 COMPLETED
Local LLM Context Synthesis
💡 Synthesized Answer (Offline Ollama Inference)
Latency: 23ms Candidates: 100 Re-ranked: Top 3

Based on verified enterprise contracts, the total aggregate liability under Section 14.2 is capped at 12 months of paid recurring subscription fees, excluding direct willful misconduct or breaches of confidentiality.

📄 vendor_master_agreement_2026.pdf (Section 14.2) Cosine Score: 0.942 | Recency Weight: 1.00
📄 enterprise_sla_terms.docx (Page 8) Cosine Score: 0.895 | Recency Weight: 0.98

Engineered for Scale, Security & Privacy

A unified offline-first architecture designed for mission-critical enterprise environments.

🔒

100% Offline-First Security

All embeddings, vector storage (Qdrant), and LLM reasoning (Ollama) run entirely within your infrastructure with fail-closed authentication.

⚡

PyO3 Rust Acceleration

Native Rust extension (jas_vector_core) with zero-copy NumPy memory views accelerating candidate re-ranking up to 40x.

🗂️

Mount Mode & Streaming Scan

Ingests massive document repositories (>60 GB) using descriptor streaming with O(1) memory overhead and automatic change detection.

🧠

Cognitive Hybrid Re-Ranking

Multi-dimensional scoring combining dense vector similarity, document usage frequency, and recency decay for optimal context delivery.

🌐

Multi-Language SDKs & CLI

Official bindings for TypeScript (@ses-ai/client), Go (ses-go), and instant ses CLI tools.

📊

Next.js 16 Admin Portal

Modern management console with real-time health telemetry, interactive RAG playground, document manager, and PDF audit reports.

Unified CLI & Simplified Python API

Everything simplified into intuitive aliases for terminal and code.

CLI Terminal (`ses` command)
# Mount & index directory with auto-scanning $ ses mount /data/docs --namespace legal # Search across indexed collections $ ses search "liability clause" --namespace legal # Run health diagnostic on Qdrant, Redis & LLM $ ses doctor
Python 1-Line Aliases (`import ses`)
import ses # Simplified top-level mount & search helpers await ses.mount("/data/docs", namespace="legal") results = await ses.search("liability clause", namespace="legal") print(results[0].content, results[0].score)

Architecture Overview

Modular, observable, and decoupled components communicating via high-throughput contracts.


   ┌─────────────────────────────────────────────────────────────────────────┐
   │                           Client Applications                           │
   │    Next.js Portal  │  `ses` CLI  │  TypeScript SDK  │  Go SDK  │ Python │
   └────────────────────────────────────┬────────────────────────────────────┘
                                        │ HTTP / REST (X-API-Key)
                                        ▼
   ┌─────────────────────────────────────────────────────────────────────────┐
   │                    SES Enterprise Gateway (FastAPI)                     │
   │  - Fail-Closed Auth         - Persistent Analytics (SQLite)             │
   │  - Sliding Window Limiting  - Audit PDF Exporting Engine                │
   │  - Provider Routing Engine  - Circuit Breakers & Auto-Retries           │
   └────────────────────────────────────┬────────────────────────────────────┘
                                        │
             ┌──────────────────────────┼──────────────────────────┐
             ▼                          ▼                          ▼
   ┌───────────────────┐      ┌───────────────────┐      ┌───────────────────┐
   │      Qdrant       │      │       Redis       │      │      Ollama       │
   │     Vector DB     │      │     TTL Cache     │      │     Local LLM     │
   │     (:6333)       │      │      (:6379)      │      │     (:11434)      │
   └───────────────────┘      └───────────────────┘      └───────────────────┘
            

Quickstart in 3 Simple Steps

Get up and running with SES Core in under a minute.

01

Install Library or CLI

Install the lightweight core library with built-in CLI tool in your environment.

Terminal
$ pip install ses-core
02

Index Documents or Mount Folders

Mount any directory for instant descriptor streaming and automatic background change detection.

Terminal / Python
$ ses mount /data/docs --namespace legal
03

Execute Semantic Searches

Query dense vectors with PyO3 Rust cosine re-ranking and optional local LLM synthesis.

Terminal / Python
$ ses search "liability clause" --namespace legal

Polyglot Integration in 3 Lines of Code

Integrate search and offline RAG into your stack in your language of choice.

TypeScript / Node.js
import { SemanticEngineClient } from "@ses-ai/client";

const client = new SemanticEngineClient({
  baseUrl: "http://localhost:8000",
  apiKey: process.env.SES_API_KEY!,
});

const { answer, results } = await client.search({
  namespace: "contracts",
  query: "What is the liability limitation clause?",
  generateAnswer: true,
});
Go
import (
    "context"
    ses "github.com/elbuilder77/Semantic-Engine/sdk/go"
)

client, _ := ses.NewClient(ses.ClientConfig{
    BaseURL: "http://localhost:8000",
    APIKey:  "your_api_key",
})

resp, _ := client.Search(context.Background(), ses.SearchRequest{
    Namespace:      "contracts",
    Query:          "termination conditions",
    GenerateAnswer: true,
})
Python (Simplified Aliases)
import ses

# 1-Line Mount Mode Indexing
await ses.mount("/data/docs", namespace="legal")

# 1-Line Semantic Search with Rust PyO3
results = await ses.search(
    query="termination conditions",
    namespace="legal",
    top_k=5
)

Turnkey 1-Click Production Docker

Spin up the complete decoupled microservices cluster with one command.

docker compose
# Deploy Gateway, Portal, Qdrant, Redis, and Ollama $ python scripts/deploy_production.py $ docker compose -f docker-compose.prod.yml --env-file .env.prod up -d --build
Service Port Health Endpoint Status
SES Gateway :8000 /healthz ● Healthy
Next.js Portal :3000 / ● Healthy
Qdrant Vector DB :6333 /healthz ● Healthy
Redis Cache :6379 PING ● Healthy
Ollama LLM :11434 /api/version ● Healthy
Copied to clipboard!