x-arcdeploymentsw. harris consulting

W. Harris Consulting

Grounded agents that answer from a law firm’s own case files, on a shared platform where each firm’s data stays apart.

The problem

A law firm’s knowledge lives in its case files, in the letters, statements, contracts and notes that build up over the life of every matter, all kept in a CRM that was made to store them rather than to answer questions about them.

Knowing where a case stands therefore means reading its file, and knowing where the whole caseload stands means asking someone to put a report together. Legal work also raises the bar for any AI that touches it: an answer is only useful if it can be traced to the document it came from, and a platform that serves more than one firm has to keep each firm’s data out of every other firm’s reach.

What we built

CaseGuard is a platform shared by several firms, built around grounded agents, grounded meaning that they answer only from the firm’s own data rather than from what a model remembers in general. The case agent works inside a single case: it answers from that case’s documents and cites the document behind every claim, so a lawyer can check any claim against its source.

The caseload agent answers questions across all of a firm’s cases, and it does so through pre-checked queries rather than free-form database queries. Instead of writing a query of its own, it chooses among queries that were written and tested in advance, so whatever it reports comes from a query that was checked before it ever ran.

Underneath, the firm’s CRM is connected with credentials that are stored encrypted, and the documents that arrive through it are processed into a searchable index that the case agent reads. Each firm’s data is kept separate by the database itself, so the separation does not depend on the application remembering to apply it. Within a firm, role-based access decides who can see what, and it is managed from an admin panel.

CaseGuard's agents were built through x-arc core. The firms asked for answers that can be traced back to where they came from, and for data to stay within the firm that owns it, and these requirements became a configuration: the case agent drawing its knowledge solely from the documents of a case, the caseload agent reaching the database only through queries prepared and verified in advance, and the database itself keeping firms apart. Where the model's freedom ends and where the code takes over was decided there, before anything was built.

the CRM ENCRYPTED CREDENTIALS THIS FIRM case records documents PROCESSED searchable index ANOTHER FIRM ANOTHER FIRM SEPARATED IN THE DATABASE pre-checked queries caseload agentACROSS EVERY CASE case agentCITES EVERY CLAIM the CRM ENCRYPTEDCREDENTIALS OTHER FIRMS THIS FIRM case records documents PROCESSED searchable index SEPARATED INTHE DATABASE pre-checked queries caseload agentACROSS EVERY CASE case agentCITES EVERY CLAIM

How it is used

A lawyer opens a case and asks about it in plain language, and the answer comes back with each claim tied to the document it rests on, so the file is checked rather than searched.

Questions about the whole caseload go to the caseload agent, which answers with the result of a pre-checked query, laid out as a table that whoever manages the caseload can read at a glance.

What changes for the firm

A question about a case no longer waits for someone to read the file, and a question about the caseload no longer waits for a report. Because every answer shows where it came from, the time saved on finding is not spent again on checking.

Get started

It begins with the problem your business faces.