Build log
One post a day on building with AI: tools, agents, RAG, automation and what it takes to ship.
-
Architecting Persistent Memory for AI Agents with Supabase and Vector Embeddings
Learn how to build persistent memory for your AI agents using Supabase and vector embeddings to overcome context window limitations.
Read entry -
Integrating LLMs for Code Generation: Accelerating Your Workflow
Learn how to integrate LLM-powered code generation into your existing development workflow to automate repetitive tasks and speed up common coding.
Read entry -
Designing a Flexible and Scalable API for LLM Features
Learn how to build a robust API for your LLM-powered features, focusing on flexibility, scalability, and maintainability as models evolve.
Read entry -
Implement a Custom RAG Reranker for Better Relevance and Cost Efficiency
Learn to implement a custom RAG reranking strategy using specialized models to improve relevance without increasing overall inference costs.
Read entry -
Stream LLM Responses Without Breaking Server Logic
Learn how to implement streaming UI updates from LLM responses while ensuring your critical server-side logic runs correctly on the full output.
Read entry -
A/B Testing LLM Prompts in Production: A Must-Have System
Learn why A/B testing LLM prompt variations is critical for production features and how to build a robust system to manage and evaluate them.
Read entry -
Choosing the Right Embedding Model for Your RAG Application
Learn how to select the best embedding model for your RAG application by analyzing your specific data characteristics and use cases.
Read entry -
Evaluating RAG Retrieval with Human Feedback
Learn how to implement human-in-the-loop feedback to accurately evaluate and improve retrieval quality in your RAG systems.
Read entry -
Structuring and Embedding Multi-Modal Data for Advanced RAG
Learn how to prepare and embed diverse data types like images, audio, and text to build more powerful RAG applications.
Read entry -
Implement Robust RAG Data Pipelines with n8n
Automate data ingestion and indexing for your RAG applications using n8n, ensuring data freshness and pipeline reliability.
Read entry -
Build Reliable AI Agents with Self-Correcting Prompt Engineering
Improve AI agent reliability by implementing self-correcting prompt engineering workflows to handle errors and refine outputs.
Read entry -
Refining RAG with Supabase Vector Search Filtering
Improve RAG relevance and reduce LLM costs by implementing vector search filtering with Supabase and pg_vector for precise document retrieval.
Read entry -
Designing Effective Tool Schemas for AI Agents
Learn how to design robust tool schemas for AI agents to prevent invalid function calls and improve reliability in your AI applications.
Read entry -
Optimizing RAG Context Windows for Relevant Retrieval
Improve RAG performance by intelligently chunking and embedding unstructured data to ensure only the most relevant information reaches your LLM.
Read entry -
Building Efficient AI Agent APIs with TypeScript and Vercel Edge Functions
Learn how to build low-latency AI agent APIs using TypeScript and Vercel Edge Functions for better performance and developer experience.
Read entry -
Cost-Effective LLM Guardrails: Prompt Engineering and API Design
Implement essential LLM guardrails cost-effectively using smart prompt engineering and robust API design, preventing misuse and controlling spend.
Read entry -
Efficient Context Windows for AI Agents: Prompt Engineering Techniques
Learn how to optimize context window usage for complex AI agent tasks, reducing costs and improving performance with practical prompt engineering
Read entry -
Automating CI/CD with Generative AI: Code Reviews and Testing
Integrate generative AI into your CI/CD pipeline to automate code reviews and enhance test generation, streamlining development workflows.
Read entry -
Building a Production-Ready RAG System with Supabase and TypeScript
Learn how to build a robust Retrieval-Augmented Generation (RAG) system using Supabase for vector storage and TypeScript for application logic.
Read entry -
API vs. Local LLMs: Choosing for Feature Development
Deciding between API-based and local LLMs for product features involves balancing latency, cost, and control to ship effective AI-powered applications.
Read entry -
Debugging LLM Tool Use: Tracing Agent Decisions
Learn to debug large language model agent tool use by tracing their internal decisions, identifying issues in tool selection or argument formation.
Read entry