How a private graph answers contract questions without a SaaS dump
Link contracts, mail, and calendar on your machine so a small practice can ask renewal questions with citations — without shipping client files to cloud AI.
By Trellis

A partner asks a question that should be simple: which contracts renew this quarter? The answer is not in one system. It is in a contracts folder of PDFs, three email threads that changed the dates, and a calendar hold someone never put on the master list. Spreadsheets help until they do not. Shared drives help until nobody remembers which copy is current. The practice does not need another place to upload everything. It needs a way to link what already exists and answer with citations — without a default dump of client files into multi-tenant AI SaaS.
That is the job of a private knowledge graph on the machine you already trust with the files. Trellis is built for developers first, but the same local graph is aimed at small practices too: contractors, lawyers, clinics, and accountants who live in contracts, invoices, client records, and email.
The question lives across three places at once
Renewal and status questions fail for a boring reason. The durable facts live in different shapes:

- Files — signed PDFs, rate sheets, engagement letters, SOWs in a contracts folder or shared drive.
- Mail — the thread that extended a term, waived a fee, or confirmed a stop date.
- Calendar — the renewal review, the client call, the internal deadline nobody copied into the spreadsheet.
Industry contract-management writing is blunt about the failure mode: when agreements live across email, shared drives, and siloed tools, key dates go unseen and auto-renewals slip through. The usual product answer is to centralize the pile inside a vendor platform and automate alerts there. That solves visibility after you have moved the office into their system of record.
A private graph takes a different cut. It does not require you to abandon mail or the folder tree as the places work already happens. It asks whether those sources can deposit typed, linked memory on hardware you control — so “which contracts renew this quarter?” is a neighborhood walk across file, thread, and event, not three separate searches and a memory test.

What a SaaS dump actually costs a small practice
“Just upload it to the AI” is easy on a Tuesday and expensive on the day the terms change.
Cloud contract-lifecycle tools sell a single source of truth for renewals: centralize contracts, alert on key dates, route workflows. That is a real product category. It also means the practice’s agreement pile becomes their corpus under their retention story. For a five-person shop, the cost is not only the subscription. It is the new habit that every new PDF must enter the vendor first, or the dashboard lies.
Private AI write-ups for law firms make a related point without needing any product brand: the risk of public LLM tools is not that models are useless; it is that client materials leave a controlled environment when you paste or bulk-index into a multi-tenant service. On-prem and private deployments exist precisely so firms can search and summarize without a public API as the default path. Those articles still usually describe custom RAG projects over document stores — not a ready multi-source graph of mail, calendar, and local files.
So a small practice is stuck between two imperfect defaults: CLM SaaS (upload the stack) or generic private LLM (run a model somewhere safer, still invent the wiring). Neither is the same as a local knowledge graph whose data and graph stores sit next to the files you already keep in the office.
This is not legal advice, and it is not a compliance certificate. It is a structural choice: what has to leave the machine for the answer to exist?

What lands in a private practice graph
Trellis’s public story for professionals is specific: contracts, invoices, client records, and email — searchable, linked, and cited — because the graph runs locally and confidential files are not meant to leave the office as a default. The illustrated query on the landing page is the same one this article opened with: which contracts renew this quarter?
Three product pieces make that claim hold water:
Connectors and files. The integrations wall is not a “documents only” crawler. It includes mail and calendar systems with explicit payload hints — Outlook (email · meetings), Gmail (email threads), Google Calendar (events · attendees) — alongside other systems of work. Local files enter the same map: Markdown, PDFs, and spreadsheets are first-class prose intake, not an afterthought. You do not need a mythical “contracts connector” product name. A contracts folder of PDFs plus the mail and calendar you already use is enough intake to start linking.
Typed graph over a data layer. Under the hood, connectors and files feed a data layer; a graph layer holds typed entities and the typed relationships between them; prose is still chunked, embedded, and cited. Everything becomes typed nodes joined by typed edges — not only a bag of snippets. That is what makes multi-hop questions possible without pretending a vector search over dumps is a graph.
Continuous intake. Lifecycle hooks re-index changed files and pull connector updates each session. The graph is meant to stay current without a quarterly “re-upload the office” project.
You do not need every integration on day one. You need the families that own the renewal question for your practice — usually files plus mail, often calendar — and enough discipline that new agreements land where the graph can see them.
How an agent answers the renewal question, with sources
Picture a small contracting firm or a solo lawyer’s office. The graph already holds:
- PDF engagement letters and SOWs from a contracts directory (prose nodes with citations back to the files).
- Email threads from Gmail or Outlook that mention extensions and stop dates.
- Calendar events for “Acme renewal review” with attendees.
The question which contracts renew this quarter? is not a dashboard KPI. It is a join: contract documents whose terms or related threads point at Q3, linked to messages that changed dates, linked to meetings that lock the decision window. The answer should name the sources — path to the PDF, message, event — so a human can open the original before calling a client.
That is the same “linked questions” idea Trellis describes for a codebase knowledge graph, applied to practice records. A full analytics dashboard or graph visualization product is future direction, not the path today. What you have now is queryable private memory — for people and for agents over the same graph — with citations into the materials you already own.
If the graph cannot see a source, it cannot cite it. That is a feature. A SaaS dump that claims omniscience while silently missing the side email is worse than an honest local map with gaps you can fill.

Private means the graph stays on the machine you already trust
Local-first here is not a slogan on a pricing page. The product FAQ states it in operational terms: the graph, the vector store, and the summaries run on your hardware — Neo4j and Qdrant in Docker. Secrets are scrubbed on ingest. The licensed app does send Trellis license check-ins, usage counts, product analytics and a connector status feed; you can turn the last two off, and none of them carries your content. If anything ever syncs, you choose it explicitly.
In short: the stores run where you put them, secrets are scrubbed, and the app’s check-ins, usage counts, analytics and status reports carry none of your content. The trust boundary is the office machine (or the practice server) you already use for client files. Ops tooling around plan and keys is not a substitute for a practice BI suite, and it is not where the private graph is meant to live — the graph and vector stores stay local. For the engineering retention argument in more depth, see why your codebase index should stay on your machine.
For a professional practice, that boundary is the product. You can still be wrong about a date. You should still open the PDF. What you should not need is a bulk export of every client agreement into someone else’s training-and-index stack just to ask a quarterly question.
What a private practice graph is for
Trellis is not a full contract lifecycle suite — it does not replace clause libraries, e-sign, or procurement workflows. It links the materials you already have and returns them, with their sources, to the agent or person asking. Privacy language here means where the data lives and runs, not legal, medical, or accounting advice.
The graph is useful for code too; this piece is about practice records. For how connectors deposit typed entities more generally, see what connectors put into a private knowledge graph. A connector marketplace, analytics dashboard, or graph UI may arrive later as labeled direction. What you can use now is connectors, local stores on hardware you choose, and enough structure to ask the renewal question without a SaaS dump.
A private graph does not make the messy office tidy overnight. It makes the links explicit, the answers citable, and the default path for client files stay home. For a small practice, that is often the difference between trying AI once and trusting it with real work.
Want this for your team?
Trellis builds local-first knowledge graphs for coding agents, and the Free plan runs on your own machine.