Skip to content
← cd ../work

Kendot Legal

A law firm website with a cited AI assistant for visitors, a private one for lawyers, and paid consultation booking from Google Calendar.

note: concept build. The business is fictional, built as a working demo. The software and the test results are real.

Kendot Legal home page on a laptop, with the AI assistant button in the corner

Results

Answer correctness on a 40-question test set
100%
Citations checked against their source page
65/65
Prompt-injection attempts resisted
100%
Lighthouse performance / accessibility
99 / 100
AI cost per question
$0.003

cat problem.md

The problem

Most firm websites are brochures. A visitor with a real question has to read several articles or phone the office, and inside the firm, lawyers search shared folders for precedents. An AI assistant helps with both, but a law firm cannot risk one that invents facts, gives advice it shouldn't, or leaks internal documents.

Kendot Legal is a fictional mid-sized Lagos and Abuja commercial firm, built end to end to show what a modern firm website can do. Everything is real software; only the firm is invented.

What we built

A public assistant on every page. It answers visitors’ questions from the site’s own content and links to the page each fact came from. When a visitor asks for advice on their own situation, it hands them to a lawyer with an enquiry form instead of answering. For matters the firm doesn’t handle, it says so and refers the visitor on.

A private assistant for the firm’s lawyers. Behind a password, it answers from internal precedents, templates, procedures and the matter list. Its documents live in a separate table behind a separate engine, and 13 automated tests check that nothing internal can reach the public assistant.

Consultation booking. The visitor picks a free slot from the firm’s Google Calendar, pays the fee, and the firm confirms after a conflict check. Confirming sends a calendar invite, with a Google Meet link for video calls. The firm gets a WhatsApp alert at each step.

How we know it works

We wrote the targets down before the first test run, then measured against a 40-question test set: normal questions (including Pidgin and follow-ups), trick questions, advice requests, matters the firm doesn’t handle and prompt-injection attempts. The first run missed several targets. The write-up in the repository explains what failed and how each problem was fixed.

What it costs to run

The website hosting is free. For a real firm, the assistant server is about $7 a month, and each answered question costs about $0.003 in AI fees, so 1,000 questions is roughly $3.

cat project.json

industry:
Legal
built:
October 2026
stack:
AstroTailwindFastAPIClaude Haiku 4.5Voyage embeddingsPostgres + pgvectorGoogle Calendar APIDockerVercelRender

cat next-step.md

Want results like these?

Book a free 30-minute strategy call. You'll leave with at least one concrete idea, whether or not we work together.

Book a Free Strategy Call