Privacy choices

Optional Google Analytics and advertising are off until you choose. Read our privacy details.

Topic

Python

3 news articles · 5 tutorials

News

Tutorials

A Python MCP server skeleton in a terminal next to a Claude Code session
AI CodingLevel / intermediate

Custom MCP Server in Python for Claude

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.

Published 8 min read
A SQLite FTS5 index over a folder of markdown notes returning BM25-ranked snippets to an AI agent
AI CodingLevel / intermediate

AI Agents 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.

Published 8 min read
Ubuntu 24.04 terminal showing the externally-managed-environment pip error and a stdlib name collision traceback
AI CodingLevel / beginner

Python Traps on Ubuntu 24.04: PEP 668, Stdlib

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.

Published 7 min read
CrewAI logs showing multi-agent collaboration
AutomationLevel / advanced

CrewAI Multi-Agent Orchestration 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.

Published 7 min read
FastAPI server logs streaming Claude tokens
AutomationLevel / intermediate

FastAPI Claude Streaming Endpoint 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.

Published 7 min read