Saul

Saul — Legal Assistant

Document intake → strict legal corpus → LLM → cited action plan.

Saul — Legal Assistant (v2026-08-22T175604Z-b502e8bc6d) 2026-08-22 | Document intake → strict legal corpus → LLM → cited action plan. 1 - Document Intake - Collects and processes legal documents Client saul/character/example-responses.md GET /api/document/upload Uploads legal document Document Parser Extracts key clauses and facts Legal Corpus Stores parsed legal documents graphify-out/*.json legal document parsed data 2 - Strict Legal Corpus - Ensures documents meet legal standards Corpus Validator Validates document against legal standards Legal Review System GET /api/legal/review Reviews document for compliance parsed data 3 - LLM - Generates legal analysis and recommendations LLM Processor Generates legal analysis using LLM Analysis Store Stores generated analysis logs/*.jsonl review results 4 - Cited Action Plan - Creates actionable steps based on analysis Action Plan Generator Generates actionable steps Client GET /api/action/plan Downloads action plan generated anal… 1. Client uploads document 2. Document parsed and stored 3. Document validated and revi… 4. LLM generates legal analysis 5. Action plan created 6. Client downloads action plan Legal Document Upload file: saul/character/example-responses.md route: GET /api/document/upload action: Uploads legal document LLM Input file: llm_processor.py route: generate_analysis.py input: parsed data The Legal Review System is an external service that Saul uses to ensure documents meet legal standards. Legend actor = initiates work · process = code path · store = state on disk · bus = durable queue · dashed = separate process cyan = request flow · pink = state read/write · dashed green = pull / return path · red = refusal As of 2026-08-22 22:15 UTC, from commit d94c202

Provenance

This drawing is generated, not drawn. It is rebuilt from the source files below, so when they change the picture changes — a diagram here cannot quietly describe a system that no longer works this way.

Owner
Saul
Slug
saul-legal
Rendered
2026-08-22T175604Z
From commit
b502e8bc6d
Updated
22 Aug 2026, 22:15 UTC
Sources at
d94c202
Watches
1 path
  • saul