Welcome to TensorWrites

Documenting my journey as an AI engineer through experiments, readings, interactive explanations, and systems built from scratch.

Learning series

Featured posts

View Timeline →
Read Trisynapse Memory : Evidence First Memory Layer for AI Agents

Trisynapse Memory : Evidence First Memory Layer for AI Agents

A local-first memory engine that stores source-aware evidence, retrieves relevant context, and helps agents answer with traceable citations.

36 min read
LLMsAgenticAIAgentic MemoryKnowledge GraphsHybrid SearchAdvanced RAG
Read AresSim - Mars Survival Simulation & RL Environment

AresSim - Mars Survival Simulation & RL Environment

AresSim is a 32×32 Mars survival grid I built from scratch to test RL algorithms and LLM agents: a rover explores terrain, extracts ice, and keeps a 5×5 colony pad alive under weather, battery drain, in seed-reproducible worlds.

17 min read
Reinforcement LearningSimulation
Read TD Learning - First step to Unification of Monte Carlo and DP

TD Learning - First step to Unification of Monte Carlo and DP

A deep dive into Temporal Difference (TD) Learning for Reinforcement Learning, an idea that forms basis for modern deep reinforcement learning algorithms

13 min read
Reinforcement LearningDemo
Read Monte Carlo Methods - Learning from Experience

Monte Carlo Methods - Learning from Experience

A deep dive into Monte Carlo methods for Reinforcement Learning, focusing on learning optimal strategies from raw experience without a model.

16 min read
Reinforcement LearningDemo
Read DotLM-165M: How I trained a 165M parameter language model from scratch

DotLM-165M: How I trained a 165M parameter language model from scratch

DotLM is a 165M parameter reasoning-capable SLM trained for all four stages of language modeling: Pretraining, Instruction Tuning, Alignment, and Reasoning using synthetically generated STE dataset.

39 min read
NLPSLMAgenticAILLM TrainingSFTRLHFReasoningInference OptimizationChatUI