legalos

legalOS

An operating system for legal departments. legalOS gives in-house lawyers and legal-ops teams a single, AI-native entry point for the workflows, agents, and tools they use day-to-day — built around how legal work actually happens, with role-based access, conversation history, attached references, web search, and per-message Word export already in place.

This is open-source software you can fork and run for your own legal department, or adapt as the starting point for a multi-tenant SaaS.

Current phase

Phase 2 — Agent product surface. Native agents with chat, attachments, prompt caching, web search, and per-message Word export are live; agent CRUD, soft-delete + 30-day undo, and an 8-department launchpad ship behind RBAC. See PROJECT_OUTLINE.md for the full phase plan.

Tech stack

Layer Technology
Frontend Next.js 16 (App Router), TypeScript, Tailwind CSS v4, shadcn/ui
Backend Next.js API routes + server actions
Database Supabase (PostgreSQL) with Row-Level Security
Auth Supabase Auth (magic link)
AI / LLM Anthropic API (Claude); model abstraction in Phase 6
Hosting Vercel

Documentation

Future / Backlog

Features and surfaces deliberately deferred. Capturing intent here so it isn’t lost.

License

TBD. A license file will be added before the first public release.