CLAUDE LABJP
APPLY — ant CLI v1.30.0 introduces ant apply, which creates and updates agents, environments, skills, memory stores, and deployments straight from files in your repositoryLOCKFILE — Commit the claude-lock.json it writes. Skip that step and every later run quietly creates fresh resources instead of updating the ones you already havePLAN — ant apply prints a plan and waits for your approval before applying. If you intend to run it unattended in CI, decide how that approval is handled firstPRICING — The increase to $3 / $15 per MTok for Claude Sonnet 5 never happened. The introductory $2 / $10 is now simply the standard priceSOURCE — Prices and version numbers get garbled in secondhand coverage. It is worth checking the release notes on platform.claude.com before you quote either oneBETA — Agent Skills and the Skills API left beta, so the skills-2025-10-02 header is optional now. The Files API did too, but there the header still changes the response shapeAPPLY — ant CLI v1.30.0 introduces ant apply, which creates and updates agents, environments, skills, memory stores, and deployments straight from files in your repositoryLOCKFILE — Commit the claude-lock.json it writes. Skip that step and every later run quietly creates fresh resources instead of updating the ones you already havePLAN — ant apply prints a plan and waits for your approval before applying. If you intend to run it unattended in CI, decide how that approval is handled firstPRICING — The increase to $3 / $15 per MTok for Claude Sonnet 5 never happened. The introductory $2 / $10 is now simply the standard priceSOURCE — Prices and version numbers get garbled in secondhand coverage. It is worth checking the release notes on platform.claude.com before you quote either oneBETA — Agent Skills and the Skills API left beta, so the skills-2025-10-02 header is optional now. The Files API did too, but there the header still changes the response shape
TAG

Architecture

13 articles
Back to all tags
Related:
claude-api4production4Claude Code3Claude API2model-migration2claude-code2Prompt Caching1Tool Use1Cost Optimization1MCP1Remote MCP1Stateless1
API & SDK/2026-08-01Advanced

Swapping Tools Mid-Conversation Without Losing Your Prompt Cache

Tools can now be added and removed between turns, but the tool block sits at the very front of the cache prefix. I measured 12 mutation patterns with fingerprints and built a stable-core plus volatile-tail registry with a guard that refuses unsafe changes.

API & SDK/2026-07-26Advanced

Rebuilding a Remote MCP Server That Never Needed Mcp-Session-Id

The MCP spec release candidate drops the session header. Here is how I audited my own remote server for session coupling and moved it to signed cursors, with measurements.

API & SDK/2026-07-04Advanced

Reading the Claude apps gateway Announcement, I Rebuilt My Indie-Scale Control Plane

The self-hosted Claude apps gateway is a control-plane/data-plane separation you can scale down. Per-app cost attribution, model allowlists, and fail-closed spend caps, implemented as a small Cloudflare Workers proxy.

Claude Code/2026-06-24Intermediate

Productionizing a Claude Design Prototype — Single Source, CI, and OGP Auto-Generation

Turn a Claude Design prototype into something that survives production with Claude Code. The call to keep the generated runtime as your foundation, separating logic with a mixin, a single-source data design around a ledger CSV, and CI auto-updates with real-browser OGP capture — implementation included.

API & SDK/2026-06-15Advanced

When a Model Disappears Without Warning: A State Machine for Retirement, Withdrawal, and Overload

A model can become unusable in hours for reasons that have nothing to do with a technical outage. This guide models three distinct flavors of 'unavailable'—retirement, withdrawal, and transient overload—as one availability state machine, with a router that keeps automated pipelines running. Working TypeScript and Python included.

Claude Code/2026-06-13Advanced

Context Budgets for Nested Subagents: Designing Contracts So 5-Level Delegation Doesn't Lose Quality

Once subagents could nest, deeper delegation made summaries thinner and reruns more frequent. Here is how I rebuilt quality by adding four contracts between layers: token budgets, a handoff schema, failure isolation, and an independent grader.

API & SDK/2026-06-03Advanced

An Anti-Corruption Layer for Claude API Models — Keeping Generation Changes Out of Your Business Logic

Hard-coding model strings into business logic means production breaks quietly every time a generation is retired. Here is an anti-corruption layer that separates logical roles from physical model IDs, with working TypeScript and Python, migration costs, and the judgment calls behind it.

API & SDK/2026-06-02Advanced

Guard Your Agent's Destructive Operations with Pre- and Post-condition Contracts

A design for wrapping an autonomous agent's writes in deterministic pre- and post-condition checks. A contract gate stops the destructive operations that better prompts can never reliably prevent.

Claude Code/2026-05-25Advanced

Three State-Passing Patterns for Claude Code Subagents — Lessons from 4 Months of Automated Blog Pipelines

JSON files, environment variables, and context bundles — three ways to hand state between Claude Code subagents, compared with four months of production data and clear guidance on when to pick each.

API & SDK/2026-05-22Advanced

Allocating the 200K Context Window in Claude API — Budgeting System, Tools, Memory, and History in Production

Treat Claude API's 200K context as a budget rather than an open shelf. A TypeScript-backed allocation architecture that carves system, tools, memory, history, and headroom into explicit envelopes — built and tuned in a wallpaper app earning real ad revenue.

API & SDK/2026-04-28Advanced

Building a Recurring Billing SaaS with Claude API and Stripe — From Architecture to Production

A complete architecture guide for building a SaaS product powered by Claude API with Stripe recurring billing. Covers usage metering, tiered pricing, webhook handling, and production deployment patterns.

Claude Code/2026-04-12Advanced

Claude Code Sub-agent Patterns — Designing Autonomous Task Decomposition and Parallel Execution

Dissect Claude Code's internal Sub-agent architecture and learn concrete design patterns for task decomposition, parallel execution, and result merging in your own projects.