mike README

The project's README from github.com/open-legal-products/mike. As one markdown file: README.md.

Mike

Mike

Mike (MikeOSS) is an open-source legal AI platform for document review, drafting, and legal research.

It combines a Next.js frontend, an Express backend, Supabase Auth/Postgres, and Cloudflare R2-compatible object storage.

Website: mikeoss.com

Mike assistant home screen

Features

Quick start

The included Docker Compose stack runs Mike, Supabase, RustFS object storage, and local email capture without requiring managed infrastructure.

  1. Copy the local environment templates:

    cp .env.example .env
    cp backend/.env.example backend/.env
    
  2. In backend/.env, set DOWNLOAD_SIGNING_SECRET and USER_API_KEYS_ENCRYPTION_SECRET to separate values generated with:

    openssl rand -hex 32
    
  3. Add an Anthropic, Gemini, or OpenAI API key to backend/.env, unless you plan to use Ollama exclusively.

  4. Start the stack. Either run the published images (built once in CI, with their Sentry source maps and release) by pinning a version in .env:

    echo "MIKE_IMAGE_TAG=$(cat VERSION)" >> .env
    docker compose pull && docker compose up --no-build -d
    

    or build everything from this checkout:

    docker compose up --build
    
  5. Open http://localhost:3000 and create an account.

To stop, run npm run stack:down rather than docker compose stop: stopped containers are never removed on their own and keep images and volumes in use. See "Stop and clean up" in docs/local-development.md.

The bundled credentials and infrastructure are intended for local development only. See Local development for service endpoints, authentication behavior, Ollama setup, and first-run guidance.

Deploy on Vercel

To run Mike without Docker or servers of your own, deploy it to Vercel with a Marketplace Supabase project for the database, sign-in and files. See Deploy on Vercel for the one-click button and its limits. Open your new deployment as soon as it is ready: its first visitor creates the first account.

Telemetry

Mike sends scrubbed error reports (no document content, user identities, or request data) to the project's Sentry by default. Development builds (next dev, the backend run from source, the add-in's dev server) send nothing unless you set a DSN yourself. Set SENTRY_DISABLED=true to opt out, or set SENTRY_DSN and FRONTEND_SENTRY_DSN to use your own. The backend's structured logs and counters are sent only if you set SENTRY_LOGS=on. Both take effect at runtime for the published images as well, because browser reports travel through the Next server. See the observability guide for the exact policy, per-runtime variables, and the Sentry data audit.

Repository

Path Purpose
frontend/ Next.js web application
backend/ Express API, document processing, and database access
word-addin/ Microsoft Word task-pane add-in
backend/schema.sql Complete schema for fresh databases
backend/migrations/ Dated migrations for existing deployments
docker-compose.yml Local application and infrastructure stack
docs/ Development, deployment, testing, and feature guides

Documentation

System workflows

Mike's system assistant and tabular-review workflows are maintained in the Open-Legal-Products/mike-workflows repository. See Contributing for how they are packaged and synchronized with this application.

License

Mike is available under the GNU Affero General Public License v3.0. Bundled public contract templates retain their publishers' separate licenses and notices.

mike (open-legal-products/mike)

Searching Database…

4.5K ·GitHub
What is this?Mike (MikeOSS) is an open-source legal AI platform for reviewing, drafting, and researching legal documents, built on a Next.js frontend, Express backend, and Supabase for auth and Postgres.
Is this a hosted service or something I run myself?It's a self-hosted application: the included Docker Compose stack runs Mike together with Supabase, object storage, and local email capture without needing any managed infrastructure.
How do I get it running?Copy the local environment templates, set the signing/encryption secrets in backend/.env, then start the bundled Docker Compose stack and open the app to create an account.
Do I need an Anthropic, Gemini, or OpenAI API key?Yes, unless you plan to run models locally through Ollama instead - in that case an API key isn't required.
Is the default setup ready for production use?No - the bundled credentials and infrastructure that ship with the quick-start stack are meant only for local development; production needs the separate manual deployment guide.
Can I keep my legal documents fully local instead of sending them to a cloud AI provider?Yes, Mike can run supported language models locally through Ollama so documents don't need to go to an external API.
Can I use Mike from Microsoft Word?Yes, there is a beta Microsoft Word task-pane add-in in the word-addin/ folder that lets you work with Mike's review and drafting features directly in Word.
How does it check legal citations?Mike integrates with CourtListener to verify citations and research US case law.
What are 'tabular-review' workflows?They are reusable assistant workflows for running structured, repeatable document reviews; these workflows live in a separate mike-workflows repository that is synced into the app.
What can I organize my work with?Mike provides projects, folders, and a document library to organize matters, plus chat with documents and open matters for quick lookups.
Size
75.4 MB
Stars
4.5K
Age
7mo
Commits · 90 Days