Skip to content

NoFilterA1/LEX.KG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– LEX.KG β€” Smart Legal Assistant

LEX.KG Banner

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.


🧠 What LEX.KG Does

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

🧱 Architecture Overview

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

πŸ“„ Example Templates

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

πŸ’¬ Sample Interaction

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?


πŸ“Œ Project Status

  • πŸ”§ Actively developed
  • 🌍 Designed for post-Soviet legal systems
  • 🀝 Open to collaboration and integrations

πŸ“« Contact

Developer: @loshdk

GPT's bot [preview]: LEX.KG Bot

Feedback: Discord


About

An intelligent legal assistant that doesn't just answer questions, but guides users through every aspect of legal interaction: from understanding the law to filing documents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors