Writings

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

2026

AI Engineering

AI Agent Safety Governance: An Engineer's 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: Lessons from Production

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 for Financial Services: 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 OpenAI's GPT-OSS Response Format

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: A Field Guide for Engineers

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: Lessons from 20 Years of Open Source

Dipankar Sarkar shares lessons from 20 years of open source contributions, from Google Summer of Code to production developer tools. How to build OSS that gets adopted and sustained.

9 min read
Outcomes & Impact

How Nykaa Scaled to IPO: 500% Traffic Growth, Platform Migration, 99.99% Uptime

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: Beyond Lines of Code and Story Points

Dipankar Sarkar presents a framework for measuring engineering impact that connects technical work to business outcomes. Move beyond vanity metrics to measure what actually matters.

9 min read
AI Engineering

LLM Provider Risk Management: Multi-Provider Strategy for Banks and Regulated Industries

How to manage LLM provider risk in regulated industries. Trust Boundaries Model, multi-provider strategy, fallback patterns, and compliance mapping for financial services AI.

9 min read

2025

Team Building

Remote-First Engineering Teams: Building Distributed Organizations That Deliver

Dipankar Sarkar explains how to build remote-first engineering teams that outperform co-located ones. Communication architecture, async workflows, and trust systems for distributed teams.

9 min read
AI Engineering

Defence in Depth for AI Agents: Kill Switches, Circuit Breakers, and Control Layers

5-layer kill switch architecture for production AI agents: application logic, tool execution, action policy, circuit breaker, and manual kill switch. Stop any agent in under 30 seconds.

9 min read
AI Engineering

AI Agent Governance for Financial Services: The Complete Framework

Dipankar Sarkar explains AI agent governance for banks and financial services. The Tiered Governance Model and Three Lines of Defence framework for regulatory compliance with SS1/23, Consumer Duty, and SM&CR.

9 min read
Team Building

Hiring Engineers Who Ship: Building High-Performance Teams from Scratch

Dipankar Sarkar shares the hiring framework he used to build engineering teams at Nykaa, Hike, and Orangewood Labs. How to identify engineers who ship production systems, not just pass interviews.

8 min read
AI Engineering

Scaling AI-Assisted Development: From Startup to Enterprise

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 for LLM-Powered Systems

Dipankar Sarkar explains the Substrate Pattern for AI agent safety. How to build execution envelopes that constrain LLM-powered systems while preserving their capabilities.

7 min read
AI Engineering

Invariants in AI-Generated Code: What LLMs Can't Infer

Dipankar Sarkar explains why unwritten invariants are the primary source of AI-generated defects. How to make implicit constraints explicit for production-ready AI-assisted development.

8 min read
AI Engineering

Production-Ready AI-Assisted Development: The Vibes Inside Guardrails Framework

Dipankar Sarkar explains how to use AI code generation in production systems. The Vibes Inside Guardrails framework for capturing AI productivity while maintaining reliability.

7 min read

2024

2023

2022

2021

2020

2012

2011

2010