CLAUDE LABJP
FORK — Claude Code 2.1.212 changes what /fork does: it copies your conversation into a new background session with its own row in claude agents, so you can keep working. The old in-session subagent is now /subtaskLIMITS — WebSearch calls are now capped at 200 per session by default, and subagent spawns get the same 200 ceiling, so a runaway search or delegation loop stops on its ownMCPBG — MCP tool calls running past two minutes now move to the background automatically, keeping the session usable. Tune the threshold with CLAUDE_CODE_MCP_AUTO_BACKGROUND_MSPLANFIX — Fixed plan mode auto-running file-modifying Bash commands such as touch and rm without a permission prompt or an SDK canUseTool callbackSONNET5 — Claude Sonnet 5 is running on introductory pricing of $2 per million input tokens and $10 per million output. After August 31 it moves to $3 and $15IPO — Bankers are reportedly lining up investor meetings for Anthropic ahead of a possible public listing as soon as OctoberFORK — Claude Code 2.1.212 changes what /fork does: it copies your conversation into a new background session with its own row in claude agents, so you can keep working. The old in-session subagent is now /subtaskLIMITS — WebSearch calls are now capped at 200 per session by default, and subagent spawns get the same 200 ceiling, so a runaway search or delegation loop stops on its ownMCPBG — MCP tool calls running past two minutes now move to the background automatically, keeping the session usable. Tune the threshold with CLAUDE_CODE_MCP_AUTO_BACKGROUND_MSPLANFIX — Fixed plan mode auto-running file-modifying Bash commands such as touch and rm without a permission prompt or an SDK canUseTool callbackSONNET5 — Claude Sonnet 5 is running on introductory pricing of $2 per million input tokens and $10 per million output. After August 31 it moves to $3 and $15IPO — Bankers are reportedly lining up investor meetings for Anthropic ahead of a possible public listing as soon as October
TAG

Python

39 articles
Back to all tags
Related:
Claude API11api8claude-api8streaming5automation5troubleshooting5tool-use5production4cost-optimization4claude-code4api-sdk3TypeScript3
API & SDK/2026-04-18Advanced

Building a Real-Time AI Processing Pipeline with Claude API and Apache Kafka

Learn how to integrate Claude API into Apache Kafka event streams with production-grade patterns. Implement smart buffering, model routing, and Dead Letter Queues to run large-scale real-time AI analysis at low cost.

Claude Code/2026-04-17Advanced

Building a Custom Autonomous Agent Loop with Claude Code SDK — Beyond the CLI

Understand the internals of the Claude Code SDK and build custom autonomous agent loops in Python and TypeScript. Covers tool permissions, error recovery, and streaming, plus the cost instrumentation and monthly model audits I rely on in real operation.

API & SDK/2026-04-16Intermediate

Claude API JSON Output Fails: 5 Root Causes and Fixes

Fix Claude API JSON parsing errors with these 5 common root causes: markdown code block wrapping, truncated output, injected commentary, Unicode escaping, and streaming parse failures. Includes copy-paste ready Python utility code.

Cowork/2026-04-15Intermediate

Cowork × Python Data Analysis Automation: Build a Weekly Report Pipeline with pandas and Matplotlib

Learn how to combine Cowork's scheduled tasks with Python to fully automate your data analysis reports. From pandas aggregation to Matplotlib charts and Google Sheets integration — a complete, production-ready implementation guide.

API & SDK/2026-04-11Advanced

Migrating from OpenAI to the Claude API: Code Conversion to Zero-Downtime Production Rollout (2026)

How to migrate from OpenAI GPT-4 to the Claude API: authentication, message-format conversion, streaming, tool use, error handling, and a zero-downtime phased rollout, all with full implementation code.

API & SDK/2026-04-07Advanced

Production-Ready Stateful AI Agents with Claude API + LangGraph: Graph-Based Design, Persistence, and Human-in-the-Loop

A complete guide to building production-quality stateful AI agents with LangGraph and Claude API. Covers graph design, checkpoint persistence, human-in-the-loop, multi-agent coordination, error recovery, and observability.

Claude Code/2026-04-07Advanced

Claude Code × Python FastAPI in Production — Architecture, pytest, and Docker Deployment

Building production-ready Python FastAPI servers with Claude Code as an AI pair programmer — Pydantic v2, pytest automation, Docker, and CI/CD, with working code at each step.

API & SDK/2026-04-06Intermediate

Generating 300K Token Long-Form Content with Claude API — The output-300k Beta Feature Explained

Learn how to use the output-300k-2026-03-24 beta header in Claude API to generate up to 300,000 tokens of content in a single request. Covers setup, supported models, streaming, cost calculation, and Python/TypeScript code examples.

API & SDK/2026-04-04Intermediate

Claude API Files API — Persist Documents and Slash API Costs

Learn how to use Claude API's Files API to persist documents and avoid re-uploading costs. Upload PDFs and long documents once, reuse them across multiple API requests with this practical implementation guide.

API & SDK/2026-03-26Intermediate

Build a PDF Analysis and Summarization App with Claude API — Vision plus Extended Thinking

Learn how to build a PDF analysis and summarization application using Claude API's Vision capabilities and Extended Thinking, with step-by-step Python implementation.

API & SDK/2026-03-26Intermediate

Building Automated Agentic Loops with Claude SDK Tool Runner

Learn how to use Claude SDK's Tool Runner and Tool Helpers to build automated tool-calling loops (agentic loops) with practical code examples in Python and TypeScript.

API & SDK/2026-03-24Intermediate

Claude API Token Counting Guide — How to Estimate Token Usage and Optimize Costs Before Sending Requests

Learn how to use the Claude API Token Counting endpoint to estimate token usage before sending messages. Covers cost management, context window optimization, and production implementation patterns.