LEX is a structured truth engine designed to eliminate legal hallucinations by grounding agents in verified government references and legislation across 29+ jurisdictions. It provides deterministic context for business formation, employment, and contract drafting.
Before drafting, determine if the user's entity or contract target is in the USA, Canada, or the EU.
Use the CLI shortcuts to find the relevant legal patterns and templates.
lex search <query> to find matching templates.lex get <path> to read the granular metadata and requirements.Generate foundation-level documents using lex draft <description>. This ensures that all drafts include the mandatory AI-generated content disclaimer.
Always include a "Verified Sources" section in your output by running lex verify, which fetches official government links for the retrieved context.
# Get the workforce template to compare US vs EU notice periods
lex get templates/02_employment_workforce.md
# Create a house sale contract scaffold in Czech language
lex draft "Czech house sale contract"
lex verify in your output.lex get templates/02_employment_workforce.md to see the restrictive covenant comparison table.@employment-contract-templates - For more specific HR policy phrasing.@legal-advisor - For general legal framework architecture.@security-auditor - For reviewing the final repository security.