Blog

Writing on agentic AI, blockchain, and AI systems architecture.

Technical writing by Mudassir Khan — agentic AI consultant and AI systems architect. New posts published directly on this site. Earlier writing on Dev.to.

Agentic AI

Multi-agent design patterns, LLM selection, agent evaluation, and security for production autonomous systems.

Cover illustration for: Multi-Agent Design Patterns: The Four That Work in Production
Agentic AIAI Architecture10 min read

Multi-Agent Design Patterns: The Four That Work in Production

Sequential, orchestrator-worker, hierarchical, and dynamic handoff — the four multi-agent patterns used in production in 2026, with LangGraph implementation guidance for each.

Read post →
Cover illustration for: OpenAI vs Anthropic vs Google: Which LLM for Your Agent?
LLMsAgentic AI10 min read

OpenAI vs Anthropic vs Google: Which LLM for Your Agent?

Not all LLMs are equal for agentic AI. This comparison covers GPT-5.4, Claude Sonnet 4.6, and Gemini 2.5 across tool-call reliability, context, cost, and safety for production agents.

Read post →
Cover illustration for: How to Evaluate LLM Agents in Production: Beyond Unit Tests
AI EngineeringAgentic AI9 min read

How to Evaluate LLM Agents in Production: Beyond Unit Tests

Agent failures happen at the span level, not the final output. This guide covers RAGAS metrics, span-level evaluation, LangSmith setup, and the target scores that matter in 2026.

Read post →
Cover illustration for: Prompt Injection and AI Agent Security: A Production Defense Guide
Agentic AIAI Engineering10 min read

Prompt Injection and AI Agent Security: A Production Defense Guide

Prompt injection is OWASP's number one LLM risk. This guide covers the Lethal Trifecta, indirect injection, and the seven-layer defense stack for production agents in 2026.

Read post →
Cover illustration for: Blockchain and Agentic AI: How Autonomous Agents Go On-Chain
Agentic AIAI Architecture9 min read

Blockchain and Agentic AI: How Autonomous Agents Go On-Chain

AI agents with wallets, smart contract execution, and on-chain governance are live in 2026. This guide covers the architecture, ERC-4337 account abstraction, and production use cases.

Read post →

RAG & AI Engineering

Production RAG pipelines, vector database selection, fine-tuning tradeoffs, and LLM governance.

Cover illustration for: JavaScript Programming: Complete Beginner Guide
AI Engineering15 min read

JavaScript Programming: Complete Beginner Guide

JavaScript is the language of the web and modern AI tooling. This guide covers variables, functions, loops, objects, async, and your first program.

Read post →
Cover illustration for: Production RAG: Why Retrieval Fails and How to Fix It
RAGAI Engineering11 min read

Production RAG: Why Retrieval Fails and How to Fix It

Most RAG failures happen at retrieval. This guide covers chunking, hybrid search, reranking, and RAGAS metrics for production RAG pipelines in 2026.

Read post →
Cover illustration for: Fine-Tuning vs RAG: The Decision Guide for Production
RAGLLMs9 min read

Fine-Tuning vs RAG: The Decision Guide for Production

RAG fixes knowledge gaps. Fine-tuning fixes behavior gaps. Here is the decision framework that actually helps in production, plus the 2026 hybrid standard.

Read post →
Cover illustration for: pgvector vs Pinecone vs Weaviate: How to Choose in 2026
RAGAI Engineering9 min read

pgvector vs Pinecone vs Weaviate: How to Choose in 2026

An AI architect's guide to choosing a vector database in 2026. Start on pgvector, migrate when you must. Here is when each option wins and what the performance numbers actually show.

Read post →
Cover illustration for: AI Governance Checklist for Production LLM Systems in 2026
AI SystemsAI Engineering9 min read

AI Governance Checklist for Production LLM Systems in 2026

EU AI Act full enforcement begins August 2026. This practical checklist covers the five governance layers every production LLM system needs — with ISO 42001 and EU AI Act mappings.

Read post →

Hiring & Consulting

When to hire, which AI roles you actually need, and how to structure consulting engagements.

Cover illustration for: Hire an Agentic AI Consultant: When You Need One and What to Look For
Agentic AIConsultingHiring9 min read

Hire an Agentic AI Consultant: When You Need One and What to Look For

A practical guide to hiring an agentic AI consultant — when you actually need one (vs. a general AI agency), what to look for, how engagement models work, and what it costs in 2026.

Read post →
Cover illustration for: What an AI Systems Architect Actually Does (and When You Need One vs. an ML Engineer)
AI ArchitectureHiringAI Systems11 min read

What an AI Systems Architect Actually Does (and When You Need One vs. an ML Engineer)

A clear breakdown of what an AI systems architect does, how the role differs from ML engineers and data scientists, when your team needs one, and what they deliver in 2026.

Read post →
Cover illustration for: Hire an AI Engineer or Use a Consultant? The 2026 Guide
ConsultingHiring8 min read

Hire an AI Engineer or Use a Consultant? The 2026 Guide

Should your startup hire an AI engineer or engage a consultant? This decision guide covers timeline, cost, risk, and the hybrid model most seed-stage teams actually use.

Read post →

Blockchain & Web3

Ethereum, Solana, smart contracts, wallets, on-chain transactions, and ERC token standards.

Cover illustration for: uint Array in Solidity: A Beginner Smart Contract Guide
BlockchainSmart ContractsSolidity16 min read

uint Array in Solidity: A Beginner Smart Contract Guide

Learn the uint array in Solidity end to end. push, pop, delete, swap and pop, memory arrays, fixed length, and a Remix contract with every method.

Read post →
Cover illustration for: int Array in Solidity: A Beginner Smart Contract Guide
BlockchainSmart ContractsSolidity16 min read

int Array in Solidity: A Beginner Smart Contract Guide

Learn the int array in Solidity end to end. push, pop, delete, swap and pop, signed values, memory arrays, fixed length, and a Remix contract with every method.

Read post →
Cover illustration for: string Array in Solidity: A Beginner Guide With Code
BlockchainSmart ContractsSolidity16 min read

string Array in Solidity: A Beginner Guide With Code

Learn the string array in Solidity end to end. push, pop, delete, swap and pop, the memory keyword, fixed length, and a Remix contract with every method.

Read post →
Cover illustration for: address Array in Solidity: Beginner Guide With Code
BlockchainSmart ContractsSolidity16 min read

address Array in Solidity: Beginner Guide With Code

Learn the address array in Solidity end to end. push, pop, delete, swap and pop, the zero address, memory arrays, and a Remix Whitelist with every method.

Read post →
Cover illustration for: Struct Array in Solidity: A Beginner Smart Contract Guide
BlockchainSmart ContractsSolidity17 min read

Struct Array in Solidity: A Beginner Smart Contract Guide

Learn the struct array in Solidity end to end. push, pop, delete, swap and pop, field updates, memory and storage, and a Remix StudentRegistry contract.

Read post →
Cover illustration for: Create an ERC20 Token: Remix Step by Step
BlockchainAI Engineering13 min read

Create an ERC20 Token: Remix Step by Step

Build an ERC20 token from scratch and deploy it on Remix IDE. Full interface, contract code, deploy walkthrough, and the approve and transferFrom pattern.

Read post →
Cover illustration for: Create an ERC721 NFT: Remix Step by Step
BlockchainAI Engineering14 min read

Create an ERC721 NFT: Remix Step by Step

Build a complete ERC721 NFT contract on Remix IDE. Full interface, mint and transfer code, IPFS metadata, and the safeTransferFrom receiver pattern.

Read post →
Cover illustration for: Create an ERC1155 Multi Token: Remix Tutorial
BlockchainAI Engineering14 min read

Create an ERC1155 Multi Token: Remix Tutorial

Build an ERC1155 multi token contract on Remix IDE. Full interface, batch operations, mint and transfer code, and a deployable game ready example.

Read post →
Cover illustration for: Blockchain Fundamentals: Ethereum vs. Solana
BlockchainAI Architecture13 min read

Blockchain Fundamentals: Ethereum vs. Solana

Distributed ledgers, immutability, and decentralization explained — plus a side by side breakdown of Ethereum's Gasper consensus and Solana's Proof of History. Speed vs security.

Read post →
Cover illustration for: Blockchain Networks: Mainnet, Testnet, RPC
BlockchainAI Architecture13 min read

Blockchain Networks: Mainnet, Testnet, RPC

A developer's guide to blockchain network environments — mainnet vs testnet, Chain IDs that prevent replay attacks, RPC nodes explained, and how to add any EVM network to MetaMask.

Read post →
Cover illustration for: Solidity Smart Contracts: Complete Beginner Guide
BlockchainAI Engineering14 min read

Solidity Smart Contracts: Complete Beginner Guide

Solidity is the language for Ethereum smart contracts. This guide covers variables, functions, loops, control flow, and your first deployable contract.

Read post →
Cover illustration for: Solidity Mapping with Struct: Patterns and Examples
BlockchainSolidity14 min read

Solidity Mapping with Struct: Patterns and Examples

Mapping with struct is Solidity's workhorse for per-user state. Learn the pattern, see a full voting registry, master storage packing, and avoid the four common pitfalls.

Read post →
Cover illustration for: Solidity Arrays with Loops: Smart Contract Examples
BlockchainSolidity13 min read

Solidity Arrays with Loops: Smart Contract Examples

Arrays plus loops in Solidity: for vs while, the vote tally pattern, the unbounded loop bug, pagination, and pull over push. Six patterns and a complete worked example.

Read post →
Cover illustration for: Solidity Arrays From Scratch: A Practical Guide
BlockchainSolidity12 min read

Solidity Arrays From Scratch: A Practical Guide

Learn arrays in Solidity from scratch. Fixed and dynamic arrays, push, pop, length, delete, storage vs memory vs calldata, plus a full worked contract.

Read post →
Cover illustration for: Build a Solidity Calculator Contract: Beginner Tutorial
BlockchainSolidity10 min read

Build a Solidity Calculator Contract: Beginner Tutorial

Build a Solidity calculator smart contract from scratch. Add, subtract, multiply, divide with pure functions, stored state, events, and require, deployed in Remix.

Read post →
Cover illustration for: Solidity vs. Rust: Smart Contract Languages
BlockchainAI Engineering13 min read

Solidity vs. Rust: Smart Contract Languages

Solidity powers Ethereum DeFi. Rust powers Solana's Sealevel parallel runtime. Here is how the two languages differ on safety, performance, learning curve, and ecosystem depth.

Read post →
Cover illustration for: How Ethereum Wallets Work: Keys, Addresses, Signing
Blockchain9 min read

How Ethereum Wallets Work: Keys, Addresses, Signing

How an Ethereum wallet actually works — private and public keys, address derivation, seed phrases, and how a signed transaction proves ownership without revealing your key.

Read post →
Cover illustration for: How Ethereum Transactions Work: Lifecycle and Gas
Blockchain10 min read

How Ethereum Transactions Work: Lifecycle and Gas

An Ethereum transaction is a signed message. This guide walks through every field, the wallet to mempool to block lifecycle, gas pricing, and why some transactions fail.

Read post →
Cover illustration for: ERC Token Standards Explained: ERC20 to ERC4337
Blockchain11 min read

ERC Token Standards Explained: ERC20 to ERC4337

ERC token standards from ERC20 to ERC4337 — fungible tokens, NFTs, multi token contracts, tokenized vaults, and account abstraction with what each standard is for.

Read post →
Cover illustration for: Crypto Wallets: Setup to Your First Transaction
Blockchain13 min read

Crypto Wallets: Setup to Your First Transaction

What a crypto wallet actually stores, the difference between custodial and non-custodial, and a step by step guide to installing MetaMask and Phantom and sending your first testnet transaction.

Read post →

Earlier writing on Dev.to

Essays and early-stage thinking, published on Dev.to.

All posts ↗
Cover illustration for: CLaRa: Fixing RAG's Broken Retrieval–Generation Pipeline With Shared-Space Learning
RAGAgentic AI8 min read

CLaRa: Fixing RAG's Broken Retrieval–Generation Pipeline With Shared-Space Learning

How closed-loop retrieval with shared-space learning improves grounding quality in production RAG systems — and why most RAG pipelines are broken at the retrieval–generation boundary.

Read on Dev.to ↗
Cover illustration for: The Rise of Prompt-Driven Development: Why the Future of Software May Be Written in Prompts
AI EngineeringLLMs6 min read

The Rise of Prompt-Driven Development: Why the Future of Software May Be Written in Prompts

A practical perspective on prompt-first workflows, governance, and how software engineering teams are evolving their practices.

Read on Dev.to ↗
Cover illustration for: I Had a Fight With My Toaster — And It Taught Me Everything About the Future of AI
AIProduct7 min read

I Had a Fight With My Toaster — And It Taught Me Everything About the Future of AI

A narrative take on everyday AI behaviour and what it signals about where human-AI interaction is heading.

Read on Dev.to ↗

More posts coming soon

A 30-post technical series on agentic AI architecture, LangGraph patterns, blockchain compliance engineering, and production AI systems is in progress. Follow on Dev.to or LinkedIn to be notified.

Blog — Agentic AI, Blockchain & AI Architecture Writing | Mudassir Khan