Lakshya Agarwal

Engineer by curiosity, philomath by nature

Blog

Exploring GEPA and DSPy for AI system optimization

An overview of DSPy and GEPA for AI system optimization.

Building RL environments for open-source AGI

Weekend notes on porting environments, running evaluations, and serving LMs on a cloud-hosted GPU.

Building a CLI Agent

My experience building a terminal-based AI agent and demystifying the hype around agents.

Vibe-coding a digital wardrobe

My thoughts on vibe-coding as of May 2025.

New Builds 2024

A recap of building a generative choose-your-own-adventure game in 24 hours at New Builds 2024 hackathon

Understanding the diffusion process

An exploration of the DDPM paper by Ho et al., covering core concepts of diffusion models for image generation.

LLM Evals

A tutorial on evaluating LLM performance using LangSmith for 10-K filing retrieval tasks.

LangChain Primer

An introduction to LangChain framework for AI applications, including RAG implementation and monitoring.

Fine-tune GPT-2 for Classification

A tutorial on fine-tuning GPT-2 for classification tasks using the Hugging Face Transformers library.

Building LSTMs from Scratch

A step-by-step implementation guide for building multi-layer LSTMs from scratch in Python.

GPT-4 Vision Example

A guide to using GPT-4 Vision API for generating advertising copy from product images.

Building a Transformer

A detailed breakdown of the Transformer architecture, focusing on encoder-decoder blocks and self-attention.

IMDb Rating Prediction

A regression analysis project predicting IMDb movie ratings and identifying key influential features.

EPL Season 14 Group D

An analysis of ESL Pro League Season 14 Group D performance metrics and player statistics.