# Albert Masoliver **Position:** **CTO** at [GLAM SOFTWARE](https://glamsw.com/en) · **AI Systems, Agentic Engineering & Distributed Architecture** **Location:** Girona, Spain ![[IMG_20260516_210214_251.jpg|147]] ## Introduction I'm Albert Masoliver — a physicist by training who works at the intersection of **artificial intelligence**, **agentic software engineering** and **distributed-systems architecture**. My focus is the orchestration layer: the specifications, harnesses, verification pipelines and memory architectures that make AI systems trustworthy enough to ship to production, and the distributed-systems backbone that lets them operate at scale. At GLAM we take AI and software from problem to production: AI where the process needs it, Spec-Driven Development for everything we build — from simple tools in production within weeks to complex enterprise systems. My professional practice and study span four reinforcing tracks: ### 1. Artificial Intelligence — the full breadth I work across the field, from the symbolic foundations to modern generative systems: - **Classical AI** — search (A*, IDA*, MCTS), logic and knowledge representation, constraint satisfaction, planning (STRIPS, PDDL, HTN), probabilistic reasoning (Bayesian networks, HMMs). Index: [[7 - Classical AI Notes Hub]]. - **Machine Learning** — supervised, unsupervised, reinforcement learning; the full evaluation toolkit; feature engineering; ensemble methods (Random Forest, XGBoost) that still dominate tabular problems. Index: [[8 - Machine Learning Notes Hub]]. - **Deep Learning** — from the perceptron foundations up to convolutional, recurrent, transformer and generative architectures (autoencoders, VAEs, GANs). Index: [[9 - Deep Learning Notes Hub]]. - **Optimization** — continuous, linear, convex, combinatorial, and metaheuristic methods. The substrate underneath all of ML and most of OR. Index: [[10 - Optimization Notes Hub]]. ### 2. Modern AI Software Engineering My current operational focus is **agentic AI software engineering** — taking frontier LLMs from "interesting demo" to "load-bearing component of a production system", and using agents to build software itself: - **LLM internals** — tokens, context, reasoning budgets, the cost-quality fleet. - **Spec-Driven Development** — the specification as source of truth; agents implement it, deterministic verification proves it. - **Agentic development** — agentic CLIs, subagents, the skills / MCP / hooks stack, memory architectures that survive sessions and teammates. - **AI & agentic systems** — tool use, ReAct, workflows vs. agents, multi-agent pipelines, retrieval-augmented generation. - **Verification, evals & governance** — deterministic gates, LLM evals, observability, prompt-injection threat models, DORA-aligned metrics that prove it's working. Distilled into a working course / playbook: [[0 - Modern AI Software Engineering Hub]]. ### 3. Distributed Systems & Domain Design My foundation as a software architect. I build production systems with **Domain-Driven Design** and **EventStorming**, applying tactical patterns (aggregates, value objects, domain events) within strategic context maps — and increasingly using bounded contexts as the natural boundaries for specs and agents. Index: [[11 - DDD Notes Hub]]. ### 4. Databases I still take databases seriously — query optimisation and indexing are where many distributed systems live or die. Index: [[12 - Query Optimization and Indexing Notes Hub]]. --- My through-line: the next decade of software engineering is shaped by people who treat LLMs as **components** — priced, fallible, but composable — embedded inside soundly-architected, verifiable systems. Solve the problem first; add AI and agents where they earn their place. That belief shapes how I architect, build, study, and teach. Outside of work: **astronomy and astrophotography**. Exploring the universe both scientifically and artistically remains the thing I do for no professional reason at all 🚀🔭 ## Professional Experience ### GLAM SOFTWARE **CTO** *March 2016 - Present (10+ years)* I lead the technical strategy at GLAM across two service lines: AI implementation in business processes, and software development with Spec-Driven Development. I am defining our AI-native engineering harness (agents, project knowledge, deterministic verification, governance) while keeping the distributed-systems backbone (DDD-aligned, event-driven) sound enough to support it. Architecture decisions, agentic workflow design, code review, hiring, training client teams, and the harder conversations with stakeholders about what AI actually can and can't do. ### BIDATA SOLUTIONS & CONSULTING, S.L. **CTO** *September 2016 - May 2018 (1 year 9 months)* Directed the technological operations in Girona, ensuring successful implementation of innovative data and analytics solutions. ### Just Enginyeria de la Informació **Partner** *March 2001 - February 2016 (15 years)* Co-founded the company and specialised in information engineering solutions in Banyoles, Spain. ## Current Work - Defining GLAM's **AI-native software engineering harness** — agents, project knowledge, deterministic verification and governance — used to deliver both AI implementations and SDD-built software, from simple tools in weeks to complex ERP / MES / WMS-class systems. - Authoring **Modern AI Software Engineering: The Orchestrator's Playbook** — a seven-module practitioner's course on building, governing, and verifying agentic AI workflows in production codebases. Covers the thinking economy (tokens, reasoning budgets, model selection), Spec-Driven Development, agentic CLIs, the extension trifecta (skills / MCP / hooks), memory orchestration, the meta-agent factory & verification frontier, and the human-in-the-loop ROI lens. - Maintaining an open, interlinked **personal knowledge base** of 250+ atomic notes spanning Classical AI, Machine Learning, Deep Learning, Optimization, LLM internals, agentic patterns, RAG, orchestration practice, Domain-Driven Design, and database internals. The substrate for both the course and the architectural work at GLAM. ## Education - **Universitat de Barcelona** Bachelor's Degree in Physics, Theoretical Physics *1993 - 1997* - **Universitat Oberta de Catalunya** Applied Data Science Degree *2020 - 2024* - **Universitat Oberta de Catalunya** Postgraduate Diploma in Business Intelligence and Data Analysis *2016 - 2017* - **Universitat de Barcelona** Engineer's Degree in Electronic Engineering *1996 - 1999* ## Skills - **Languages:** Catalan (Native), Spanish (Native), English (Professional), French (Professional) - **AI Foundations:** Classical AI (search, logic, planning, probabilistic reasoning), Machine Learning (supervised / unsupervised / reinforcement), Deep Learning (CNNs, RNNs, transformers, autoencoders, GANs), Optimization (continuous, linear, convex, combinatorial, metaheuristic). - **LLM Engineering:** tokenization and context-window economics, reasoning-budget tuning, model selection and cost-quality routing, prompt caching, structured outputs, tool / function calling, LLM failure modes (hallucination, context rot, sycophancy). - **Context Engineering & Memory:** system and project instructions (CLAUDE.md / AGENTS.md), skills with progressive disclosure, retrieval of project knowledge, layered and persistent memory, ADRs, context compaction. - **Spec-Driven Development:** functional specifications, use cases, acceptance criteria (EARS, Gherkin), living specs and spec deltas, task decomposition into vertical slices, requirement → code → test traceability; frameworks such as OpenSpec, BMAD and GitHub Spec Kit. - **Agentic Software Development:** agentic CLIs (Claude Code, OpenCode), plan mode, subagents and parallel work (git worktrees), hooks, Model Context Protocol (MCP), headless agents in CI/CD, permissions and sandboxing, reviewing and steering agent output, TDD with agents. - **Verification & Evals:** deterministic quality gates (static typing, linters, unit / contract / property-based tests, mutation testing), LLM evaluation datasets, LLM-as-judge with calibration, regression evals, multi-agent verification pipelines. - **AI & Agentic System Design:** workflows vs. agents (and when not to use agents), agent patterns (ReAct, plan-and-execute, orchestrator-workers, evaluator-optimizer), tool and MCP-server design, retrieval-augmented generation (chunking, hybrid search, reranking), multi-agent systems, durable state and human-in-the-loop. - **LLMOps & Observability:** tracing of LLM calls and agent runs, cost and latency monitoring, prompt and model versioning, production evals, fallbacks and graceful degradation. - **AI Security & Governance:** prompt-injection threat models, least-privilege tool access, data-exfiltration risks, secrets and supply-chain hygiene for agents, EU AI Act and data-protection compliance. - **Architecture & Systems:** Domain-Driven Design, EventStorming, Event Sourcing & CQRS, distributed-systems patterns, LLMs as components behind explicit contracts, query optimisation and indexing. - **Engineering Leadership in the Agentic Era:** building and evolving an engineering harness, team adoption and training (internal and client teams), DORA-aligned metrics, ROI and cost governance of AI usage, estimation and delivery with agents. - **Languages & Stacks:** C#, Python, JavaScript / TypeScript, Microsoft SQL Server. - **Foundations:** Physics, applied mathematics, statistics — bridged forward into the AI / ML stack. ## Contact - **Email:** [[email protected]](mailto:[email protected]) - **LinkedIn:** [linkedin.com/in/albert-masoliver-56882b12](https://www.linkedin.com/in/albert-masoliver-56882b12) - **Website:** [glamsw.com