Open Source • MIT Licensed

Legal Intelligence
at Your Fingertips

AI-powered legal document analysis and case research directly from your terminal. Built by lawyers, for lawyers and developers.

$ npm install -g @v-lawyer/kanuni
terminal
$ kanuni analyze contract.pdf
📄 Analyzing document...
🔍 Extracting key clauses...
⚖️ Identifying legal risks...
✓ Analysis complete!
Key Findings:
• Non-compete clause: 2 years, 50-mile radius
• Termination: 30-day notice required
⚠ Potential issue: Unlimited liability clause

Install in Seconds

Choose your preferred installation method

Install Kanuni globally using npm (requires Node.js 18+)
npm install -g @v-lawyer/kanuni
Automatic updates, cross-platform support, and npm ecosystem integration

Verify Installation

$ kanuni --version
kanuni 0.1.0

Powerful Features

Everything you need for legal document analysis and research

Document Analysis

Extract key clauses, identify risks, and get AI-powered insights from any legal document

AI-Powered Chat

Ask questions about your documents and get instant, accurate legal insights

Case Law Search

Search millions of cases with natural language queries and get relevant precedents instantly

Secure & Private

Your documents never leave your control. All processing happens securely with enterprise-grade encryption

Cross-Platform

Works seamlessly on macOS, Linux, and Windows. One tool for all your devices

Open Source

MIT licensed and community-driven. Contribute, customize, and build on top of Kanuni

Get Started in Minutes

From installation to your first analysis in under 5 minutes

Quick Start

1

Install Kanuni

$ npm install -g @v-lawyer/kanuni
2

Authenticate

$ kanuni auth login

Use OAuth device flow or API keys for secure authentication

3

Analyze Documents

$ kanuni analyze document.pdf

Get instant AI-powered analysis of any legal document

You're Ready!

Start analyzing documents, searching case law, and getting AI-powered legal insights

Common Commands

kanuni analyze [file]

Analyze legal documents for key clauses, risks, and insights

kanuni chat

Start an interactive AI chat session about legal topics

kanuni search "query"

Search millions of legal cases with natural language

kanuni config

Configure API endpoints, authentication, and preferences

kanuni --help

Show all available commands and options

Full Documentation

Learn advanced features, API integration, and best practices

Read the docs →