Transform large enterprise document repositories into instant, secure semantic intelligence. Zero cloud leaks, local LLM synthesis, streaming file descriptors, and PyO3 Rust vector acceleration.
# 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
Experience the hybrid retrieval & PyO3 Rust re-ranking pipeline directly in your browser.
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.
A unified offline-first architecture designed for mission-critical enterprise environments.
All embeddings, vector storage (Qdrant), and LLM reasoning (Ollama) run entirely within your infrastructure with fail-closed authentication.
Native Rust extension (jas_vector_core) with zero-copy NumPy memory views accelerating candidate re-ranking up to 40x.
Ingests massive document repositories (>60 GB) using descriptor streaming with O(1) memory overhead and automatic change detection.
Multi-dimensional scoring combining dense vector similarity, document usage frequency, and recency decay for optimal context delivery.
Official bindings for TypeScript (@ses-ai/client), Go (ses-go), and instant ses CLI tools.
Modern management console with real-time health telemetry, interactive RAG playground, document manager, and PDF audit reports.
Everything simplified into intuitive aliases for terminal and code.
# 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
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)
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) │
└───────────────────┘ └───────────────────┘ └───────────────────┘
Get up and running with SES Core in under a minute.
Install the lightweight core library with built-in CLI tool in your environment.
$ pip install ses-core
Mount any directory for instant descriptor streaming and automatic background change detection.
$ ses mount /data/docs --namespace legal
Query dense vectors with PyO3 Rust cosine re-ranking and optional local LLM synthesis.
$ ses search "liability clause" --namespace legal
Integrate search and offline RAG into your stack in your language of choice.
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,
});
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,
})
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
)
Spin up the complete decoupled microservices cluster with one command.
# 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 |