Platform · Legal · Case management

In development

Every matter as a living graph: what is done, what is due, and which way the case went.

A case management platform for law firms of any practice. Each firm defines its own matter types, its own data fields and its own document templates, then runs every case against a process graph that branches on outcomes, works out its own deadlines and shows each lawyer what is due.

Client
A Pikabyte product for law firms
Country
Malaysia
Services
Custom business systemsWorkflow and document automation
casework / cases / process
Interface illustration with sample data. No client records are shown.
10
Malaysian procedures in the built-in process library
5
kinds of step: firm action, waiting period, other side, court event, milestone
4
field types a firm can add: text, number, date, financial
183
automated backend tests
01

Your own fields

Add any field to a matter type. It becomes a form input, a filter and a template variable.

02

Process graph

Branches on outcomes, joins on all or any, and closes the paths a case did not take.

03

Computed deadlines

Calendar or working days, counted from the rule each step sets, with alerts.

04

Process library

Ten Malaysian procedures to adopt and adapt, each a complete graph.

The idea

Clausework, our first legal platform, is built for one kind of work: banking recovery. It knows that work deeply and nothing else. CaseWork is the general version. A firm that does probate, defamation, employment or construction disputes should not need a developer every time it takes on a new kind of matter. So nothing about a matter is fixed in code. The firm describes its own practice, and the system runs it.

Variables the firm creates freely

A firm sets up practice areas, then matter types beneath them. For each matter type it adds whatever fields that work needs: a claim amount, a date of incident, a hospital name, a tenancy address. Each field has a type, and can be marked required or made available as a filter on the case list. The moment a field exists, it is also a variable. Its code can be typed straight into a Word template, and the letter fills itself from the case.

  • Four field types: text, number, date and financial
  • Each field's code is the variable name used in Word templates for that matter type
  • The same schema drives the case form, so new fields appear on screen without a release
  • Any field can be switched on as a filter on the case list
  • If a template refers to a variable the case has not filled, the placeholder is kept in the document and reported, never silently dropped
  • A case can be opened with just a matter type and a case number, and filled in as the facts arrive

The process graph

A legal matter is not a checklist. It forks. The expert report is supportive or it is not. The other side responds or stays silent. CaseWork models each procedure as a graph of steps joined by dependencies. A step can declare outcomes, and a dependency can require a particular one, so finishing a step with one outcome opens that branch and closes the other. Steps on a branch the case did not take are marked not applicable on their own. That is why the progress counter can honestly say six of fourteen, instead of counting steps that will never happen.

  • Steps can wait for all of their predecessors, or for any one of them
  • Outcomes on a step create forks; the branch not taken closes itself
  • Steps can be optional, or terminal, ending the matter when completed
  • A step can require a document or a remark before it can be completed
  • Steps can be skipped or reopened, and the whole graph is recalculated each time
  • Loops are rejected when a template is saved, so a process can always finish
  • The same case can be viewed as a timeline or as an interactive graph with a minimap

Deadlines that work themselves out

Each step carries a duration and a rule for what it is counted from: the end of the steps before it, the start of the process, the day the step itself began, or a date entered by hand, such as a hearing date. Durations can be in calendar days or working days, because some procedures count one and some the other. Due dates are computed as the case moves, and every live step shows a countdown and an alert window.

  • Four anchors for a deadline, chosen per step
  • Calendar days or working days, per step
  • A configurable alert period before each due date
  • Overdue and due-soon steps surfaced in a notification bell
  • Working days skip weekends. Public holidays are deliberately not applied, because they differ by state, and the system says so rather than guess

A library of procedures to start from

A new firm does not begin with a blank canvas. CaseWork ships with a library of ten Malaysian procedures, each a complete graph with its branches and periods: medical negligence, debt collection, defamation, unfair dismissal, road accident, divorce, probate, judicial review, land acquisition and construction adjudication. A firm previews a procedure as a graph, adopts it with one action, and gets its own copy to edit. The copy records which version of the library it came from.

My work

Most systems answer the question: what is left on this case? Lawyers open the system with a different one: what do I need to do today? The My Work page answers it across every matter a lawyer is assigned to, ordered by urgency: overdue, due soon, upcoming and undated.

Where it stands

CaseWork is in development and not yet in production. The engine, the configurable fields, document generation, the process library and the graph views are built and covered by 183 automated backend tests. It is multi-tenant from the first line, on the same foundations as Clausework.

  • React 19
  • TypeScript
  • Mantine
  • React Flow
  • Django
  • PostgreSQL
  • docxtpl + Jinja2

More work

All work
clausework / mortgage-debtors
Legal · Banking litigation

Clausework

From a bank's spreadsheet to court-ready documents, with every step on the record.

Kek Ooi & Lee Hong
iqc / quality-control
Manufacturing · Water reticulation

IQC

Every product traced from the factory floor to the purchaser, with a certificate anyone can verify.

Soon Chuan Hong Hardware Sdn. Bhd.
question-bank / review-jobs
Education · Assessment content

Question Bank AI

Textbooks in, reviewed exam questions and learning cards out, in English and Bahasa Melayu.

Tavis

Start a conversation

Facing something similar?

Tell us what is slowing the business down. You will talk to an engineer, not a salesperson, and get a straight answer on whether software is the right fix.