# A law firm's knowledge graph cut agent answer time by 73%

Original title: Building full-firm knowledge graphs to dramatically speed up agents

> Hacker News story 50167523 · language: en · submitted 2026-10-20
> Web version: https://zeli.app/story/50167523
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 7 · by [alansaber](<https://news.ycombinator.com/user?id=alansaber>) · 💬 0
[original](<https://lexifina.com/blog/building-full-firm-knowledge-graphs-to-dramatically-speed-up-agents>) · [HN discussion](<https://news.ycombinator.com/item?id=50167523>)

## Summary

Lexifina built a knowledge graph of a simulated law firm—6,333 nodes and 7,563 edges across seven layers—from JSON exports in about 1.6 seconds with zero model calls. On five firm-wide questions, an agent using the graph answered 73% faster, read 92% fewer input tokens, and made 66% fewer model calls, all while staying as accurate. A hybrid approach—rules first, a small model only for flagged sentences—cost under 5 cents.

## Key quote

> The model is asked just for the graph's fields, and its answer is saved, so a rebuild pays only for new text.

---

## Cite

- Page: https://zeli.app/story/50167523
- Date: 2026-10-20
- Source: lexifina.com (https://lexifina.com/blog/building-full-firm-knowledge-graphs-to-dramatically-speed-up-agents)
- Hacker News: https://news.ycombinator.com/item?id=50167523

## Other languages

- zh: https://zeli.app/zh/story/50167523 · markdown: https://zeli.app/zh/story/50167523.md
