Skip to content

Experiment notebook

Everything we have taken apart.

Press / to search inside the articles, or filter by tool.

01 Question 02 Keywords + meaning 03 List fusion 04 Rerank top 20 05 AI answer VERDICT Reranking: +9.9 to +10.8

EXP-031

Why doesn't your AI document search find what you're looking for? Keyword search, semantic search and reranking measured in Spanish

What to ask whoever builds you a chat over your contracts or manuals: keyword search, semantic search or both, plus a reranking step. Measured in Spanish: what really improves and how long it takes.

Mixing keywords and meaning: +3.91 points on MLQA and −4.69 on MIRACL • mixing and reranking: +9.91 and +10.78 • reranking: 765–988 ms per query

Nov 25, 2026 · 11 min

01 A routine change 02 A hidden bug 03 It spreads 04 Half the internet falls 05 Official report VERDICT The enemy is change

EXP-030

Epic cloud outages: the top of recent years and how often the tools your company uses fail

From CrowdStrike to AWS, Cloudflare and this week's Outlook outage (over 26 hours): the top 10 with their official reports and 1,400 incidents from 30 tools small businesses use.

10 big outages: 8 of 9 started with the company's own change and none was an attack • 1,400 incidents from 30 services: median of 1.46 h and 76.1% resolved in under 4 h • a stack of 8 tools: about 8.7 days a month with a serious incident

Nov 13, 2026 · 12 min

01 Voice note 02 Local model 03 Text 04 Check the figures VERDICT Turbo: 1.2% errors

EXP-029

Can a free AI transcribe your audio on your own computer? Whisper and Parakeet measured with 90 voice notes in Spanish

Whisper large-v3-turbo got 1.2% of words wrong and correctly copied 98.6% of amounts, times and phone numbers in 90 voice notes, for free and offline. Whisper base: 12.9%.

Whisper large-v3-turbo: 1.2% words wrong and 98.6% key data right • Parakeet: 2.7 times faster, 2.1% words wrong • Whisper base: 12.9% • 1 hour of audio in 3.3 minutes on a laptop

Nov 12, 2026 · 8 min

VERDICT Anthropic's figures

EXP-028

Code execution with MCP: how to lower an AI agent's cost per query

If your AI agent loads all its tools on every query, you're paying for text it doesn't use. What code execution with MCP is, what savings Anthropic reports, what the catches are and what to ask your provider.

No measurement of our own yet • Anthropic: 150,000 → 2,000 tokens (−98.7%) in its example • Tool Search: −85%

Nov 10, 2026 · 6 min

01 PDF invoice 02 PDF text 03 Local model 04 Checks 05 Accounting VERDICT Qwen3 4B: 26 of 27 right

EXP-027

Can a free AI on your computer read your invoices? 4 local models vs rules, measured with Spanish tax IDs, VAT and IRPF

Qwen3 4B correctly read 26 of 27 Spanish invoices locally, at 3.0 s each. Rules failed every invoice in a new format and Gemma 3 4B dropped the letter from the tax ID in 8.

Qwen3 4B: 96.3% perfect invoices • rules: 0% on a new format • 3.0 s per invoice on a laptop • 3 automatic checks flag 100% of Llama 3.2's and Qwen3 1.7B's errors

Nov 8, 2026 · 8 min

01 Customer text 02 Rules: ID, IBAN, phone 03 GLiNER: names 04 Masked text 05 ChatGPT or Claude VERDICT Rules + GLiNER: 0.6% leak

EXP-026

How do you anonymise personal data before ChatGPT? 5 free detectors measured with Spanish ID numbers, IBANs and names

No local personal-data detector got below 10% leakage on its own. Rules for ID numbers, IBANs and phones plus GLiNER let 0.6% of 1,878 data points slip through in 500 documents.

Rules + GLiNER: 0.6% of data leaks • best model alone: 10.6% • default Presidio: 32.6% • GLiNER: 76.7 ms per document on CPU

Nov 7, 2026 · 8 min

01 LZB goes down 02 Target 0: track occupied 03 Wrong radio order 04 Nobody corrects it 05 Collision VERDICT Six layers, four holes

EXP-025

The Urda accident: how the safety layers of the Madrid-Seville line failed when the LZB went down

Technical analysis of the Urda rear-end collision using public data and the literal text of the regulations: six layers of protection, four holes, 17 minutes between the order and the impact and two almost identical radio orders.

6 layers of protection: 1 down, 3 failed, 1 active and 1 with no data • 17 minutes between the order and the impact (official time) • implied average speed of 83.3 to 125 km/h • 2 different radio orders with the same code 5ET3.3

Oct 29, 2026 · 14 min

01 123,700 companies 02 39,400 use AI 03 10,800 waiting for it 04 79.6% don't know how VERDICT The barrier is know-how

EXP-024

AI in Spanish companies: 8 business opportunities from the INE data

AI goes from 21.1% to 33.6% of companies in a year, but 10,800 are waiting for it and 79.6% of them don't know how to implement it. Which products and services to offer, with data from Spain's INE and a Jupyter notebook.

AI use from 21.1% to 33.6% in a year • 10,800 companies waiting for it • 79.6% held back by lack of know-how • 43.3% buy from an external provider

Oct 26, 2026 · 10 min

01 Paragraph in Spanish 02 384-d embedding 03 Vector database 04 10 neighbours VERDICT Exact: 1.6 ms and 100%

EXP-023

Which vector database should you use locally for RAG? sqlite-vec, Chroma, LanceDB, FAISS and DuckDB measured with 100,000 Spanish paragraphs

With 100,000 vectors, FAISS exact search answers in 1.6 ms without losing neighbours. Chroma takes 0.6 ms but returns 92%, and LanceDB's default index only 28.7%.

100% recall with exact FAISS in 1.647 ms • Chroma: 0.595 ms and 92.02% • LanceDB IVF_PQ by default: 28.71%

Oct 24, 2026 · 8 min

01 02 03 04 VERDICT Intact rows: 0% to 100%

EXP-022

Which PDF parser should you use for RAG in Spanish? 6 libraries measured on invoices and two columns

Only PyMuPDF4LLM and Docling keep 100% of invoice rows on a single line; pypdf and PyMuPDF, 0%. Docling is the only one that removes page footers, at 471.7 ms per page.

100% intact invoice rows with PyMuPDF4LLM and Docling • 0% with pypdf and PyMuPDF • from 2.1 to 471.7 ms per page

Oct 22, 2026 · 8 min

01 €2,000 voucher 02 12 months of hosting 03 PHP 7.4 expires 04 1,424 days unpatched 05 PHP2Shell VERDICT 0 mentions of security

EXP-021

PHP2Shell, PHP 7 and Spain's Kit Digital: 1,424 days without patches and not a word about security in the rules

PHP2Shell has no patch for PHP 8.1 or earlier. We estimate some 115,500 Kit Digital websites are exposed (from 82,900 to 166,700), and the programme's rules required 12 months of hosting and made 0 mentions of security.

≈ 115,500 unpatched Kit Digital websites • 1,424 days without patches on PHP 7.4 • 58 security releases it never got • 0 mentions of security in the rules

Oct 22, 2026 · 8 min

01 Article in Spanish 02 Chunks from 128 to 1024 03 Embeddings 04 Top-k in 2048 tokens VERDICT Chunk 128: 99.4% vs 91.7%

EXP-020

What chunk size should you use in a Spanish RAG? Measured with 3 embedding models

With 2048 tokens of context, 128-token chunks find the answer in 99.4% of 1190 Spanish questions; 1024-token chunks, in 91.7%. The model's input limit matters even more.

99.4% vs 91.7% with 128 and 1024-token chunks (bge-m3) • MiniLM truncates 91.1% at 256 • 20% overlap: ≤ 2 points

Oct 20, 2026 · 7 min

VERDICT Repair before you retry

EXP-019

Structured outputs in AI agents: repair the JSON locally or retry (BAML, Outlines and retries)

Measured on 1000 broken JSON outputs: a tolerant parser repairs 100% in 0.12 ms and leaves 83.3% identical to the original. A retry costs 137.3% of the original call in tokens.

100% repaired locally • 0.12 ms per repair • One retry = 137.3% of the call

Oct 20, 2026 · 7 min

01 02 03 04 VERDICT Savings = % syntax errors

EXP-018

Structured outputs with real outputs: what mistakes LLMs make when returning JSON and when to repair or retry

1200 real outputs from Llama, Qwen and Gemma: repairing locally avoids between 0% and 100% of retries depending on the model. With the real mix, 59.6% of the extra spend.

1200 real outputs • 59.6% saved with the real mix • From 0% to 76% correct orders with constrained output on Llama 3.2

Oct 20, 2026 · 9 min

VERDICT −85% tokens, 0 failures

EXP-017

Browser agents: Accessibility Tree vs screenshots, how many tokens do you really save?

Measured on a 10-step task: the Accessibility Tree filtered to what's visible uses 85% fewer tokens than screenshots. Filtering the whole page can cost more than a screenshot.

1,991 tokens with the visible tree vs 13,650 with screenshots • 85.4% fewer • 80 of 80 clicks by reference

Oct 19, 2026 · 8 min

VERDICT +12.5% to +33.8% tokens

EXP-016

How many more tokens does Spanish use than English? Measured on 7 tokenizers

The same 2000 sentences cost between 12.5% and 33.8% more tokens in Spanish than in English depending on the tokenizer. GPT-4o/GPT-5 and Gemma 3 stay below 17%.

+16.3% on o200k (GPT-4o/GPT-5) • +33.8% on cl100k • 2000 parallel sentences

Oct 18, 2026 · 6 min

01 Voice note 02 Local Whisper 03 Hermes + Gemini 04 Skills and scripts 05 X and the website VERDICT Autonomous, on a leash

EXP-015

Mortadelo: a Hermes agent running the lab 24/7 from a MacBook

How Mortadelo, Yeswelab's Hermes agent, works: it researches, writes, edits videos with a cloned voice, publishes and replies on its own, with state in SQLite WAL and guardrails against loops.

5 autonomous tasks in production • Local voice and transcription • State in SQLite WAL • Anti-loop firewall

Oct 17, 2026 · 12 min

01 Step N 02 Checkpoint 03 Idempotency key 04 Human wait 05 Replay VERDICT 0 duplicate effects

EXP-014

Durable Execution in AI Agents: Checkpointing, Idempotency and Asynchronous Approval (HITL) in Production

Why 85% of multi-step agents fail when they run in volatile memory and how to design a Durable Harness with deterministic replay, idempotency keys and asynchronous human approval gates.

0 Duplicate Side Effects • 100% Token Savings on Retries • 0% CPU While Waiting for HITL • Replay < 3ms

Oct 16, 2026 · 9 min

01 Input 02 Trajectory 03 Tool calls 04 Step budget 05 Output VERDICT pass^k > pass@1

EXP-013

Agent Evals in 2026: The Fallacy of Evaluating the Final Output and the Need for Trajectory Evaluation in Production

An agent can return the right answer after an execution disaster. How to audit the trajectory of calls, control the step budget and measure consistency with pass^k to avoid silent regressions.

100% Regression Detection • 60% Fewer Wasted Tokens • Step Budget Auditing • pass^k Consistency

Oct 14, 2026 · 9 min

VERDICT −70% at start-up

EXP-012

Context Engineering in 2026: How to Beat the 2 Types of Context Bloat (Definitions vs Results) in AI Agents

Attention collapse and wasted tokens aren't solved by enlarging the context window. A dissection of Progressive Disclosure (Skills), Isolated Subagents and Tool Clearing for production.

>70% Start-up Token Savings • Subagent Isolation • Context Rot Prevention • Dual Track

Oct 13, 2026 · 9 min

01 02 03 04 VERDICT Deterministic where needed

EXP-011

Hybrid Architecture in 2026: Deterministic Workflows and Persistent Agents with n8n 'Message an Agent' and Instance-Level MCP

Why trying to make an AI agent handle your whole pipeline is technical and financial suicide, and how to combine deterministic graphs with persistent agents and MCP self-debugging.

Hybrid Architecture • $0 Deterministic Cost • Safe Fail-Stop • MCP Auto-Debugging

Oct 12, 2026 · 8 min

01 Request 02 2B decision model 03 Deterministic router 04 Generative agent 05 Safe fallback VERDICT <30 ms per decision

EXP-010

Decision Models: Decoupling Decision from Generation in AI Agent Fleets

Why using a 70B LLM to route tasks or pick tools destroys your latency and costs, and how to fix it with 2B decision models at sub-30ms and $0.04/M.

Sub-30ms Latency • 98% Token Savings • Zero Parsing Failures • $0 Local Cost

Oct 9, 2026 · 8 min

01 Client 02 Traefik 03 MCP replica 04 Tasks 05 SQLite WAL VERDICT 0 sticky sessions

EXP-009

Stateless MCP and the Tasks Extension: Scaling AI Agents in Production without Sticky Sessions

How the new Model Context Protocol specification removes server-bound sessions, fixes the load balancer bottleneck and lets heavy tools run as durable tasks.

0 Sticky Sessions • Transparent Header-Based Routing • Zero Dropped Connections • $0 Local Cost

Oct 8, 2026 · 8 min

VERDICT 49B of 1T do the work

EXP-008

Mistral Large 4 ('Le Chonk'): The 1T Model Trap and the Dual Track Strategy for Agents

Why 1.05T MoE parameters cost the same as a mid-sized model at inference but demand more than 500GB of VRAM locally, and how to design autonomous agent workflows without overspending.

49B Active Parameters • 1M Token Window • $1.36/1M Input Tokens • Native 1.6B Vision

Oct 7, 2026 · 9 min

01 02 03 04 VERDICT −68% tokens

EXP-007

Memory Architecture for Agents in n8n: The Window Buffer Trap vs Persistent Hybrid Memory

Why 80% of AI agents get amnesia after being deployed in Docker and how to implement decoupled memory with Postgres and SQLite WAL without blowing up the token bill.

Zero Amnesia after Restart • 68% Token Savings • Multi-Session Persistence • $0 Local Cost

Oct 6, 2026 · 8 min

01 02 03 04 VERDICT 0 keys in context

EXP-006

Credential Confinement: Shielding AI Agents from API Key Leaks in MCP and A2A

Why you should never inject credentials into an LLM's context and how to design a broker and least-privilege architecture in n8n and local environments.

Zero Token Leakage • 100% Out-of-Context Confinement • Local Auditing • Zero Extra Cost

Oct 5, 2026 · 7 min

01 Claude Code 02 MCP client 03 n8n 04 MCP server 05 Tools VERDICT <150 ms round trip

EXP-005

Bidirectional n8n + MCP: From Static Workflows to an Autonomous Agent Hub

How to turn your business automations into live tools that Claude Code, Cursor and autonomous agents can call through the Model Context Protocol.

Bidirectional • Dynamic Tool Discovery • Latency <150ms • Zero Rigid Webhooks

Oct 2, 2026 · 6 min

01 Microphone 02 Faster-Whisper 03 Hermes agent 04 SQLite WAL 05 X API VERDICT <0.4 s · €0 SaaS

EXP-004

A Local Autonomous Agent with Whisper STT and the Official X API

How to build a private AI assistant that processes voice notes locally and publishes technical threads on X with ultra-low latency and zero SaaS costs.

100% Local • Latency <0.4s • €0 SaaS Cost

Sep 30, 2026 · 6 min

01 02 03 04 VERDICT Each layer, its own tool

EXP-003

Excel vs Airtable vs n8n: When to Use Each Tool

The definitive technology selection guide: how to stop your spreadsheet from becoming a relational trap and when to make the jump to professional automation workflows.

Decision Tree • Real Comparison

Sep 30, 2026 · 5 min

01 02 03 04 VERDICT Fix the process first

EXP-002

Why 90% of Companies Fail When They Bring in AI

The 4 architectural mistakes that burn budgets on LinkedIn: automating chaos, swatting flies with tokens, dirty data and no circuit breakers.

Critical Analysis • Real Case • Best Practices

Sep 30, 2026 · 5 min

VERDICT 12 μs per read

EXP-001

SQLite in WAL Mode vs PostgreSQL for Local Automations

Performance benchmark: why an embedded SQLite file in WAL mode crushes client/server databases on latency and simplicity for local agents and workflows.

12μs Latency • Zero Daemons • 100% Portable

Sep 30, 2026 · 4 min