A legal document assistant for document analysis, contract drafting, and case law research via LLM integration.

Mike is an open-source, self-hosted web app that serves as a legal document assistant. It provides tools for document analysis, contract drafting, and tabular review through a web application. The software is deployed as a server with a Next.js frontend and an Express backend, allowing legal professionals to maintain full control over their sensitive data and avoid the licensing costs associated with proprietary legal AI platforms.
Users manage legal projects by chatting with documents and utilizing reusable workflows to automate repetitive tasks. The system requires a Supabase project for authentication and database management, as well as S3-compatible object storage such as Cloudflare R2 or MinIO for file handling. It is designed to be flexible, allowing for both global instance-wide API configurations and individual user-level key management.
The architecture relies on a PostgreSQL database via Supabase and uses an Express API to handle document processing and schema migrations. For legal research, the software integrates with CourtListener to provide case-law panels in assistant responses and targeted opinion searches. To optimize performance and bypass API rate limits, the system can be configured to read citation metadata and opinion JSON from local storage before falling back to live API requests.
This tool is intended for legal practitioners and firms that need a private environment for AI-assisted document review. By combining a modern web stack with flexible LLM provider support, it creates a customizable infrastructure for legal automation.
Mike is a private, customizable infrastructure for legal AI automation.
A self-hosted personal AI assistant that integrates with multiple messaging apps to perform tasks and automate workflows.
Automate workflows by connecting hundreds of applications through a visual interface with support for custom code.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.