§Lumilex

One system for the whole firm.Add what your practice needs.

dfrdn/lumilexAGPL-3.0Free to run

Open-source software for Philippine law firms. Matters, deadlines, time and billing are the core every firm has. Everything else is an app. The practice areas come installed. A partner approves anything else the firm adds, and any app can be removed.

# needs Node 22, Docker and the Supabase CLI

$ git clone https://github.com/dfrdn/lumilex.git

$ cd lumilex

$ npm install && npm run setup:local

Somewhere between the Viber and Telegram threads and the filing cabinet, a firm loses sight of its own docket. Lumilex puts every matter, every draft, every deadline and every peso back in one system your firm owns.

Shared records at the centre. Apps around them.

Every firm has the same core. What sits around it is up to the firm: the apps that come with Lumilex, tools of its own, and tools other people build.

  1. (a)

    What every firm has

    Matters and clients, the firm’s people, deliverables and tasks, the calendar, documents, time records and billing. Under all of it, the database decides who may see what, and the firm’s audit log records who changed its key records and when. Everything else is built on these.

  2. (b)

    Apps that come with it

    The practice areas — Corporations, Trademarks, Cases, Liaison, Prospects and proposals, and the Library — come installed. A firm that does not use one can remove it, and putting it back restores every record. The client portal, each AI feature, SharePoint and the others are installed per firm, when a partner approves.

  3. (c)

    Your firm’s own tools

    A firm’s own developer can connect the software it already uses. A partner approves the connection like any app, with what it may read and change; it then gets API keys of its own, and can be told what happens in the firm through signed webhooks.

  4. (d)

    Tools other people build

    Software from outside the firm can show a panel on the page of a matter, client, deliverable, company, mark or case, or add a button there. It can bring assistants that only ever suggest — a task, or a set of deadlines — and a person accepts or dismisses each suggestion. Outside apps can be listed in catalogs that whoever runs your Lumilex chooses to trust, and an app a catalog lists must match it.

Installing an app needs a partner’s permission.

Installing any app needs a partner’s approval, given after a screen that says what the app may see and do and whether anything leaves the firm. The office administrator can ask for an app, and a partner decides. In a firm with no partner, a lawyer gives the approval. Every approval is recorded. An installed app can be removed without anyone’s approval, and removing it cuts off its access at once.

01

In a partner’s own name

The approval is one named partner’s decision for the firm. An administrator’s account cannot give it, and an app can never install another app.

02

What the screen says

Which records the app reads, what it may change, and every place your data goes: to whom, what, and whether it leaves the Philippines. If any of it changes while the partner is reading, the approval is refused and the screen is read again.

03

Asking for more is asking again

An app that later wants to read more, send data somewhere new or reach other records gets none of it until a partner approves again.

04

Recorded, and kept

Each approval is kept with who gave it, when, and exactly what they were shown. That record cannot be edited or deleted.

05

Removed at once

A partner, the office administrator or, in a firm with no partner, a lawyer can remove an app without anyone’s approval. An outside app’s keys and tokens are revoked and its accounts switched off; a practice area’s records are kept for when it comes back.

06

No partner, a lawyer

In a firm with no active partner, any active lawyer may give the approval, and the firm’s lawyers and administrators are told when one does.

The whole system, in the open. Read every line.

The code your firm runs is the code anyone can read: every screen, every rule about who sees what, and every check that holds those rules in place. Your firm’s files stay your firm’s, and you can see exactly how.

GNU AGPL v3, in plain terms

Run it for your firm, study it and change it, free. If you offer a modified version to other people over a network, offer them your changes too.

01

Nothing taken on trust

The rules that keep one firm’s records from another are in the source, with the checks that test them. You need not take the Trust page on our word.

scripts/rls-probe.ts →

02

An instance of your own

Each firm runs on its own database and its own deployment, built from the same code. No other firm’s records sit beside yours.

docs/self-hosting.md →

03

AI off until you say so

Every model call passes one gate that checks the firm’s switches first. With a feature off, nothing is sent.

lib/ai/gate.ts →

04

A record of changes

Edits, status changes and hand-offs are logged with who made them and when, in an audit trail your administrators can read.

lib/audit.ts →

05

Run it yourself

One command stands up a complete instance on your own machine, and a guide takes it to servers your firm controls.

scripts/setup-local.ts →

06

Never locked in

The code is AGPL and the data is in your own database. If an engagement with us ends, your firm keeps the same system.

LICENSE →
Every provider, every control — the Trust page

Wednesday, 30 September, month-end.

Seven moments at Lumilex & Partners — a fictional firm, and the same one you can sign in to. Every screen here is redrawn from the product.

A lawyer’s desk at first light: case folders tied with red cord, a fountain pen, coffee.06:40 · Makati

07:50

01 · Associate

The draft goes up.

Diego finishes the pre-trial brief and sends it for review. The status moves, the file moves with it, and the hand-off is on the record — nobody has to ask who has it.

10:10

02 · Managing partner

Three versions, one click apart.

Isabel reads v3 with v1 and v2 beside it, leaves one note, and sends it on for finalization. Her comment stays with the brief.

11:15

03 · Office manager

The Rules do the counting.

Summons was served on a client yesterday. Grace enters the date; the rule set counts thirty calendar days, creates the Answer and puts it on the firm calendar.

13:30

04 · Associate

The hearing is already on his phone.

Diego’s own calendar subscribes to a private Lumilex feed of the hearings and meetings he attends and the work that is with him — in Outlook, Google or Apple Calendar.

15:40

05 · Liaison

Filed, and costed.

Rico files the brief at the RTC and closes the errand. Its transport cost posts to the matter on its own, waiting for the bill.

17:20

06 · Finance

Month-end, without the spreadsheet.

Marilou turns September’s reviewed time records — and Rico’s errand — into a statement on the firm’s letterhead, and sends it from the firm’s own address.

19:05

07 · The client

And the client sees it too.

After dinner, Luntian Harbor’s finance head opens the portal: the filed brief, September’s invoice, the file itself — under her lawyers’ name.

03:00

Then it all resets, and it is yours to try.

Sign in as any of them. Move the brief, send the statement, open the portal — the firm is put back every night at 3:00 AM, Manila time.

Try the demo

What comes with it,entry by entry.

The core every firm has, then the apps a firm keeps or removes. Each is configured to your firm, not the other way round.

The core

Every firm has these. They cannot be removed.

  1. 01

    Matters & deliverables

    Every piece of work runs Drafting → Under Review → Revising → Finalizing → Filed or Sent out, with each version kept and each hand-off recorded.

    Practice
  2. 02

    Deadlines & deadline chains

    Set the triggering date and the deadline chain computes each period that runs from it, creates the work it calls for, and puts it on the calendar.

    Practice
  3. 03

    Calendar & feed

    One firm calendar of hearings, meetings and deadlines, and each lawyer’s own in Outlook, Google or Apple Calendar through a private feed.

    Practice
  4. 04

    Time & billing

    Daily time records, the partner’s billing review, statements on your letterhead, collections, client deposits, and what each matter billed against what it cost.

    Finance
  5. 05

    Conflict checks

    Names matched loosely and TINs matched exactly, across your clients and every adverse party on file.

    Firm
  6. 06

    Status reports

    A draft report to the client is started for you when a filing is marked filed or a hearing is attended.

    Clients

Apps

Each is installed or removed per firm. Installing one takes a partner’s approval.

  1. Corporations

    Companies the firm looks after: registrations, officers and stockholders, compliance calendars and client reports.

    Comes installed
  2. Trademarks

    Marks through filing, registration, declarations of use and renewal, with office actions and client reports.

    Comes installed
  3. Cases

    Disputes as records of their own, with their proceedings and the matters that cover them.

    Comes installed
  4. Liaison

    Errands, filings and court runs assigned and closed out, with their transport cost posted to the matter.

    Comes installed
  5. Prospects & proposals

    Prospective clients from first contact to engagement, and engagement proposals on your letterhead.

    Comes installed
  6. Client Portal

    Clients sign in to see their matters, filed work, invoices and files, under your firm’s name.

    A partner approves
  7. Library

    The firm’s handbook and pages distilled from its matters. The Rules of Court, the Labor Code and the Revised Corporation Code are added to it as apps of their own, each read whole.

    Comes installed
  8. Issuances

    New circulars and issuances from government agencies, gathered as they are published.

    A partner approves

All 19 apps, and what each sends out of the firm →

AI, only when you say so.

Every AI feature is off until your firm switches it on. Reading your documents, indexing them for search, the staff assistant and answering your clients are separate switches — turning on one turns on none of the others.

The models are third-party: Claude, by Anthropic, reads and drafts; Voyage AI indexes for search. Nothing reaches either until the switch for it is on.

All off — this is how every firm starts. Try one.

Features · AIYour firm

A preview: turn one on to see a sample of it. On a real instance each is switched on per firm, one consent at a time.

For your IT, the short version.

What runs, where the rules live, and how a change is checked before it ships. Each line points at the file where it is true.

The stack

Next.js and React on Node 22, over Supabase: Postgres, Auth and Storage. TypeScript throughout.

package.json →
One instance per firm

Each firm gets its own database and deployment from one codebase. What differs between firms is configuration, never a fork.

docs/self-hosting.md →
Access decided by the database

Row-level security on every firm table decides who reads and writes what, so a hidden button is never the only lock.

supabase/migrations →
AI behind one gate

The only place a model client is built. It refuses any firm that has not switched the feature on, and can cap calls per hour and per day.

lib/ai/gate.ts →
Optional services

Anthropic, Voyage AI, Resend, Firecrawl and Microsoft 365 each turn on a feature. Without a key, that feature is simply off.

docs/self-hosting.md →
Checked on every change

npm run verify runs the type check, the unit suite, static audits, and probes that sign in as every role at two test firms and try to cross the line.

CLAUDE.md →

Yours to run. Or ours, if you’d rather.

The same code either way. Hosting with us adds the work around it, not features you cannot get yourself.

Run it yourself

Free, under the GNU AGPL. For a firm with its own IT, or anyone who wants to look under the hood first.

  • The whole system. There is no paid edition and nothing held back from the source.
  • One command for a complete instance on your machine; a guide for your own servers.
  • Your servers, your accounts, your data. No licence key, no seat count, nothing that reports back to us.
The self-hosting guide

We run it for you

For the firms that would rather not. We set it up, bring your matters in, train your people and keep it current.

  • Configured to your practice: matter types, review, billing, your name and mark on every screen and document.
  • Your records brought in from the Excel trackers, another system or the filing cabinet.
  • Partners, associates, finance, the office and liaison officers taught on the screens they will use.
  • Updates as they are released, on an instance of your own. Leave, and the system stays with you.
Write to us