Inspiration

Solo practitioners and boutique law firms face a critical challenge in the AI era:

  • The Ethical Dilemma (ABA Formal Opinion 512): Lawyers have non-negotiable confidentiality duties. Generic AI chatbots (ChatGPT/Claude) mix memory and lack case isolation, risking cross-matter data leaks of trade secrets or settlement numbers.
  • The Enterprise Paywall: Enterprise legal AI tools cost \$1,200/month/lawyer with 25-50 seat minimums, shutting out 80% of independent practitioners.

We built Beaverly—a private, always-on personal legal AI copilot guided by one core rule:

"Learn how you work — without learning what you shouldn't."


What it does

Beaverly gives boutique attorneys a private, self-learning copilot with built-in ethical protection:

  • Persistent Lawyer Memory: Barry learns your drafting habits in real-time with Git-style versioning and instant rollback, distinguishing Global Writing Style from Matter-Specific Rules.
  • Strict Matter Privilege Isolation: Powered by NVIDIA OpenShell, each client matter runs in a sealed workspace. Unauthorized cross-case queries are immediately blocked with audit logs.
  • Pre-Submission Fact Verification Studio: Deep cross-examination of outgoing drafts against executed contract records. Flags date discrepancies (e.g., 2026 vs. executed 2019) and entity misnomers (Belicum vs. Bellicum) in red with 1-click patching.
  • Zero-Leak Client Data Destruction: When closing a matter, one click physically shreds LanceDB vectors and case files while preserving the attorney's learned drafting skills.
  • 1-Click Delaware-Compliant PDF Exporter: Instant export of formal correspondence with bar-compliant metadata and headers.

How we built it

Beaverly utilizes a high-performance model routing matrix on Nebius Token Factory:

  • nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B: Fast intent classification and habit extraction (<300ms latency).
  • nvidia/nemotron-3-super-120b-a12b: Primary engine for deep legal reasoning, contract cross-examination, and fact auditing.
  • nvidia/Nemotron-3-Ultra-550b-a55b: Handles complex statutory edge cases and multi-jurisdiction conflicts.
  • NousResearch/Hermes-4-405B: Multi-step reasoning and function tool orchestration.
  • Qwen/Qwen3-Embedding-8B: 4096-dimensional dense embeddings. Nebius parallel batch endpoints delivered an 18x speedup for contract ingestion into LanceDB.
  • Security & Stack: Enforced by NVIDIA OpenShell container boundaries; built with a FastAPI backend and responsive React parchment UI.

Challenges we ran into

  • Preventing False Positives in Legal Fact Checking: Naive string matching missed typos or caused duplicate corporate suffixes (e.g., Belicum turning into Bellicum Pharmaceuticals, Inc. Pharmaceuticals, Inc.). We engineered a multi-stage validation algorithm combining token fuzzy matching with suffix pattern deduplication.
  • Zero-Leak Data Shredding: Ensuring that deleting a matter completely purged vector embeddings without leaving orphan traces, while safely retaining the lawyer's personal writing habits.

Accomplishments that we're proud of

  • 100% Precision in Catching Fatal Contract Errors: Accurately catches critical date mismatches (March 27, 2026 vs. executed 2019) and party name misnomers (Belicum vs. Bellicum) before filing.
  • Democratizing Enterprise Legal Protection: Brought ABA Model Rule 512-compliant privilege protection to solo lawyers at near-zero marginal cost.
  • Pre-Loaded Benchmark Cases: Bundled real SEC EDGAR contracts from the Atticus CUAD v1 dataset for zero-friction testing.

What we learned

  • Generic RAG fails in law: verification requires structured cross-examination tied to executed clause evidence.
  • NVIDIA Nemotron models deliver outstanding fidelity in legal drafting without statutory hallucinations.
  • Ethical AI boundaries must be enforced at the kernel/sandbox level (like OpenShell), not solely via prompt instructions.

What's next for Group Beaverly

  • Expanding bar rule packages for California, New York, and UK SRA standards.
  • 1-click private deployment on Nebius AI Cloud DevPods.
  • Direct Microsoft Word and Google Docs add-ins for in-editor contract auditing.

Built With

  • agent
  • api
  • case-isolation
  • document-ingestion
  • embedding-models
  • fastapi
  • hermes
  • lancedb
  • legaltech
  • nano
  • nebius
  • nemotron
  • node.js
  • openshell
  • pydantic
  • python
  • rag
  • react
  • sqlite
  • tailwind
  • token
  • uvicorn
  • vite
Share this project:

Updates

Submission history