LEX.KG is an AI-powered legal assistant that helps users understand the law, act confidently, and reach results β from legal explanation to filing documents.
LEX is not just a chatbot. Itβs a legal companion that:
- π Explains laws in plain language
- π§Ύ Generates legal documents (complaints, statements, petitions)
- π Manages legal cases with processes, deadlines, and documents
- π§ Gives step-by-step legal instructions
- π Tracks deadlines with reminders and checklists
- π¬ Adapts its tone and logic to the userβs context
| Module | Description |
|---|---|
logic_templates |
Thought patterns for legal reasoning and dialogue (e.g. explaining, advising, clarifying) |
legal_priority_map |
Hierarchy of legal sources (Constitution > Codes > Laws > Local acts) |
agent_behavior_rules |
Language style, tone adaptation, handling emotional context |
case_structure |
Legal case container with stages, documents, deadlines, status |
document_builder |
Auto-fills legal templates via Jinja |
google_dork_resolver |
Finds relevant laws and official contacts via Google Dorks |
template_registry |
Registry of all document templates with triggers and fields |
memory_logic |
Context memory: remembers user actions, active cases, deadlines |
| Template | Purpose | Legal Basis |
|---|---|---|
statement_divorce |
Divorce lawsuit | Family Code of Kyrgyzstan |
complaint_protocol |
Appeal against administrative protocol | Code of Administrative Offenses |
petition_delay |
Request to postpone court session | Civil Procedure Code |
User: I got a fine for parking on the lawn. Want to appeal it.
LEX: βGot it. Please share the protocol number, date, and authority. I'll help you draft a complaint.β ... βDraft is ready. You must submit it within 10 days. Should I add this to your case file?
- π§ Actively developed
- π Designed for post-Soviet legal systems
- π€ Open to collaboration and integrations
Developer: @loshdk
GPT's bot [preview]: LEX.KG Bot
Feedback: Discord
