Writings

Thoughts on systems architecture, AI engineering, team building, and delivering outcomes that matter.

2026

Team Building

Designing an On-Call Rotation That Works

Most on-call rotations burn out the engineers who are best at incident response, because the rotation punishes competence. Here is how to design one that doesn't.

6 min read
Systems Architecture

Observability for AI Agents in Production

Standard APM tells you a request was slow. It doesn't tell you why an agent picked one tool over another. Here is what to log, trace, and alert on instead.

7 min read
AI Engineering

Trust Boundaries for Multi-Agent Systems

Single-agent guardrails like the Substrate Pattern don't compose automatically once agents delegate to other agents. Here is where multi-agent trust actually breaks.

6 min read
Open Source

Rust for Python AI Infra

Why Rust drop-ins accelerate Python-based AI infrastructure like LiteLLM proxies and LangGraph runtimes, and where the rewrite is and isn't worth it.

6 min read
AI Engineering

AI Agent Safety Governance Playbook

The practical playbook for AI agent safety governance. Threat model, runtime policy, prompt injection defense, audit, red-team, and the tooling matrix.

4 min read
Career Stories

AI Architect in Financial Services

What I learned as Principal AI Architect at a UK fintech. Building production agent systems for financial services, the frameworks, and the lessons.

4 min read
AI Engineering

AI Governance: The 4-Tier NIST AI RMF

How to implement the 4-tier NIST AI RMF Agentic Profile for financial services. The framework I developed at Neul Labs for compliance-first AI agents.

3 min read
AI Engineering

Harmony Protocol in Rust: Parsing GPT-OSS

A deep dive into implementing OpenAI's Harmony response format in Rust. Channel semantics, streaming, comparison with ChatML, and the Rust implementation.

3 min read
AI Engineering

Rust for AI Agent Infrastructure

Why Rust dominates AI agent infrastructure. Memory safety, async runtime, the ecosystem, and the career path. A field guide from the founder of Neul Labs.

3 min read
Open Source

Building Developer Tools in the Open

Dipankar Sarkar shares lessons from 20 years of open source work, from Google Summer of Code to production developer tools that got adopted and sustained.

9 min read
Outcomes & Impact

How Nykaa Scaled to IPO: Platform Migration

The engineering decisions behind Nykaa from startup to IPO — Magento to custom Python, in-memory cart service, Kong API gateway, 500% traffic growth, 99.99% uptime.

10 min read
Outcomes & Impact

Measuring Engineering Impact That Matters

Dipankar Sarkar presents a framework for measuring engineering impact that connects technical work to business outcomes, beyond vanity metrics like story points.

9 min read
AI Engineering

LLM Provider Risk Management for Banks

How to manage LLM provider risk in regulated industries: the Trust Boundaries Model, multi-provider strategy, fallback patterns, and compliance mapping.

9 min read

2025

Team Building

Remote-First Engineering Teams That Deliver

Dipankar Sarkar explains how to build remote-first engineering teams that outperform co-located ones: communication architecture, async workflows, and trust.

9 min read
AI Engineering

Defence in Depth for AI Agents

A 5-layer kill switch architecture for production AI agents: application logic, tool execution, action policy, circuit breaker, and a manual switch.

9 min read
AI Engineering

AI Agent Governance for Financial Services

Dipankar Sarkar explains AI agent governance for banks: the Tiered Governance Model and Three Lines of Defence framework for SS1/23 and Consumer Duty compliance.

9 min read
Team Building

Hiring Engineers Who Ship: A Practical Guide

Dipankar Sarkar shares the hiring framework used to build teams at Nykaa, Hike, and Orangewood Labs: identifying engineers who ship, not just interview well.

8 min read
AI Engineering

Scaling AI-Assisted Development

Dipankar Sarkar explains how to scale AI-assisted development from small teams to enterprise. The Pivot Point framework for knowing when informal practices break.

8 min read
AI Engineering

AI Agent Safety: The Substrate Pattern

Dipankar Sarkar explains the Substrate Pattern for AI agent safety: building execution envelopes that constrain LLM-powered systems while preserving capability.

7 min read
AI Engineering

Invariants in AI-Generated Code

Dipankar Sarkar explains why unwritten invariants are the primary source of AI-generated defects, and how to make implicit constraints explicit in production code.

8 min read
AI Engineering

Production-Ready AI-Assisted Development

Dipankar Sarkar explains how to use AI code generation in production systems: the Vibes Inside Guardrails framework for AI productivity with reliability.

7 min read

2024

2023

2022

2021

2020

2012

2011

2010