Skip to main content
Blog

Latest writings

Notes on AI agents, Salesforce, automation, micro-SaaS, and engineering.

How to Build Your Own AI Image Generation API with Cloudflare Workers
October 03, 2026

How to Build Your Own AI Image Generation API with Cloudflare Workers

Deploy your own text-to-image endpoint on Cloudflare Workers AI: one small Worker, a secret API key, an AI binding, and calls from cURL, JavaScript or n8n.

Cloudflare WorkersWorkers AIImage Generationn8n automation
Read Article
ChatGPT for Developers: A Practical Guide to Building Better WorkflowsOpenAI
October 03, 2026

ChatGPT for Developers: A Practical Guide to Building Better Workflows

How developers can use ChatGPT and the OpenAI API in daily work: prompt patterns that hold up, the Responses API in Python, structured outputs, a repeatable pipeline, and where not to use it.

chatgptdeveloper toolsAPI integrationprompt-engineering
Read Article
Why Use Gemini for AI Automation: A Builder's Comparison
October 03, 2026

Why Use Gemini for AI Automation: A Builder's Comparison

When Gemini is the right model for automation workflows and agents: current models, verified pricing, native multimodal input, long context, tool calling, and where other models fit better.

GeminiautomationLLM ComparisonCost Optimization
Read Article
AI in Content Marketing: How I Build a Content Pipeline with n8n
October 03, 2026

AI in Content Marketing: How I Build a Content Pipeline with n8n

A builder's guide to AI content automation with n8n: a sheet as the queue, one LLM call with a strict JSON contract, a Code node parser, and drafts in Google Docs.

n8n automationAI content marketingcontent automation systemsDeepSeek API
Read Article
Graph Engineering For AI Agents: My Production Playbook
August 25, 2026

Graph Engineering For AI Agents: My Production Playbook

Model your agent as a graph: an execution graph in LangGraph for control flow and failure paths, and a knowledge graph for memory you can trace, with a runnable example.

Graph EngineeringAI AgentsLangGraphKnowledge Graphs
Read Article
AI Agents in Enterprise Automation: A Founder's Field Guide
August 08, 2026

AI Agents in Enterprise Automation: A Founder's Field Guide

How to take an AI agent from demo to dependable: start from the process, route low-confidence work to people, keep actions in plain code, and log every decision.

AI AgentsEnterprise Automationn8nhuman-in-the-loop
Read Article
Salesforce Agentforce Interview Questions: Prompt Builder, Data 360 and AISalesforce
August 08, 2026

Salesforce Agentforce Interview Questions: Prompt Builder, Data 360 and AI

Salesforce AI interview questions on Agentforce, Prompt Builder, Data 360 (formerly Data Cloud), grounding, guardrails and LLM callouts, with model answers.

Salesforce AIAgentforcePrompt BuilderSalesforce Data Cloud
Read Article
Salesforce Interview Preparation: Apex, LWC, Triggers & System DesignApex
May 19, 2026

Salesforce Interview Preparation: Apex, LWC, Triggers & System Design

A practical guide to Salesforce interview preparation covering Apex, triggers, SOQL, LWC, integration patterns, and system design for developers.

apexlwcInterview Prep
Read Article
How I Build Applications Faster with Supabase
March 06, 2026

How I Build Applications Faster with Supabase

How Supabase's Postgres APIs, auth, realtime and storage fit together, plus migrations, Row Level Security, Edge Functions, plan limits and the pitfalls to avoid.

Supabase tutorialSupabase productionPostgres RLSfull-stack development
Read Article
Building Long-Term Memory: Setting Up Vector Databases for Semantic Search in LangChain
February 22, 2026

Building Long-Term Memory: Setting Up Vector Databases for Semantic Search in LangChain

Split your text, embed it, store it in Chroma and search it by meaning with LangChain. Then add MMR for varied results, a Pinecone option and a small RAG chain.

LangChainAI DevelopmentragVector Database
Read Article
Unmasking the Black Box: Mastering LangChain Callbacks for Debugging
February 22, 2026

Unmasking the Black Box: Mastering LangChain Callbacks for Debugging

See inside a LangChain agent with callbacks: print every step, write a custom audit handler, count tokens, avoid async mistakes and send traces to LangSmith. Handlers tested with a fake model.

LangChain CallbacksLLM DebuggingLangChain Custom HandlerPython AI Development
Read Article
Best Practices for Deploying LangChain Apps to Production
February 22, 2026

Best Practices for Deploying LangChain Apps to Production

Serving, streaming, per-user state, caching, tracing, evals, secrets and timeouts: a checklist for moving a LangChain 1.x agent out of the notebook.

LangChainLangGraphLangSmithDeployment
Read Article
Structured JSON Output from LLMs: Schema Injection, Pydantic and Retry Loops
February 22, 2026

Structured JSON Output from LLMs: Schema Injection, Pydantic and Retry Loops

Get reliable JSON from an LLM: put the schema in the prompt, use structured outputs with a Pydantic model, and add a retry loop that sends errors back.

Structured LLM outputsPydantic AIOpenAI function callingJSON mode vs function calling
Read Article
Beyond Built-ins: Architecting Custom Tools in LangChain
February 22, 2026

Beyond Built-ins: Architecting Custom Tools in LangChain

Build custom LangChain tools two ways, the @tool decorator and a BaseTool subclass with a Pydantic schema, then handle tool errors so the agent can fix its own mistakes.

LangChainSoftware EngineeringpythonAI Agents
Read Article
Architecting Autonomous Agents: A Builder’s Guide to Complex Workflows
February 22, 2026

Architecting Autonomous Agents: A Builder’s Guide to Complex Workflows

How an AI agent loops through thought, tool call and observation, how to build one with LangChain's create_agent, and the guardrails that stop loops, bad arguments and context overflow.

Software ArchitectureautomationpythonAI Agents
Read Article
Building State: A Deep Dive into LangChain Memory for Conversational AI
February 22, 2026

Building State: A Deep Dive into LangChain Memory for Conversational AI

Add memory to a LangChain chatbot the current way: a checkpointer for chat history, a trimming window, SummarizationMiddleware and the Store API, all tested with a fake model.

LangChainpythonGenerative AIChatbots
Read Article
Building Robust RAG Pipelines: A Deep Dive into LangChain Document Loaders
February 22, 2026

Building Robust RAG Pipelines: A Deep Dive into LangChain Document Loaders

Load PDFs, CSVs, web pages and folders into LangChain Documents, keep the metadata you need for citations, and split the text into chunks for a RAG pipeline.

LangChainAI Developmentragpython
Read Article
What Is LangChain? When to Use It and When to Write Your Own Code
February 22, 2026

What Is LangChain? When to Use It and When to Write Your Own Code

What LangChain 1.x gives you today (create_agent, middleware, a standard model interface) and a plain framework for deciding between it and your own code.

LangChainLangGraphAI Agentspython
Read Article
Building Your First LLM Chain: A Developer's Guide to Sequential Logic
February 22, 2026

Building Your First LLM Chain: A Developer's Guide to Sequential Logic

Build a two-step LLM chain in Python with LangChain's pipe syntax: one prompt picks an angle, the next writes the post. Tested with a fake model, no real API key needed.

LangChainpythonTutorialLLM Development
Read Article
Beyond the Tags: Mastering HTML Architecture for Product-Based Roles
February 21, 2026

Beyond the Tags: Mastering HTML Architecture for Product-Based Roles

Semantic block elements, the accessibility tree, and how link and script tags affect rendering, with async, defer and module compared and a semantic page boilerplate.

Frontend EngineeringHTML5Interview PrepSemantic HTML
Read Article
From Selectors to BEM: CSS Concepts You Must Know for Professional Projects
February 21, 2026

From Selectors to BEM: CSS Concepts You Must Know for Professional Projects

Learn how CSS specificity works, why nested selectors cause style fights, and how BEM's block, element and modifier classes keep a stylesheet flat and predictable.

BEMBest PracticesCSSFrontend Architecture
Read Article
Mastering the Primitives: A Builder's Guide to JavaScript Data Types and Functions
February 21, 2026

Mastering the Primitives: A Builder's Guide to JavaScript Data Types and Functions

Learn how JavaScript stores primitives and objects, why shared object references cause bugs, and how to write a function that copes with messy input safely.

automationClean CodeJavaScriptProgramming Basics
Read Article
Overcoming the Daunting Start: A Strategic Roadmap for New Frontend Developers
February 21, 2026

Overcoming the Daunting Start: A Strategic Roadmap for New Frontend Developers

A five-phase frontend roadmap for beginners: HTML and CSS layout, core JavaScript, Git and npm, React with Vite or a framework, then TypeScript, with a project per phase.

career advicelearning roadmapFrontend Developmentbeginner developers
Read Article
Demystifying Scope and Closure: Key Concepts for Writing Robust JavaScript
February 21, 2026

Demystifying Scope and Closure: Key Concepts for Writing Robust JavaScript

Learn how JavaScript decides which variables a function can see, how closures keep them alive, and how to use that for private state, factories and caching.

JavaScriptProgramming ConceptsSoftware ArchitectureTechnical Guide
Read Article
Newsletter

The Automation Update

A newsletter on AI agents, developer tools, micro-SaaS, and systems thinking.

New issues when there's something worth sending. Unsubscribe anytime.