Skip to content

savagelysubtle/SafeAppealsNavigator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

48 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

βš–οΈ SafeAppealNavigator

Support this project: paypal.me/safeappealnavigator

GitHub stars License: Apache 2.0 Python 3.13+

Your intelligent companion for navigating WorkSafe BC and WCAT appeals. Organize case files, research legal precedents, and build compelling appeals with AI-powered document management and legal research.

SafeAppealNavigator helps injured workers, legal advocates, and their representatives tackle the complex world of Workers' Compensation appeals. Whether you're dealing with a denied claim, preparing for a WCAT hearing, or organizing years of medical documentation, this tool transforms overwhelming legal processes into manageable, organized workflows.

🎯 Who This Helps

  • Injured Workers: Organize your case, understand your rights, and build stronger appeals
  • Legal Advocates: Streamline case research and document preparation for clients
  • Family Members: Help loved ones navigate complex WorkSafe and WCAT processes
  • Support Organizations: Assist multiple clients with consistent, professional case management

✨ Key Features

πŸ“ Smart Case Organization

  • Document Management: Automatically organize medical reports, correspondence, and legal documents
  • Timeline Builder: Create visual timelines of your case progression and key milestones
  • Deadline Tracking: Never miss critical deadlines or hearing dates
  • Evidence Categorization: Smart tagging and organization of supporting documentation

βš–οΈ WCAT & WorkSafe Research

  • Precedent Discovery: Find WCAT decisions with circumstances similar to your case
  • Policy Analysis: Search and understand relevant WorkSafe BC policies and procedures
  • Case Strength Assessment: AI analysis of your position based on similar successful cases
  • Gap Identification: Discover what evidence or documentation might strengthen your case

πŸ“ Professional Document Creation

  • Appeal Letters: Generate well-structured appeal submissions with proper legal formatting
  • Medical Summaries: Transform complex medical records into clear, compelling narratives
  • Case Briefs: Create comprehensive overviews for legal representatives or hearings
  • Evidence Packages: Organize supporting documentation for maximum impact

πŸ€– AI-Powered Insights

  • Plain Language Explanations: Complex legal concepts explained in understandable terms
  • Strategic Recommendations: Next steps and strategies based on case analysis
  • Document Analysis: AI review of your documents to identify strengths and weaknesses
  • Research Assistance: Intelligent search across legal databases and precedent cases

πŸš€ Installation & Setup

Prerequisites

  • Python 3.11 or higher
    • Note: Once a subpackage of Chroma updates its build wheel, we will move to Python 3.14 for multi-threaded agent support
  • Node.js 18+ with npm
  • Windows, macOS, or Linux

Quick Start

  1. Clone the Repository

    git clone https://github.com/savagelysubtle/SafeAppealsNavigator.git
    cd SafeAppealsNavigator
  2. Set Up Python Environment We recommend using uv for managing dependencies:

    uv venv --python 3.13

    Activate the virtual environment:

    • Windows (PowerShell):

      .\.venv\Scripts\Activate.ps1
    • Windows (Command Prompt):

      .venv\Scripts\activate
    • macOS/Linux:

      source .venv/bin/activate
  3. Install Dependencies

    # Install Python dependencies
    uv sync
    
    # Install frontend dependencies
    cd frontend
    npm install
    cd ..
    
  4. Configure Environment

    cp .env.example .env

    Open .env in your text editor and add your API keys (optional but recommended for enhanced AI features):

    OPENAI_API_KEY="your-openai-key"
    ANTHROPIC_API_KEY="your-anthropic-key"
    GOOGLE_API_KEY="your-google-key"
  5. Launch SafeAppealNavigator

    python run_app.py

    The application will start both the backend and frontend. Open your browser and navigate to http://localhost:5173

  6. Optional: Configure Additional Tools

    SafeAppealNavigator supports extensible tool integration through MCP (Model Context Protocol). You can configure additional research databases, document processing services, or legal research tools by editing data/mcp.json. The system comes pre-configured with essential file management and vector database tools for case organization and similarity search.

πŸ“– How to Use

πŸ₯ Starting Your Case

  1. Create New Case: Set up a new case file with basic information about your injury and claim
  2. Upload Documents: Import medical reports, WorkSafe correspondence, and any legal documents
  3. Build Timeline: Add key dates like injury date, claim submission, decisions, and deadlines
  4. Describe Situation: Provide details about your injury, treatment, and WorkSafe interactions

πŸ” Research & Analysis

  1. Find Similar Cases: Search WCAT decisions for cases with circumstances like yours
  2. Analyze Outcomes: Understand how similar cases were decided and what factors were important
  3. Review Policies: Research relevant WorkSafe BC policies that apply to your situation
  4. Identify Precedents: Discover favorable legal arguments and supporting case law

πŸ“‹ Building Your Appeal

  1. Assess Your Position: Get AI analysis of your case strength based on precedents
  2. Identify Gaps: Discover what additional evidence or documentation you might need
  3. Draft Documents: Generate professional appeal letters and supporting documents
  4. Organize Evidence: Structure your supporting documentation for maximum impact

πŸ“… Case Management

  1. Track Progress: Monitor deadlines, hearing dates, and case milestones
  2. Manage Communications: Organize all correspondence with WorkSafe, medical providers, and legal representatives
  3. Prepare for Hearings: Get talking points and evidence organization for WCAT hearings
  4. Document Everything: Maintain detailed records of all case-related activities

πŸ“Š Real-World Success Stories

πŸ—οΈ Construction Worker - Denied Surgery Coverage

Challenge: Back injury from lifting, surgery coverage denied Solution: Found 12 similar WCAT cases where surgery was approved, generated appeal emphasizing medical necessity Outcome: Surgery coverage approved on appeal

πŸ₯ Healthcare Worker - "Not Work-Related" Claim

Challenge: Repetitive strain injury denied as non-work related Solution: Organized evidence linking injury to work duties, found precedents for similar injuries Outcome: Claim accepted after comprehensive appeal submission

πŸš› Driver - Mental Health Benefits

Challenge: PTSD after workplace accident, mental health benefits denied Solution: Research showed precedents for psychological injury acceptance, organized witness statements Outcome: Mental health claim recognized and benefits approved

πŸ›‘οΈ Privacy & Security

  • Local Data Storage: All your case information stays on your computer
  • Secure API Connections: All AI interactions use encrypted connections
  • No Data Sharing: Your personal and legal information is never shared or stored externally
  • Open Source: Full transparency - review the code yourself

🀝 Contributing

SafeAppealNavigator is open source and welcomes contributions from the community. Whether you're a developer, legal professional, or someone who has navigated the WorkSafe system, your insights can help others.

Development Setup

git clone https://github.com/savagelysubtle/SafeAppealsNavigator.git
cd SafeAppealsNavigator
uv sync

Code Standards

  • Follow PEP 8 style guidelines
  • Add comprehensive docstrings
  • Include type hints for all functions
  • Write tests for new features

πŸ“„ License

Licensed under the Apache License 2.0 - see the LICENSE file for details.

  • βœ… Commercial use allowed
  • βœ… Modification and distribution permitted
  • βœ… Patent protection included
  • ⚠️ Attribution required
  • ⚠️ Notice of changes required

πŸ†˜ Support & Resources

  • Documentation: Comprehensive guides in /docs
  • Issues: Report bugs and request features on GitHub
  • Discussions: Community support and questions
  • Legal Disclaimer: This tool assists with legal research and document preparation. Always consult qualified legal professionals for legal advice.

Created and maintained by SavagelySubtle

Empowering injured workers to navigate the legal system with confidence βš–οΈ

AI Research Assistant

AI Research Assistant is a sophisticated multi-agent system designed to streamline and enhance research workflows across various domains.

AI Research Assistant Quick Start

1. Setup API Keys

# Configure your API keys interactively
python setup_api_keys.py

2. Run the CLI

# From the project root (with virtual environment activated)
python run_cli.py

# Or use the single query mode
python run_cli.py --query "Your research question here"

Handling Rate Limits

If you encounter rate limit errors with the free tier of Google's Gemini API:

  1. Configure additional API keys using the setup script:

    python setup_api_keys.py
  2. The system will provide helpful guidance when rate limits are hit

  3. Consider upgrading to a paid plan for higher limits

See backend/docs/cli_usage.md for detailed CLI documentation.

Features

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published