
David Vicente Campos
Founder of NeuraLIA Labs & Co-Founder of MyRealFood
I'm a computer engineer from the University of León. I co-founded MyRealFood, where as CTO I built the app millions of people have used to eat better, and I founded NeuraLIA Labs, where I build AI products. Here I write about what I've had to understand along the way, as I wish someone had explained it to me.
AI From Scratch
30 chapters
- The Perceptron From Scratch: What a Neuron Computes
- Where a Loss Function Comes From: Likelihood, Not Convention
- Downhill: Gradient Descent, and the Two Steps Everyone Skips
- Classification, Cross-Entropy, and How Not to Fool Yourself
- Backpropagation From Scratch: The Engine, Then the Network
- Getting It to Train, and Getting It to Generalise
- Build a BPE Tokenizer: Why Your Model Can't Count the R's
- Next-Token Prediction: Embeddings, and What Perplexity Means
- Attention and the Transformer Block, Derived From an Average
- Pretraining an LLM: Data, Compute, Scaling Laws and Cost
- From Base Model to Assistant: SFT, RLHF, DPO and GRPO
- Chain of Thought, RLVR and Test-Time Compute, Measured
- Making Inference Cheap: KV Cache, Batching and Quantization
- Your First Production LLM Call: Streaming, Retries, Timeouts
- Prompt Engineering, Measured: What Changes the Output
- The Context Window, Tokens and the Bill, Measured
- Temperature, Top-p and the Determinism You Do Not Have
- Tool Calling and Structured Outputs: The Contract That Holds
- RAG in Production: Chunking, Retrieval and Honest Citations
- Fine-Tune, Retrieve or Prompt? The Decision Is Economic
- Multimodal Pricing: What Images, Audio and Video Really Bill
- What an AI Agent Is: Five Classic Types, Two Rival Definitions
- Build an Agent Harness: The Loop and Its Five Ways Out
- Context Engineering: Why Your Agent Gets Dumber at Turn 40
- Multi-Agent Orchestration: Five Patterns, and When One Wins
- MCP Explained Against the Spec: What a Server Really Is
- Ship an MCP Server: TypeScript and Python, Measured
- Agent Skills and SKILL.md: Progressive Disclosure, Measured
- LLM Evaluation: From Public Benchmarks to Your Golden Set
- Prompt Injection and the Lethal Trifecta: Securing a Real Agent