Browse
Every doc you can read, in one place. Filter by space, status, or tag — and sort to taste.
Agent Architectures
agentsPrefer the simplest architecture that works; add structure only when it earns its cost.
published agents architecture multi-agent orchestrationupdated 21m agoAgents
agentsTool use, agent architectures, memory, and guardrails for autonomous LLM systems.
published agents overviewupdated 21m agoAttention Explained
foundationsAttention lets each token gather information from the tokens most relevant to it.
published foundations attention transformersupdated 21m agoChain-of-Thought and Its Limits
promptingStep-by-step reasoning helps on multi-step tasks but isn't a truthfulness guarantee.
published prompting chain-of-thought reasoningupdated 21m agoChunking Strategies
ragChunk size trades precision against context; structure-aware splits beat blind ones.
published rag chunking retrievalupdated 4d agoEmbeddings
foundationsEmbeddings map text to vectors so that similar meaning means nearby points.
published foundations embeddings vectors semanticsupdated 21m agoEvaluating RAG
ragEvaluate retrieval and generation separately; faithfulness is the metric that matters.
published rag evaluation metricsupdated 21m agoEvaluation
evaluationOffline harnesses, LLM-as-judge, and regression gates for LLM systems.
published evaluation overviewupdated 21m agoFew-Shot vs Zero-Shot
promptingZero-shot for capable models on clear tasks; few-shot to pin down format or nuance.
published prompting few-shot zero-shot in-context-learningupdated 21m agoFoundations
foundationsWhat an LLM is, tokens, embeddings, attention, and sampling — the core ideas.
published foundations overviewupdated 21m agoFurther Reading
referenceFoundational papers and lasting resources, as plain text links.
published reference further-reading papersupdated 21m agoGlossary
referenceShort definitions of key LLM terms, each linking to a fuller explanation.
published reference glossary definitionsupdated 1d agoGuardrails for Agents
agentsConstrain what an agent can do, keep humans in the loop for risky actions, and log everything.
published agents guardrails safety securityupdated 9d agoJailbreaks and Defenses
safetyJailbreaks coax a model past its guidelines; defend in layers and at the app boundary.
published safety security jailbreak alignmentupdated 21m agoLLM Evaluation Basics
evaluationBuild a labeled test set and score against it; pick metrics that match the task.
published evaluation metrics testingupdated 21m agoLLM-as-Judge
evaluationA model can grade open-ended output cheaply; guard against its known biases.
published evaluation llm-as-judge scoringupdated 21m agoModel Families Cheat Sheet
referenceHow to reason about model choice — a durable framework, not a spec sheet.
published reference models cheat-sheetupdated 21m agoMy first note
My notesdraft notesupdated just nowOffline Evaluation Harnesses
evaluationA harness runs your system over a fixed dataset and reports scores reproducibly.
published evaluation harness toolingupdated 21m agoOnboarding Checklist
referenceWhat a new team member reads and sets up in week one.
published onboarding teamupdated 15d agoPII and Secret Handling
safetyMinimize sensitive data in prompts, never train on it, and scrub logs and outputs.
published safety security pii secretsupdated 21m agoPlanning and Memory
agentsPlanning decomposes goals; memory manages what the model can see across a long task.
published agents planning memory contextupdated 21m agoPrompt Engineering Patterns
promptingRole, task, constraints, delimiters, examples — clear specification beats tricks.
published prompting patterns best-practicesupdated 3d agoPrompt Injection
safetyA model can't reliably tell instructions from data; isolate untrusted content and limit privilege.
published safety security prompt-injectionupdated 21m agoPrompting
promptingPrompt patterns, structured output, few-shot vs zero-shot, and chain-of-thought.
published prompting overviewupdated 21m agoRAG End to End
ragIngest and index once; then retrieve, assemble a prompt, and generate per query.
published rag retrieval pipeline architectureupdated 21m agoReAct and Tool Use
agentsAn agent loops: reason, call a tool, observe the result, repeat until done.
published agents react tool-use function-callingupdated 21m agoRed-Teaming
safetyProbe your system adversarially, turn findings into regression tests, and repeat.
published safety security red-teaming testingupdated 21m agoReference
referenceA glossary, a model-family cheat sheet, and a curated further-reading list.
published reference overviewupdated 21m agoRegression Gates
evaluationFail the build when a change lowers quality below a baseline; keep the gate offline.
published evaluation ci regression gatesupdated 6d agoRetrieval and Reranking
ragRetrieve broadly, then rerank with a stronger model to put the best chunks first.
published rag retrieval rerankingupdated 21m agoRetrieval-Augmented Generation
ragRAG feeds relevant documents into the prompt so the model can answer from them.
published rag retrieval overviewupdated 21m agoSafety
safetyPrompt injection, secret handling, jailbreaks, and red-teaming.
published safety security overviewupdated 21m agoSampling, Temperature, and Decoding
foundationsDecoding turns the model's next-token distribution into actual output tokens.
published foundations sampling temperature decodingupdated 21m agoStructured Output and Tool Schemas
promptingConstrain the format with schemas and validation, not just polite requests.
published prompting structured-output json toolsupdated 21m agoThe Grimoire Library
rootStart here — a map of the whole library and how the sections fit together.
published overview index getting-startedupdated 21m agoThe Transformer
foundationsA transformer is a stack of identical blocks — attention plus a feed-forward net.
published foundations transformers architectureupdated 21m agoTokenization
foundationsTokens are subword chunks; they drive cost, limits, and some surprising bugs.
published foundations tokenization tokensupdated 21m agoVector Databases
ragA vector DB does fast approximate nearest-neighbor search over embeddings.
published rag vector-database ann retrievalupdated 21m agoWhat an LLM Actually Is
foundationsAn LLM is a function that predicts the next token; everything else follows.
published foundations llm basicsupdated 21m ago