TypeScript Posts (15)

Blog posts tagged with TypeScript.

Wednesday 01/07/2026

· 11 min read

Run Real AI Features in the Browser with Transformers.js v4 and WebGPU

Transformers.js v4 WebGPU browser AI TypeScript tutorial: build client-side semantic search and on-device summaries with a WASM fallback and real benchmarks.

AIJavaScriptTypeScript

Monday 29/06/2026

· 11 min read

Edge RAG: Build a Sub-100ms Retrieval App with Cloudflare Workers AI and Vectorize

A complete Cloudflare Workers AI Vectorize edge RAG tutorial in TypeScript. Embed, index, retrieve, and stream answers from a single Worker on 300+ PoPs — with real latency numbers vs a Next.js + Pinecone setup.

AIJavaScriptTypeScript

Friday 19/06/2026

· 10 min read

Give Your AI Agent Persistent Memory with Anthropic Managed Agents

Stop building your own vector store just so your assistant remembers things. This Anthropic Managed Agents memory store TypeScript tutorial gives your agent persistent memory across sessions — plus vaults for MCP secrets — with no retrieval glue to maintain.

AIJavaScriptTypeScript

Wednesday 17/06/2026

· 11 min read

Anthropic Agent Skills in TypeScript: Package Reusable Instructions and Code as Tools

Stop copy-pasting the same 2,000-token system prompt into every feature. This Anthropic Agent Skills TypeScript SDK tutorial shows how to package instructions and scripts as a loadable skill Claude pulls in on demand.

AIJavaScriptTypeScript

Monday 15/06/2026

· 11 min read

Build a ChatGPT App with the OpenAI Apps SDK and MCP in TypeScript

Ship an interactive app inside ChatGPT with the OpenAI Apps SDK and MCP in TypeScript. Build an MCP server, an iframe widget, and the postMessage bridge that syncs state between ChatGPT and your UI.

AIJavaScriptTypeScript

Monday 08/06/2026

· 13 min read

OpenAI Realtime API vs Gemini Live vs Pipecat: Which for Voice AI in TypeScript

Build the same voice agent in OpenAI Realtime, Gemini Live, and Pipecat-JS. A TypeScript comparison of latency, interruption handling, mid-stream function calling, and cost per minute.

AIJavaScriptTypeScript

Friday 05/06/2026

· 10 min read

Hybrid Search That Actually Works: BM25 + Embeddings + Reranking in TypeScript

Pure vector search misses exact-match queries like SKUs and error codes. Fix retrieval with hybrid search in TypeScript: BM25 + embeddings, fused with RRF, then reranked.

AIJavaScriptTypeScript

Wednesday 03/06/2026

· 11 min read

PII Redaction Middleware: Strip Sensitive Data Before It Reaches the LLM

Build TypeScript middleware that redacts PII before it reaches the LLM, then re-hydrates the response - reversible redaction, audit logging, and a test suite.

AIJavaScriptTypeScript

Monday 01/06/2026

· 10 min read

Build an AI Eval Suite with Promptfoo: Catch Prompt Regressions Before Production

How to use Promptfoo to set up a TypeScript AI eval suite that catches prompt regressions in CI - deterministic asserts, LLM-as-judge, cost budgets, and a GitHub Actions workflow.

AIJavaScriptTypeScript

Friday 29/05/2026

· 11 min read

Why Your AI Feature Needs a Job Queue (And How to Add One with BullMQ)

Why synchronous LLM calls in Next.js API routes break under real load - and how to refactor to a BullMQ job queue with idempotency, priority lanes, SSE progress, and graceful shutdown.

AIJavaScriptTypeScript

Wednesday 27/05/2026

· 14 min read

Add AI Image Generation to Your Next.js App with Replicate, Fal, and Cloudflare R2

Add AI image generation to your Next.js app end-to-end - call Replicate or Fal with Flux, store outputs in Cloudflare R2, serve via signed URLs, handle webhooks, deduplicate, and budget cost per image.

AIJavaScriptTypeScript

Monday 25/05/2026

· 10 min read

Build Generative UI with Vercel AI SDK: Stream React Components from an LLM

Build generative UI with the Vercel AI SDK - stream real React components from an LLM tool call, render partial state during streaming, and gracefully fall back when a tool isn't registered.

AIJavaScriptTypeScript

Friday 22/05/2026

· 11 min read

Pinecone vs Turbopuffer vs pgvector: Which Vector Database for Production RAG in 2026

A real benchmark of Pinecone, Turbopuffer, and pgvector for production RAG in TypeScript. Latency, recall, and monthly cost at 1M, 10M, and 100M chunks.

AIJavaScriptTypeScript

Wednesday 20/05/2026

· 13 min read

Build a Text-to-SQL Feature: Let Users Query Your Database in Plain English

Build a production-safe text to SQL TypeScript feature with Postgres. Schema context, Zod validation, sandboxed roles, EXPLAIN gating, and a self-correction loop.

AIJavaScriptTypeScript

Monday 18/05/2026

· 9 min read

Cut Your Claude API Bill by 90% Using Prompt Caching in TypeScript

How to use Anthropic prompt caching in TypeScript to cut Claude API costs by up to 90%. Where to place cache_control breakpoints, TTL tradeoffs, and real RAG cost data.

AIJavaScriptTypeScript