Archive

1422 posts · Page 20 of 119. ← Blog

Pratik Dhanave · ·5 min read

Speech-to-Text: Hearing the User

The first real stage of a voice agent is turning sound into words, and it's harder than it looks. Modern ASR is astonishingly good on clean audio, but real conversations are full of noise, accents, and disfluencies, and — for a voice agent — the transcript has to arrive fast and incrementally, while the model also figures out when the user has actually stopped talking. This post covers ASR for real-time voice.

The first real stage of a voice agent is turning sound into words, and it's harder than it looks. Modern ASR is astonishingly good on clean audio, but real conversations are full of noise, accents, and disfluencies — and the transcript has to arrive fast and incrementally while the model figures out when the user has actually stopped talking. ASR for real-time voice.

Pratik Dhanave · ·5 min read

Routing and Load Balancing

Once every model call flows through one place, that place can make an intelligent decision on every request: which model should serve this, and through which of your capacity? Routing picks the right model for the task; load balancing spreads traffic across providers and keys so no single limit or outage bottlenecks you. Together they turn the gateway from a passthrough into a control plane.

Once every model call flows through one place, that place can make an intelligent decision on every request: which model should serve this, and through which of your capacity? Routing picks the right model for the task; load balancing spreads traffic across providers and keys so no single limit or outage bottlenecks you. Together they turn the gateway into a control plane.

Pratik Dhanave · ·6 min read

The Anatomy of a Modern Frontier LLM

Put the pieces together and a modern frontier language model comes into focus: a deep transformer whose feed-forward blocks are Mixtures of Experts, whose attention is made efficient with grouped-query and FlashAttention, and which is engineered end to end around one goal — maximum capability per unit of compute and memory. This closing post assembles the anatomy and looks at where architecture is heading.

Put the pieces together and a modern frontier LLM comes into focus: a deep transformer whose feed-forward blocks are Mixtures of Experts, whose attention is made efficient with grouped-query and FlashAttention, engineered end to end around one goal — maximum capability per unit of compute and memory. This closing post assembles the anatomy and looks at where architecture is heading.

Pratik Dhanave · ·6 min read

Security in the Pipeline

The CI/CD pipeline is one of the most privileged systems in an engineering organization — it has access to source code, secrets, and the keys to production — which makes it a prime target. Worse, it can become the delivery mechanism for an attack: compromise the pipeline and you compromise everything it ships. This post is about securing the pipeline itself and building security into it, the heart of DevSecOps.

The CI/CD pipeline is one of the most privileged systems in an org — access to source, secrets, and the keys to production — which makes it a prime target and a potential delivery mechanism for an attack. This post secures the pipeline itself (least privilege, secrets, pinned deps) and builds security into it (SAST/SCA/DAST), plus supply-chain integrity: SBOM, signing, SLSA provenance.

Pratik Dhanave · ·6 min read

The EU AI Act in Practice — From Legal Text to Engineering Work

The EU AI Act is the world's first comprehensive AI law, and for engineers it is neither as scary nor as vague as it first appears. Underneath the legal language is a risk-based structure that translates into a concrete checklist of engineering obligations — and most of them are things a good governance program (this series) already does. This post is about reading the Act the way an engineer should: not as compliance theater, but as a specification of controls you can implement.

The EU AI Act is risk-based, so your first job is classification — then the high-risk obligations translate into a concrete checklist most mature governance already does: risk management, data governance, documentation, logging, human oversight, robustness, conformity assessment. Read the law as a specification of controls, not compliance theater.

Pratik Dhanave · ·6 min read

Coding Agents — What They Are and Why They Changed Software

An AI that answers coding questions is an assistant; an AI that independently reads a codebase, makes changes across many files, runs the tests, sees what broke, and fixes it is a coding agent. That shift — from suggesting code to doing the work in a real repository — is one of the most consequential developments in software engineering, and it has its own distinct engineering. This series builds coding agents from first principles, starting with what makes an agent different from autocomplete.

An AI that answers coding questions is an assistant; one that reads a codebase, edits across files, runs the tests, and fixes what broke is a coding agent. The shift from suggesting code to doing the work, why code is a near-ideal agent domain (it's verifiable), and the engineer's new role as director-reviewer.

Pratik Dhanave · ·6 min read

The Anatomy of a Voice Agent

Talking to a computer feels simple — you speak, it answers — but under that simplicity is a real-time cascade of models racing a stopwatch. Audio becomes text, text becomes a response, the response becomes audio, and all of it has to happen fast enough to feel like conversation. This series builds voice AI from the ground up, and it starts with the pipeline that makes a voice agent work.

Talking to a computer feels simple — you speak, it answers — but under that simplicity is a real-time cascade of models racing a stopwatch. Audio becomes text, text becomes a response, the response becomes audio, fast enough to feel like conversation. This series builds voice AI from the ground up, starting with the pipeline that makes a voice agent work — with an interactive diagram.

Pratik Dhanave · ·5 min read

The Unified API

The first thing an AI gateway gives you is one interface to every model. Instead of your applications learning each provider's SDK, request format, and quirks, they speak a single API and the gateway translates. That translation layer is what decouples your code from any one vendor — and it's what makes model-swapping a config change instead of a rewrite.

The first thing an AI gateway gives you is one interface to every model. Instead of your applications learning each provider's SDK, request format, and quirks, they speak a single API and the gateway translates. That translation layer is what decouples your code from any one vendor — and makes model-swapping a config change instead of a rewrite.

Pratik Dhanave · ·5 min read

Efficient Attention

The two costs of long context — quadratic attention compute and linear KV-cache memory — each have a family of solutions, and together they're why modern models can handle context lengths that were impossible a few years ago. Grouped-query attention shrinks the KV cache; FlashAttention computes exact attention far faster; sliding-window and sparse patterns break the quadratic. This post covers the techniques that made long context practical.

The two costs of long context each have a family of solutions, and together they're why modern models handle context lengths that were impossible a few years ago. Grouped-query attention shrinks the KV cache; FlashAttention computes exact attention far faster; sliding-window and sparse patterns break the quadratic. The techniques that made long context practical, and which cost each attacks.

Pratik Dhanave · ·5 min read

Pipeline as Code

A pipeline is only trustworthy if it's defined the same way your application is: as version-controlled code, reviewed and reproducible. "Pipeline as code" turns the path to production from clicked-together settings in a web UI into a file in your repository — and that shift, from configuration to code, brings the whole discipline of software engineering to bear on how you ship software.

A pipeline is only trustworthy if it's defined the same way your application is: as version-controlled code, reviewed and reproducible. Pipeline as code turns the path to production from clicked-together settings in a web UI into a file in your repository — bringing the whole discipline of software engineering to bear on how you ship software. The declarative model and principles for doing it well.

Pratik Dhanave · ·6 min read

Evaluation Gates and Evidence — Proving Governance Happened

Two questions separate real AI governance from theater: can you stop a model that fails its checks from reaching production, and can you prove, after the fact, that the checks were done? The first is an evaluation gate; the second is evidence. Together they turn governance from a set of good intentions into something enforceable and auditable. This post is about the mechanics of gating AI systems on quality and automatically capturing the proof that it happened.

Two questions separate governance from theater: can you stop a model that fails its checks, and can you prove the checks happened? Evaluation gates that fail closed (with teeth and legitimacy), and evidence — the automatic audit trail that governance-as-code produces for free — for regulators, auditors, and incident reconstruction.

Pratik Dhanave · ·7 min read

Computer-Use Agents in Practice — Where They Fit and Where They're Going

Computer-use agents are a genuine frontier capability — and also one of the most over-hyped and under-reliable, so knowing where they actually fit today is the practical skill. This closing post is the honest field guide: the real use cases, the honest limits, how to deploy them responsibly, and where the technology is heading. It turns the series into judgment about when to reach for an agent that drives the screen.

A frontier capability that's also over-hyped and under-reliable. Where computer-use agents actually fit (API-less software, cross-app workflows, assistive/supervised use), the honest limits (prefer an API when one exists; not ready for long unattended high-stakes autonomy), how to deploy responsibly, and the trajectory.