AI Engineering,
Governed at Scale
LenzAI is the platform that closes the gap between AI potential and enterprise reality — giving teams full control over models, agents, policies, and usage across every workload.
Platform Activity by Module
Core Capabilities
Everything you need to deploy, govern, and observe AI in production.
Lenz Engine
The governance layer — compose Personas, Providers, Skills, and Policies into governed environments for every team and workload.
WAR Reviews
Well-Architected Reviews for AI — structured assessments across five pillars to surface risk before it reaches production.
Evals
Define test suites, run automated evaluation pipelines, and track quality regressions across every model and persona change.
Security Scanning
Automated pen-testing and vulnerability scans against your AI surfaces — scheduled or on-demand with structured reporting.
Dashboards
Live token usage, latency distributions, error rates, and cost telemetry — all in a single pane, real-time via SignalR.
Helm Deployments
Production-grade EKS deployments via a Helm umbrella chart. Staging → Prod pipeline with DAST gates and required approvals.
The Governance
Layer
Compose AI environments from seven governed primitives. Every request flows through the Engine — enforcing policies, resolving secrets, and routing to the right provider.
Seven Governed Primitives
Each primitive is independently managed and version-tracked.
Environments
Environments are the deployment boundary — each one packages a set of primitives into a governed, isolated context.
Request Flow
Every API call traverses the Engine in a deterministic, audited sequence.
Auth & Identity
RS256 JWT validation, workspace resolution, and role binding against the active Environment.
Policy Evaluation
Policies attached to the Environment are evaluated in declared priority order — block, allow, or transform the request.
Provider Routing
The active Persona selects the bound Provider. Secrets are injected at runtime from the vault — never from environment variables.
Skill & MCP Dispatch
Skills and MCP Server calls are resolved, executed within timeout budgets, and responses are assembled.
Audit & Telemetry
Every request is written to the audit log and usage counters before the response is returned.
AI Architecture,
Reviewed
WAR Reviews give teams a structured way to assess AI workloads across five architectural pillars — surfacing gaps before they become production incidents.
Pillar Score Distribution
Five Pillars
Security
Prompt injection hardening, secret handling, and data boundaries.
Reliability
Fallback chains, retry policies, and multi-provider resilience.
Performance
Latency budgets, streaming config, and caching strategies.
Governance
Policy coverage, audit completeness, and access controls.
Cost Efficiency
Token budget management, provider cost optimisation, and waste tracking.
Review Lifecycle
Create Review
Define scope — workload name, environment target, and team assignees.
Answer Pillar Questions
Work through the structured question set for each of the five pillars. Partial saves are supported.
Score & Gap Analysis
The Engine scores each pillar and surfaces specific risks with recommended remediations.
Publish Report
Export a signed PDF report or share a live link — scoped by workspace permissions.
Quality That
Doesn't Regress
Define eval suites once, run them automatically on every Persona or Provider change, and catch quality regressions before they ship.
Latest Suite Results
CI Integration — Eval runs trigger automatically when a Persona is updated. Failing suites block promotion to production environments.
LLM-as-Judge
Beyond pass/fail — use a judge model to score semantic correctness, tone adherence, and policy compliance on open-ended outputs.
Suite Configuration
Test Cases
Define input/expected-output pairs. Supports exact match, regex, semantic similarity, and custom judge assertions.
Scorers
Configure per-suite scoring strategy: threshold-based pass/fail or weighted scoring across multiple evaluator types.
Trend Tracking
Every run is versioned. View score history, diff results across runs, and set regression alerts on any metric.
Automated Pen-Testing
for AI Surfaces
Schedule recurring scans or run on-demand assessments against your AI endpoints — LenzAI surfaces, categorises, and tracks vulnerabilities so your team can act fast.
Findings by Severity
Severity Breakdown
Scan Types
Prompt Injection
Automated corpus of injection payloads run against every registered endpoint. Results classified by technique and severity.
Data Exfiltration
Detects boundary violations — model responses that include data outside the permitted scope for the active Policy set.
Jailbreak Detection
Tests instruction hierarchy integrity — whether system-level guardrails hold under adversarial user inputs.
OWASP LLM Top 10
Structured scan suite covering the OWASP LLM Top 10 categories with remediations mapped to Lenz Engine primitives.
Live Telemetry,
Zero Guesswork
Every token, every request, every error — streamed in real time to your dashboards via SignalR. No polling, no lag.
Token Usage Over Time
Request Metrics
Real-time RPS, p50/p95/p99 latency, error rates, and provider-level breakdown — all pushed via SignalR WebSocket.
Cost Analytics
Per-workspace, per-persona, per-provider token cost tracking. Set budget alerts before they become surprises.
Audit Logs
Immutable log of every request, policy decision, and configuration change — queryable and exportable.
Anomaly Alerts
Statistical anomaly detection on token velocity, error rate spikes, and latency regressions — Slack or webhook delivery.
EKS, Helm &
CI/CD
LenzAI ships as a Helm umbrella chart on EKS. The CI/CD pipeline enforces security gates, required approvals, and automated rollback on every production deploy.
Pipeline Stages
Build & Push to ECR
Docker Buildx builds studio, auth, and agent-runner images and pushes to ECR with a short-SHA tag.
Trivy Container Scan
All three images scanned in parallel. HIGH or CRITICAL CVEs block the pipeline — SARIF results uploaded to GitHub Code Scanning.
Helm Deploy → Staging
helm upgrade --install to lenzai-staging namespace on EKS. Smoke tests and API health checks gate promotion.
OWASP ZAP DAST
Baseline DAST scan runs against the staging API. Findings reported — failures are soft-blocked pending review.
Deploy → Production
GitHub Environment required-reviewers gate. OIDC auth, helm upgrade to lenzai namespace, rollout status verified.
Snapshot → main
git merge --ff-only origin/prod — main is a read-only snapshot of the last successful production deploy.
Chart Structure
lenzai-api
Studio deployment — includes network policies, resource quotas, IRSA service account, and HPA configuration.
lenzai-auth
Auth service deployment with rate limiting: configurable RPS, connections, and burst multipliers per environment.
agent-runner
Ephemeral sidecar containers that execute Bash Tool commands in an isolated context with IRSA-scoped permissions.
Up and Running
in Minutes
From zero to a governed AI environment — follow the steps below to bootstrap your first LenzAI workspace.
Prerequisites: An AWS account with EKS cluster access, kubectl configured, and Helm 3.15+. All secrets are managed via AWS Secrets Manager — no plain-text credentials required.
Bootstrap Terraform State
Run the bootstrap script to create the S3 backend and DynamoDB lock table, then apply the cicd-bootstrap module to provision the OIDC deploy role and ECR repositories.
Configure GitHub Secrets
The cicd-bootstrap-apply workflow auto-syncs AWS_DEPLOY_ROLE_ARN, ECR_REGISTRY, and AWS_ACCOUNT_ID to your repository after a successful apply.
First Deploy
Push to the develop branch to trigger a staging deploy, or use workflow_dispatch targeting staging to deploy on demand.
Create Your First Environment
Log into the Studio, navigate to Lenz Engine → Environments, and define a new Environment with at least one Persona and Provider bound.
Run Your First Eval
Create an Eval Suite with a handful of test cases and run it against your new Persona. Use the results to baseline quality before you go further.
Branching Model
develop → staging
The develop branch is the staging target. CI must pass before the deploy workflow is triggered.
prod → production
The prod branch deploys to production. A GitHub Environment required-reviewers gate must approve first.
main → snapshot
main is read-only — auto-updated after every successful production deploy via fast-forward merge.