VAYULearn
Colour theme
Investigate a failure
VAYU Learn

Data Architecture & Reliability

I Built an AI Debugger for Data Pipelines. Then I Built the Parts That Matter Around It.

What building VAYU taught me about production failures, incident intelligence, credential security, and why debugging needs more than an…

Data Architecture & ReliabilityAirflow & Orchestration

What building VAYU taught me about production failures, incident intelligence, credential security, and why debugging needs more than an LLM.

From a failed pipeline signal to evidence and a review-ready next step.

A broken pipeline rarely arrives as a neat code snippet.

It arrives as a failed run at an inconvenient hour. A partial log. A Slack message saying “the dashboard is wrong.” An Airflow task that retried three times. A Kafka consumer lag that keeps rising. A deployment that succeeded but produced an empty table.

The first version of VAYU focused on the obvious moment: paste the broken code and error logs, then get a structured diagnosis.

That is still the core workflow.

But building the debugger exposed a more fundamental problem: generating a diagnosis and managing an investigation are two very different things.

A diagnosis is a snapshot. An investigation has a lifecycle.

A pipeline can fail again after a suggested change. The same error can appear across multiple runs for entirely different reasons. A technically plausible explanation can turn out to be completely wrong once it meets the production environment.

And if the debugging workflow requires engineers to manually collect, sanitise, and resubmit everything each time, the AI has only solved one part of the problem.

I realised that building a better debugging experience meant building more than a better prompt.

A useful production debugging tool also needs to answer:

  • How does a failure arrive before someone copies it manually?
  • How do you carry the investigation through the next run?
  • How do you avoid turning a debugging tool into a new place to leak credentials?
  • How do terminal users work without putting passwords or long-lived API keys into shell history?
  • How do you know whether a suggested fix actually solved the problem?

That is what the new VAYU release is about.


One product, three starting points

VAYU now has three ways to begin an investigation.

1. The workspace

This is the direct route.

Paste the relevant pipeline code, error output, stack trace, and optional version details. VAYU returns a structured investigation rather than a generic tutorial:

  • likely root cause
  • evidence from the supplied context
  • a focused before/after change where appropriate
  • why it failed
  • prevention guidance
  • a confidence signal when the evidence is incomplete

The point is not to pretend every failure has one magical answer. The point is to show the reasoning, state uncertainty when it exists, and make the next change reviewable.

VAYU Workspace: investigating an Airflow XCom failure by connecting pipeline code and error logs with supporting evidence and explicit assumptions.
VAYU Workspace: a structured diagnosis with confidence indicators, a before-and-after code comparison, failure explanation, prevention guidance, and resolution feedback.

2. Incident intelligence

Some failures should not have to wait for a person to open a browser and paste a traceback.

VAYU can now receive a failed pipeline signal through a project-scoped integration. An incident becomes an investigation with captured evidence, a diagnosis when there is enough context, and a place to record what actually happened after the change.

That last part matters.

“Did the diagnosis help?” is not the same question as “did the model produce a convincing answer?”

A diagnosis can be marked resolved, partially resolved, unresolved, incorrect, or false positive. This keeps operational history separate from the generated answer and makes it possible to see whether a recommendation survived contact with the real system.

This distinction is particularly important for AI-assisted engineering.

A model can generate a technically sound explanation without correctly identifying the cause of a specific failure. It can suggest a reasonable configuration change that does nothing to resolve the underlying issue.

Recording the outcome creates a separation between what the system inferred and what the engineer actually observed.

The generated diagnosis is a hypothesis. The operational outcome is the test.

VAYU Incident Intelligence: investigating incoming failure signals without forcing a diagnosis when the evidence is insufficient.

3. The CLI

Many data engineers live in the terminal long before they open another dashboard.

VAYU CLI is free to install:

pipx install vayu-cli

It provides two deliberately different capabilities.

First, local redaction:

vayu redact pipeline.log > pipeline.redacted.log

This runs on your machine. It does not upload the file. Its job is to mask high-confidence secret shapes before you decide what to share.

Second, managed diagnosis:

vayu login
vayu diagnose --stack airflow --logs-file pipeline.redacted.log

The login flow is browser-approved. Your password stays in the browser; the terminal only receives a rotating session token held in the operating system credential store.

The CLI is not an unmetered shortcut around the product. A managed diagnosis uses the same VAYU account allowance as the web workspace. That distinction is intentional: local privacy tools should be easy to use, while model-backed work remains bounded and visible.


Privacy is part of the debugging workflow

“Don’t paste secrets” is good advice. It is not a sufficient system design.

A real debugging workflow should assume that people will be tired, moving quickly, and copying from production logs under pressure.

VAYU takes a layered approach:

  • High-confidence credential shapes are blocked before managed analysis.
  • The CLI provides local redaction before anything leaves the terminal.
  • Browser-approved CLI login avoids passwords in terminal history.
  • Diagnoses are read-only: VAYU does not execute the code you paste.
  • Incident projects and keys are scoped to their owner.

These are safeguards, not permission to casually paste production data. You should still remove anything you are not authorised to share. But the product should help people make the safer choice when urgency is highest.


Why not just use a general-purpose AI assistant?

It is a reasonable question.

General-purpose AI assistants are already useful for understanding stack traces, explaining unfamiliar errors, and suggesting code changes.

VAYU is not built on the assumption that those tools cannot debug code.

The difference is the workflow surrounding the diagnosis.

A production failure needs evidence collection, credential protection, structured findings, uncertainty handling, and a way to record whether the proposed change actually worked.

In a general-purpose chat workflow, much of that responsibility remains with the engineer.

VAYU brings those steps into a dedicated investigation workflow for data pipelines.

The objective is not simply to generate another answer. It is to make the process between a failed pipeline and a verified resolution more structured, reviewable, and repeatable.


The important output is a safer next step

I do not think AI debugging should be judged by whether it can produce a plausible explanation.

That is easy.

The harder standard is whether it can help an engineer make the next change with less ambiguity.

For a good incident investigation, that means:

  • the claimed root cause is tied to evidence;
  • the proposed change is narrow enough to review;
  • uncertainty is visible, rather than hidden behind confident language;
  • the likely operational consequence is considered;
  • and the result can be checked against what happened next.

That is the direction VAYU is moving in: not a chatbot that writes more troubleshooting prose, but an investigation layer for broken data pipelines.

VAYU is still evolving, and the standard I want to hold it to is not how impressive its answers sound in a demo, but how useful its investigations are when a real pipeline breaks.

If you work with Airflow, Spark, Kafka, SQL, or Python pipelines, try it with a failure that has resisted the usual search, documentation, and generic-chatbot loop.

Start an investigation: https://www.vayufix.com/

Or install the CLI:

pipx install vayu-cli

Local CLI redaction is free. Managed diagnoses use your VAYU account allowance, while recurring incident investigations are available through paid access.

Tell me where it gets the evidence wrong, where the workflow slows you down, and what would make it useful at 2 AM.

That feedback is more valuable than a polished demo.

Have you fixed an Airflow failure where the last error pointed you in the wrong direction? I’d like to try VAYU on one. If you can share a short, sanitized log excerpt, send only what you knew when the task failed. Keep the cause and the fix to yourself until I send back VAYU’s diagnosis. Then we can compare it with what actually happened.