ISSL

ISSL

A deterministic pattern-matching engine for conversational systems — built to catch high-confidence responses before they ever reach an LLM.

in development rust

Rules first, AI second

ISSL defines what a system should say in response to what a user asks — no training data, no probability distributions, no hallucinations. Think of it as a composable, auditable guardrail layer that sits in front of an LLM.

When a user asks a question, ISSL checks its lexicon of pattern→response rules first. If it finds a high-confidence match, it responds instantly and deterministically. If not, it falls through — either to a wildcard catch-all, or to an optional LLM fallback. The model is an extension, not the default.


A decade, three rewrites

2017

VB.NET — The original

Built as the scripting language behind JAIME, an AI persona running on the Rashell command processor for Windows. Pattern matching was the only intelligence available.

2017–2022

C# — The Rashell era

Ported to C# as part of the Rashell ecosystem. Gained modular includes, scoped variables, parameter files, and the classic IgnoreList matching engine with its characteristic quirks.

2025–2026

Rust — Modern, embeddable, AI-aware

The third rewrite. Seven matcher modes (classic through TF-IDF retrieval), pattern weights, training data export, and an optional AI fallback bridge. Designed to be embedded — in agents, in sub-agents, in browsers via WASM.


Pattern → Response

At its core, ISSL is a declarative mapping from keywords to templates. Each pattern defines what to look for and what to say back:

{pattern}
    {q}who;created;you;made;built{/q}
    {r}I was created by [$user];[$user] built me{/r}
{/pattern}

The runtime scores every pattern against the user's input, picks the best match, expands [$user] from self-memory, and picks a response alternative. The entire decision is traceable — you can see exactly which pattern fired, what score it got, and why.


What it can do

Seven matcher modes

Classic (C# parity), normalized, fuzzy (typo-tolerant), semantic (synonym-aware), hybrid cascade, and TF-IDF retrieval.

Pattern weights

Bias matching with (weight:2.0) inside any pattern block. High-priority responses get higher scores.

Modular composition

Scripts include other scripts. Persona, guardrails, and FAQ modules compose into a single runtime.

AI fallback bridge

When no pattern matches, fall through to a controlled response — or to a real LLM, gated by policy.

Training data export

Export patterns as JSONL or OpenAI fine-tuning messages. Train a model that speaks in ISSL's voice.

TF-IDF retrieval

In-memory hashed vector matching — fully offline, deterministic, no GPU, no API key.


Determinism as a feature

Most AI systems treat determinism as a limitation to overcome. ISSL treats it as the whole point. When a response must be correct — brand voice, compliance, security boundaries, identity — you don't want probability. You want a rule.

ISSL doesn't replace the LLM. It protects it. The model handles the open-ended, creative, unscripted world. ISSL handles everything that shouldn't be left to chance.


Closed source, active R&D

ISSL is in active development as a closed-source research project at J.C.P Laboratory. It serves as the planned guardrail layer for Astra Agent and its sub-agent fleet. No public timeline for release — we're building it right, not fast.