Skip to content
Nick edited this page Nov 18, 2025 · 21 revisions

PATAS Core Documentation

Pattern-Adaptive Transmodal Anti-Spam System

PATAS Core technical documentation. This wiki contains technical documentation for integration and deployment.


Quick Navigation

Getting Started

Two-Stage Processing & Scaling

Production & Benchmarks

Implementation & Phases

Core Concepts

Telegram Integration

API Documentation

Safety and Privacy


What is PATAS?

PATAS is an autonomous pattern discovery and rule management system for anti-spam operations. It analyzes historical message logs, automatically discovers spam patterns, generates safe blocking rules, and evaluates their effectiveness before deployment.

Key Characteristics:

  • Signal engine, not enforcement - PATAS provides patterns and metrics that inform anti-spam decisions
  • On-premise deployment - Designed for deployment within your infrastructure
  • Two-stage processing - Fast scanning + deep analysis for 70-90% cost reduction
  • Deterministic and rule-based - Core engine is deterministic; ML/LLM is optional
  • Safety-first design - Multiple safety profiles with clear risk boundaries

Core Workflow

  1. Ingest - Load historical message logs into PATAS
  2. Discover - Automatically identify recurring spam patterns (two-stage: fast scan + deep analysis)
  3. Generate - Create safe SQL rules from discovered patterns
  4. Evaluate - Test rules on historical data (shadow mode)
  5. Promote - Activate rules that meet safety thresholds
  6. Monitor - Track rule performance and deprecate underperforming rules

Documentation Structure

Architecture and Design:

Scaling and Performance:

Telegram Integration:

API and Operations:


Repository

Clone this wiki locally