Category

AI Engineering

Practical guides to building AI-powered software: MCP servers, agent tooling, LLM integrations and making apps readable by AI assistants.

Code card showing a ComfyUI custom node pack: WEB_DIRECTORY in __init__.py, a V3 io.ComfyNode class and app.registerExtension in JavaScript

AI Engineering

How to Build a ComfyUI Custom Node with a JavaScript UI

Build a ComfyUI custom node with its own JavaScript UI: INPUT_TYPES and the V3 schema, WEB_DIRECTORY, passing UI picks into node outputs, routes, saving state and publishing to the Comfy Registry. Tested on ComfyUI 0.42.1.

9 min read5 views

MCP vs API cover: the same service called as GET /api/projects/42 and as an MCP tools/call, with p50 latency 76 µs vs 424 µs and tool token counts

AI Engineering

MCP vs API: When You Need Which, With Real Benchmarks

I built the same service as a REST API and as a stateless MCP server, then measured latency, throughput, bytes and the tokens a model reads. Here is when you need MCP, when a plain API wins, and how to wrap one with the other.

11 min read11 views

pgvector vs Pinecone vs Qdrant cover: recall@10 and latency for 100k OpenAI embeddings, pgvector 0.988 at 4.0 ms and Qdrant 0.985 at 2.6 ms

AI Engineering

pgvector vs Pinecone vs Qdrant: Benchmarked for RAG in 2026

I loaded 100,000 OpenAI embeddings into pgvector 0.8.7 on Postgres 18 and Qdrant 1.19 and measured recall, latency, index build and filtered search, then compared Pinecone's documented limits and pricing. When you need a vector database, and when Postgres is enough.

9 min read2 views