Your law practice, in order.

Kosmos is open-source practice management for law firms: intakes, matters, tasks, invoicing, and a case builder. Self-hosted, always fast. AI optional.

AGPL-3.0·Self-hosted·Django + PostgreSQL·Claude & Gemini
kosmos.yourfirm.law
Alvarez v. Meridian LogisticsDetailCase+ Time+ Expense
FilterImportanceKeyword SearchDownload PDF
Date and TimeDescriptionSourcesLabels
2025-03-01 8:40 AMRefrigerated shipment leaves Port Elizabeth under Meridian carriage(Bill of Lading #4471.)
2025-03-03Shipment signed over to Meridian's subcontractor at the Newark yard(Bill of Lading #4471.)Chain of custody
2025-03-05 2:15 PMTemperature log for Reefer Unit 7 shows a six-hour recording gap(Temp. Log, Unit 7.)Temperature log
2025-03-07Okafor testifies the manifest was amended after departure(Okafor Dep. p. 42.)Chain of custodyManifest
2025-03-09Meridian dispatch acknowledges the temperature log gap(Ex. 12.)Temperature log
2025-03-12Cargo rejected at delivery; spoilage assessed at $214,000
COMPREHENSIVE PRACTICE MANAGEMENT

Everything a firm runs on, without the per-seat toll.

Manage matters, contacts, and deadlines in one place. Track time, generate invoices, and accept payments online. Route new clients through intake and report across the whole firm.

Run the practice

Dashboard: A single view of what needs attention: upcoming deadlines, recent activity, and open tasks.

Matters: The center of everything: people, deadlines, money, documents, and case work all attach to the matter.

Calendar: Full integration between matters and calendar events.

Tasks: Fluid task management for a whole team, including an optional Kanban system.

Contacts: Connect contacts to matters, group them by faction, tag them by role.

Activity: Time entries, expenses, or flat fees, captured as work happens.

Invoicing: Generate invoices, accept payments online through Confido or LawPay.

Intakes: A front door for new clients that feeds matters, not inboxes.

Reports: Productivity, realization, aging, intake flow: all straight from the data.

The matter sits at the center. Everything else clusters around it.
CASE BUILDER

From a folder of PDFs to a case you can argue.

Upload documents and they're OCR'd and searchable. Highlight a passage and it becomes a citation. Cite it as the source of a dated fact and the chronology takes shape as you read.

Documents

Upload and OCR. Every page is searchable. Categorize, label, and set importance across the collection.

Highlights

Select a passage in the built-in viewer and it becomes a citable annotation — slug, color, page, pin cite.

Timeline

Each fact carries a date, description, and the sources that prove it. The chronology assembles itself as you read.

Witnesses

Track witnesses by name, affiliation, and alignment. Link them to highlights and facts across the matter.

Notes

Per-matter notes for strategy, research threads, or anything that doesn't belong in a document.

Labels

Color-coded tags that cut across documents, highlights, and facts. Filter any view by label.

Search

One search across documents, highlights, facts, and notes, with filters for type, date, importance, and label.

AI

A confidential AI pipeline that loads your documents and annotations automatically. Optional — off by default.

OPEN SOURCE

Client files belong on your server.

Kosmos is AGPL-3.0: free to run, read, and modify, forever. It's a boring, sturdy stack a firm's IT (or one determined associate) can operate: Django, PostgreSQL, and a background worker. No vendor between you and privileged material.

  • Self-hosted: your hardware or your cloud; full-text search and OCR run locally.

  • No per-seat pricing: add every paralegal, clerk, and time-keeper in the building.

  • AGPL-3.0: improvements to hosted copies come back to the commons.

terminalbash
$ curl -fsSL https://kosmos.law/install.sh | bash
→ your practice, at localhost:8000
Python
Django 4.2 LTS · 3.10+
Postgres
one database, yours
AGPL-3.0
free, as in freedom