Topic

Python

3 news articles · 5 tutorials

News

Tutorials

A Python MCP server skeleton in a terminal next to a Claude Code session
💻AI Codingintermediate

Building a Custom MCP Server in Python: Claude Reaches My Stack

Claude Code is sharp until it hits the edge of your machine and your private tools. I wrote three small MCP servers in Python to close that gap. Here is the real pattern, the real gotcha that bit me, and what it costs.

Jun 1, 2026·8 min read
A SQLite FTS5 index over a folder of markdown notes returning BM25-ranked snippets to an AI agent
💻AI Codingintermediate

I Gave My AI Agents a Memory With SQLite FTS5 (No Vector DB)

Most agent-memory setups reach for Pinecone or pgvector by reflex. I put 2000+ markdown files behind SQLite FTS5 with BM25 ranking, and my agents now answer their own 'who is X' questions in under a second for zero tokens. Here is the schema, the query, and the one place lexical search loses.

Jun 1, 2026·8 min read
Ubuntu 24.04 terminal showing the externally-managed-environment pip error and a stdlib name collision traceback
💻AI Codingbeginner

Two Python Traps on Ubuntu 24.04: PEP 668 and Stdlib Name Collision

Fresh Ubuntu 24.04, two Python traps that eat a beginner's evening: pip refusing to install, and an import that explodes cryptically. Here are both, with the exact errors and the fixes.

Jun 1, 2026·7 min read
CrewAI logs showing multi-agent collaboration
Automationadvanced

CrewAI Multi-Agent Orchestration, A Real Workflow That Shipped

CrewAI is the most popular multi-agent orchestration framework. I built a real research crew with it. This is the install, the workflow, and the gotcha that ate my afternoon.

May 6, 2026·7 min read
FastAPI server logs streaming Claude tokens
Automationintermediate

FastAPI Claude Streaming Endpoint, Build A Production Wrapper

I built a FastAPI wrapper around Claude Sonnet 4.6 with SSE streaming for a client. This is the structure that worked, including the gotcha that cost me an evening.

May 6, 2026·7 min read