Skip to content
Pedro Vidigal, VP of Applied AI and Support at Yugabyte

Pedro Vidigal

VP Applied AI and Support at Yugabyte · Lisbon, Portugal (EU)

I lead Applied AI and Support at Yugabyte, building production AI systems, data governance architectures, and formal verification gates for distributed database operations. Here I publish our pre-registered engineering evaluations, Lean 4 proofs, and ISO/IEC 42001 and ISO/IEC 5259 controls.

Executive track record · Lisbon, Portugal (EU / WET)

Two decades building and running mission-critical enterprise data and operations organizations across four chapters: enterprise ERP/BI systems, large-scale distributed databases, global support and reliability engineering leadership, and governed production AI platforms.

Chapter 4 · Applied AI & Support Operations

VP Applied AI and Support · Yugabyte

Architecting and governing the multi-agent diagnostic, triage, and fleet-telemetry platform under ISO/IEC 42001 and ISO/IEC 5259 controls, while leading global technical support and customer reliability for mission-critical banking, financial services, and regulated distributed SQL deployments.

Chapter 3 · Global Engineering & Support Leadership

Scaling Distributed Reliability Teams

Built and led follow-the-sun incident response, escalation engineering, and fleet diagnostic practices for cloud-native, payments, telecommunications, and regulated enterprise infrastructure across EMEA, Americas, and APAC.

Chapter 2 · Distributed Databases & Cloud Data

Pythian & High-Availability Data Systems

Principal architecture and operational leadership across large-scale relational, analytical, and distributed database estates (Oracle, PostgreSQL, Cassandra, Hadoop/Spark, cloud data lakes).

Chapter 1 · Enterprise Systems & BI Foundations

SAP NetWeaver BI, ABAP & Data Warehousing

Early career engineering enterprise data warehouses, ETL pipelines, and performance instrumentation on SAP BW/BI and ABAP stacks.

Now

as of

  • Leading Applied AI and ISO/IEC 42001 governance at Yugabyte, preparing our Rust log-to-Parquet engine for Apache 2.0 open-source release, and publishing 17 pre-registered studies across data governance (ISO/IEC 5259), Lean 4 verification, and local-GPU verifier loops. AI in operations series →
  • Maintaining a daily-refreshed archive of European electricity markets across five countries, re-checking the trailing ninety days for operator restatements. A day on the grid →
  • As a personal side project in public-data statistics, tracking a pre-registered test of the Portuguese football season against a prediction sealed before kick-off. Side project: live season →

Everything, by date

RSS

Studies published here, peer-reviewed papers, and conference talks in chronological order, with each entry labelled by publication format and verification tier.

  1. Study
    Why "data-driven" organizations fail when they deploy AI agents

    Although we live in the age of data and almost every enterprise calls itself "data-first" and "data-driven," that is rarely true in practice. Across 12 annual Fortune 1000 surveys from 2012 to 2024, 98.8% to 99.0% of enterprises invested in data and AI (Bean & Davenport, 2019). By 2024, 83.2% of organizations had appointed a Chief Data Officer, up from 12.0% in 2012 (Davenport & Bean, 2023; Wavestone, 2024). In the 2024 cohort, 89.8% of surveyed executives held the CDO or CDAO title.

  2. Study
    Why diagnostic agents fail on raw logs: effective context cliffs and the log Pareto frontier

    Why do autonomous diagnostic agents fail when given direct access to production server logs? Across 335 enterprise failures and 68 GB of telemetry, a frontier model solved only 11.34% of cases from raw logs (Xu et al., 2025).

  3. Study
    Running local models inside fault-injection and chaos harnesses

    How can local models uncover operational failure modes that standard unit tests and golden benchmarks miss? Standard test suites verify expected inputs on healthy nodes. In production distributed systems, incidents usually stem from malformed inputs, process races, or cross-component interactions (Basiri et al., 2016; Yuan et al., 2014).

  4. Study
    Pairing local models with sanitizers to audit 68 open-source repositories

    How do you use language models for vulnerability discovery without flooding engineers and open-source maintainers with false positives?

  5. Study
    Why we run local models for high-rejection engineering workloads

    When does owning local GPU capacity beat metered cloud APIs for an enterprise engineering organization?

  6. Study
    Using a local 8-bit 4B model and a monotonic OR rule for 29 ms compliance redaction

    When AI agents query operational logs, configurations, and tickets via Model Context Protocol (MCP) tools, every output requires credential and privacy scrubbing. Under ISO/IEC 42001 (2023) Annex A.7.6 and EU AI Act Articles 10 and 15, secrets and personal data must never reach cloud models or notes. At the same time, engineers need every software version, transaction ID, and file-path pointer intact to diagnose outages (Nissenbaum, 2004).

  7. Study
    Implementing ISO/IEC 42001 Clause 8 and Annex A.8 to A.10: change control, human oversight, and incident response

    Once an AI system is in production, governance depends on how the organization controls changes, prevents operator over-reliance, and contains failures. In ISO/IEC 42001 (2023), Clause 8 (8.1 to 8.4) and four Annex A domains govern day-to-day operations. Annex A.6 (9 controls) covers the technical lifecycle. Annex A.8 (4 controls) and Annex A.9 (3 controls) govern user transparency and human oversight. Annex A.10 (3 controls) covers third-party suppliers and customer responsibilities. In Europe, these controls map directly to EU AI Act Articles 12, 14, 15, 17, and 50, alongside EN 18286 (2026).

  8. Study
    Implementing ISO/IEC 42001 Annex A.4 and A.7: tool sandboxing, data quality, and egress redaction

    When an organization connects an AI agent to internal databases and logs, governance moves from policy documents to infrastructure boundaries. In ISO/IEC 42001 (2023), two Annex A domains govern this layer. Annex A.4 (5 controls, A.4.2 to A.4.6) covers tooling and compute resources. Annex A.7 (5 controls, A.7.2 to A.7.6) covers data provenance, quality, and preparation (Brundage et al., 2020; Mökander et al., 2023). In Europe, it pairs with ISO/IEC 5259-1 (2024) to 5259-5 (2025), EN 18286 (CEN/CENELEC, 2026), and EU AI Act Articles 10 and 15.

  9. Study
    Implementing ISO/IEC 42001 for production AI systems: governance, risk, and lifecycle controls

    Most enterprise AI governance programs fail in one of two ways. Some teams claim a blanket exemption because they call hosted foundation models through a cloud API. Other teams write static policy binders that drift away from production code within weeks.

  10. Study
    Three places where we used Lean 4 alongside C++, Rust, and Python

    When an engineer or an AI assistant rewrites a parser, a storage codec, or an optimization solver, unit tests check only the inputs someone wrote. Over the past four months, we wrote 9,623 lines of Lean 4 (v4.13.0) across 5 repositories (de Moura & Ullrich, 2021). Those files contain 264 machine-checked theorems with 0 sorrys and 0 custom axioms.

  11. Study
    Using a single-pass 4B model for decision making

    In our support stack, the same generative language models that write root-cause drafts were also making discrete decisions. Those decisions included assigning a ticket to one of 9 categories, scoring customer dissatisfaction risk, ranking diagnostic rules, and judging candidate answers.

  12. Study
    28 pre-registered cloud A/B tests on our Rust log parser

    An AI agent that diagnoses database incidents cannot read raw support bundles. One incident archive reaches 103.9 GB compressed and 1.415 TB of unpacked text across 2.439 billion log lines. To make those archives queryable in milliseconds, we built what_the_log (wtl), a 27.6k-line Rust log-to-Parquet engine. It uses 51,954 source-mined templates and run-length encoding to cut LLM prompt tokens by 74.2x to 88.4x (Rodrigues et al., 2021).

  13. Study
    Preventing silent chunk loss in Gemini Embedding 2 pipelines with boundary cardinality assertions

    A retrieval index can degrade without raising a single exception. In distributed systems, Huang et al. (2017) call this a gray failure: every health check stays green while recall drops. Auditing our internal retrieval ingestion pipeline uncovered a gray failure across two widely used open-source libraries (Barnett et al., 2024). The mechanism affects any stack that pairs gemini-embedding-2 with standard LangChain vector stores.

  14. Study
    Cutting multi-turn Claude agent cost by 71.1% to 74.8% with explicit prompt caching on Vertex AI

    An agent that calls tools sends its whole conversation history back to the model on every turn. On our incident queue, the first request carries 22,497 tokens (5.9k of instructions, 4.3k across 23 tool schemas, and 12.3k of initial bundle context). Each tool turn appends 4,007 tokens on average. Over a 26-turn run, the agent sends 1.59 million input tokens, or 70 times the initial prompt. Prompt caching reuses key-value attention states across requests (Kwon et al., 2023; Gim et al., 2024; Gao et al., 2024; Zheng et al., 2024). Unlike Gemini models on Vertex AI, Claude models require explicit cache breakpoints on every request. Placing three cache breakpoints cut our list-price cost per run by 71.1% to 74.8%.

  15. Study
    Qualifying Claude Opus 5.5 on the incident queue with pre-deployment gates and trace replay

    In report 01 and report 02, we showed across eight models that an LLM's self-reported confidence cannot gate an incident queue. Because raw model confidence is uncalibrated, our production agent enforces deterministic verification rules in code after the model answers. Those rules assign the status chip (grounded, supported, or inconclusive) shown in report 02's Figure 5. This report shows how our pre-deployment evaluation and trace-replay harness qualified Opus 5.5, rejected a schema-level retry candidate, and verified a three-tier evidence gate.

  16. Study
    Four frontier models on 89 routine and escalated support tickets

    Most industry model benchmarks evaluate routine cases that a support system already handles well. Our stratified benchmark separates routine tickets from engineering escalations. On tickets that Support resolved directly, four frontier models are interchangeable. They name the root cause between 87% and 96% of the time, so a team could pick on price alone.

  17. Study
    What to measure before trusting an agent on an incident queue

    I lead Applied AI and Support at Yugabyte. Both halves of that title answer to one outcome: how well and how soon we help a customer who needs us. So when we put an AI agent in front of our support engineers, I did not ask which model scores highest. I asked three questions. Can an engineer act on what the agent says? How often will it cost them time? Can we tell which answers are wrong before anyone acts?

  18. Live
    The Portuguese season as it stands

    This page changes. Every other report here is dated and finished. This one tracks a season in progress against a test that was sealed before the season started, and it will keep changing until that test resolves on 15 November 2026.

  19. Study
    How much of a booking index is real?

    A club's yellows-per-foul rate over one season is mostly noise. 15% of the spread between clubs is a real club property; the other 85% is the Poisson accident of one season's bookings.

  20. Study
    The lever nobody pulls

    Whether a foul is punished depends enormously on where and when it happens. A foul in your own defensive fifth is carded 31.4% of the time; the same offence in the attacking fifth, 8.9%. A foul in the opening quarter of an hour is carded 6.5% of the time; after ninety minutes, 25.6%.

  21. Study
    A club that fouls with impunity, and the four ways I was wrong about it

    Across eleven European leagues (58,013 completed matches, 115,984 team-matches, and 246 clubs with 150+ matches), raw yellow-cards-per-foul ratios make almost every dominant domestic club in Europe appear leniently officiated (r = −0.371). That apparent impunity is a compound artifact of three confounders: pre-match win expectation (1.098 heavy underdog vs. 0.856 heavy favourite median across all eleven leagues), non-foul conduct cards (dissent, delaying restarts, simulation) entering as a positive affine intercept (11.1%–38.8% league-mean share; 13%–47% across league-seasons), and fixture-level competitive intensity shared by both teams on the pitch (r = +0.283 on opponents' booking indices; 11 of 11 leagues rising across opponent-strength terciles 0.938 to 0.993 to 1.088).

  22. Study
    What free football data can still tell you

    Public European football repositories exhibit severe longitudinal truncation, unrecorded rule differences in second-yellow accounting, non-foul conduct cards in the yellow-card numerator, and missing referee identifiers across 9 of 11 European leagues. Across 286 completed league-season files in 11 top divisions (2000-01 to 2025-26), only 179 files (62.6%) carry foul and card statistics (58,013 completed matches), while the remaining 107 files return HTTP 200 and parse cleanly into tables containing zero match events. Referee identity is recorded in only 55 of 286 files — continuously in England and Scotland, for two early seasons in Germany and Italy, and never in the other seven leagues.

  23. Talk
    Hagen: How our AI support agent works

    YugabyteDB Friday Tech Talks, Episode 162

    How a production AI agent drafts the first root-cause analysis for a distributed database. A single customer diagnostic bundle runs past a gigabyte compressed and up to two and a half to three billion lines of logs. A deterministic layer extracts and normalises the evidence first; the model reasons over what that layer prepared rather than choosing what it reads. Covers the architecture, what worked, and where the system still falls short of its own target.

  24. Peer-reviewed
    From TextBlob to LLM Agents: Sentiment Model Selection for B2B Technical Support with CSAT Ground Truth

    ACL 2026 — Industry Track

    A five-year case study of sentiment model selection for customer satisfaction (CSAT) prediction in B2B technical support. The evaluation uses the complete population of CSAT-rated tickets from an enterprise software company: over 500 tickets comprising ~2,500 customer comments from 100+ organizations over five years. 17 approaches across 5 paradigms, plus 11 fine-tuning experiments.

Earlier work, elsewhere

The subject changed four times before this site: SAP, distributed databases, running teams, applied AI. Collected from conference talks, technical articles, and engineering archives that shaped the verification standards used here.

  • Pythian blog
    Leading Through Crisis – What Ernest Shackleton Can Teach Us About the COVID Pandemic

    In January 1915, polar explorer Ernest Shackleton's ship became trapped in ice near Antarctica. For the next two years, he kept his crew of 27 men alive on a drifting ice cap, before leading them to safety.

  • Pythian blog
    Cassandra Vulnerability - CVE-2020-13946 - Apache Cassandra RMI Rebind Vulnerability

    On September 1, 2020, Apache disclosed a security vulnerability for Apache Cassandra. It's possible for a local attacker without access to the Apache Cassandra process or configuration files, to manipulate the RMI registry to perform a man-in-the-middle attack and capture user names and passwords used to access the JMX interface.

    Apache Cassandra · JMX

  • Talk
    Capacity Planning Using Facebook Prophet

    DataStax Accelerate 2019, National Harbor, Washington DC · with Valerie Parham-Thompson · recording, 26 min

    “When will my server run out of resources?” This is a question on the minds of many experienced database administrators. This is particularly relevant in Cassandra given that, as data grows, compactions get triggered to keep the database healthy.

    Facebook Prophet · Apache Cassandra

  • Talk
    Documentation, documentation, documentation!!!

    Distributed Data Summit 2018, San Francisco · no recording

    The purpose of this talk is to discuss the importance of the documentation in an open source project such as Cassandra, and showing how easy it can be for anyone to build and improve the Apache Cassandra documentation.

    Apache Cassandra

  • Talk
    Multi-Cloud Cassandra with Terraform and Ansible

    DataOps Barcelona 2018, Barcelona · with Carlos Rolo · recording, 30 min

    Given Cassandra nature to scale, automation is an important tool to know. Also, to improve resilience, some go to multi-cloud deployments.

    Apache Cassandra · Terraform · Ansible

  • Talk
    Cassandra B side, the errors we made and what we learned

    DataOps Barcelona 2018, Barcelona · with Carlos Rolo · recording, 42 min

    We are with Cassandra since 0.6 and while normally we like to talk about our feats, our experience also comes from our mistakes. In this talk, we will go over some of our (big) mistakes and lessons learned that way.

    Apache Cassandra

  • Pythian blog
    Backup strategies in Cassandra

    Cassandra is a distributed, decentralized, fault-tolerant system. Data is replicated throughout multiple nodes (centers) across various data centers.

    Apache Cassandra

  • Talk
    Building an Enterprise Grade App Using Apache Cordova and OpenUI5

    ApacheCon North America 2017, Miami · no recording

    There is a need growing need for fast deployment of enterprise-grade mobile applications and web apps responsive to all devices and running on the browser of your choice.

    Apache Cordova · OpenUI5

  • Talk
    IoT for a Fleet: Building a Route Optimization Platform Using an Open Source Stack

    ApacheCon North America 2017, Miami · no recording

    Fleet ownership and maintenance can be a big part of a company's cost. Pedro will tell you how to create a competitive advantage by reducing operating expenses and increasing profits with telematics and route optimization, using an Open Source Stack including Cassandra DB, OpenStreetMap and Optaplanner.

    Apache Cassandra · OpenStreetMap · OptaPlanner

  • 2010 to 2016Archive
    ABAP Development Blog

    32 posts on Blogger, the longer SAP record: business rules, Web Dynpro, unit tests, SAP from Python.

    ABAP · SAP · BRFplus · Web Dynpro · ABAP Unit · PyRFC

  • 2012 to 2015Archive
    SAP and ABAP notes

    10 notes on a WordPress blog that once answered on this domain. Its dated paths still arrive here and are forwarded there.

    ABAP · BRFplus · SAP