Case & CodeA FIELD GUIDE TO AI
Start learning
Learning library

From understanding to building.

The library draws its subject structure from the 32-week Advanced AI for Legal Practice syllabus. Use these lessons as a companion and a route into its practical builds.

What this library covers

The syllabus is a full-year, build-oriented programme. These shorter lessons explain the concepts and provide bounded exercises; they do not reproduce every multi-hour lab or constitute the completed course. In particular, training a neural network, production multi-GPU serving, and a complete litigation capstone require additional implementation and study.

WeekSyllabus subjectStart with this lesson
1Computing fundamentalsUnderstand the hardware a local model needs
2AI workstations and memoryUnderstand the hardware a local model needs
3Python fundamentalsYour first useful Python script: a document inventory
4Text and structured dataYour first useful Python script: a document inventory
5Databases and SQLUse a database to preserve facts and sources
6Web and APIsAPIs and JSON: connect a model to a small program
7Machine learning and neural networksHow models learn from examples
8Tokens and attentionTokens, attention, and why wording matters
9Training, inference, and model evaluationWhy the same question can produce different answers
10Local inference and quantizationRun a local model and verify the actual setup
11Serving and multi-GPU conceptsUnderstand the hardware a local model needs
12Prompting and structured assignmentsGive AI a brief it can actually follow
13Building a model-backed applicationAPIs and JSON: connect a model to a small program
14Embeddings and retrievalKeyword search, semantic search, and reranking
15RAG fundamentalsHow document-grounded AI answers work
16Legal document ingestionPrepare documents before asking AI to analyze them
17Structured fact extractionBuild a chronology that survives checking
18Tools and permissionsBuild your first agent around a document inventory
19Workflow and agent architecturePrompts, skills, workflows, and agents
20Agentic legal engineeringWhen do multiple agents help?
21EvaluationTest an AI workflow on work you can assess
22Verification and adversarial testingRecognize prompt injection in documents and tools
23Fine-tuning and alternativesPrompting, retrieval, or fine-tuning?
24Persistent knowledge and contextBuild a knowledge library you can actually reuse
25Document review and discoveryDesign a review table before generating it
26Transcripts and examination preparationTurn a transcript into useful examination preparation
27Research and authoritiesResearch with AI without outsourcing the authority check
28Evidence-led draftingBuild a drafting workflow around the record
29Security and local/cloud boundariesMap where information goes before using a tool
30Deployment and operationsTurn a prototype into a service you can maintain
31Litigation workspace integrationMake recurring work resumable and reviewable
32Stress testing and rolloutTest an AI workflow on work you can assess

A useful capstone

Build a small fictional matter workspace that preserves original documents, retrieves relevant passages, stores reviewed facts, creates a source-linked chronology, supports one bounded workflow, and exports a verified work product. Add a known-answer test set, an access model, and a recovery procedure. Demonstrate the result to someone who did not build it.

Start with a small fictional record, then expand one dimension at a time. A prototype is complete for its stated scope when the actual outputs, checks, and recovery process work—not merely when a chat reports success.

Lessons, terms, practical guides and sources ESC