Pondhouse Data Blog
Enhancing Self-Made Agent with Memory: Keeping Context for Better Conversations
Add PostgreSQL-backed memory to a self-made Python AI agent: store every interaction, summarize long histories with GPT-4o and feed context into the prompt.
Advanced Self-Made Agent: Building a Smarter, Multi-Step AI Agent
Extend a framework-free Python AI agent with an AgentState enum, a multi-step reasoning loop and clarifying questions to the user. Full code included.
How to Build AI Agents Without Frameworks: A Step-by-Step Guide
Build an AI agent in plain Python with GPT-4o function calling: a PostgreSQL tool, a Wikipedia tool, a tool-call loop and PostgreSQL memory.
Azure AI Search RAG Tutorial: Build RAG on Azure with Python
RAG on Azure, tested: index a 144-page PDF with Azure AI Search, run hybrid search with semantic ranker and answer with citations in Python. With costs.
Azure OpenAI Content Filters: The Good, The Bad, and The Workarounds
Azure OpenAI content filters slow down requests and block legitimate business prompts. How they work, and how to set lower thresholds and asynchronous mode.
Crawl4AI Docker Tutorial: Crawl Websites for LLMs via REST API
Build and run Crawl4AI in Docker, crawl pages via its REST API to get markdown, metadata and links, and extract data with an LLM through LiteLLM.
Late Chunking: Improving RAG Performance with Context-Aware Embeddings
Late chunking embeds the whole document first, then pools token embeddings into chunks. Python code with jina-embeddings-v3 and a similarity comparison.
DSPy Tutorial: Build Better AI Systems with Automated Prompt Optimization
A hands-on DSPy tutorial: the 8-step workflow, metrics and optimizers, and a summarization example where optimization lifted the score from 42% to 68%.
What is LibreChat? Features, setup and Open WebUI comparison
LibreChat is an open-source, self-hosted ChatGPT alternative. We installed v0.8.8 with Docker and tested agents, MCP, file search, artifacts and web search.
How to create LLM tools from any Python SDK using langchain-autotools
langchain-autotools turns a Python SDK client into LangChain agent tools. Covers setup, CrudControls for picking functions and an Azure Blob Storage example.









