AI Agent Safety: The Substrate Pattern in Practice
How to implement the Substrate Pattern for AI agent safety in production. The layer below the model that decides what the agent is allowed to do.
Fractional CTO & Technology Consultant
Hands-on engineering leader with 18+ years building production systems. Fractional CTO for US/UK/EU/AUS/JPN startups, with recent engagements in Edinburgh (UK) and New York. India-based optional.
Trusted by teams at 99Acres, Lenskart, PropTiger, and more
Strategic technology leadership on a part-time basis. Architecture decisions, team mentoring, and technical roadmap for startups and scaling companies.
Building AI-assisted systems that survive production. Mechanical constraints, invariant enforcement, and deployment patterns that let your team move fast without breaking things.
Structured transformation from startup speed to production scale. Engineering culture, AI-native practices, and the skills that matter in an AI-assisted world.
Selected Work
Infrastructure
Comprehensive infrastructure transformation for major Indian platforms — migrating from monolithic to microservices with Kubernetes.
AI / ML
Developed a Word2Vec-based recommendation engine powering personalized eyewear suggestions for millions of users.
Data Engineering
Built real-time data ingestion and processing pipeline with Apache Kafka enabling content personalization at scale.
FinTech
Strategic cloud cost optimization reducing infrastructure spend while improving performance and reliability.
Latest Articles
How to implement the Substrate Pattern for AI agent safety in production. The layer below the model that decides what the agent is allowed to do.
How to implement AI governance for banks, insurers, and asset managers. The 4-tier Tiered Governance Model aligned to NIST AI RMF, ISO/IEC 42001, and the EU AI Act.
How to implement federated learning in production. Framework selection, data partitioning, privacy mechanisms, aggregation, and deployment. The consulting practice of the Fed-Focal Loss author.
A practical guide to taking an AI-generated codebase (Lovable, Bolt, v0, Cursor) to production. Code audit, Supabase RLS hardening, deployment, observability, and compliance.
Why Rust is the right choice for production AI infrastructure. Performance, safety, and the ecosystem. A practical guide from the founder of Neul Labs.
How to audit and harden Supabase Row Level Security policies. The most common security vulnerability in AI-generated apps, and the fix.
Deep Dives
Strategic technology leadership for growing companies
AI-assisted systems built for production
Scaling engineering teams and culture
Scalable architecture and cloud optimization
Pipelines, analytics, and real-time processing
Product discovery and recommendation systems
About
I'm Dipankar Sarkar, a technology consultant with over a decade of experience transforming businesses through technology. I specialize in helping organizations navigate their digital evolution — from infrastructure modernization and AI/ML implementation to building and leading high-performance engineering teams.
My approach combines deep technical expertise with strategic thinking, delivering sustainable solutions that drive real business outcomes.
Learn more about meLet's discuss how I can help your team build the right technology, the right way.
Start a Conversation