Your law practice, in order.
Kosmos is open-source practice management for law firms: matters, billing, and trust accounting alongside a case builder and an AI that has actually read the file. Self-hosted, on your own terms.
Everything a firm runs on, without the per-seat toll.
Run the practice
Contacts: Clients, opposing counsel, and courts; mirrored to your Google Contacts.
Calendar & deadlines: Two-way Google Calendar integration; nothing filed a day late.
Time & expenses: Entries per time-keeper, captured as work happens.
Invoicing: From unbilled time to a PDF on letterhead, payable online by card or ACH.
Trust accounting: Client funds tracked separately, the way the bar expects.
Intakes: A front door for new clients that feeds matters, not inboxes.
Build the case
Full-text search: One search across documents, highlights, and facts.
Case law research: CourtListener lookups, saved into the matter as citable authority.
Documents & OCR: Scanned PDFs come out searchable; Tesseract runs on your box.
Across the firm
Multi-user: Attorneys, paralegals, and staff with role-appropriate access.
Reports: Productivity, realization, and aging, straight from the data.
From a box of PDFs to a case you can argue.
Every document is 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.
Highlights & citations: passages carry their source, page, and pin cite wherever they're used.
Chronological fact timelines: the story of the case, assembled from evidence, not memory.
Case law via CourtListener: research lands in the matter, categorized and citable.
A. After we left the yard. We changed it on the road, that was normal for those runs.
Q. Was the shipper notified of the change?
A. Not that I know of.
An assistant that reads the record first.
Every matter has its own AI chat, and an automated selector decides which documents, case law, Drive notes, and prior conversations belong in the conversation, staying inside the model's context budget, so answers cite the file instead of guessing at it.
Claude and Gemini: bring the model you trust; switch per conversation.
Your keys, your calls: the app, database, and search live on your server; the only outbound traffic is direct model-API calls under your own keys.
Citations checked, not trusted: every case an answer cites is verified against CourtListener, with optional vetting of whether the opinion actually supports the claim.
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.