The 12-Factor Agent: Best Practices for Building Reliable LLM Applications
Dex from HumanLayer outlines 12 essential principles for building reliable AI agents. These best practices resonated deeply with my own agent development experience.
Matthew Groff's musings on full-stack web software engineering and more.
Dex from HumanLayer outlines 12 essential principles for building reliable AI agents. These best practices resonated deeply with my own agent development experience.
How and why I combine Pydantic AI with Vercel AI SDK to build AI agents. Learn to connect Python Pydantic AI backends to TypeScript frontends with streaming, tool calling, and MCP servers. Example GitHub repo included.
Today I'm excited to announce the release of my first eBook - a beginners guide to building Model Context Protocol servers that wrap existing APIs for AI agents.
Learn how to create a complete MCP server in a single TypeScript file using Bun. This tutorial shows you how to wrap the Petfinder API with OAuth authentication, making it perfect for both humans and LLMs to understand and modify.
My recommendations for tech stacks that work well with LLMs: React (Vite/Next), TypeScript, Python, Tailwind, Shadcn, and Ruby on Rails.
Overview of the Jira “Agent Flayer” attack and practical steps: disable auto-run, inventory/approve MCP servers (e.g., Atlassian MCP), avoid untrusted ticket routes.
A quick demonstration of how sometimes GPT-5 needs a little encouragement to follow instructions properly.
Practical recommendations for working with Agentic Coding Assistants code effectively in August 2025: planning with GPT-5, when to code with GPT-5 vs Claude, watching chain-of-thought, and choosing stable tech.
Early notes from using GPT-5 in Cursor: stricter user rules needed and performance tradeoffs between default and fast modes.
OpenAI launches GPT-5 with 400K context window, competitive pricing, and claims to be the best coding model today. Here are the key highlights and comparisons with Anthropic's offerings.
Learn how to leverage reasoning models like o1 or o3-mini to generate comprehensive PRDs and automatically convert them into actionable GitHub issues.
How to effectively combine o3-mini and Claude 3.5 Sonnet in Cursor for optimal coding workflow.
My experience running the DeepSeek R-1 distilled Qwen 32B model locally on a single RTX 4090, and how it compares to cloud-based alternatives.
Understanding the performance gap between distilled and full versions of DeepSeek R1, and why it matters.
Major shifts in U.S. AI policy and a massive new infrastructure investment signal changing priorities in artificial intelligence development.
What will be the hot AI topics in 2025?
Meta released Llama 3.2 and its ready for edge and mobile devices, along with a new vision model.
Learn how to efficiently balance traditional coding with the use of Large Language Models (LLMs) to solve problems effectively. Discover strategies to optimize processes like web scraping, saving time and resources by knowing when to code and when to leverage AI.
Getting a Cypher Query from an Article using a Large Language Model.
I will explain how and why I use Groq and Llama 3.1 to extract insights from articles.
Comparing Ollama w/ Mixtral vs GPT-4 vs Claude 3 Opus for my command line application SALTE: Semi-Autonomous Linux Task Executor
Being smart about how we ingest PDFs is crucial. Here's how I used OpenAI's GPT-4 Vision to convert them to Markdown.
Here's how I crafted a Typescript NPM package with Bun called Function Agents.
Explore how the synergy of Azure Functions, Node.js, and OpenAI's GPT-4 can revolutionize email customer support. Dive into the step-by-step process of building a responsive AI Customer Service Agent.
A code example of how to use the new Chat Completion Function Calling API with JavaScript (Bun and Express)
I made an npm package called next-rails that gives the power and syntax of the Rails CLI to Next.js applications.
Learn how to create a chatbot with OpenAI, Next.js, and Postgres for free.
Learn how to store and query your own data using OpenAI Embeddings and Supabase
In this post, I introduce next-rails, a new npm package I developed to bring the efficiency of Rails-like features to Next.js, aimed at improving your full-stack development experience.
By taking full advantage of generous free tiers of cloud services, you can run a scraping hub for under $10 a month.
How and why I made a scraper with Cloudflare Workers and OpenAI's API
How I made a web scraper using a React Server Component in a Next.js app.
Prompting ChatGPT to help me create a Live Estimation App with Next.js and Supabase.
Prompting ChatGPT to help me create a Live Estimation App with Next.js and Supabase.
Interact with OpenAI's GPT-4 model directly from your bash terminal for quick answers to your questions.
An advanced Git hook solution for monorepos, similar to Husky.
useMemo, useState, useEffect, and useReducer are all you need to eliminate all unnecessary rerenders in React.
How I revived a four-year-old React Class Component and turned it into a React Hook.
Explaining step by step how to make a GraphQL API with Ruby on Rails.
Learn how I built a GPT Test Generator Bun app with ChatGPT.
Copying and pasting to ChatGPT to generate Cypress Component Tests.
Apollo Server used to be exclusive to Node.js, not anymore. Here's how to make an Apollo Server with Bun.
Express used to be exclusive to Node.js, not anymore. Here's how to make an Express Server with Bun.
Using Honojs with Bun to host a GraphQL Server.