Skip to content

Senior AI Engineer · Pune, India · IST

current — stealth product startup

production > demo

Sanskar Pawar

I work on production AI systems — agentic workflows, retrieval, document intelligence and the engineering around making them reliable.

I have architected and shipped AI products built to hold up at scale: assistants used by thousands of people every day, retrieval over tens of thousands of documents, pipelines serving hundreds of clients.

01, Currently

Currently

Senior AI Engineer

Stealth product startup

2026 — presentcurrent

  1. 01

    Structured extraction

    Structured intelligence from complex, inconsistent technical documents. Understand the document type, find the relevant pages and sections, extract the tables and attributes, keep the relationships between them, validate, and only then emit output the next system can trust.

  2. 02

    Agentic workflows

    Agents treated as engineered systems. MCP tool calling, harnesses, reusable skills, subflows and stateful orchestration in the LangGraph style, with validation loops, structured outputs, human-in-the-loop checkpoints and model routing designed in from the start.

  3. 03

    Evaluation

    Evaluate before standardizing. Models are compared on accuracy, task reliability, structured-output quality, latency, cost, context handling, failure patterns and consistency. Extraction tools are compared on real documents. Architectures are compared on what they cost to run, observe and change.

  4. 04

    Workflow compression

    Research-heavy work that took weeks or months, finished in days. Decompose the task, run AI-assisted research and extraction, keep deterministic steps deterministic, put a person at the checkpoints that matter, and evaluate every stage on its own.

02, Systems I've built

Systems I've built

What the problem was, what I built, and what made it hard.

Documents flow through classification, relevant-content detection, extraction, structure reconstruction, validation and evaluation into trusted structured output.

  1. Documents
  2. Classification
  3. Relevant-content detection
  4. Extraction
  5. Structure reconstruction
  6. Validation
  7. Evaluation
  8. Trusted structured output
fig. 1 — extraction pipeline, simplified

Stealth product startup2026 — presentcurrent

Structured document extraction pipeline

Complex technical documents in, trusted structured output out. Every stage is validated and evaluated on its own.

LangGraph-style orchestration · MCP · Gemini and alternatives, chosen per task · structured outputs

Coditasproduction

Enterprise AI assistant

One assistant for the workforce of a global shipping and logistics group: document Q&A, tool use and multimodal features, with knowledge sources that can be added without rebuilding the agent.

7,000+daily active users

Read the case study
Context
A large organization wanted a single assistant across business domains. New document sets and capabilities had to be added over time without redeploying the core.
System
LangGraph agentic workflows behind a FastAPI backend. MCP tool calling in production, with an extension system that registers enterprise documents as new knowledge sources. RAG over Azure AI Search with Azure OpenAI models. Multimodal features alongside text. Tracing in Databricks.
Engineering decisions
  • Capabilities are typed MCP tools the agent can call. Adding a domain means adding a tool, not rewriting the agent.
  • Retrieval returns context with sources; the model answers from that context, not from memory.
  • Structured outputs at tool boundaries so the next step can validate what came back.
Production considerations
  • Every LLM call and tool call traced: latency, tokens, failure path.
  • Partial failure by design: a slow tool degrades one answer, it does not take the assistant down.
  • Enterprise data stays inside the enterprise boundary.
Scale
7,000+ daily active users
What mattered
Extensibility. The system kept absorbing new knowledge sources and tools after launch without changes to the agent core.

A request enters a LangGraph agent that calls MCP tools and retrieves from Azure AI Search before Azure OpenAI writes the answer; every step is traced in Databricks.

  1. Request
  2. LangGraph agent
  3. MCP tools
  4. AI Search (RAG)
  5. Azure OpenAI
  6. Answer

Cross-cutting: tracing · Databricks.

fig. 2 — enterprise assistant, simplified

Coditasproduction

Enterprise RAG over audit documents

Ingestion, structured summaries and question answering over a corpus of audit documents, inside a large professional-services firm's tax and audit platform.

40,000+documents

Read the case study
Context
A platform that manages large volumes of audit documents needed analysis of those documents: summaries aligned to defined data points, and natural-language questions answered across the corpus.
System
An ingestion pipeline feeding a retrieval index; structured summaries generated against a fixed set of data points; Q&A over retrieved passages; tracing across the LLM and the pipeline.
Engineering decisions
  • Summaries follow a defined schema, so outputs are comparable across documents instead of free-form prose.
  • Retrieval and generation are separate, observable steps. A wrong answer is traced to a retrieval miss or a generation error, not guessed at.
  • Data handling and access patterns designed to the firm's security and compliance expectations.
Production considerations
  • Secure enterprise data: nothing leaves the boundary, nothing is used for training.
  • Observability for a regulated environment: what was retrieved, what was generated, from which document.
  • Ingestion safe to re-run as the corpus grows.
Scale
40,000+ documents
What mattered
Trust. In audit work a plausible wrong answer is worse than no answer, so retrieval quality and traceability came first.

Audit documents are ingested into an index; retrieval feeds structured summaries and question answering, with tracing across the pipeline.

  1. Documents
  2. Ingestion
  3. Index
  4. Retrieval
  5. Summaries & Q&A

Cross-cutting: tracing.

fig. 3 — audit-document RAG, simplified

Coditasproduction

Market intelligence engine

Scheduled company-analysis reports for hundreds of enterprise clients: scraping and ETL in, LLM-written analysis out.

600+active clients

Read the case study
Context
Clients needed regular company-analysis reports combining scraped public data with external market APIs, produced on a schedule without an analyst in the loop.
System
Two ETL pipelines: multi-source scraping with formatting and scheduled embedding generation, and a report workflow orchestrated with Databricks Jobs and Asset Bundles. Azure Functions expose the processed data. Redis caches reports with TTLs. An LLM writes the analysis from scraped data plus external APIs.
Engineering decisions
  • Deterministic data work (scraping, formatting, embeddings) kept separate from generation, so failures are attributable to a stage.
  • Orchestration as code with Databricks Asset Bundles: versioned, reproducible pipelines.
  • Cache with TTL management so frequently requested reports are served without recomputation.
Production considerations
  • Scheduled runs with retries; one failed source does not block the report.
  • Cost control through caching and batched embedding and generation calls.
  • Availability for clients who read the reports as part of their routine.
Scale
600+ active clients
What mattered
The unglamorous parts. Report quality depended on ETL correctness and freshness far more than on prompt wording.

Public sources are scraped and transformed, embedded, orchestrated with Databricks Jobs into generated reports, and served through Azure Functions with a Redis cache.

  1. Sources
  2. Scraping · ETL
  3. Embeddings
  4. Databricks Jobs
  5. Report generation
  6. API · Azure Functions

Cross-cutting: cache · Redis.

fig. 4 — market intelligence engine, simplified

Coditasproduction

Education RAG

A RAG assistant for an education information platform (colleges, exams, admissions, careers) over data that changes constantly, fed by a scheduled ETL pipeline.

10,000+users

LangGraph · RAG · Airbyte · Airflow · DBT · Django · async workers

Read the case study
Context
Education information lives in many structured and unstructured sources and changes often. Answers had to be accurate and current, at high traffic.
System
An end-to-end ETL pipeline (Airbyte extraction, Airflow scheduling, DBT transformation) feeding the knowledge base; a LangGraph agentic flow for modular query resolution; a Django backend with asynchronous message processing.
Engineering decisions
  • Data quality solved in the pipeline with DBT models, not patched in prompts.
  • Query resolution split into LangGraph nodes so each query type could be tested and improved on its own.
  • Asynchronous processing so retrieval and generation latency never blocks the API.
Production considerations
  • Scheduled refreshes keep answers current without manual reindexing.
  • Built for bursts of traffic, not averages.
  • Scope guardrails: the assistant answers from the knowledge base or says it cannot.
Scale
10,000+ users
What mattered
Freshness. A correct answer about last year's process is a wrong answer.

Sources are extracted by Airbyte, scheduled by Airflow and transformed with DBT into an index that a LangGraph RAG flow answers from.

  1. Sources
  2. Airbyte
  3. Airflow
  4. DBT
  5. Index
  6. LangGraph RAG
fig. 5 — education RAG, simplified

Coditasproduction

Intelligent document processing

Extraction, retrieval and summarization over incoming insurance documents and medical records, processed in parallel by fault-tolerant workers.

Azure Document Intelligence · RAG · PGVector · FastAPI · Celery · RabbitMQ

Read the case study
Context
Many documents arrive at once; each needs layout-aware extraction, semantic retrieval against existing records, and a summary. Processing had to survive bad files and long jobs.
System
Azure Document Intelligence for layout and field extraction, embeddings in PGVector for semantic retrieval and matching, LLM summarization, all behind FastAPI. Celery workers on RabbitMQ process documents in parallel; supervised worker processes restart on failure.
Engineering decisions
  • Long-running work is asynchronous: the API accepts a job and reports status instead of holding a connection open.
  • Each document is an independent task, so one malformed file fails alone and is retried alone.
  • PGVector keeps retrieval inside PostgreSQL: one database to operate, back up and secure.
Production considerations
  • Workers and queue consumers are supervised and restart without manual intervention.
  • Queue depth and worker health treated as first-class operational signals.
  • Timeouts and size limits set from real documents, not defaults.
What mattered
Fault tolerance. Document pipelines fail in the tails: odd scans, huge files, timeouts. The system was designed for the tails.

Documents pass through Azure Document Intelligence and extraction into PGVector, then summarization, with Celery workers on RabbitMQ running the stages in parallel.

  1. Documents
  2. Document Intelligence
  3. Extraction
  4. PGVector
  5. Summaries
  6. Result

Cross-cutting: workers · Celery / RabbitMQ.

fig. 6 — document processing, simplified

03, Engineering AI systems

Engineering AI systems

A model is one component. Production AI usually fails at the boundaries around it.

model ≠ system

The boundaries around a modelArchitecture, retrieval and context, reliability and production form a square boundary around a single model. A dotted evaluation frame encloses all of them.Evaluationmodelone componentArchitectureRetrieval & contextReliabilityProduction
fig. 7 — the boundaries around a model, simplified
  1. Evaluation

    Every component compared on its own dimensions, on real inputs, before it becomes the standard. It touches every other concern.

    touches every row below

  2. Architecture

    Where state lives, which steps are deterministic, and where a model is allowed to decide. Most later problems are decided here.

  3. Retrieval & context

    What the model sees decides what it can answer. Hybrid retrieval, reranking and context assembly are engineering problems with measurable outcomes.

  4. Reliability

    Validation loops, structured outputs, retries and human checkpoints. The system should fail visibly and recover on purpose.

  5. Production

    Observability, cost, latency and maintainability over time. A demo has none of these constraints; a system has all of them.

04, Evaluate, then choose

Evaluate, then choose

The best model or tool is not universally the best one. It is the one that performs best for the constraints of the specific system.

measure before optimizing

Nothing becomes the standard in a system before it is compared with the alternatives on that system's own inputs. The dimensions below are what the comparison covers.

Dimensions, not scores. Values depend on the system.

Models: Dimension, What I measure, Why it matters in production
DimensionWhat I measureWhy it matters in production
AccuracyCorrectness on a held-out set of the system's real tasks, scored against reference outputs or rubrics.The headline dimension, but only meaningful on this system's inputs, not on a public benchmark.
Task reliabilityHow often the model completes the whole task as specified, across repeated runs and input variants.A model that is right most of the time and wrong unpredictably is a bug, not a feature.
Structured-output qualitySchema adherence, field completeness and type correctness of typed outputs, before any repair step.Downstream code consumes the output. Every repair step is latency, cost and a hidden failure mode.
LatencyTime to first token and to completion at the prompt sizes the system actually sends, median and tail.Decides whether a step can be synchronous and how many steps a workflow can afford.
CostCost per completed task at production volumes, including retries and validation reruns.Per-call price is misleading. Per-successful-task cost is what the budget sees.
Context handlingQuality at the context lengths the system needs, including retrieval-heavy prompts and long documents.Many models degrade quietly as context grows. The degradation has to be measured, not assumed.
Failure patternsWhat goes wrong: invented fields, refusals, truncation, format drift, and how detectable each failure is.Detectable failures can be caught by validation. Silent ones reach users.
ConsistencyVariance across repeated runs of the same input and across paraphrased inputs.Users and downstream systems need the same answer to the same question.

05, An agentic workflow, end to end

An agentic workflow, end to end

The shape most of my agentic systems take. Hover or focus a stage for one sentence on what it does and where it fails.

Cross-cutting:observabilityevaluationpersistence

  1. n01Input

    A request, a document batch or an event. Normalized and typed before anything downstream sees it.

  2. n02Router

    Classifies the request and picks a path and a model. A cheap model with a strict schema; a wrong route is caught here, not five steps later.

  3. n03Agent State

    The typed state every step reads and writes. Persisted, so a run can pause, resume or be replayed.

  4. n04Planner

    Decomposes the task into steps and assigns skills. Re-plans when validation sends work back.

  5. n05Specialized Skills

    Reusable, tested units of work: extract this table, verify that field. Deterministic where possible, model-backed where necessary.

  6. n06MCP / Tools

    Typed tool calls over MCP: search, databases, internal APIs. The boundary where the agent touches the real world.

  7. n07Retrieval

    Hybrid retrieval and reranking assemble the context the model is allowed to see. Measured separately from generation.

  8. n08Model

    A swappable component. Chosen per task by evaluation, routed by the Router, never the whole system.

  9. n09Validation

    Schema checks, cross-field consistency, business rules. Failures return to the Planner with the reason attached.

    ↺ on failure, returns to n04 Planner

  10. n10Human Approval

    A checkpoint where a person confirms, corrects or rejects. The run pauses; state waits.

  11. n11Output

    Structured, validated output with provenance: which sources, which model, which checks passed.

observability
Every step traced: inputs, outputs, latency, cost, failure reason. Debugging a run means reading its trace, not guessing.
evaluation
Per-stage evaluation on real inputs, so a regression is located, not just noticed.
persistence
State, checkpoints and retrieval indexes outlive the process. Runs resume; nothing depends on memory.

06, Technical landscape

Technical landscape

What the systems above are built with. Emphasis marks what I reach for first.

AI systems

LangGraphLangChainMCP (Model Context Protocol)Agentic orchestrationAgent harnesses and skillsHuman-in-the-loop workflowsStructured outputsModel routingLLM evaluation

Models

OpenAIAzure OpenAIGeminiClaudeLlamaCohere

Retrieval

RAGHybrid searchRerankingAzure AI SearchPGVectorDatabricks Vector SearchChroma

Backend

PythonFastAPIDjangoCeleryRabbitMQRedisPostgreSQLAzure Cosmos DB

Data

DatabricksDatabricks Jobs and Asset BundlesAirflowDBTAirbyteScrapyETL pipelines

Cloud & production

AzureAzure FunctionsAzure Container AppsAzure Document IntelligenceAWSGitHub ActionsAzure DevOpsLangFuseLangSmithDatabricks Traces

07, Experience

Experience

  1. 2026 — present

    Senior AI Engineer

    Stealth product startup

    Structured document extraction, agentic workflows, evaluation.

  2. 2022 — 2026

    Software Engineer – Generative AI

    Coditas

    4+ years. Enterprise assistants, RAG at scale, data pipelines, document processing.

08, About

About

Pune, India · IST

I'm Sanskar, a Senior AI Engineer in Pune, India. I build AI systems that have to keep working after the demo: retrieval, agents, document extraction, and the evaluation and operations around them.

The first AI demo is easy. Making it reliable isn't. Most of my work is the second part: deciding what a model is allowed to decide, validating what it produces, measuring every component before it becomes the standard, and keeping the whole system observable once real documents and real users arrive.

I came to AI systems from backend and data engineering. That is probably why I care more about the boundaries around a model than about the model.

09, Elsewhere

Elsewhere

Interesting engineering problems are always worth a conversation.