Soi96 Legal — AI Agent Hierarchy

Soi96 Legal  ·  10 Agents  ·  Strict Chain of Command  ·  April 2026

LAYER 1 — ATTORNEY + UI CLIENTS LAYER 2 — CLASSIFICATION + ROUTING LAYER 3 — CASE ANALYSIS LAYER 4 — SPECIALIST AGENTS DATA LAYER — DETERMINISTIC SERVICES (NOT AGENTS) natural language handoff only classify first pre-classified parallel monitors overdue reads state calibrate PDFs ATTORNEY Licensed Lawyer · Only human in the loop WEB FRONTEND Next.js · browser MOBILE APP Expo · iOS / Android UI CLIENTS same entry point #1 PROMPT ANALYST Executive Secretary ONLY attorney interface · classify first if doc BUILT #2 ONBOARDING AGENT Peer · new data in · handoff only PEER TBD #3 DOCUMENT CLASSIFIER type · matter ref · practice area · flags BUILT #4 CASE / SITUATION ANALYST Senior Associate pre-classified input · coordinates all specialists BUILT #6 COMMS AGENT Receptionist · Parallel Track email · LINE · calendar · proactive alerts TBD #5 CLIENT MANAGER × N · full client profile TBD #7 RAG AGENT Law Library forms + statutes · precise queries only BUILT #8 BILLING AGENT Accounts deterministic rules · retainers · AR TBD #9 JUDICIAL INTELLIGENCE judges · court support · career profiles TBD #10 ADVERSARY INTELLIGENCE counsel · firms · officials (BOI, immigration) TBD WORKFLOWS SERVICE WorkflowTemplate · MatterWorkflow step tracking · deadlines · overdue query · BUILT FORM CALIBRATION RAG sub-pipeline worker PDF download · AcroForm + coord mapping · BUILT BILLING DATA retainers · trust · invoices · AR read by Billing Agent · CRUD exists INTELLIGENCE STORE judge · counsel · official profiles populated at matter close · TBD STRICT CALLER RULES Prompt Analyst Doc Classifier, Case Analyst, Comms Agent | CANNOT → Client Mgr, RAG, Billing, Intel agents directly Case Analyst Client Mgr, RAG, Billing, Judicial, Adversary + reads Workflows | CANNOT → Prompt Analyst, Comms, Onboarding Comms Agent data store + Workflows (overdue step monitoring + proactive alerts) | CANNOT → any agent No agent skips a level · No sideways calls · Classification before routing · Routing before research · Responses travel back up the same chain
Node Status
Built
Pending build
Data layer (no AI)
Edge Types
Direct call
Return / response
Handoff / peer
Sub-pipeline / data read
Colour Key
Prompt Analyst
Doc Classifier
Comms / parallel
Case Analyst
 
Client Manager
RAG Agent
Judicial Intel
Adversary Intel

Workflow Management

instantiate Case Analyst → Client Manager at matter open
monitor Comms Agent watches overdue steps → proactive alerts
context Case Analyst reads workflow state when building briefs
data WorkflowsService is deterministic — not an AI agent

Sequencing Rule

1 Prompt Analyst reads request
2 Doc Classifier if doc present
3 PA routes with full context
4 Case Analyst delegates precisely
5 RAG answers a scoped query

RAG Agent — Two Jobs

forms Thai govt portals — TM, WP, BOI, DBD, Revenue, Land forms

laws Statutes, circulars, regulations → law_corpus

calibrate FormCalibrationAgent maps fields after PDF download

Build State

BUILT Prompt Analyst, Case Analyst, Doc Classifier, RAG Agent, Form Calibration, Workflows Service

TBD Onboarding, Client Manager, Comms, Billing, Judicial, Adversary