Blog

Langchain

11 posts tagged langchain — the same founder-tested patterns, filtered.

RubyLLM vs Langchainrb for Rails

RubyLLM vs Langchainrb for Rails

RubyLLM is a model client with Rails generators. Langchainrb is retrieval plumbing. Pick by whether you query your own documents, not by provider count.
Placeholder Image

Ruby LangChain Testing Guide 2025 | RSpec + WebMock

Master RSpec testing for LangChain-Ruby with 25 working examples. Learn mocking, VCR, WebMock, and CI/CD automation. Build reliable AI features with 95%+ test coverage.
Testing and Monitoring LLM Applications: From Non-Deterministic Chaos to Production Confidence

Testing and Monitoring LLM Applications: From Non-Deterministic Chaos to Production Confidence

Building production LLM apps? Learn proven testing strategies for non-deterministic AI, LangSmith observability patterns, and monitoring frameworks that work. Complete guide with RSpec/pytest examples.
LangGraph Tutorial: Build AI Agents with State Machines (Python)

LangGraph Tutorial: Build AI Agents with State Machines (Python)

Complete LangGraph tutorial with working Python examples. Learn nodes, edges, checkpoints, human-in-the-loop, and map-reduce patterns. From first graph to production agent.
LangChain Memory: Conversation History with Python

LangChain Memory: Conversation History with Python

How to add memory to LangChain agents. Working Python examples for short-term, long-term, and entity memory. PostgreSQL and Redis persistence. Real production patterns.
LangChain Architecture Deep Dive: Building Production-Ready AI Agent Systems

LangChain Architecture Deep Dive: Building Production-Ready AI Agent Systems

Master LangChain architecture for production with Python. Complete guide with error handling, testing strategies, and working code examples for scalable AI agent systems.
From Prototype to Production: Scaling LangChain and CrewAI Applications in Enterprise Environments

From Prototype to Production: Scaling LangChain and CrewAI Applications in Enterprise Environments

Complete enterprise guide to scaling LangChain and CrewAI from prototype to production. Covers architecture patterns, security, compliance, monitoring, and real-world case study with 80% improvement metrics.
Cost Optimization for LLM Applications: Managing Token Budgets and Scaling Efficiently

Cost Optimization for LLM Applications: Managing Token Budgets and Scaling Efficiently

Learn proven strategies to reduce LLM costs substantially through token management, caching optimization, prompt engineering, and smart model selection. Practical examples with cost tracking included.
Placeholder Image

LangChain Python Tutorial: Complete Guide

Learn LangChain Python with this comprehensive tutorial. Step-by-step guide with Django and FastAPI integration, production patterns, and 15+ working code examples. Build your first LLM app today.
Placeholder Image

Getting Started with LangChain-Ruby: A Complete Guide

Learn how to build AI-powered applications with LangChain-Ruby. Complete guide with working code examples, Rails integration, and production best practices for junior Ruby developers.

Reading this because something is going wrong?

A free code audit gives you a written assessment of your codebase in plain English.

Get a Free Code Audit

Rated 4.8/5 on Clutch · you keep the write-up either way