RAG vs Agent Memory
Compare product-document retrieval with saved user preferences. Run a support fixture that checks access, freshness, provenance and retrieval failures.
Ideas you can put to work
Explore software, AI, and the systems behind everyday applications.
Practical explanations, examples, and things to try.
Compare product-document retrieval with saved user preferences. Run a support fixture that checks access, freshness, provenance and retrieval failures.
Separate model context, task state and saved preferences. Use Python and SQLite to test consent, scoped retrieval, stale updates, expiry and deletion.
Build a bounded support assistant with one read-only tool, a reviewable trace and clear handoffs. Run fixtures first, then connect an optional model.
Build a read-only HTTP adapter with validated inputs, controlled errors and bounded retries. Test a local API without model credentials or real secrets.
Build a local read-only MCP glossary server with the official Python SDK. Test discovery, valid calls, rejected inputs and subprocess shutdown.
Expose one documentation service as a resource, search tool and reusable prompt. Run discovery and use locally, then check host support and access boundaries.
Compare a direct HTTP API with an MCP adapter through the same local weather lookup, including discovery, schemas, access boundaries and maintenance costs.
Build a focused setup-guide review skill, validate its files, and design positive, negative, and failure-feedback tests without granting extra permissions.
Understand SKILL.md packages, staged loading, prompts, tools, and permission boundaries through a small review skill and runnable Python helper.
Build a local read-only order dispatcher to learn tool requests, argument validation, user permissions, controlled errors, and timeouts.
Compare chatbots, workflows, and AI agents through the same support ticket, with control flow, costs, failure cases, and a practical decision guide.
Follow an AI agent through support-ticket triage, run a bounded Python simulation, and learn when a script or workflow is the better choice.
Understand cache hits and misses with a runnable Python example, expiration, invalidation, practical use cases and caching trade-offs.
Learn how single-flight request coalescing prevents cache stampedes, reduces database queries, and improves Python API performance.
Learn how to secure your MCP (Model Context Protocol) server using FastAPI. Implement authentication, rate limiting, and input validation to protect your AI workflows from misuse, abuse, or injection.
Learn how to build modular, context-aware plugins for your Model Context Protocol (MCP) server. Includes step-by-step examples for OpenAI GPT-based summarization and YouTube metadata extraction.
Discover the power of the Model Context Protocol (MCP) Server — an innovative way to orchestrate AI models and tools with context-awareness. Learn how it works, why it matters, and how to build your own MCP system.
Discover the Pystache Python library for template rendering. Learn its use cases, advantages, disadvantages, and alternatives. Start coding efficiently!
Learn Python's match statement with examples. Simplify branching logic and enhance code readability. A must-know for Python developers!
Learn how to secure your web application using OAuth2 and JWT for robust authentication and authorization.