Step limits, least privilege, human-in-the-loop for destructive actions, and verifying handoffs. What I do so agents don't blow up in production.
Writing
Thoughts by Sourav Mishra on development, entrepreneurship, and life.
Natural-language-driven dev, 95%+ AI-generated codebases at YC, and why someone still has to own architecture and security.
In multi-agent systems, Agent A's output becomes Agent B's input with no verification. Cascade risk and how to defend.
Does it act on its own initiative or only when you push a button? How to tell real autonomous agents from workflows in disguise.
The shift from chat UIs to agents doing work—Claude Code, agent-to-agent platforms, and why I design for bounded autonomy and clear boundaries.
Anthropic's 2026 research on Claude Code—73% tool calls with human oversight, 0.8% irreversible actions, and what it means for agent design.
The shift from chat interfaces to autonomous agent-driven workflows—and what it means for builders in 2026.
A fact-check of 2026 AI agent security incidents—CrewAI, EchoLeak, Drift, Amazon Kiro—and what the framework docs don't tell you.
My take on Claude Code and Cursor—consistency, cost, and when to use which for AI-assisted development in 2026.
True AI agents use observe-decide-act-reflect loops and autonomy. Workflows follow fixed paths. Here's how I tell them apart and when I use which.
The communities and topics that shape how I think about AI agents—implementations, security, and which tools actually ship in 2026.
Why the Cancel ChatGPT movement went mainstream after OpenAI's Department of War deal, Anthropic's refusal, and what it means for developers and AI ethics in 2026.
Peer-reviewed research and platform design reveal how short-form video rewires attention and self-control. What the Zhejiang University study and the algorithms behind Shorts and Reels tell us.
Learn how to use internal linking to distribute SEO juice and dominate AI search citations in Next.js.
A complete guide to self-hosting Next.js with maximum performance. Learn how to deployment with Docker, SQLite, and fly.io.
Stuck on page 5 of search results? Learn the 'Answer-First' and 'CTR Optimization' strategies to climb the rankings in 2026.
Interaction to Next Paint (INP) is now a core ranking factor. Learn how to optimize your Next.js application for high-responsiveness and better SEO.
When should you use Next.js Server Actions versus traditional API Routes? A definitive guide for full-stack Next.js architecture in 2026.
Master the art of mixing React Server Components and Client Components in Next.js. Learn the 'Composition Pattern' to maintain performance while adding interactivity.
Master Next.js discoverability in 2026. Learn how to optimize for both Google and AI search engines (GEO) using modern rendering and metadata strategies.
Vercel's Rust-based bundler promises 700x faster updates. But is it stable in 2025? I benchmark the latest Next.js 16 releases.
Stop manually checking user roles in every function. Learn how to build a type-safe RBAC wrapper for your Next.js Server Actions.
Middleware is dead. Long live proxy.ts. Learn why database calls in your proxy file are creating bottlenecks.
Why you should store table filters and search inputs in the URL. A comprehensive guide to using 'nuqs' in Next.js for better UX and shareability.
React 19's new compiler changes the game. Learn how it automates memoization and why you might never need useMemo again in Next.js 16.
Why is your site getting de-indexed? I dive into the 'Canonical Trap' in Next.js 15+ and how to handle dynamic metadata correctly for better SEO.
CSS working locally but broken in prod? I explain why this happens in Next.js, from hydration mismatches to CSS order wars, and how to solve it.
Save big on cloud costs by self-hosting Next.js 16. Learn to deploy with Docker, SQLite (Turso/LibSQL), and Nginx on any VPS.
A deep dive into the new 'use cache' directive, cacheTag, and cacheLife in Next.js 16. Learn how to optimize performance with granual caching strategies.
Learn Generative Engine Optimization (GEO) - the new SEO for AI. Discover how to make your content discoverable by ChatGPT, Perplexity, Gemini, and other AI assistants.
Should you use Next.js Server Actions? Understand when they make sense, when to skip them, and how they compare to API routes and React Query.
Learn how to implement type-safe validation in Next.js Server Actions using Zod. A complete guide to handling forms, errors, and schema reuse.
A practical guide to building AI agents that can call tools, chain actions, and solve real problems using the Vercel AI SDK in Next.js.
How to create a delightful reading progress indicator with custom spring physics, zero dependencies, and top-tier performance.
Learn the different approaches to implement back button navigation in Next.js, from simple router.back() to fallback strategies for direct page access.
A deep dive into Vercel's latest guide on React optimization for 2026, focusing on ordering, waterfalls, and bundle size.
Stop reinventing the wheel. Here's why I recommend design libraries for every project, and how tools like tweakcn make customization effortless.
Unlock better user experience with React Suspense and Streaming in Next.js. Learn how to implement loading states and optimize server-side rendering.
Stop writing messy Tailwind code. Learn how to structure your styles using the 'cn' utility, Class Variance Authority (CVA), and consistent design tokens.
Eliminate Cumulative Layout Shift (CLS) with next/font. Learn how to use Google Fonts and variable fonts efficiently in your Next.js application.
Master React's useOptimistic hook to create instant, app-like interactions in Next.js applications. A deep dive into optimistic UI updates.
Master TypeScript generics with practical examples. Learn type parameters, constraints, utility types, and patterns used in production codebases.
Learn Next.js Server Actions from basics to advanced patterns. Includes form handling, Zod validation, optimistic updates, useActionState, and error handling.
Learn CSS :has() parent selector with 10+ real-world examples. Style parents based on children, handle form states, conditional layouts, and more.