Knowledge base
The AI and cloud security library
Practical, vendor-neutral explainers on AI, API, web, container and cloud security. All 207 are free to read, with no login. New here? Start with path 01, then work across.
Path 01 · Foundations
Understand the AI attack surface
Path 02 · Attacking and defending LLM apps
OWASP LLM Top 10 in practice
Show this learning pathHide this learning path
Path 03 · Agentic and supply chain
MCP, tools and provenance
Show this learning pathHide this learning path
Path 04 · Architect and govern
Zero Trust, detection and compliance
Show this learning pathHide this learning path
Filter by topic (137)
-
A/B testing & canary for prompts/models
Compare a new prompt or model on a slice of live traffic, and roll back automatically when guardrail metrics regress.
-
Access Control for AI Agents (RBAC/ABAC, Least Privilege)
Bind an agent to the end user identity with scoped tokens, and check RBAC or ABAC policy at every tool, outside the model.
-
Agent Memory
Agents carry short-term, long-term and episodic memory; learn what each layer stores and how retrieval can fail.
-
Agents & the Agentic Loop
An agent loops through model decision, tool call and observation until done; learn the stop conditions and cost limits.
-
Audit & Data Lineage for AI
Log each AI interaction in append-only, tamper-evident storage so you can trace any output to its prompt, context and model.
-
Base vs instruct vs reasoning models
Base, instruct and reasoning models differ in training and cost; choose by task, with instruct as the default.
-
Chunking & Indexing Strategies
Split documents into chunks that stand alone and rank well, using fixed windows, document structure, parents and context prefixes.
-
CI/CD for AI apps
Gate prompt, RAG and model changes in CI with an eval suite that scores quality, cost and latency against a baseline.
-
Circuit Breakers & Timeouts
Set time-to-first-token timeouts and circuit breakers for LLM calls so a provider brownout does not exhaust your workers.
-
Code Agents (Plan + Edit + Run)
Code agents read a repository, plan and edit across files, run tests, and repair from the output inside a sandbox.
-
Computer-Use / Browser Agents
How a computer-use agent loops from screen to action, why it grounds on the DOM, and which controls limit prompt injection.
-
Content Moderation
How classifier-based moderation scores input and output, where thresholds come from, and what to check when it over-flags.
-
Context engineering (what to put in the window)
How to assemble, order and trim a model's context window so the right facts are present and irrelevant text is left out.
-
Cost & token budgeting / rate limits
How to estimate, cap and meter token spend, stay under RPM and TPM limits, and stop one tenant exhausting a shared quota.
-
Dataset & version management
How content-addressed dataset snapshots, lineage and tagging make a model checkpoint reproducible and auditable.
-
Deployment patterns (blue-green, canary, shadow)
How blue-green, canary and shadow releases differ for models and prompts, and which to pick given rollback and cost needs.
-
Determinism vs Stochasticity
Why temperature 0 does not guarantee identical LLM output, and how pinning versions and constraining output shape gives reliability.
-
Distillation
How distillation trains a small student model on a larger teacher's outputs, what it costs in quality and bias, and when to use it.
-
Embedding fine-tuning
How contrastive fine-tuning with hard negatives reshapes embeddings for your domain, and when a reranker is the cheaper first step.
-
Embeddings & vector representations
What an embedding vector stores, how approximate nearest-neighbor search finds similar items, and why hybrid search with keywords helps.
-
EU AI Act & NIST AI RMF. Engineering Implications
How the EU AI Act risk tiers and the four NIST AI RMF functions translate into an inventory, model cards, evaluations, logs and a human override.
-
Evals (offline & online)
How offline evals guard against regressions in CI, how online evals score live traffic, and how failures from production feed back into the test set.
-
Fallbacks & Graceful Degradation
A tiered fallback design that keeps an LLM feature answering through outages and rate limits, and where a weaker model must not answer at all.
-
Feature stores vs runtime context
When to serve precomputed structured features from a feature store and when to assemble runtime context in the prompt, and why many systems use both.