Hi, my name is Matias Lapolla. Thanks for visiting my site — get in touch if you would like to talk.
Building
Writing
- So You Want to Build AI Agents That Do the Work? Start with Evals
- Mastra Memory: The Context Layer That Survives Long Conversations
- MCP: Why the Description String Is the Most Important String in Your Harness
- Mastra Processors: The Guardrail Layer That Runs on Every Step
- Mastra Processors: la capa de guardrails que se ejecuta en cada paso
- Building a Fully Functional Agent Harness with Mastra
- Foundations of AI: From Vectors to Neural Networks
- Vibe Engineering: A Guide to AI-Assisted Coding with Agents
- How I Use AI and LLMs for Coding - A Comprehensive and Opinionated Guide
- Model Context Protocol (MCP) - The USB-C for AI
Work
- Persiscal
- AI Agents Platform
- Stealth Project
- GeoScan
- Starlings Travel
-
- GrupoAgni
- Stealth Project
- Midas Mobile
-
- Tuxdi
- Curriculum vitae
Crafting software solutions for human and agent problems.
My takes, notes and thoughts on technologies as I learn from them.
Companies that trust me to work for them.
Senda
Building the agent's software factory — one system that answers, collects and executes while you are not there.
Youpy
Building the OS the Real Estate industry needs — listings, leads, contracts and the daily operation in one place.
Clipchum
Your personal branding avatar — invent a face, hand it your script, ship videos all week.
Free tools on my GitHub
Everything else — the harnesses, the scripts, the unfinished ones.
Building an agent in LangGraph takes an afternoon. Knowing how often it does the work is the job. The graph, the eval suite that measured it, a seven-search spiral the numbers exposed, a bake-off across seven local models, and what the one-line fix quietly cost.
Working memory, semantic recall, and Observational Memory in Mastra — why the last-N-messages window leaks, how the three recall tiers stack, and the three-agent loop that keeps agents sharp past 200 turns.
The model never reads your tool code — it reads the description string and programs against it. A field report on writing tool contracts for a Mastra support agent, exposing them over MCP, and why that one string is both your interface and your attack surface.
A deep dive into Mastra processors — how the input/output pipelines work, when to abort vs. retry, and how to build guardrails that actually hold in production.
Un recorrido por los processors de Mastra — cómo funcionan los pipelines de entrada y salida, cuándo abortar y cuándo reintentar, y cómo construir guardrails que aguanten en producción.
A practical walkthrough of harness engineering in 2026: mapping the agent loop, tool interface, permission system, processors, memory, and evals to concrete Mastra + Next.js primitives.
A comprehensive guide to the mathematical foundations of modern artificial intelligence, connecting linear algebra, probability, calculus, and neural networks to attention mechanisms and transformers
Learn proven techniques for AI-assisted coding with Claude Code, Cursor, and Codex. Includes context engineering strategies, task atomization patterns, and practical tips for maximizing AI agent effectiveness.
An overview of how I use AI and LLMs for my coding tasks. This is not a mandatory guide to follow but this article can help you get started with AI in your coding workflow.
An overview of the Model Context Protocol (MCP), a new standard for AI model communication, the Missing Abstraction Layer between LLMs and the Real World
Persiscal
Applied AI in production: an agents platform, a GEO/SEO product, and the enterprise travel system that came before them.
AI Agents Platform
Deploying and managing agents: chatbots, MCP integrations, skill builders, agentic workflows, personas, memory, self-reflection, and pattern detection and evaluation.
Stealth Project
Big data brain.
GeoScan
Optimising SEO, SEM, GEO and AEO for brands. I integrated the AI SDK for the workflows, Resend for alerts, a complete Stripe subscription system, and the waitlist and feedback modules.
Starlings Travel
Enterprise B2B travel: flights, hotels, transfers, expenses. I brought OpenAI in for OCR and expense extraction, and rebuilt the frontend around a domain-driven architecture the team could actually move in.
GrupoAgni
Four years on a multi-tenant CRM and a retail inventory app, mostly building for people working offline in the field.
Stealth Project
A large multi-tenant CRM for political organisations: walklist building and route optimisation, surveys, email campaigns, offline collection and live tracking across devices and tenants.
Midas Mobile
Inventory for small retail — cashflow monitoring, real-time stock, and the same data reachable from every location.
Tuxdi
Mobile platform prototypes and social content for marketing clients. The design years the rest of this page is downstream of.
Curriculum vitae
The same thing, formatted for people who need it in a document.