Guides & Tutorials
Step-by-step tutorials to help you build AI apps, master new frameworks, and optimize your workflows.
Run GigaChat 4 37B-A4B Locally with llama.cpp (PR #32767 Build)
Run GigaChat 4 37B-A4B on an 8 GB GPU with the llama.cpp PR build: real GGUF sizes, MoE expert offload, MTP, tool calls and the noncommercial license.
Run Tencent Hy-MT3 Locally: 30B-A3B Translation on llama.cpp v1.1.0
Run Tencent's Hy-MT3-30B-A3B translation model on llama.cpp v1.1.0: the exact prompt template, real GGUF sizes, memory math and a batch file translator.
Run Ternary Bonsai 2.5 27B Locally with llama.cpp (Q2_0, PTQ1_0, MTP)
Run Prism ML's ternary Bonsai 2.5 27B locally: which GGUF stock llama.cpp loads, pinned fork commands with MTP, exact file sizes and 8 GB GPU sizing.
Free LLM APIs: Every Free Tier Checked Against the Provider's Own Page
13 free LLM API tiers checked on each provider's own page, 23 Nov 2026: exact limits, card and phone rules, and who may train on your prompts.
Self-Host FreeLLMAPI: One /v1 Endpoint Over Free LLM Tiers
Run FreeLLMAPI in Docker on 127.0.0.1: how its router fails over across free LLM tiers, how keys are encrypted, and the security and ToS limits.
Run Inkling 2 Mini Locally with llama.cpp, Ollama and MLX (v1.1.0)
Run Inkling 2 Mini locally with llama.cpp v1.1.0, Ollama or MLX: real file sizes, pinned commands, and what the op-offload fix changes on small GPUs.
Showing 6 of 100 guides
Complete guides archive
Browse every published entry. Newest stories and guides remain available above.
Browse all 100 entries
2026
- Run GigaChat 4 37B-A4B Locally with llama.cpp (PR #32767 Build)
- Run Tencent Hy-MT3 Locally: 30B-A3B Translation on llama.cpp v1.1.0
- Run Ternary Bonsai 2.5 27B Locally with llama.cpp (Q2_0, PTQ1_0, MTP)
- Free LLM APIs: Every Free Tier Checked Against the Provider's Own Page
- Self-Host FreeLLMAPI: One /v1 Endpoint Over Free LLM Tiers
- Run Inkling 2 Mini Locally with llama.cpp, Ollama and MLX (v1.1.0)
- Run DeepSeek V4.1 Flash Locally with llama.cpp (v1.0.0)
- Fine-Tune Tiny Aya for Tool Calling with QLoRA and TRL
- Quantize Falcon-7B with LitGPT to Cut GPU Memory to 5.4 GB
- Distill a LoRA Student from a Frozen Teacher on One GPU with torchtune
- Serve Multiple LoRA Adapters with SGLang's OpenAI API
- Deploy Streaming Speaker Diarization with Sortformer2.1 on Modal
- Build Retrieval-Augmented Conversational Memory with Milvus
- Build a Multi-Query RAG Retriever with Elasticsearch and LangChain
- Build Entity-Aware Semantic Search with Pinecone Metadata Filters
- Run Ragas Agent Evals for a Math-Solving Agent
- Generate Structured Dating Profiles with Outlines and Pydantic
- Build a DSPy ReAct Agent That Searches and Reads Wikipedia
- Benchmark vLLM Speculative Decoding with EAGLE, n-gram, and MTP
- Build LangGraph Adaptive RAG Locally with Ollama and Chroma
- Evaluate a Qdrant RAG Pipeline with Ragas and OpenRouter
- Build a sentence-window RAG retriever with Haystack
- Build an Agentic Browser Research Workflow with LlamaIndex
- Build Stateful Web Research Agents with Claude Agent SDK
- Build a Titanic Data Analyst Agent with smolagents
- Run a Microsoft AutoGen Team as a FastAPI WebSocket App
- Fine-Tune a Quantized Llama on GSM8K with PEFT LoftQ
- Benchmark Local Models with llama.cpp's llama-eval.py
- Run Distributed Full-Model DPO with PyTorch FSDP
- Run an LLM Locally to Interact with Your Documents: Complete Ollama & Open WebUI Guide
- Self-Hosting Your First LLM: Complete Hardware, Benchmark & Deployment Playbook
- Run SGLang Offline Batch Inference Directly from Python
- Deploy an LTX-2 Two-Stage Text-to-Video API on Modal H200 GPUs
- Build a Hybrid Sparse-Dense RAG Search Pipeline in Milvus
- Build Multimodal Image Search in Elasticsearch
- Build Semantic Search over Meeting Audio with Whisper and Pinecone
- Generate Synthetic RAG Test Sets With Ragas
- Build a ReAct Agent with Schema-Constrained JSON Using Outlines
- Run LLMs Locally: 6 Practical Methods (Ollama, LM Studio, vLLM, Jan, llama.cpp, and llamafile)
- Generate and Run a Python Expression with Outlines
- Build a Multi-Tool Claude Agent with MCP Servers in Python
- Build an Agentic RAG System with smolagents and ChromaDB
- Automate Prompt Optimization with DSPy GEPA
- Build a Grounded Search Agent with Google ADK
- Build a Multi-Agent Financial Research Bot with OpenAI Agents SDK
- Build a Multi-Agent Sequential Pipeline with Semantic Kernel
- Host and Run Qwen3.8-Flash Locally: Complete Unsloth and llama.cpp Deployment Guide
- Build a Routed RAG Chatbot with LlamaIndex and Chainlit
- Expose LlamaIndex Tool Specs as an MCP Server with fastmcp
- Fine-Tuning LLMs with LoRA: A Complete Practical Guide to Training & GGUF Deployment
- Graph RAG with Neo4j and OpenAI: Build a Product Search Pipeline
- Fine-tune a model with GRPO for mathematical reasoning
- Guaranteed JSON from llama.cpp with Pydantic and GBNF grammars
- Chain of Verification with SGLang: Reduce LLM Hallucinations
- Build a Self-Correcting RAG Agent with LangGraph and Milvus
- Hybrid Search with RRF in Elasticsearch: A Complete Guide
- Build Persistent Agent Working Memory with MongoDB and Tavily
- Evaluate Multi-Turn Conversations with Ragas AspectCritic
- Self-Consistency Voting with Outlines and gpt-4o-mini
- Claude Watermarks: Inspect Provenance and Preserve Working Code
- AI Web Scraping in Python: When an LLM Earns Its Cost
- Build a Text-to-SQL Agent with smolagents in One File
- Build a Multi-Modal RAG Pipeline with LlamaIndex and Qdrant
- Generate Video with Google Veo 3.1 and the Gemini Python SDK
- Run parallel Claude agents with asyncio and a message hub
- Build a Deep Research API Agent Pipeline with OpenAI
- Build a Local LLM Zero-Shot Classifier You Can Actually Deploy
- The Complete Developer Guide to Running LLMs Locally: From Ollama to Production
- Event-Driven Architecture for Agentic AI: The Architect's Guide
- Cursor AI: Complete Setup and Practical Coding Guide
- How to Run DeepSeek R1 Locally with Ollama: Full Setup Guide
- Run DeepSeek V4 Flash Locally with llama.cpp (2026)
- How to Run Qwen3 Locally with Ollama: Setup, API, and a Gradio App
- Self-Host DeepSeek V4 with vLLM: 2026 Deployment Guide
- Five Project Ideas for Local Language Models
- Mastering Advanced RAG Evaluation: From Basic Metrics to LLM-as-a-Judge
- Building Context-Aware Search in Python with LLM Embeddings and Metadata
- Top 5 Small Language Models for Agentic Tool Calling
- Advanced LLM Compression: A Hands-on Implementation Guide for FP8, GPTQ, and SmoothQuant using llmcompressor
- Beyond Prompt Engineering: Deep-Dive RAG for Intent Detection & Slot Filling in AI Agents
- Run Claude Code with Ollama or OpenRouter: Setup, Costs and Routing Checks
- Building a Production RAG Pipeline with Bedrock and OpenSearch Serverless
- Secure RAG on Google Cloud with RAG Engine and Gemini (2026)
- Learning to Rank: The Hidden Layer Powering Modern RAG
- Designing a Production-Grade RAG Architecture
- RAG vs MCP in 2026: What Each Solves and How They Fit Together
- Local RAG Tutorial: LangChain, Ollama & ChromaDB with Ragas
- How to Build a Time-Series RAG for Forecasting Data
- What Is Tokenization Drift? A Practical Guide to Finding and Fixing It
- How to Analyze and Fine-Tune Agent Reasoning Traces
- APIs vs MCPs vs MCP Gateways: A Practical Guide for AI Builders
- Building AI Agents in Python with Pydantic AI
- Run Claude Code Locally with Ollama (2026 Setup)
- AI Risk Management: A Comprehensive Guide to Securing AI Systems
- Build a Tool-Calling Agent with a Local Small Model and Ollama (2026)
- Zero to Automation: How to Build Your First AI Agent
- Self-Verification for AI Agents: Build an Evaluator-Optimizer Loop in LangGraph
- Build Multi-Tenant RAG with Pinecone and Next.js (2026)
- Deploy an Open-Source LLM on Runpod Serverless with vLLM (2026)
- Getting Started with LangChain in 2026: Build a RAG Agent and a RAG Chain