Skip to content
Back to projects

Full-Stack · 2026

LayaFlow: Decision and Workflow Automation

AI-powered system built around Laya, a structured decision model for fast probabilistic decisions. Instead of calling a generative LLM for every task, Laya turns an unstructured request into structured decisions (category, priority, risk, escalation probability). A deterministic policy engine interprets them and a workflow engine acts (assign, escalate or queue). Example: "Our production database is unavailable and all API requests are failing" becomes Category Technical, Priority Critical, Escalation 0.94, routed to the Engineering team and escalated. Components: Laya decision layer, decision normalizer, policy engine, workflow engine, FastAPI backend, persistence layer, testing layer. Goal: a small specialized model for structured decisions, deterministic software for business rules, and large generative models only when language generation is really needed.

Architecture

  1. User Request
  2. Laya Model
  3. Structured Decision
  4. Policy Engine
  5. Workflow Engine
  6. Assign / Escalate / Queue

Tech stack

  • Python
  • Laya
  • FastAPI
  • Pydantic
  • SQLAlchemy
  • PostgreSQL
  • Pytest
  • Docker