⚠️ Research Release - Not Production Ready. See DISCLAIMERS.md for details.

Research Release Academic implementation, not production-ready

Agents Play FPS,
Not RTS

Geometric substrate for cellularized agent infrastructure

Each agent has a unique position and orientation in multidimensional space. Automatically filters information. Scales to 10,000+ agents with O(log n) spatial queries.

O(log n)
spatial queries
10K+
concurrent agents
74ns
per operation
Zero
coordination overhead

FPS vs RTS Paradigm

The key innovation that enables scalable multi-agent systems

RTS Style

Traditional Approach

Central Coordinator

Single point of failure, bottleneck

Global State Sharing

All agents see the same data

O(n²) Coordination

Each agent coordinates with every other

complexity: O(n²)
scalability: Poor
bottleneck: Central controller

FPS Style

Our Approach

Unique Position & Orientation

Each agent has its own perspective

Automatic Information Filtering

Spatial queries show only relevant data

O(log n) Spatial Queries

KD-tree enables efficient neighbor lookup

complexity: O(log n)
scalability: Excellent
bottleneck: None

💡

Key Innovation

Asymmetric understanding is a feature, not a bug. Each agent's position and orientation in multidimensional space automatically filters what it can see and interact with. No central coordination needed - agents naturally scale to 10,000+ concurrent instances through geometric perspective.

Research Applications

Potential applications being explored through academic research

Stable Geometric Preprocessing

Preprocess vector embeddings to snap them onto a stable geometric lattice, potentially reducing noise in ML pipelines.

Theoretical No validation yet

Geometric Invariants in Robotics

Enforce physical constraints in robotic simulations and path planning, potentially guaranteeing feasible solutions.

Theoretical No validation yet

Constrained State Space Models

Build state machines where state changes must satisfy geometric constraints, potentially preventing invalid states.

Theoretical No validation yet
⚠️

Important: Research Release Status

This is an academic research implementation, not production-ready software. All applications listed above are theoretical and have not been validated in production environments. See our DISCLAIMERS.md for known limitations and risks.

Show Me

See it in action

Interactive Pythagorean Snapping Demo

Watch how continuous vectors "snap" to discrete Pythagorean ratios (3-4-5, 5-12-13, etc.). Click anywhere on the canvas to place a point and see it snap to the nearest valid geometric state.

  • Real-time visualization of constraint satisfaction
  • Adjustable snap threshold to see the constraint boundary
  • Statistics showing snap rate and average distance
Launch Interactive Demo

Interactive Demo Preview

Click to launch full experience

Interactive Simulators

Experience constraint theory through hands-on exploration

ML Demo: Vector Quantization

Practical demo showing how geometric constraints improve ML vector stability

Try it now

Deep Math / Theory

Mathematical foundations (for the mathematically inclined)

Ω

Origin-Centric Geometry

Unitary symmetry invariant as the normalized ground state of discrete manifolds. Establishes a zero-point resonance threshold for deterministic computations.

Ω(x) = normalize(x) such that ||Ω(x)|| = 1
Φ

Φ-Folding Operator

Maps continuous vectors to discrete states via geometric rotation. Achieves O(n²) → O(log n) complexity reduction.

Φ(x) = fold(x) ∈ discrete integer ratios

Pythagorean Snapping

Forces latent vectors to align with universal integer ratios (3-4-5, 5-12-13, 8-15-17). Eliminates hallucinations through geometric closure properties.

snap(v) = argmin ||v - (a,b)|| where a² + b² = c²
📐

Rigidity Matroid

Uses Laman's Theorem to guarantee structural stability. A graph is rigid if E = 2V - 3 and all subgraphs satisfy the constraint.

rigid(G) ↔ E = 2V - 3 and ∀H⊆G: E(H) ≤ 2V(H) - 3

Documentation

Everything you need to get started

Mathematical Foundation

  • Origin-Centric Geometry
  • Φ-Folding Operator
  • Pythagorean Snapping
  • Laman's Theorem

API Reference

Research Papers

Quick Start

Get up and running in minutes

Py

Python

# Install the package
pip install constraint-theory

# Pythagorean snapping
from constraint_theory import snap

vector = [3.1, 4.2]
snapped = snap.to_pythagorean(vector)
print(snapped)  # [3, 4]
JS

JavaScript

// Install the package
npm install @constraint-theory/core

// Pythagorean snapping
import { snap } from '@constraint-theory/core';

const vector = [3.1, 4.2];
const snapped = snap.toPythagorean(vector);
console.log(snapped);  // [3, 4]
Rs

Rust

// Add to Cargo.toml
[dependencies]
constraint-theory = "0.1"

use constraint_theory::snap;

let vector = [3.1, 4.2];
let snapped = snap::to_pythagorean(&vector);
println!("{:?}", snapped);  // [3, 4]
API

REST API

# Snap to Pythagorean ratio
curl -X POST https://constraint-theory.superinstance.ai/api/geometry/snap \
  -H "Content-Type: application/json" \
  -d '{"vector": [3.1, 4.2]}'

# Response: {"snapped": [3, 4], "distance": 0.224}
View API Documentation