AI NEWS · 2026-08-03 (last 24h, Asia/Taipei)

AI News

Signal over noise. Daily.

日期2026-08-03
文章14
分類2
01

一線 AI Lab

6 articles
Claude Code Docs 2026-08-03 02:43

Run Claude Code programmatically

Use the Agent SDK to run Claude Code programmatically from the CLI, Python, or TypeScript. The Agent SDK gives you the same tools, agent loop, and context management that power Claude Code. It's available as a CLI for scripts and CI/CD, or as Python and TypeScript packages for full programmatic control. To run Claude Code in non-interactive mode, pass `-p` with your prompt and any CLI options: claude -p "Find and fix the bug in auth.py" --allowedTools "Read,Edit,Bash" This page covers using the Agent SDK via the CLI (`claude -p`). For the Python and TypeScript SDK packages with structured outputs, tool approval callbacks, and native message objects, see the full Agent SDK documentation. Add the `-p` (or `--print`) flag to any `claude` command to run it non-interactively. All CLI options…

Claude Code Docs 2026-08-03 00:29

How the agent loop works

Understand the message lifecycle, tool execution, context window, and architecture that power your SDK agents. The Agent SDK lets you embed Claude Code's autonomous agent loop in your own applications. The SDK is a standalone package that gives you programmatic control over tools, permissions, cost limits, and output. You don't need the Claude Code CLI installed to use it. When you start an agent, the SDK runs the same execution loop that powers Claude Code: Claude evaluates your prompt, calls tools to take action, receives the results, and repeats until the task is complete. This page explains what happens inside that loop so you can build, debug, and optimize your agents effectively. Every agent session follows the same cycle:

Claude Code Docs 2026-08-03 00:29

Quickstart

Get started with the Python or TypeScript Agent SDK to build AI agents that work autonomously Use the Agent SDK to build an AI agent that reads your code, finds bugs, and fixes them, all without manual intervention. **What you'll do:** 1. Set up a project with the Agent SDK 2. Create a file with some buggy code 3. Run an agent that finds and fixes the bugs automatically * **Node.js 18+** or **Python 3.10+** * An **Anthropic account**. If you don't have one, sign up here. Create a new directory for this quickstart: mkdir my-agent cd my-agent For your own projects, you can run the SDK from any folder; it will have access to files in that directory and its subdirectories by default. Install the Agent SDK package for your language:

Claude Code Docs 2026-08-03 00:21

Streaming Input

Understanding the two input modes for Claude Agent SDK and when to use each The Claude Agent SDK supports two distinct input modes for interacting with agents: * **Streaming Input Mode**: a persistent, interactive session * **Single Message Input**: one-shot queries that use session state and resuming This guide explains the differences, benefits, and use cases for each mode to help you choose the right approach for your application. Streaming input mode is the **preferred** way to use the Claude Agent SDK. It provides full access to the agent's capabilities and enables rich, interactive experiences. It allows the agent to operate as a long lived process that takes in user input, handles interruptions, surfaces permission requests, and handles session management. sequenceDiagram…

Claude Code Docs 2026-08-03 00:21

Migrate to Claude Agent SDK

Guide for migrating the Claude Code TypeScript and Python SDKs to the Claude Agent SDK The Claude Code SDK has been renamed to the **Claude Agent SDK** and its documentation has been reorganized. This change reflects the SDK's broader capabilities for building AI agents beyond just coding tasks. | Aspect | Old | New | | :------------------------- | :-------------------------- | :----------------------------------------------------------------------- | | **Package Name (TS/JS)** | `@anthropic-ai/claude-code` | `@anthropic-ai/claude-agent-sdk` | | **Python Package** | `claude-code-sdk` | `claude-agent-sdk` |

Claude Code Docs 2026-08-03 00:20

Give Claude custom tools

Define custom tools with the Claude Agent SDK's in-process MCP server so Claude can call your functions, hit your APIs, and perform domain-specific operations. Custom tools extend the Agent SDK by letting you define your own functions that Claude can call during a conversation. Using the SDK's in-process MCP server, you can give Claude access to databases, external APIs, domain-specific logic, or any other capability your application needs. This guide covers how to define tools with input schemas and handlers, bundle them into an MCP server, pass them to `query`, and control which tools Claude can access. It also covers error handling, tool annotations, and returning non-text content like images. | If you want to... | Do this |

02

媒體

8 articles
TechCrunch AI 2026-08-03 04:54

Sam Altman and AI’s decel debate

On the latest episode of Equity, we discuss why Sam Altman has calling on the industry to "pace the rate of AI development."

The Verge AI 2026-08-03 03:36

Fender’s CEO seems to think your bandmates are just analog AI

Edward “Bud” Cole speaks in Japan in 2023. | Image: Jun Sato/WireImage Fender CEO Edward "Bud" Cole gave an interview to T3 in May celebrating the 75th anniversary of the Telecaster with comments on AI and music that initially flew under the radar. But it has started making the rounds recently , pouring more fuel on an already raging fire of bad PR following the company pissing off basically the entire guitar-playing community by sending cease-and-desist letters to builders, claiming copyright of the Stratocaster body shape. Some influential guitar YouTubers have even said they're done buying Fender gear in the wake of the controversy. And Cole's resurfaced comments comparing cover songs and bandmates to a sort … Read the full story at The Verge.

NYT Tech AI 2026-08-03 03:25

For a Day, Google Made It Easy to Spoof Satellite Imagery

A new Google Earth tool allowed the creation of A.I. deepfake maps. The tech giant quickly pulled it back after a backlash and concerns about disinformation risks.

NYT Tech AI 2026-08-02 23:45

Larry Ellison Bet It All on the A.I. Boom. Will He Be the Face of the A.I. Bubble?

Inside the 81-year-old billionaire’s risky, debt-fueled scramble to transform his data empire into an A.I. juggernaut.

The Verge AI 2026-08-02 21:00

Is paying artists enough to convince them to embrace AI?

Illustrators have spent years sounding the alarm about generative artificial intelligence startups training their models on artists' work without permission. They've pointed out how the practice is tantamount to theft, and in response, many gen AI boosters have argued that it's necessary for the technology's evolution. This has led to contentious legal battles , but it's also given rise to a new wave of AI startups like Pippa that market their services as being more ethical than the competition. Like most companies selling access to text-to-video models, Pippa's main product is short bursts of user-generated footage that can be cobbled toget … Read the full story at The Verge.

NYT Tech AI 2026-08-02 20:26

Can We Keep One Small Corner of America Technology-Free?

Baseball isn’t supposed to be perfect.

NYT Tech AI 2026-08-02 19:29

Nanit and Other Baby-Tracking Start-Ups Eye Collecting Even More Data

Nanit and other start-ups want to track your children through the night — and soon, for much longer than that.

Wired AI 2026-08-02 18:00

Europeans Are About to Find Out How Entrenched AI Is in Their Daily Lives

New EU rules stipulate that people must be told when they’re interacting with AI or looking at AI-generated or -edited content, leading to fear of “disclosure fatigue.”