open-legal-products/mike
OSS Legal AI Platform
Mike – Open‑Source Legal AI Platform
What it is — Mike (MikeOSS) is a full‑stack, open‑source application that lets lawyers and other professionals interact with AI‑powered tools for legal work. It bundles a web UI, an API server, document storage, and a Microsoft Word add‑in, all wired together so you can chat with documents, get draft suggestions, and run structured review workflows.
Key components
- Frontend – a Next.js web app that provides the chat UI, project/folder navigation, and settings.
- Backend – an Express server handling authentication (via Supabase), document processing, and calls to LLM providers (Anthropic, Gemini, OpenAI) or a local Ollama model.
- Data layer – Supabase Postgres for user and metadata storage; Cloudflare‑compatible R2 (RustFS) for binary document blobs.
- Word add‑in – a beta task‑pane extension that brings the same assistant experience inside Microsoft Word.
- Workflows – reusable “assistant” and “tabular‑review” pipelines defined in a companion repo (
mike‑workflows).
How it works
- Users sign up (or SSO via Google) and upload legal documents.
- The UI lets you chat with a document, ask for case‑law citations (via CourtListener), or request draft edits.
- The backend sends the request to a chosen LLM (or a local Ollama model) and returns the AI‑generated response.
- Results can be applied as edits, saved, or exported. Tabular‑review workflows let you run the same checks across many documents.
- Optional connectors let Mike read/write Gmail/Calendar events, with explicit user consent for every action.
Getting started
- Clone the repo and copy the
.env.examplefiles. - Generate two random 32‑byte secrets (
DOWNLOAD_SIGNING_SECRETandUSER_API_KEYS_ENCRYPTION_SECRET). - Add an Anthropic, Gemini, OpenAI, or Ollama key.
- Run
docker compose up --build– this starts the web app, API, Supabase, and object storage locally. - Open
http://localhost:3000to create an account and explore.
Privacy & telemetry
Mike reports only anonymised error data to Sentry; document content and user IDs are never sent. You can disable it with SENTRY_DISABLED=true or point it at your own Sentry DSN.
Who it’s for
- Law firms or solo practitioners who want a self‑hosted AI assistant without sending confidential documents to third‑party SaaS.
- Developers building custom legal‑AI workflows, since the platform is open‑source and extensible via the
mike‑workflowsrepo.
License
- AGPL‑3.0 for the code; bundled contract templates keep their original licenses.
All details are taken directly from the repository’s README.
Related
- Project
- Project
- Project
- Project
- Project