Back to Mastery Hub

AI & ML Development

Leveraging AI to Supercharge Development

AI-Native AI Expert

🤖 AI Architecture Deep Dives

Production , multi-region consumer infrastructure, and spec-driven AI-native development — built from first principles and shipped as live side projects.

1,600+AI-authored solutions•7 × 9langs × regions

From first principles to production, in the order the work happens. Seats and licences do not make an organization AI-native. Twenty-one free guides show how an agent works, how a change is planned, built, measured, made reliable and shipped with agents, how every role adopts it, and how to get certified.

Build AI-native systems

Steps 1–2

Foundations

How an agent works, and how a change is planned.

  1. 1 · UnderstandHarness EngineeringAn agent is a model call in a loop; everything else is the harness. Eight jobs, from one call to managed platforms.harness.sammuthu.com
  2. 2 · PlanFrom the ask to the releaseOne owner drafts the brief, impact map, contract and stories before the first meeting.ask-to-release.sammuthu.com

Build AI-native systems

Steps 3–6

What the agent knows

Everything the model reads: instructions, context, retrieval, memory.

  1. 3 · InstructPrompt EngineeringEverything the model reads is text; only some of it is an instruction. Roles, templates, injection, versions.prompt.sammuthu.com
  2. 4 · CurateContext EngineeringA model knows only what it can see now. Retrieval, budgets, compaction, coding-agent context.context.sammuthu.com
  3. 5 · RetrieveRAG EngineeringRetrieval is a query; the model reads only what it returns. SQL to vectors, HNSW, hybrid search, reranking.rag.sammuthu.com
  4. 6 · RememberMemory EngineeringMemory is what you keep; a checkpoint is where you stopped. Stores, run identity, safe resume.memory.sammuthu.com

Build AI-native systems

Steps 7–11

What the agent does

Tools, protocols, typed output, and several agents working together.

  1. 7 · ActTools EngineeringThe model proposes a call; your code decides whether it runs. Schemas, MCP, safe execution.tools.sammuthu.com
  2. 8 · IntegrateMCP EngineeringA protocol standardizes the call; it does not grant the permission. Function vs API vs MCP, identity, governance.mcp.sammuthu.com
  3. 9 · StructureStructured Output EngineeringParseable is not valid; valid is not correct. Schemas, typed models, validation, repair, evolution.schema.sammuthu.com
  4. 10 · CoordinateAgent Orchestration EngineeringSomething has to decide what runs next: workflows, agent patterns, human approval, durable runs.orchestrate.sammuthu.com
  5. 11 · ConnectAgent CommunicationOne agent asks, another answers; the rest is the contract. Messages, task lifecycle, A2A versus MCP.a2a.sammuthu.com

Build AI-native systems

Steps 12–16

Safe, measured, reliable

Who may act, what is blocked, what is seen, measured and recovered.

  1. 12 · IdentifyAuth EngineeringA valid token is not a permission. Sessions, OAuth, policy engines, tenants, workload identity, agents acting for people.auth.sammuthu.com
  2. 13 · ProtectGuardrails EngineeringA prompt asks; a guardrail enforces. Input, tool and output checks, injection, defense in depth.guardrails.sammuthu.com
  3. 14 · SeeObservability EngineeringA log records, a metric summarizes, a trace connects. GenAI telemetry, audit, SLOs, replay.observe.sammuthu.com
  4. 15 · MeasureEval EngineeringA test checks an answer; an eval measures a behavior. From one test to release gates.eval.sammuthu.com
  5. 16 · RecoverAgent Reliability EngineeringEvery step can fail; the outcome still has to be acceptable. Retries, idempotency, checkpoints, fault injection.reliable.sammuthu.com

Agentic SDLC

Steps 17–18

Deliver software with agents

From a specification to a change in production.

  1. 17 · ProduceSoftware Factory EngineeringA pattern plus a specification, through stations that prove their work. Assembly stations, gates, resumable runs.factory.sammuthu.com
  2. 18 · ShipDiff to DeployOne change from diff to production with coding agents: hooks, review, lanes, CI, evals.diff-to-deploy.sammuthu.com

Train the team

Steps 19–21

Practice, roles and certification

A recorded exercise for developers, adoption role by role, and the Claude Architect exams.

  1. 19 · PracticeThe Cadence KitOne ticket, three ways of working with Claude Code: step by step, with skills, with a live architecture view. Recorded.cadence.sammuthu.com
  2. 20 · AdoptRole by roleHow each role adopts AI, from the CIO to production support, with a risk tier per use case.enable.sammuthu.com
  3. 21 · Get certifiedClaude Architect Field GuideA free study guide for Anthropic's Claude Certified Architect exams.claude.sammuthu.com
🏗️

Architecture Deep Dives

🧠
New · Thesis

Developer General Intelligence

DGI is here — AGI’s practical cousin for engineering. A multi-model LLM council embedded in the architecture view: interrogate any component live, and the spec crystallizes underneath. Architecture as the Product.

Read the thesis →
🫀
New · Walkthrough

This Is Not a Chatbot

A real agent built end to end — requirement to evals — with every decision on the record. The model decides; a deterministic harness executes. Nine single-concern files, the injection defenses, the money gate, and a golden set with a negative control. Screenshots of the actual IDE and process.

Walk the code →
🧪
New · Living

Local LLM Field Notes

First-hand friction log evaluating open-weight models on an M4 Max / 128 GB laptop — GLM-4.5-Air in MLX-4bit, the memory math that rules out the 750B models, Ollama vs LM Studio, and why the honest verdict is a frontier API with a provider-agnostic hedge.

Read the field notes →
🏭

AI Factory

Three-layer agentic framework: single-agent loop, multi-agent orchestrator, modular tool SDK.

Explore architecture →
⌨️

CosmicKeys

Multi-region typing platform: voice narration, 8 languages × 10 keyboard regions, anycast routing.

Explore architecture →cosmickeys.app
📊

WatchAlgo

AI content factory: spec-driven, , Report Cards, , self-correction.

Explore architecture →watchalgo.com
🎞️

CosmicFlow Archives

Independent YouTube archives — every full session on its own subdomain, six languages, refreshed nightly. One template; a new archive is a persona file.

Explore architecture →cosmicflow.app
🧾
POC · Live

QuoteCraft — Underwriting

A property-insurance POC — built on years of group-benefits platform experience — showcasing around the full pipeline: auto quote generation, configuration-driven products, and an underwriting console where AI drafts and a human owns the decision.

Insurance HITL
Explore the demo →nova.sammuthu.com
🧩
Free Knowledge Base

Scaling — how consumer AI serves a billion people

A diagram-led, first-principles explainer of how frontier labs run personal AI at scale — the context pack, memory namespaces, the stateless fleet and its , token economics, quality and trust — and the one-to-one mapping onto enterprise systems.

14 ChaptersConsumer → Enterprise31 Diagrams
🌌
Architecture Thesis

Cosmic Managed AI Service

The managed AI service layer for the post-hyperscaler era — vendor-agnostic, infra-first, BYO-everything. 5 pillars + control plane + 4 deployment envelopes.

Read the thesis →
🧠
First OSS

Mnemos

Personal , 100% local by default. Drop a folder, ask cited questions from laptop or phone (Telegram bot). MIT-licensed, v0.11.

Explore architecture →GitHub
🔥
MVP · Daily Use

BurnWall

Founder runway dashboard: bank statements in → sliding-window burn rate, runway, and a decision deadline out. Built Mar 2026, used daily since.

See the MVP →
📚

AI Foundations

How I think about LLMs, RAG, agents, and production AI — first principles to shipped systems.

Read deep dive →
🗂️

Enterprise RAG

Full production RAG for real verticals — HR, customer transactions, healthcare. Reference architectures end-to-end.

Browse verticals →
🧰
Article

Harness engineering, the one-page article

The original long read: an agent is an HTTP call in a loop, and everything else is the harness. The full guide grew out of it at harness.sammuthu.com.

One pageFirst principles
Read the article →harness.sammuthu.com
🛠️

Agent Frameworks

LangChain, CrewAI, AutoGen, LlamaIndex, Pydantic AI — honest comparison with code, pros/cons, and when to pick each.

Compare frameworks →
🧩

Flowise — Visual Agent Builder

The open-source low-code canvas for LLM apps and agents (acquired by Workday for their enterprise AI agent platform). Hands-on series — install, build, and database-level observations as I work through real flows.

Browse the series →
🔌

MCP Server Pattern

Wrap your existing REST API as an MCP server in ~60 lines of TypeScript. Three surfaces — REST for developers, MCP for AI agents, CLI for power users — sharing one source of truth. Runnable subscription-status example.

Read the pattern →
📬

Inbox · Rebuilt

An email inbox rebuilt as a production system — Gmail API, SQLite sender catalog, 4×/day cron, human-in-the-loop over Telegram, Claude Code as the interface. Sender-first triage instead of email-by-email.

See the system →
🏛️

Model Committee — Routing Patterns

The four routing patterns I use in production: rule-based, classifier-based, cascading, parallel adversarial. With the LLM Council pattern — Claude orchestrates, Gemini reviews, Codex validates — for high-stakes tasks.

Learn the routing matrix →
🔀

Model-Agnostic Architecture

Your AI vendor is a dependency, not a destiny. Six layers decomposed — the provider gateway, the model-selection decision matrix, guardrails, multi-tenant isolation, and encryption in transit (mTLS) and at rest. Runnable code, animated data-flow diagram.

See the blueprint →
🔭

Observability & Evals

Langfuse, LangSmith, Braintrust, RAGAS, DeepEval, LlamaGuard — how the industry is adopting LLM observability, evaluation, and safety tooling. Real code for each.

Survey the stack →
🏗️
New

Platform Anatomy

Control plane + data plane + guardrails + observability. Vendor-neutral reference with Microsoft / AWS / custom stack mappings.

Explore architecture →
💻

Polyglot Engineering

A career across Java, Python, TypeScript, SQL, NoSQL, Kafka, Spring Boot, React, Next.js — and why stack breadth is a multiplier in the AI era.

Read the essay →
🎯

Additional Exploration Areas

The production deep dives above represent my core AI-native work. The tabs below cover adjacent areas I actively explore: Onyx prototyping, patterns, Claude Code excellence techniques, and polyglot AI strategy for multi-model orchestration.

🧠

AI Development

Systems

✓ Integration
✓ Optimization
✓ Management
+3 more features
Click to explore →
🚀 Deep Dive: Onyx Production RAG
🔌

Mastery

Implementation

✓Custom Tool Creation
✓Context Management
✓
+3 more features
Click to explore →
🎯

Claude Code Excellence

Advanced AI-Powered Development

✓Context-Aware Coding
✓Multi-File Refactoring
✓Intelligent Debugging
+3 more features
Click to explore →
🎭

Polyglot AI Strategy

Multi-Model AI Orchestration

✓Model Selection Logic
✓Cost Optimization
✓Latency Management
+3 more features
Click to explore →

🚀 The Future of AI Development

As AI capabilities evolve at breakneck speed, staying ahead means mastering not just individual models, but the art of orchestrating multiple AI systems to create applications that are intelligent, scalable, and cost-effective.

Continuous LearningProduction ExcellenceInnovation First