Skip to content
View Vaibhav701161's full-sized avatar

Highlights

  • Pro

Block or report Vaibhav701161

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Vaibhav701161/README.md

VAIBHAV MITTAL

AI Infrastructure · Systems Engineering · LLM Inference

GATEWAYS · RUNTIMES · EVALUATION · OBSERVABILITY · DISTRIBUTED SYSTEMS



I work where abstractions leak.

Building and debugging systems around LLM gateways, inference runtimes,
structured generation, evaluation, observability, and reliability.


LinkedIn GitHub Email StructTrace



PRODUCTION

BIFROST
Go · Gateway · Governance
RESEARCH

INFERENCE
Sampling · Grammars · Decoding
EVALUATION

STRUCTTRACE
Rust · Regression · Provenance
OPEN SOURCE

SYSTEMS
Reliability · Compilers · Observability



ENGINEERING SURFACE

REQUEST → GATEWAY → RUNTIME → GENERATION → VERIFY → OBSERVE

Bifrost · Inference Runtimes · Constrained Decoding · StructTrace · OpenObserve



01 / SELECTED SYSTEM

STRUCTTRACE

Regression infrastructure for structured LLM pipelines

Rust · Evaluation · Structured Outputs · CI


TEST CASES
↓
BASELINE + CANDIDATE
↓
VALIDITY · CORRECTNESS · PROVENANCE
↓
REGRESSION VERDICT
↓
CI RELEASE GATE


EXECUTION

PAIRED
baseline vs candidate
EVIDENCE

REPLAYABLE
durable run artifacts
TRACEABILITY

PROVENANCE
reproducible decisions
DELIVERY

CI GATES
stable exit behavior

Instead of treating valid output as equivalent to correct output,
StructTrace separates structural validity, task correctness, regression behavior, and execution evidence.


Repository · structtrace.tech


$ structtrace --explain verdict

A regression is not simply a lower aggregate score.

StructTrace keeps baseline and candidate outputs together per test case, allowing failures to be attributed to concrete transitions such as valid-and-correct becoming valid-but-wrong, or previously valid output becoming structurally invalid.

The CI gate evaluates those changes directly.




02 / INFERENCE LAB

CONSTRAINED DECODING

What changes when a grammar touches the token distribution?

Qwen2.5 · XGrammar · Outlines · Sampling


MODEL LOGITS
↓
GRAMMAR MASK
↓
LEGAL TOKEN SET
↓
RENORMALIZED DISTRIBUTION
↓
SAMPLE


PROBABILITY

MASS REMOVED
which tokens disappear?
SAMPLING

NUCLEUS CHANGED
does the top-p set move?
BEHAVIOR

SEMANTICS SHIFT
does the answer itself change?

Artifact-backed experiments studying the effect of grammar-constrained decoding
beyond the binary question of whether the final output validates.


Ran Qwen2.5-7B on GSM8K across Outlines and XGrammar backends.

Studying schema-withheld vs schema-in-prompt behavior,
temperature, nucleus sampling, probability redistribution, and semantic choice.


"Grammars are written in characters. Models emit tokens."


Repository




03 / SPECIFICATION SYSTEM

JSONSCHEMA-FORMAT-CONTRACT

Turn specification text into executable evidence

TypeScript · RFCs · ABNF · Validator Conformance


RFC SPECIFICATION
↓
ABNF GRAMMAR
↓
GENERATED TEST CASES
↓
AJV · python-jsonschema · jsonschema-rs
↓
DIVERGENCE MATRIX


SOURCE

RFC-DERIVED
not hand-written examples
EXECUTION

MULTI-VALIDATOR
same case, multiple engines
EVIDENCE

TRACEABLE
failures point back to spec

A deterministic CLI that parses RFC ABNF grammars, generates RFC-cited cases,
executes them across validators, and makes implementation disagreement reproducible.


Repository




04 / PRODUCTION ENGINEERING

MAXIM AI · BIFROST

Member of Technical Staff Intern

Go · AI Gateway · Governance · Reliability


REQUEST → AUTHENTICATE → APPLY POLICY → ROUTE → PROVIDER


AUTH

VIRTUAL KEYS
identity · expiry
GOVERNANCE

POLICY
model restrictions
ROUTING

PROVIDERS
multi-provider behavior
OPERATIONS

RELIABILITY
storage · timeouts · logs

Worked on Bifrost, Maxim's open-source AI gateway
unifying access to 20+ LLM providers through a single API.

My work touched the Go backend, governance, virtual-key policy, provider behavior,
configuration, request lifecycle, and embedded management UI.


Bifrost v1.4.12 release notes




05 / OPEN SOURCE

FAILURE-DRIVEN DEBUGGING

Reproduce first. Trace the path. Find the invariant. Change the minimum surface.


REPRODUCE → TRACE → ISOLATE → FIX → VERIFY


OPENOBSERVE
Observability
Scheduler drift · startup ordering · trace identity · search reliability
BAML
LLM Compiler
Parser ambiguity · type resolution · TypeVar collisions · code generation
SOURCEMETA
JSON Schema · C++
Added forbid_empty_enum linting with automatic fixes and multi-draft coverage
SCHEMASTORE
Schema Registry
Schema lint and formatting consistency fixes



06 / ENGINEERING MODEL

SYSTEMS QUESTIONS


CORRECTNESS

INVARIANT
What must remain true?
RESILIENCE

FAILURE
What breaks partially?
STATE

AUTHORITY
Where is truth stored?
EXECUTION

RETRY
Is repetition safe?
DISTRIBUTION

ORDERING
What arrives first?
LIFECYCLE

READINESS
When is it actually usable?
DEBUGGING

EVIDENCE
Can I reproduce it?
OPERATIONS

OBSERVE
Can I explain the failure?

The questions I care about most usually reduce to

state · failure · ordering · ownership · observability · invariants




07 / CURRENT DEPTH

MOVING DOWN THE STACK


LLM SYSTEMS

INFERENCE RUNTIMES


structured generation
evaluation
agent execution
observability

SYSTEMS

DISTRIBUTED SYSTEMS


concurrency
networking
databases
reliability

LOWER LEVEL

C++ · CUDA


memory
GPU execution
kernels
runtime internals



APPLICATION
↓
AGENT EXECUTION
↓
LLM GATEWAY
↓
INFERENCE RUNTIME
↓
SCHEDULING · KV CACHE · BATCHING · SAMPLING
↓
MODEL EXECUTION
↓
GPU KERNELS
↓
CUDA




08 / SHIPPED PRODUCTS

BEYOND THE REPOSITORIES


DESKTOP AI

NINO

heynino.app

Electron · TypeScript · AI


A cross-platform AI screen-teaching desktop companion built and shipped across product, backend, and distribution.


SCREEN · VOICE · TOOLS · MEMORY
↓
DESKTOP AGENT

AGENT ORCHESTRATION

ROSTER

Electron · React · SQLite


A local-first desktop system for orchestrating persistent AI coding workers across multiple execution backends.


SESSION
↓
ORCHESTRATOR
↓
CODEX · CLAUDE CODE · OPENAI
↓
PERSISTENT STATE




09 / TOOLCHAIN

WORKING SURFACE


Rust Go Python TypeScript Linux Docker PostgreSQL



PRIMARY
Go · Rust · Python · TypeScript


SYSTEMS
Linux · Docker · PostgreSQL · SQLite · gRPC · WebSockets


GOING DEEPER
C++ · CUDA · inference internals




10 / DIRECTION

AI INFRASTRUCTURE · RUNTIMES · SYSTEMS


AI inference
runtime infrastructure
observability
developer infrastructure
LLM gateways
evaluation systems
distributed systems
production reliability



I want to work close to systems where
correctness, performance, reliability, and architecture actually matter.



BUILD THE SYSTEM.

UNDERSTAND THE FAILURE MODE.

MEASURE THE BEHAVIOR.



LinkedIn  ·  GitHub  ·  Email



Pinned Loading

  1. constrained-senstivity-lab constrained-senstivity-lab Public

    Artifact-backed evaluation of how structured-output contracts change LLM semantics, validity, and execution outcomes.

    Python 2

  2. structtrace structtrace Public

    Local-first regression testing for structured LLM outputs: paired correctness, valid-but-wrong analysis, replayable evidence, and CI release gates.

    Rust