← Writing · page 4 of 8

AI agents

117 posts tagged ai-agents.

Oct 31, 2026

Voice AI Agents in 2026: Realtime vs Cascaded, 1.3s Latency, $0.05 a Minute

How voice AI agents work in 2026: cascaded STT-LLM-TTS vs OpenAI gpt-realtime-2.1, GPT-Live and Gemini 3.8 Live, a 1,293 ms latency budget against a 208 ms human gap, turn detection, SIP telephony, LiveKit vs Pipecat, and sourced cost per minute.

12 min
Oct 31, 2026

How to Trace an LLM App with OpenTelemetry and Langfuse (2026)

Self-host Langfuse v4 with Docker Compose, instrument a Python tool-calling agent with the OpenTelemetry-based Langfuse SDK v5, track token cost, sessions and user feedback scores, route other services through an OTel Collector, and fix traces that never show up.

13 min
Oct 31, 2026

Remote vs Local MCP Servers in 2026: stdio vs Streamable HTTP, No Sessions

Remote vs local MCP servers explained for 2026: how stdio and Streamable HTTP work, why HTTP+SSE is deprecated, what the stateless 2026-07-28 spec removed, how Workers, Cloud Run, Lambda, AgentCore and Vercel host MCP, and the auth, scaling and security trade-offs.

12 min
Oct 31, 2026

How to Get Reliable JSON From LLMs With Pydantic (2026)

Step-by-step guide to reliable JSON from LLMs in Python: Pydantic models, OpenAI responses.parse, Anthropic messages.parse, validation and retry loops, Instructor, streaming partial JSON, Ollama and vLLM, with tested versions and a troubleshooting table.

11 min
Oct 31, 2026

No-Code AI Agent Builders Compared (2026): 7 Tools, One Shutting Down

No-code AI agent builders compared for 2026: n8n, Zapier Agents, Make, Gumloop, Relevance AI, Copilot Studio and OpenAI Agent Builder (shutting down 30 November). Billing units, real prices, self-hosting, a per-message cost worked through, and when to write code instead.

11 min
Oct 31, 2026

Multi-Agent Systems in 2026: +90% on Research, -70% on Planning, 15x Tokens

When multi-agent systems beat a single agent in 2026: Anthropic's 90.2% research gain at 15x the tokens, Google's 260-configuration study (+80.8% to -70%), Cognition's single-writer rule, the MAST failure taxonomy, and how to evaluate before you split.

12 min
Oct 31, 2026

MCP Tool Design Best Practices (2026): Names, Schemas, Errors, Tokens

How to design MCP tools agents use correctly in 2026: naming rules from the 2026-07-28 spec, tool granularity, the token cost of tool definitions, outputSchema and structuredContent, isError messages, pagination, caching hints and versioning.

12 min
Oct 31, 2026

LLM Structured Outputs Explained (2026): JSON Mode vs Strict Schemas

What JSON mode, structured outputs and strict tool calling actually guarantee on OpenAI, Anthropic and Gemini in 2026, how constrained decoding works (XGrammar, llguidance, Outlines), the schema limits, and the ways valid JSON is still wrong.

12 min
Oct 31, 2026

LLM Observability Tools Compared (2026): Langfuse vs LangSmith vs Phoenix

Langfuse, LangSmith, Arize Phoenix, Helicone, Braintrust, Datadog and OpenLLMetry compared in October 2026: what each one bills on, list prices for a 300,000-run agent workload, licences and self-hosting, and how far the OpenTelemetry GenAI conventions have really got.

14 min
Oct 31, 2026

Kubernetes RBAC Explained (2026): Roles, Bindings and Why get Can Exec

Kubernetes RBAC explained for v1.37: Roles vs ClusterRoles, bindings, service accounts, aggregation, the verbs that escalate (escalate, bind, impersonate, nodes/proxy), RBAC for CI and AI agents, constrained impersonation, and auditing with kubectl auth can-i and rbac-tool.

13 min
Oct 31, 2026

How to Set Up HolmesGPT and K8sGPT for Kubernetes Troubleshooting (2026)

Step-by-step setup of K8sGPT 0.4.41 and HolmesGPT 0.45.0: pinned installs, a read-only ServiceAccount kubeconfig, OpenAI, Anthropic or Ollama backends, investigating a broken pod, Alertmanager alerts over the v2 API, data privacy settings and a troubleshooting table.

12 min
Oct 31, 2026

How to Deploy a Remote MCP Server on Cloudflare Workers (2026)

Step-by-step: build a stateless remote MCP server on Cloudflare Workers with createMcpHandler from agents 0.32.0, add tools backed by KV and Durable Objects, protect it with Workers OAuth Provider 1.2.4, deploy with Wrangler 4.156.0, connect Claude Code and Cursor, and fix the common errors.

13 min
Oct 31, 2026

How to Debug an MCP Server with MCP Inspector (2026 Guide)

Debug MCP servers with MCP Inspector 2.13: web UI, CLI exit codes, the stdout logging trap Inspector will not catch, Streamable HTTP errors like 406 and -32020, protocol eras and -32022, logging after 2026-07-28, and where Claude, Cursor and VS Code keep MCP logs.

14 min
Oct 31, 2026

Context Engineering Explained (2026): Why 1M Tokens Still Isn't Enough

Context engineering in 2026, explained by an infrastructure engineer: why it replaced prompt engineering, what context rot research shows, and how retrieval, tool definitions, memory, compaction and sub-agents keep an agent's window small and useful.

11 min
Oct 31, 2026

How to Connect MCP Servers to Claude Code, Cursor and VS Code (2026)

Step-by-step: add MCP servers to Claude Code with claude mcp add and .mcp.json scopes, to Cursor with mcp.json, and to VS Code, including remote OAuth servers, environment secrets, and fixes for failed starts, missing tools and timeouts.

13 min