Prashi Doval

Platform engineering and applied AI.

The three projects on this page
nameruns onwhat the AI does
paved-road-ai kind, on a laptop reads cluster signals, writes a root-cause report
market-pulse Docker Compose turns a question into a JSON query spec
secure-landing-zone AWS, EKS explains cost spikes that plain math found

paved-road-ai

An internal developer platform on a local kind cluster, with an AI agent that triages alerts.

Why it matters: New services start with monitoring and guardrails already in place, and each incident starts with a written first diagnosis.

Shipping a new service means writing manifests, metrics, alerts and policy by hand. When it breaks, on-call digs through metrics, logs and deploys to find out why. One command scaffolds the service; the agent does the first pass of the digging.

What's interesting

  • The agent can only read. Its RBAC role and tool allowlist are read-only, and logs are treated as untrusted data. A prompt injection in a log line can't change the cluster.
  • The evals include an attack. One recorded incident hides “delete the namespace” in a log line. The eval fails if the report repeats it.
  • The report is a tool call. The run ends with submit_report against a strict JSON schema, inside a hand-written loop with a turn limit. Slack, the API and the evals always get valid JSON.

Tech stack

  • kind
  • Argo CD
  • Kyverno
  • Prometheus
  • Alertmanager
  • Python
  • FastAPI
  • Claude API
Screenshot of a triage report from the paved-road-ai agent: summary, root cause, evidence and next steps for a failing service.

market-pulse

A streaming market-data pipeline with a stock screener you query in plain English.

Why it matters: Anyone can question live data in plain English, and the AI can only ever run safe, read-only lookups.

Screeners make you learn a filter UI. Letting a model write SQL instead invites injection and runaway queries. Here you type large-cap tech, P/E under 20, up 5% this week, and the model only picks fields and values. Companies and prices are simulated.

What's interesting

  • The model never writes SQL. Claude fills a strict JSON spec. Our compiler turns it into parameterised SQL over one read-only view, with column names from an allowlist.
  • The cache stores translations, not results. Valkey caches question-to-spec, the slow and paid step, keyed by prompt version. Rows are recomputed every time, so prices stay live.
  • Windows use event time. Flink groups ticks into 1-minute bars by trade time, with a watermark for late data, and writes them to Iceberg. DuckDB reads the same table.

Tech stack

  • Kafka
  • Flink SQL
  • Iceberg
  • MinIO
  • Valkey
  • DuckDB
  • Python
  • Claude API
Screenshot of the market-pulse screener: a plain-English question with the JSON spec, compiled SQL and result rows it returns.

secure-landing-zone

An AWS landing zone for Kubernetes, with a signed-image supply chain and a cost-anomaly bot.

Why it matters: Closes two common cloud risks, leaked deploy keys and unverified software in production, and flags a surprise bill the next day, not at month end.

Many AWS starter setups keep cloud keys in CI and run any image they're given. This one stores no keys, admits only images its own workflow signed, and posts to Slack when spend jumps. Terraform modules, with Terragrunt for dev, staging and prod.

What's interesting

  • No cloud keys in CI. GitHub OIDC trust is pinned per context. The read-only plan role accepts only pull requests; the apply role accepts only jobs in protected environments.
  • Only our images run. Kyverno admits a pod only if its cosign keyless signature and SLSA provenance come from this repo's image workflow on main.
  • Detection is math, the LLM only explains. A trailing-mean z-score plus a minimum dollar change finds anomalies. Claude says what to check. If the API fails, the bot posts the raw numbers.

Tech stack

  • Terraform
  • Terragrunt
  • EKS
  • Karpenter
  • GitHub OIDC
  • cosign
  • Kyverno
  • checkov
  • tflint
  • Lambda
  • Claude API
Screenshot of the secure-landing-zone console.

How a change reaches AWS

  1. Pull request fmt, validate, tflint, checkov
  2. OIDC short-lived token, read-only plan role
  3. Plan comment dev, staging and prod plans on the PR
  4. Merge to main
  5. Apply dev automatic, via the dev environment
  6. Staging, prod manual run; prod waits for a reviewer

What the pipeline produces

Example output. Illustrative values, shaped like what the code emits.

Example output: the comment the plan job posts on a pull request that raises the dev budget.

github-actions bot commented

terragrunt plan (dev)

[us-east-1/budget] Terraform will perform the following actions:

  # aws_budgets_budget.monthly will be updated in-place
  ~ resource "aws_budgets_budget" "monthly" {
        id           = "111111111111:slz-dev-monthly"
      ~ limit_amount = "150" -> "200"
        name         = "slz-dev-monthly"
        # (6 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

[us-east-1/cluster] No changes. Your infrastructure matches the configuration.
[us-east-1/cost-bot] No changes. Your infrastructure matches the configuration.

How I build