AGENTIC AI · ML ENGINEERING · PRODUCTION SYSTEMS

Shipping agents and ML systems to production.

I build, evaluate, and deploy LLM agents and ML pipelines: from MCP tooling with privilege boundaries to applied research in low-resource NLP.

Based in Lima · Open to Europe relocation (visa sponsorship) or remote · English & German (professional)

Ex-Siemens (Germany) · EEML 2026 Cetinje (fully funded) · Vercel × OpenAI "Built in London" · AMD Agent Olympics · 4 arXiv papers (2607.00185 · 2610.38580 · 2606.23943)

Apr 2026 – Jul 2026 Germany · Hybrid

Siemens

Artificial Intelligence Engineer

Implemented LLM-free validation against digital twins and rule sets with explicit preconditions and test-instance verification before state-changing execution; built interim MCP tools directly on the runtime and shipped versioned industrial diagnostics and analysis workflows.

Oct 2025 – Present Independent · Remote

Flows by Maky

Independent AI Engineer — Agents & Production ML

Design, deploy, and monitor agent workflows and full-stack TypeScript/Supabase products for clients. Shipped 7 production n8n automations across 3 e-commerce brands integrating CRM (Kommo), payment gateways, automated invoicing, and store operations. flowsbymaky.lat

Feb 2024 – Mar 2026 International · Remote

Upwork

Artificial Intelligence Engineer (Freelance)

Built and shipped production backends and full-stack apps (Python / FastAPI, TypeScript, AWS Lambda, Stripe Connect) integrating AI/ML components; delivered computer vision (YOLO) and ML pipelines for international clients from data preparation to deployed models.

2020 – 2026 Remote

Prior: Full-Stack & UX Engineering (Fiverr)

6+ years shipping TypeScript web apps and UX/UI systems end-to-end
12 / 12 MCP router & SQL guardrail checks (Forge)
24 evals Automated agent evals · 28/28 Vitest checks (TeamPulse · npm)
7 prod Production client automations across 3 brands (Flows by Maky)
83.3% MorphAcc vs 6.7% BPE (QuechuaTok · arXiv)

Case studies

role · stack · problem · architecture · safety · impact · production notes

Forge

AI Tooling · MCP Server · Supabase RLS & Evaluation
My roleCreator & AI engineer — built the MCP JSON-RPC server on Deno Edge Functions, multi-tenant Postgres RLS migrations, Next.js UI, and the automated router + SQL guardrail eval suite.
StackTypeScriptDenoSupabasePostgreSQL RLSMCP (JSON-RPC 2.0)Next.jsNode.js Evals
Web / Cursor client → User JWT → Edge: MCP server (6 tools) → Postgres + RLS
list_tables list_policies explain_query propose_rls run_readonly_sql
npm run evals: 12/12 pass · Blocks DROP / multi-stmt / writable CTEs · acme-alpha vs beta-shadow RLS

Architecture & evals: 6 allowlisted MCP tools scoped to the caller JWT, multi-layer read-only SQL guardrails, and 12/12 reproducible router + safety checks (npm run evals).

1. Problem / need

Agent demos often hand the model a service_role key and skip adversarial testing — breaking multi-tenant isolation and leaving destructive SQL or prompt injection unchecked.

2. Architecture & evaluation

MCP server on Supabase Edge Functions under user JWT + RLS, paired with evals/run.mjs testing tool routing, comment-stripping SQL parsers, default_transaction_read_only = on, 3s timeout, and 40 tools/min rate limits.

3. Ethics & safety constraints

Defense-in-depth: no write tools by default, no service_role in the browser, RLS drafts return applied: false for human review, and Postgres RLS denies cross-tenant rows (beta-shadow) at the DB layer.

4. Impact / learnings

Open-source TypeScript reference with 12/12 passing router + SQL guardrail checks and a deterministic fallback router so every tool, trace, and RLS boundary is testable without paid LLM quota.

5. Production notes

  • Deployment: Supabase Edge Functions (Deno) deployed via GitHub Actions, Next.js assistant UI, and official MCP Registry manifest (streamable-http).
  • Measured in operation: 3s hard Postgres statement_timeout, 40 tools/min per-user rate limit, full JSON-RPC tool traces, and 12/12 CI guardrail evals on every push.
  • Failure & fix: Regex-only SQL checks were bypassed by comment-obfuscated DML and writable CTEs (WITH d AS (DELETE ...)). Fixed by stripping comments before parsing and enforcing default_transaction_read_only = on inside security invoker RPCs.
  • Trade-offs: Deterministic router fallback + read-only allowlist trades open-ended SQL generation for zero-cost CI testing and hard tenant isolation.

TeamPulse

Agentic AI · Multi-Provider CLI & MCP Server · AMD Agent Olympics
My roleCreator & AI engineer — built the multi-provider LLM extraction pipeline, stdio MCP server for Cursor/Claude, Zod schema validation, SHA-256 cache, concurrent batch runner, and 24-case eval harness (AMD Agent Olympics).
StackNode.jsMCP (stdio)ZodGemini / Claude / OpenAI / Mistral / OllamaVitestnpm
.txt / .srt / .vtt → SHA-256 Cache → Provider Router (5 LLMs + Fallback) → Zod Schema
CLI: analyze / batch / eval · MCP: analyze_meeting · get_meeting_history · Atomic ~/.teampulse/memory.json
24 eval cases (1.000 P/R/F1 fixture) · 28/28 Vitest checks · 401 fail-fast · 429 Retry-After · 5xx backoff

Published npm package (teampulse v1.1.0) & MCP server: turns meeting transcripts into validated tasks, owners, risks, and decisions with local Ollama support and zero-cost CI evals.

1. Problem / need

Meeting-agent prototypes break in production on malformed LLM JSON, provider 429s/timeouts, vendor lock-in, and unversioned prompt regressions with no offline test harness.

2. Architecture & evaluation

Unified provider layer (Gemini, Anthropic, OpenAI, Mistral, local Ollama) with automatic --fallback-provider, strict Zod output contracts, 24-case precision/recall/F1 eval suite, and 28 Vitest unit/integration tests.

3. Ethics & safety constraints

Privacy-first local mode via Ollama (zero cloud transmission), restricted Unix permissions (0o700 dir / 0o600 files) on local cache and memory, and read-only MCP tool hints (readOnlyHint: true).

4. Impact / learnings

Shipped to npm (npx teampulse / teampulse-mcp) with MCP Registry metadata and deterministic fixture evals so prompt and parser changes are verified in CI before spending API tokens.

5. Production notes

  • Deployment: Published on npm (teampulse@1.1.0, dual bins teampulse + teampulse-mcp) with server.json for Cursor and Claude Desktop.
  • Measured in operation: Task/owner/decision P/R/F1 across 24 eval cases, 28/28 Vitest suite (1.8s), SHA-256 cache hits to eliminate duplicate LLM spend, and HTTP error classes (401/403 vs 429 vs 5xx).
  • Failure & fix: Concurrent batch --concurrency 3 runs dropped entries in memory.json and LLMs wrapped JSON in markdown fences. Fixed with atomic file persistence (verified by concurrency tests) and a resilient parseJSON + Zod repair/validation layer.
  • Trade-offs: Cloud LLMs with automatic local Ollama fallback trades minor schema variance on smaller local models for zero-downtime continuity and private-transcript support.

El Niño Flood Risk (ML Evaluation)

Applied ML · Spatial Cross-Validation · Ablation Study
My roleSole ML & data engineer — built the multi-source ingestion pipeline (NASA POWER, Copernicus DEM, INDECI, INEI), spatial CV + ablation experiments, out-of-fold predictions, and static Leaflet viewer.
StackPythonXGBoostscikit-learn (Ridge)NASA POWER / GIBSCopernicus DEMGeoJSONLeaflet
Spatial CV (by province): XGBoost Spearman 0.65 ± 0.03 · RMSE(log) 0.610 vs 0.787 base (-22%) · Random split leakage: 0.75
Ablation: Elevation 0.55 + Precip 0.46 → Combined 0.64 ± 0.03 · CENEPRED alone: -0.02 (0 gain despite 16% importance)

Repeated province-level spatial CV (26 provinces, 199 districts) + feature-group ablation. Out-of-fold predictions exported to the static map — never in-sample overfit.

1. Problem / need

Flood risk maps often mix historical incidents with unvalidated ML scores and random train/test splits that leak spatial proximity across neighboring districts.

2. Spatial evaluation & ablation

Benchmarked constant baseline, Ridge, and XGBoost under repeated province-level CV (199 districts) vs random split, plus feature-group ablations across MERRA-2 rainfall, Copernicus elevation, and CENEPRED points.

3. Ethics, bias & honest limits

Audited population-rate confounding (Spearman -0.77; verified 0.51 signal in districts ≥ 20k pop), avoided official SENAMHI alert colors, dated ENFEN status, and published out-of-fold predictions with explicit non-official disclaimers.

4. Impact / learnings

Quantified spatial leakage (+0.10 Spearman inflation under random splits) and proved CENEPRED features add zero predictive lift despite ~16% internal XGBoost importance — internal importance ≠ predictive value.

5. Production notes

  • Deployment: Offline reproducible Python ETL + training pipeline exporting compact out-of-fold GeoJSON layers served statically on Vercel (zero backend cost, zero API keys).
  • Measured in operation: Province-level CV Spearman (0.65 ± 0.03), log-RMSE (-22% vs baseline), feature-group ablation deltas, and NASA GIBS satellite tile freshness (SST -5d, IMERG -2d).
  • Failure & fix: Upstream CENEPRED population endpoint went offline and live NASA GIBS tiles failed on same-day requests due to 1–4 day satellite latency. Fixed by decoupling INEI population ingestion and offsetting tile queries (-5d / -2d).
  • Trade-offs: Pre-computed static GeoJSON + client-side Leaflet trades real-time re-scoring for $0 hosting, instant CDN loads, and reproducible auditable artifacts.

Text Barrier Detector

AI Tooling · Bilingual NLP · Offline MCP Server
My roleCreator & engineer — designed the zero-dependency EN/ES readability engine, deterministic span locator, stdio MCP server for Claude/Cursor, React web app, and Vitest + Playwright test suites.
StackTypeScriptMCP (stdio)npm MonorepoReact + ViteVitestPlaywrightGitHub Actions
@makitaki/text-barrier-core → EN: Flesch + Kincaid ES: Fernández-Huerta findBarriers (start/end offsets)
@makitaki/text-barrier-mcp → analyze_text find_barriers check_file · Claude Code / Cursor / Desktop
Zero runtime deps No API key / offline CEFR-inspired A1–C2 band React Web UI + CLI + GH Action

Single TypeScript core shared across the MCP server, web UI, CLI, and GitHub Action — returns exact character offsets so a host LLM can rewrite barriers without a second API call.

1. Problem / need

Product docs and public copy hide passive voice, long sentences, and jargon. Calling an LLM just to flag readability issues is slow, non-deterministic, and ignores Spanish readability formulas.

2. Linguistic & system design

Bilingual LanguagePack engine: Flesch/Kincaid for English and Fernández-Huerta for Spanish, with false-positive exclusions (e.g. phrasal verbs, reflexive se) and density-aware structure scoring.

3. Ethics & accessibility

100% offline with zero data leaving the device. Explicit disclaimer that the A1–C2 band is a CEFR-inspired heuristic rather than an official certification, plus strict localized AnalysisError contracts.

4. Impact / learnings

Published as two npm packages (@makitaki/text-barrier-core and @makitaki/text-barrier-mcp), listed in the official MCP Registry, live web app, and CI-ready Vitest + Playwright suite — deterministic NLP tooling beats a vague prompt.

5. Production notes

  • Deployment: Monorepo publishing @makitaki/text-barrier-core + @makitaki/text-barrier-mcp to npm, listed in the official MCP Registry, React/Vite web app on Vercel, and GitHub Actions CI.
  • Measured in operation: Sub-millisecond local analysis ($0 per call), hard input caps (1M chars / 4 MB on check_file), and Vitest + Playwright regression gates on every PR.
  • Failure & fix: Initial passive-voice rules flagged English phrasal verbs ("is turned on") and Spanish reflexive clitics ("Se me olvidó"), while empty headings gamed structure scores to 100/100. Fixed with curated exclusion lists and word-density structure normalization.
  • Trade-offs: Deterministic zero-dependency heuristics trade semantic nuance for instant offline execution, exact character offsets, and zero API cost—leaving rewriting to the host LLM.

Applied research

arXiv preprints · EEML 2026 · reproducible baselines

QuechuaTok

Low-Resource NLP · Tokenizer Eval

Designed the morphology-aware PRPE segmenter and MorphAcc benchmark for agglutinative Southern Quechua, reaching 83.33% MorphAcc vs 6.67% for BPE. Shipped as an installable Python package and Hugging Face checkpoint (makitty/quechuabert).

Khipu-ML

Applied ML · Structural Audits

Hierarchy-aware feature engineering, UMAP + HDBSCAN clustering (silhouette 0.769), and XGBoost + SHAP classification (F1 0.86) across 619 Inka khipus with confound audits across OKR and KFG. Accepted poster at EEML 2026 Cetinje (fully funded).

Live probe

Text Barrier Detector · client-side

A lightweight plain-language & accessibility probe inspired by my Text Barrier Detector (an offline MCP server + skill for EN/ES docs) — no server, no API key. Heuristics flag long sentences, passive-ish constructions, and dense jargon as you type.

Try a sentence or paragraph

Long sentence Passive-ish Dense / jargon

Heuristic portfolio demo — for full English/Spanish readability scoring (Flesch / Fernández-Huerta) and MCP integration, see the repo below.

Text Barrier Detector repo

Production agents, evaluated from day one.

I started in UX and full-stack TypeScript, where I learned that the hard part is the data and trust boundaries underneath. That led me to Systems Engineering (UPC), applied AI at Siemens in Germany, and four arXiv papers. Today I build and ship agentic and ML systems, with evaluation and security designed in from the start.

Python PyTorch LLM Agents MCP FastAPI TypeScript Supabase / Postgres RLS AWS Lambda Evaluation
Ex-Siemens (DE) EEML 2026 Built in London (Vercel × OpenAI) AMD Agent Olympics
LocationLima, Peru · Open to Europe relocation or remote
Target rolesAgentic AI Engineer · AI Engineer · ML Engineer
LanguagesEnglish (Professional) · German (Professional) · Spanish (Native)
EducationSystems Engineering (UPC) · CV/AI (U. of Pittsburgh) · EEML 2026
Email