System architecture

How StructureBiz works.

A close look at the data, AI and rules engine powering the AI Business Command Center — from entity capture to "what should I do next" recommendations.

Core flow

Capture
Owner adds an entity. Profile, status, officers, registered agent and revenue stage.
Normalize
Data is structured into a portfolio graph: holding ↔ operating ↔ asset entities.
Rules engine
120+ rules evaluate compliance posture, credit readiness and revenue stage.
AI advisor
LLM is given structured state and emits a prioritized 5-step plan.
Act
Tasks, reminders and documents are created or surfaced for the owner.
Rules engine logic
IF entity.einStatus != "Obtained"
  THEN suggest("Apply for EIN via IRS SS-4")
  PRIORITY high

IF entity.bankStatus != "Active" AND einStatus == "Obtained"
  THEN suggest("Open business bank account")
  PRIORITY high

IF entity.creditStatus == "Not Started"
   AND bankStatus == "Active"
  THEN suggest("Register D-U-N-S + Net-30 vendor")
  PRIORITY med

IF revenue == "Pre-revenue"
  THEN suggest("Define paid offer + landing page")
  PRIORITY high

IF compliance.dueWithin(30d)
  THEN createReminder(type, due)
  PRIORITY med
AI advisor pipeline
  1. 1Context build. Serialize entity profile, open tasks, recent docs and compliance status into a structured prompt.
  2. 2Rule pre-pass. Deterministic rules eliminate impossible suggestions and seed candidate actions.
  3. 3LLM generation. Model proposes a ranked next-action list using business-stage heuristics.
  4. 4Validation. Validator re-checks each step against the rules engine before showing the owner.
  5. 5Persist. Accepted steps become tasks. AI run is logged for audit and retraining.

System modules

Entity Graph
Hierarchy of holding, operating, real estate, IP and nonprofit entities.
Document Vault
Encrypted storage with category index and AI-readable metadata.
Compliance Engine
Calendar of annual reports, RA renewals, tax deadlines, BOI reports.
AI Advisor
LLM + rules engine producing prioritized 5-step action plans.
Doc Generator
Templated drafts for letters, proposals, plans, roadmaps.
Access Control
Role-based permissions (Owner, Advisor, Admin) with audit log.

Data model

User ─┬─ owns ──> Company ─┬─ has ──> Task[]
      │                  ├─ has ──> Document[]
      │                  ├─ has ──> Reminder[]
      │                  └─ has ──> AIRun[]
      └─ subscribes ──> Plan

Advisor ──> assigned ──> Company[] (via Engagement)
Admin ──> audits ──> Action[] (every CRUD logged)