UV: Python Packaging at Warp Speed

How and Why to Get Started with UV Origins of UV Python is a simplistic and readable programming language that has been around since 1991. Over the years, tools like pip, virtualenv, pipenv, and poetry have aimed to address the issue of installing and reproducing Python environments more easily. All of these brought improvements, but recently, the tool […]

Making Lasagna from Spaghetti Code

A Python Developer’s Guide to Refactoring Legacy Systems Every senior developer knows the feeling when you open the first file in an existing code base, and your stomach drops. It feels less like structured architecture and more like the aftermath of a science experiment gone wrong. It’s hard to untangle, terrifying to modify, and utterly […]

How I Prepared for and Passed the AWS Certified CloudOps Engineer — Associate Exam on My First Attempt

Hello everyone! In this article, I want to share my personal experience on how I prepared for and passed the AWS Certified CloudOps Engineer — Associate exam on my first attempt. The AWS Certified CloudOps Engineer — Associate exam was formerly known as AWS Certified SysOps Administrator — Associate. Exam Overview The AWS Certified CloudOps Engineer — Associate exam validates […]

Understanding Power Flow: The Lifeline of the Electric Grid

Introduction The modern electric grid is a dynamic network connecting generation sources to millions of consumers through transmission and distribution systems. Managing this complex network efficiently requires an in-depth understanding of how electricity flows: a concept known as power flow or load flow. Power flow studies are foundational for planning, operating, and optimizing power systems[5]. They provide the […]

Part 3: Building Production-Ready AI Agents with Amazon Bedrock AgentCore (Runtime)

Part 3: Runtime & Frontend Introduction In Part 1 and Part 2, I built the infrastructure, deployed Lambda tools via Gateway, and configured Memory for persistent context. In this final article, I complete the journey by deploying the AgentCore Runtime and building a Streamlit frontendwith secure authentication. This final article covers: Implementing the agent with […]

Part 2: Building Production-Ready AI Agents with Amazon Bedrock AgentCore (Gateway & Memory)

Part 2: AgentCore Gateway & Memory Introduction In Part 1, I established the foundation with Terraform infrastructure and Cognito authentication. In this article, I add the intelligence layer: AgentCore Gateway for serverless tools and AgentCore Memory for persistent context. This article covers: Creating Lambda-based tools accessible via MCP protocol Deploying the AgentCore Gateway Setting up […]

Part 1: Building Production-Ready AI Agents with Amazon Bedrock AgentCore (Architecture & Auth)

Part 1: Foundation, Architecture & Authentication Introduction Building a production-ready AI agent chatbot requires more than just connecting to an LLM. You need secure authentication, scalable infrastructure, persistent memory, and seamless tool integration. In this three-part series, I walk through implementing a complete Amazon Bedrock AgentCore solution for a business assistant chatbot. I’ll try to elaborate on […]

Cloud-based Digital Electrical Grid Simulation

A paradigm shift for advancing the electric power industry Modern power system engineering increasingly depends on advanced digital simulation to support a wide spectrum of activities, including real-time grid operation, long-term planning, and comprehensive reliability assessment. These simulation environments empower engineers to anticipate abnormal operating conditions, evaluate evolving system requirements, and generate data-driven insights that […]

Compressed External Latent State (CELS)

tl;dr: We find that by emulating a language model’s internal latent space, represented as a graph, we achieve 99% fewer tokens while retaining the level of semantic meaning. What Latent Space Actually Is Latent space is the hidden geometry where modern language models actually think. Inside every transformer layer, the model continuously compresses meaning into […]

How to Protect Your Agent from AI Cyber Espionage with Guardrails

If you’re building AI agents right now, the Anthropic GTG-1002 story should be stuck in your head. Last week, Anthropic published a report detailing what they’ve determined as the first reported “AI-orchestrated cyber espionage campaign”. Chinese state actors used Claude to orchestrate full-scale cyber espionage. Not hypothetically. Not in a lab. In the real world, against real […]