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

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

The included Docker Compose stack runs Mike, Supabase, RustFS object storage, and local email capture without requiring managed infrastructure.
Copy the local environment templates:
cp .env.example .env
cp backend/.env.example backend/.env
In backend/.env, set DOWNLOAD_SIGNING_SECRET and
USER_API_KEYS_ENCRYPTION_SECRET to separate values generated with:
openssl rand -hex 32
Add an Anthropic, Gemini, or OpenAI API key to backend/.env, unless you
plan to use Ollama exclusively.
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
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.
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.
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.
| 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 |
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.
Mike is available under the GNU Affero General Public License v3.0. Bundled public contract templates retain their publishers' separate licenses and notices.