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
- User Request
- Laya Model
- Structured Decision
- Policy Engine
- Workflow Engine
- Assign / Escalate / Queue
Tech stack
- Python
- Laya
- FastAPI
- Pydantic
- SQLAlchemy
- PostgreSQL
- Pytest
- Docker