Tutorials

Practical, end-to-end guides based on real smoke tests from the Kavach codebase. Each tutorial demonstrates actual API calls and MCP tool usage.

Getting Started

Local Developer Workflow

Start Keycloak, REST, MCPO, Studio, Neo4j, demo seed data, and worker health in the supported local workflow.

Beginner15 min

Prerequisites

Python 3.12+ · uv · Docker for infrastructure

Operations

Docker Deployment

Stand up the full stack: REST API, Kavach Studio, and Neo4j with managed datastores.

Advanced20 min

Prerequisites

Docker installed

Getting Started

REST Control Plane

Explore the full REST API surface: health checks, evaluations, governance comparisons, experiments, and job management.

Beginner15 min

Prerequisites

Docker Compose running · API on localhost:8000

Governance

Review Governance Decisions

Inspect a decision outcome, validate its evidence graph, follow ontology lineage, and record a defensible review conclusion in Kavach Studio.

Beginner15 min

Prerequisites

Kavach Studio running · Seeded data or a persisted decision

Studio

Kavach Studio - Experiment Management

Register governed candidates, run evaluations, compare configurations and metrics, and inspect leaderboard recommendations in Studio.

Beginner20 min

Prerequisites

Kavach Studio running · Seeded data or governed registry assets

Studio

Kavach Studio - Replay Management

Reproduce a historical execution from frozen evidence, follow worker execution, and review comparison and drift results.

Intermediate25 min

Prerequisites

Kavach API and worker running · Replayable historical execution

Interfaces

MCP Server Basics

Learn the Kavach MCP foundations, from direct calls and stdio to native Streamable HTTP and MCPO.

Beginner20 min

Prerequisites

Kavach API running · Python 3.12+

Interfaces

Native MCP Streamable HTTP

Connect MCP-aware clients over HTTP with a Keycloak bearer token, then validate the setup in MCP Inspector.

Intermediate20 min

Prerequisites

Kavach local stack running · Python 3.12+

Interfaces

MCP Controlled Writes

Submit evaluations, create experiments, and manage jobs through the MCP server with full audit trails.

Intermediate25 min

Prerequisites

MCP server basics · Kavach API running

Governance

Governance Insights

Explore experiment insights, candidate explanations, drift analysis, investigations, and report generation.

Intermediate30 min

Prerequisites

Experiments and evaluations created · API running