// Blog

Technical notes for AI agent builders

Tutorials, comparisons and design patterns for building autonomous agents that self-fund, call 345+ models and orchestrate MCP Tools.

Oracle Agent Memory 26.6: The CRUD That Enterprise Agents Actually Needed

Enterprise AI agents fail not because they cannot talk, but because they remember the wrong thing, forget the important thing, or retain what they should delete. Oracle Agent Memory 26.6, released July 10, 2026, introduces full CRUD capabilities for threads, messages, memories, and profiles—built on an in-database architecture that eliminates vector database round-trips.

8 min read →

This Week in Agentic AI: Security Gaps, Payment Rails, and Stablecoin Shift

Darktrace reports 92% of security professionals are concerned about AI agent impact. Gravitee finds 48% of production agents run unsecured. Mastercard launches Agent Pay for Machines with 40+ partners including Aave, Coinbase, Polygon, and Solana. Open USD (OUSD) launches June 30 with 140+ partners, challenging Circle and Tether. MiCA enforcement begins July 1 across Europe. The infrastructure for autonomous agent payments is being built in real time.

7 min read →

MCP Goes Stateless: The 2026-07-28 Release Candidate Explained

MCP 2026-07-28 is the protocol's biggest architectural change since launch. Going stateless removes the initialize handshake, enables horizontal scaling, and introduces Multi Round-Trip Requests. This post explains the changes and what they mean for LLM4Agents and autonomous agent infrastructure.

8 min read →

Eval your agent's tool rounds: Promptfoo + LLM4Agents, end to end

A plain-prompt eval stops measuring your agent at the exact moment the agent starts doing its job: the first tool call. This tutorial wraps the LLM4Agents conversation loop in a Promptfoo custom provider — about forty lines of TypeScript — so the eval exercises the real thing: system prompt, MCP allowlist, tool rounds, and settled cost. It covers the three asserts that catch real agent regressions (did it use the tool, did it stay within its round budget, did it repeat itself), wires the suite into GitHub Actions so a prompt edit that breaks retrieval fails the PR, and addresses the elephant in the runner: Promptfoo is now owned by OpenAI, and why that is acceptable for this stack.

9 min read →

A working RAG agent in 50 lines: workspace, vectors, chat

The whole retrieval pipeline — file storage, PDF parsing, embedding, vector search, and the conversation loop — lives behind one endpoint and one balance. This tutorial builds a working RAG agent over your own PDFs in under 50 lines of TypeScript and about 30 of Python: ingest with workspace_upload, pdf_parse, and vector_upsert, then hand the model a one-tool allowlist and let it call vector_query for itself. Plus a three-query golden eval, a Workers Cron deploy while Agent Cron is still in development, an honest cost breakdown (about 65 cents to ingest a 120-page handbook), and a component-by-component comparison with the LangChain RAG stack.

10 min read →

Bearer or x402 walk-up? A decision tree for agent operators

Every paid call on the gateway accepts two payment modes: Bearer against a prepaid balance, or x402 walk-up with a signed stablecoin authorization, priced 10 percent lower. The discount is not the decision. Bearer settles actual usage and refunds the delta; walk-up settles the worst-case quote, final, no refund path — which means max_tokens discipline decides which mode is actually cheaper for inference. This post works through the real decision tree: who funds the call, what billing model you sell, when mixed mode wins, how AP2 mandates fit when the agent spends someone else's money, and why the new x402 upto scheme changes the trade.

10 min read →

Reserve, proxy, settle: how we bill every call without surprises

An LLM call is metered output: you only know what it cost after the last token. This is the internals tour of the billing pattern that makes a prepaid balance work anyway — reserve the worst case before the request leaves, proxy the stream untouched, settle the actual cost from the final usage chunk, refund the delta. Plus the reason max_tokens is your reserve knob, why streaming responses report cost in the last SSE event instead of a header, how the same reserve becomes the x402 walk-up quote, and the three edge cases that decide whether a billing design is honest: dropped streams, mid-chain fallbacks, and upstream rate limits.

11 min read →

Inside mcp.llm4agents.com: 67 tools, one endpoint, two ways to pay

Most users of the LLM4Agents API never learn that the MCP server at mcp.llm4agents.com exposes 67 documented tools across twelve families: headless scraping with proxy tiers and persistent sessions, Google search in batches of 100, image generation and analysis, eight Workers AI primitives, an R2-backed file workspace with single-use download tokens, a 768-dim vector store, key-value memory, notifications with an SSRF-guarded webhook, eleven data utilities, read-only web3 lookups on four chains, and document parsing. Every paid tool answers to a Bearer key against your balance, and almost every one also answers to an x402 signed payment at a 10 percent discount — we curl the endpoint with no credentials and decode the live HTTP 402 quote to show exactly how. Plus the pricing anchors, the three balance-only exceptions, when to upgrade from one-shot scrapes to sessions, and the allowlist discipline that keeps 67 tools from becoming 67 attack surfaces.

13 min read →