Documentation
Installation
Get LearnLock v0.1.8 running in under 5 minutes.
pip (Recommended)
pip install learn-lock==0.1.8From Source
bash
git clone https://github.com/MitudruDutta/learnlock.git
cd learnlock
pip install -e .Install Script (Inspect First)
Avoid piping a mutable remote script straight into your shell. Download it, review it, then run it.
bash
curl -fsSLo install.sh https://raw.githubusercontent.com/MitudruDutta/learnlock/main/install.sh
less install.sh
bash install.shFor automation, pin a tagged release or commit instead of the moving main branch.
API Keys Setup
LearnLock requires at least one API key. Both are free, and using both unlocks the best experience.
1. Groq API Key
- Go to console.groq.com
- Create an account (free)
- Generate an API key
Groq covers extraction and fallback LLM calls.
2. Gemini API Key
- Go to aistudio.google.com
- Sign in with Google
- Get API key
Gemini powers duel evaluation quality and the opt-in /visual frame inspector.
Set Environment Variables
macOS/Linux:
bash
export GROQ_API_KEY=your_groq_key
export GEMINI_API_KEY=your_gemini_keyWindows (PowerShell):
powershell
$env:GROQ_API_KEY="your_groq_key"
$env:GEMINI_API_KEY="your_gemini_key"Verify Installation
learnlock --versionNext step:
Quick Start Guide