Newsletter ·
Your Agent Has a Wallet Now
This week: Sunday, November 15, 2026. Friday was one of those days where four separate announcements all pointed the same direction — agents are getting hands. Payment credentials, a code-based tool-calling mode, a stricter permission model, and $300M for the company that wants to govern all of it. I spent Saturday reading changelogs so you don't have to.
🔥 Inside this issue: OpenAI gave its agents a payment card, 13 prompt techniques for orchestrating agent teams, one Steal This Prompt drop for pre-merge risk reviews, plus a reader story about running nine agents in parallel from a 130-line script.
What's New in AI
1. Google ships Gemini 4 Hydrogen: 1M tokens in, 1M tokens out, flat $1.50/M, and a new xhigh thinking tier
Hydrogen rolled into the Gemini API, the Gemini app, Search, Sheets and Antigravity on Friday, replacing Gemini 3.8 Flash. Pricing is flat across the entire 1M-token window at $1.50 per million input and $7.50 per million output. It adds a fourth thinking level — low, medium, high (default), and a new xhigh — and Google reports 57% on Terminal-Bench 4.1 against 18.2% for 3.8 Flash, plus 2x–2.8x faster runs on data-heavy partner workloads while using 12–23% fewer tokens.
Why it matters: A flat per-token price across a million-token window kills the usual "stuff less context in to save money" math, and the agentic safety numbers are the real story: Google claims overreach in agentic tasks down up to 81% and misaligned actions cut 12x, which is what actually stops an autonomous loop from doing something expensive.
What to do: Re-benchmark your own agent loop at low before you default to high — most tool-calling steps don't need the reasoning budget you're paying for. Read more →
2. ChatGPT Wallet lets OpenAI's "dots" agents check out with a tokenized card
OpenAI launched ChatGPT Wallet on Friday for a limited set of US ChatGPT Pro subscribers, 18+, with a US-issued Visa, Mastercard, or Amex. The agent charges a payment token rather than the real card, and those details go to neither the agent nor the merchant; the user approves each purchase with Face ID or a fingerprint. Crucially for anyone running a storefront: no merchant-side integration is required — it drives your existing checkout page.
Why it matters: The developer-facing half of this is the part nobody's covering. Agent traffic now arrives signed with Web Bot Auth over HTTP Message Signatures (RFC 9421), carrying Signature-Agent: "https://chatgpt.com", plus a new Forwarded header relaying asn, ip-country, locale, tz, and user-agent so your fraud scoring doesn't nuke a legitimate purchase as a bot.
What to do: If you own a checkout, grep your WAF and bot rules for anything that would block a signed cloud-browser session, then read the Partner Playbook's agent-access page before your conversion rate tells you first. Read more →
3. Claude Code 2.1.325 closes the Bash sandbox loophole — two days after shipping Code Mode
Friday night's 2.1.325 changed sandboxed Bash commands to follow the normal permission flow by default (set sandbox.autoAllowBashIfSandboxed: true to get the old silent behavior back), made scheduled tasks and /loop ask before running a skill that declares allowed-tools or hooks, and patched a security issue in zstd response decoding. Two days earlier, 2.1.323 landed Code Mode — an experimental opt-in where Claude writes JavaScript that calls its own tools instead of issuing each call separately.
Why it matters: Code Mode is the more interesting half: loops, conditionals and intermediate results all execute in one pass, so you stop paying tokens to shuttle every tool result back through the context window. The tradeoff is inspectability — a generated program is a much coarser unit to review than a sequence of discrete calls, which is probably why the permission tightening shipped on its heels.
What to do: If you run Claude Code unattended, add Skill(name) to permissions.allow for the skills your scheduled tasks need, or your overnight runs will sit there waiting on a prompt. Read more →
4. llama.cpp and ggml hit v1.0.0 — the local stack finally has a stability contract
Friday morning's v1.0.0 is the first stable tag for both projects. It's a breaking release that earns the right to be one: llama.h drops 35 deprecated functions plus llama_set_warmup and the --defrag-thold flag, while ggml prunes its deprecated public API and the legacy DIAG_MASK ops. Also in the box: FP8 support, configurable YaRN truncation, CUDA/Metal few-row quantized matmuls with MoE fusion, a Vulkan prefill FlashAttention path, and a SYCL device-side MoE scheduler.
Why it matters: Every tool downstream of llama.cpp has spent three years absorbing silent C API churn. A documented major-version contract means you can pin a local inference dependency and actually sleep.
What to do: Run your build against v1.0.0 now rather than in six months — the 35 removals are the last cheap migration you'll get. Read more →
5. LangChain raises $300M at a $3B valuation to be the Switzerland of agent governance
CapitalG led the Series C announced Friday, with GIC, DFJ Growth, IVP, and Sapphire Ventures joining. That's more than double the $1.25B valuation from its $125M round roughly a year ago. The pitch is LangSmith — now claiming 7,000 customers including Harvey, Rippling, Clay, Nvidia, Toyota, and Salesforce — as framework-, model-, and cloud-neutral infrastructure for running and containing agents.
Why it matters: LangChain started as glue for things early LLMs couldn't do, and the frontier labs' own harnesses ate most of that. The repositioning toward observability and governance is a bet that the hard part of agents in 2027 is operating them, not building them — and the funding says investors agree.
What to do: If your agents are in production without traces, evals, or a kill path, treat this round as the market telling you what you're missing. Read more →
📡 These five are just what survived my filter — I post the daily AI drops at prompt-smith-ai.net/news
Prompt Tips & Tricks
Thirteen techniques, weighted heavily toward multi-agent orchestration because that's where the week's news actually landed.
1. Budget the thinking tier per step, not per agent
Hydrogen's four thinking levels mean reasoning depth is now a per-call dial. Most agent steps — a file read, a tool selection, a format conversion — are mechanical and get nothing from a bigger budget.
When to use it: Any pipeline where one stage is genuinely hard (synthesis, adversarial review) and five stages are plumbing.
For this step only, use low thinking. You are doing mechanical extraction,
not analysis. Read the file list below and return the subset matching the
glob. Do not reason about why. Do not add commentary.
FILES: [FILE_LIST]
GLOB: [PATTERN]Gotcha: Don't downshift stages that call tools with side effects — low-budget runs skip preconditions more often, and a cheap step that deletes the wrong branch isn't cheap.
2. Let the model write a script that calls your tools, instead of one call per turn
Code Mode's underlying pattern works with any model that can emit code: ask for a single program that chains the calls, rather than a turn-by-turn negotiation. Intermediate results stay inside the program instead of rehydrating your context on every hop.
When to use it: Fan-out work with a known shape — check 40 dependencies, read 12 files, hit 9 endpoints.
Write one JavaScript program that completes the whole task using the tools
available to you. Rules:
- All intermediate results stay in local variables; return only the final summary.
- Use Promise.all for independent calls.
- Wrap each tool call in try/catch and collect failures into an `errors` array.
- Print nothing except the final JSON object.
TASK: [TASK]Gotcha: You lose per-call review. Never run this pattern with unsandboxed write or network access until you've read a few of the generated programs end to end.
3. Brief every sub-agent as if it has amnesia
A sub-agent inherits none of your conversation. The single biggest failure mode in agent teams is a lead that writes "continue with the refactor" to an agent that has never heard of the refactor.
When to use it: Every single fan-out. No exceptions.
You are reviewing ONE file in isolation. You have no prior context and will
get none, so do not ask for any.
FILE: [PATH]
WHAT CHANGED: [DIFF_SUMMARY]
WHAT "DONE" MEANS: a JSON array of findings, each {line, severity, claim}.
OUT OF SCOPE: style, naming, anything in another file.
IF THE FILE IS FINE: return [].Gotcha: "Return [] if fine" matters more than it looks. Without an explicit empty-result contract, agents invent a finding rather than report nothing.
4. Put the control flow in code, not in the model's head
When the model decides what to spawn next, you get non-deterministic execution and every intermediate result lands in its context. Moving the loop into a script makes the plan reviewable and keeps the conversation seeing only the answer.
When to use it: Anything you'd run twice — audits, migrations, recurring digests.
Before writing any script, output the orchestration plan as a table:
| stage | runs per item | needs all prior results? | model tier |
Then write the script so that each stage is one function, and no stage
reads anything a prior stage didn't explicitly return.Gotcha: Deterministic control flow means the model can't adapt mid-run. Keep one model-driven scouting step up front to build the work list, then hand the list to the script.
5. Default to streaming stages; add a barrier only when one needs everything
A barrier makes every item wait for the slowest item in the previous stage. If your fastest finder takes 40 seconds and your slowest takes three minutes, a barrier throws away two minutes of verification time per fast finder.
When to use it: Multi-stage fan-out where items are independent — review-then-verify, find-then-fix, fetch-then-summarize.
Restructure this pipeline so each item flows through all stages
independently. Only insert a synchronization point where a stage's prompt
genuinely references the other items' results (dedup, ranking, early exit
on zero). For each barrier you keep, state in one line why it's required.Gotcha: Dedup and ranking are real barriers — don't optimize them away or you'll verify the same finding four times.
6. Make your verifier argue for "refuted" by default
Asking "is this finding real?" gets you agreement, because models are agreeable. Asking an agent to refute it, with the burden of proof flipped, gets you a signal.
When to use it: Before you show any automated finding to a human.
Your job is to REFUTE the claim below. Assume it is wrong until the code
proves otherwise. Read the actual file, not the summary.
CLAIM: [CLAIM]
FILE: [PATH]
Return {refuted: boolean, reason: string, evidence: "<exact quoted lines>"}.
If you cannot quote lines that demonstrate the bug, set refuted = true.
Default to refuted = true when uncertain.Gotcha: Run three and take the majority. A single skeptic refutes real bugs about as often as a single optimist confirms fake ones.
7. Give each verifier a different lens, not the same lens three times
Three identical refuters are correlated and miss the same things. Three verifiers asked about correctness, security, and reproducibility fail independently, which is the entire point of a panel.
When to use it: Findings that can be wrong in more than one way — anything touching auth, concurrency, or data migration.
Verify the finding below strictly through the [correctness | security |
does-it-reproduce] lens. Ignore every other dimension — another reviewer
owns it. If your lens has nothing to say about this finding, return
{applicable: false} rather than stretching.
FINDING: [FINDING]Gotcha: {applicable: false} has to be a legal answer, or your security reviewer will manufacture a CVE out of a typo.
8. End discovery loops on two dry rounds, not a fixed count
"Find 10 bugs" produces exactly 10 bugs, including the three it invented to hit the number. "Keep going until two consecutive rounds surface nothing new" converges on whatever is actually there.
When to use it: Unknown-size discovery — bug hunts, edge-case enumeration, dependency audits.
Round [N]. You have already reported the items listed below; do not repeat
them, and do not report near-duplicates.
ALREADY FOUND: [SEEN_LIST]
Return only genuinely new items. Returning an empty list is a correct and
expected answer — it is how this loop terminates.Gotcha: Dedupe against everything you've seen, not everything you kept — see the next tip.
9. Dedupe against everything seen, including what you rejected
If you only filter new findings against your confirmed list, every judge-rejected finding reappears next round, gets re-verified, gets re-rejected, and your loop never converges. I've burned real money on this one.
When to use it: Any loop that pairs discovery with a verification gate.
Maintain two sets: SEEN (every item ever surfaced, confirmed or rejected)
and CONFIRMED (items that passed verification). Filter new findings against
SEEN. Report from CONFIRMED. Never filter against CONFIRMED.Gotcha: Key your SEEN set on something stable like file:line:category, not the finding's prose — the model rephrases itself every round.
10. Force a tool call for structured output instead of asking politely for JSON
"Respond with JSON" is a request. A tool or function definition with a JSON Schema is a constraint — validation happens at the API layer and the model retries itself on a mismatch, so your parser never sees a markdown fence.
When to use it: Any stage whose output another program consumes.
Call the `submit_findings` tool exactly once. Do not write prose.
Schema:
{ "findings": [ { "file": "string", "line": "integer",
"severity": "low|medium|high", "claim": "string",
"evidence": "string (exact quoted source lines)" } ] }
An empty findings array is valid. Partial objects are not.Gotcha: Deeply nested schemas degrade fast. Flatten to one level and post-process, rather than asking for a four-deep object graph.
11. Make the agent ask for the facts that would change its answer
New work on this is blunt: when key facts are missing, frontier agents produce infeasible plans on 58–98% of tasks versus 5–28% when everything is supplied upfront — and they surface plan-changing facts barely more often than irrelevant ones (39–52% vs 32–41%). They don't know what to ask.
When to use it: Planning, scheduling, migration, or any task where you hold constraints the agent can't see.
Before producing a plan, list up to 3 unknowns, and for each one state how
a different answer would change your plan. Drop any unknown where both
answers lead to the same plan.
Then ask only the surviving questions, numbered. Do not plan until I answer.Gotcha: The "how would it change the plan" clause is doing all the work. Without it you get a generic clarifying-question checklist you'll ignore.
12. Write tool descriptions for a keyword matcher, not for a human
Agents pick tools from descriptions, and retrieval over those descriptions is frequently lexical. A description that reads elegantly but shares no vocabulary with the user's phrasing loses to a clunky one that does.
When to use it: Any MCP server or tool registry past about 20 tools.
Rewrite this tool description so it contains the exact words a user would
type when they need it, including synonyms and the obvious wrong names.
Keep the first sentence under 15 words and lead with the verb.
Then list, separately, the 3 nearest-neighbor tools it gets confused with
and add one clause that disambiguates from each.
TOOL: [NAME] — [CURRENT_DESCRIPTION]Gotcha: Keyword stuffing pushes the model toward over-calling the tool. Add an explicit "do not use this when…" line to pull it back.
13. Treat your agent instruction files as attack surface
CLAUDE.md, AGENTS.md, .cursorrules, skill manifests — these are executable configuration that ships in pull requests and gets reviewed like documentation. Recent research on meta-benchmarking indirect prompt injection found that no evaluated defense achieves strong utility and strong security at once, so detection isn't going to save you here.
When to use it: Before you let any agent run unattended on a repo you don't fully control.
Audit the agent instruction files below as a security reviewer, not a
technical writer. For each file report:
- any instruction that changes tool permissions, network access, or what
gets auto-approved
- any instruction that tells the agent to modify its own config
- any URL, domain, or package name, and whether it's pinned
Return a table. Flag anything you cannot justify from the repo's README.
INSTRUCTION FILES: [PASTE]Gotcha: This catches careless commits, not a competent adversary. Pair it with branch protection on instruction files and reviewed, pinned plugin versions.
Steal This Prompt
The problem it solves: You're about to merge a 900-line diff and you need to know which three files will actually break production, not a 40-bullet changelog restating what you already read.
You are a staff engineer running pre-merge risk triage. You have 20 minutes
of review budget and must spend it where failure is most likely.
INPUT
Diff: [PASTE_DIFF]
Service criticality: [e.g. payments API, internal dashboard]
Deploy strategy: [e.g. blue-green, rolling, direct to prod]
Known weak spots: [e.g. the retry wrapper, the legacy auth middleware]
PHASE 1 — INVENTORY (think, do not output yet)
For each changed file, note: what it does, who calls it, and whether the
change is additive, behavioral, or a contract change.
PHASE 2 — BLAST RADIUS (think, do not output yet)
For each behavioral or contract change, trace one concrete failure path:
what input, which call site, what the user sees. Discard anything where you
cannot name the call site.
PHASE 3 — OUTPUT
Return markdown with exactly these sections:
## Merge verdict
One line: SHIP / SHIP WITH GUARDRAIL / HOLD, plus the single reason.
## Top 3 risks
A table: | file:line | failure path | likelihood (H/M/L) | cheapest mitigation |
## What I would not bother reviewing
Up to 5 files, one clause each on why they're safe.
## Missing test
One test, named and described in two sentences, that would have caught the
highest-likelihood risk.
PHASE 4 — SELF-CRITIQUE
Append "## Where I might be wrong" and name the one assumption that, if
false, flips your merge verdict. Be specific about what you could not see
in the diff.
CONSTRAINTS
- Never list more than 3 risks. Ranking is the deliverable.
- Every risk needs a file:line anchor. No anchor, no risk.
- If the diff is purely additive with no new call sites, say so and stop.Expected output: A verdict line you can paste into the PR, three anchored risks with concrete failure paths instead of "consider edge cases," an explicit list of files you're allowed to skim, one named test, and a closing paragraph admitting what the diff didn't show it. The "what I would not bother reviewing" section is the one your teammates will steal — it's permission to not read 600 lines.
One customization tweak: Swap the role from staff engineer to staff SRE and change the input from a diff to a Terraform plan — the inventory → blast radius → ranked output → self-critique scaffold transfers directly, and "file:line" becomes "resource address."
A Workflow Worth Stealing
Alexander Opalic · alexop.dev
Letting the model decide what to spawn next meant every intermediate result landed back in the conversation, which capped how much work one session could hold.
What they did: Moved the orchestration out of the model and into a ~130-line plain-JavaScript file at .claude/workflows/vue-newsletter.js, shaped as fan out → reduce → synthesize: one agent per source with a JSON schema for validated output, then a single curation agent that dedupes and ranks by impact, then one writer. The mechanism that makes it work is that only the final answer re-enters the conversation — intermediate results live in script variables.
What it got them:
- 9 agents running in parallel, one per source
- 17 items collected across those 9 sources
- ~3 minutes end to end, at 11 agents per run
- ~130 lines of plain JavaScript, no framework
"You own the control flow, agents do the thinking, and the plan lives in code so the conversation only sees the final answer."
Alexander Opalic, alexop.dev
Try it: Take your most repetitive multi-source research task, write the fan-out as code instead of as a request, and apply tip #5 — stream the stages rather than making every source wait for the slowest one.
Here's your homework: find the one place in your agent setup where a sub-agent gets a one-line brief, rewrite it with the amnesia contract from tip #3, and watch how many invented findings disappear. Reply with the before/after — best one runs in the spotlight next issue. Next week I'm pitting Code Mode against conventional tool-calling on the same 40-dependency audit and reporting the actual token numbers.
Until next time — happy prompting.
— The Prompt Smith
Sources & Further Reading
- Introducing Gemini 4 Hydrogen — Google
- ChatGPT Wallet lets AI agents shop and check out for you — TechCrunch
- OpenAI Agentic Commerce Partner Playbook
- Claude Code v2.1.323 release notes (Code Mode)
- Claude Code releases (v2.1.325 and newer)
- Run agents in parallel — Claude Code docs
- llama.cpp v1.0.0 release notes
- Releases and versioning of ggml-org projects
- LangChain hits a $3B valuation — TechCrunch
- Ask2Decide: how LLM agents acquire decision-relevant information — arXiv
- MetaPI: constructing prompt injection benchmarks from agent benchmarks — arXiv
- Claude Code workflows: deterministic multi-agent orchestration — alexop.dev