Software Engineer at Bending Spoons (WeTransfer) · Lead Engineer at Sail
Onchain protocols · Quantitative DeFi · Risk monitoring · Cross-chain yield optimization
Madrid, Spain
Software Engineer at Bending Spoons, on the WeTransfer team (since Aug 2026).
Lead Engineer at Sail — open-source infrastructure for onchain separately managed accounts. I founded the intelligence layer from a blank page, and since March 2026 I own technical direction across the whole stack: Solidity protocol, TypeScript SDK/CLI, Python services, docs.
- Sail Protocol — a minimal account-abstraction primitive for SMAs. Capital stays in a self-custodial Safe; a mandate is a set of user-deployed
IPermissioncontracts, and the kernel evaluates the named permission viastaticcallunder a fixed gas cap, forwarding to the Safe only ontrue. Reentrancy and state mutation are structurally impossible; every failure mode is fail-closed. Trusted core ~1,022 nSLOC, reviewed by Octane across three analyses, deployed at identical CREATE2 addresses on 12 chains. - Sailor — the open-source harness that turns any AI coding agent into a builder and operator of DeFi agents. SDK (encrypted keyring, EIP-712 signing, dispatch submission), CLI, local dashboard, and 22 agent skills. Shipped on npm as
@sail.money/sailor— MIT. - Cross-chain optimization engine — constrained MDP formulation, simulated annealing with Metropolis-Hastings acceptance, CNN meta-controller predicting hyperparameters from APY/TVL history (3-5× search-space reduction). Energy-aware cost model covering execution, slippage, and TVL-dependent price impact.
- Sonar (risk monitoring) — z-score anomaly detection over multi-horizon baselines (1d / 7d / 30d), dual-mode SPIKE/TREND scoring, tier-based execution cycles, financial-inertia mechanism that cut unnecessary portfolio churn by 43 %.
I also defined the database schema, built the first user-facing UIs, and represented the intelligence layer to venture investors during fundraising rounds and the CEO during roadmap discussions.
The full mathematical framework is documented in two public research papers I authored (sole author).
First six months in production: ~$700M of volume routed for ~200 users at ~$600k TVL.
| Quarter | Mean APY | vs. best static | vs. T-Bills | Scope |
|---|---|---|---|---|
| Q4 2025 | 8.91 % |
+5.43 % | +123.87 % | 20 sources, single-currency |
| Q1 2026 | 6.06 % (USD) |
+6.03 % | +44.3 % | 32 sources, multi-currency |
All returns net of every fee in the cost model.
Sonar suspended user exposure ahead of two publicly confirmed exploits — detection happened before public confirmation in both cases:
- Moonwell oracle exploit · Feb 15, 2026 — $1.78M bad debt, 181 borrowers harmed.
- Resolv Protocol exploit · Mar 22, 2026 — ~$80M minted via a compromised AWS KMS key, ~$25M extracted.
All sole-author work.
- ✍️ Quant Mentality: How We Use Convolutional Networks to Outyield DeFi · long-form · May 2026
- 📄 Cross-Chain Optimization Engine V2 — Smart Spike Framework · paper · Jan 2026
- 📄 Cross-Chain Optimization Engine V1 · paper · Oct 2025
- 📊 Sail Agent Performance Analysis — Q4 2025 · report · Jan 2026
- 📊 Sail Agent Performance Analysis — Q1 2026 · report · Apr 2026
| optcg | Investment portfolio tracker | Python · SQLite · Textual TUI · ~6.8k LOC |
| Poker Vision | VGG16 card recognition + Monte Carlo equity sim · UPM publication | Python · PyTorch · OpenCV |
| Figbot | Multi-agent Twitch moderation bot | Java |
B.S. Computer Science — Universidad Politécnica de Madrid · 2019 – 2023
GPA 8.56 / 10. Matrículas de Honor in Operating Systems, Compilers, Semantic Web & Knowledge Graphs, Art of Programming, Prolog, Programming Project, Data Center Project.
alonso.miguel.alvaro1@gmail.com



