Skip to content
Blog

Claude Duet Is a Spec for iOS Agents

Anthropic's Claude Duet, previewed October 2026, reads as an architecture spec for proactive iOS agents: server work, notification budgets, approval gates.

Jorge Valbuena11 min read

On October 21, 2026, Anthropic opened a waitlist research preview of Claude Duet, a proactive agent that watches your connected accounts and messages you when something needs attention. Read past the product copy and it is the clearest public reference design yet for the feature people keep asking iOS developers to build — and it quietly tells you that most of it cannot live on the phone.

Read the announcement as an architecture document

The verified shape, from Anthropic’s own page as of November 2, 2026: Duet is built on Claude Opus 5.5, ships as a standalone app on iOS and Android plus claude.ai, is a research preview behind a waitlist, and checks connected accounts “every few hours.” It reads and drafts freely, but before it “sends a message, makes a payment, signs a document, or deletes anything,” it shows the plan and waits for approval. Trading securities and moving money between accounts are refused even with approval.

One detail to get right if you cite it: Anthropic’s page says “Pro, Max, and Ultra users in the US,” while launch-day coverage from MacRumors on October 21 said Pro and Max only. The pricing page lists Duet only in site navigation, so it corroborates neither. Anthropic’s page also gained a safety and privacy section on October 23, which is the most useful part of the document.

The thesis sentence is in that section: “Claude Duet has a virtual machine with its own browser, so it doesn’t require your laptop or phone to be on.” That is not a feature note. It is a statement about where the agent lives. The agent is a server. The phone is a client.

From there, four components fall out, and they are the components to scope: a scheduler that does not run on the device, a classifier that decides what deserves a human, a notification budget, and an approval gate over a declared set of action types. Anthropic describes the gate as two pieces — an “auto mode classifier” that decides what needs approval, and a UI that collects it.

Where the work actually happens

Apple’s documentation makes this argument for you, in numbers. BGAppRefreshTask gives your app “up to 30 seconds” of runtime, at a time the system chooses, and terminates you if you miss it. For background pushes, Apple is blunter: “the system doesn’t guarantee their delivery,” and “don’t try to send more than two or three per hour.”

The delivery semantics are worse than the rate limit. “When the system receives a new background notification, it discards the older notification and only holds the newest one.” A force quit discards the held notification entirely. Set that against “every few hours” of account polling and a phone-resident agent loop stops being a budget problem and becomes a category error.

The API most teams reach for next is BGContinuedProcessingTask, iOS 26.0 and later. It is a good API and the wrong one here. Apple: it “starts in the foreground,” your app “needs to run the task only in response to someone’s action, such as tapping a button,” and “the system prioritizes the termination of tasks that reflect minimal or no progress.” If the user closes the app in the app switcher, the task is cancelled and “the app doesn’t receive an indication of cancellation.” That fits one narrow agent sub-case: a long local job the user explicitly started, such as indexing a mailbox, with real progress reported into its Live Activity. “Monitor my inbox all day” is neither user-initiated nor foreground-started.

Platform baseline while you are costing this: iOS 27.2 shipped October 26, 2026, Xcode 27 bundles the iOS 27 SDK, and Swift 6.4 was announced September 15, 2026 (swift.org currently offers 6.4.2). The iOS 27 release notes contain no User Notifications or Background Tasks section at all — these ceilings have been stable for more than two OS cycles. The notes do carry two changes that will stop a build cold: apps built with the latest SDK “must adopt the scene-based life cycle or they fail to launch,” and apps built with the 27.0 SDK or later “are required to include a launch screen” key in Info.plist or be rejected.

The backend you just agreed to build

If the schedule lives on a server, the server has to talk to APNs, and that is a short list of real obligations. Tokens must be signed ES256 — APNs supports nothing else — with a 10-character Key ID in kid and your 10-character Team ID in iss. The iat claim “must be no more than one hour from the current time,” and Apple’s refresh window is narrow: “no more than once every 20 minutes and no less than once every 60 minutes.” Stale tokens come back as ExpiredProviderToken (403).

Key management has hard ceilings too. Team-scoped keys: “each environment can have a maximum of two keys.” Topic-specific keys: 200 for Sandbox, 200 for Production, up to 400 topics per key. And “you can’t map a connection to APNs to multiple teams,” which matters the moment an agent product spans more than one developer account.

The wake-up itself is unremarkable, and that is the point:

POST /3/device/<device-token> HTTP/2
apns-push-type: background
apns-priority: 5
apns-topic: com.example.agent

{ "aps": { "content-available": 1 }, "briefId": "2026-11-02-am" }

Apple requires that the aps dictionary “must not contain any keys that would trigger user interactions.” Because only the newest held push survives and delivery is never promised, the payload must carry a pointer, never state. The client wakes, calls your server, and reconciles. Any design in which the push payload is the brief is already broken by Apple’s documented coalescing.

Budgeting notifications so the app survives

Here is the asymmetry that catches people. Background pushes are explicitly throttled. Alerting pushes have no documented numeric limit anywhere in Apple’s documentation. The only frequency-adjacent rule in App Review Guideline 4.5.4 concerns marketing consent. So the platform will happily let you ship an agent that notifies its way into deletion.

The best traceable public figure on that risk is a Braze-commissioned Censuswide survey of 2,000 UK consumers aged 16 and over, fieldwork November 23–25, 2022: respondents said they switch notifications off after an average of three irrelevant messages, 11% after one, and 58% said they had deleted an app in the past year over irrelevant notifications. Treat it as directional only — it is four-year-old UK data about marketing push, stated intent rather than measured behaviour, and nobody has published the equivalent for agentic push.

The budget architecture worth copying comes straight from Apple’s ActivityKit documentation. “The system allows for a certain budget of ActivityKit push notifications per hour,” but “you can send a low-priority ActivityKit push notification that doesn’t count toward the budget by setting the HTTP header field apns-priority to 5.” So: keep a Live Activity reading “working / 2 awaiting your approval” current with priority 5, and escalate to priority 10 only when something crosses a consequence threshold. Continuous presence, near-zero notification cost, and Apple’s own guidance rather than folklore. Use apns-collapse-id to replace a pending notification server-side when the agent re-decides urgency.

Two more things shape the copy. Interruption levels matter: .timeSensitive “breaks through system notification controls,” so it is a claim about the user’s attention, not a delivery setting. And the system may summarize and re-rank whatever you send, with the user able to turn that off per app — so test your brief with summarization on and off rather than writing for the string you shipped.

Design the approval gate first

There are three places an approval can live, and the easy one is the weakest. A notification action is cheap to build:

let approve = UNNotificationAction(
    identifier: "AGENT_APPROVE",
    title: "Review and send",
    options: [.foreground, .authenticationRequired]
)

.foreground is the design, not friction. A one-tap “Send” from the Lock Screen means the user approved a summary written by the same system asking for approval. authenticationRequired only guarantees the device is unlocked; it is not a per-action confirmation. For irreversible acts, add a re-authentication at the moment of consequence with LAPolicy.deviceOwnerAuthentication, which accepts biometry, Apple Watch or the passcode, so passcode-only users are not locked out of their own agent.

A Live Activity is the right standing surface for “something is pending,” with two constraints that decide the UI. Static and dynamic data “can’t exceed a combined size of 4 KB,” and “a Live Activity can’t access the network or receive location updates.” So it can show that an approval is waiting and a short label; it cannot show the draft email. Buttons and toggles work through App Intents, and LiveActivityIntent is the only documented way to start one from the background.

Then the timing fact that belongs in your state machine: a Live Activity runs up to eight hours, lingering on the Lock Screen for a maximum of twelve. An approval requested at 9am is gone by evening. “Approval request expired unanswered” is a first-class state on the server, not an error case.

Where the model runs is genuinely contested

Apple’s Foundation Models framework publishes the numbers that decide this. The on-device SystemLanguageModel has a 4K context, unlimited usage, works offline, and no reasoning levels. PrivateCloudComputeLanguageModel offers a 32K context and “stronger reasoning” with multiple levels, but has a per-person daily limit and requires a network connection.

The case for Apple’s path is real: no API keys, no per-token cost, a documented privacy posture, and Apple’s own sequencing advice — start on-device, evaluate with the Evaluations framework, move to PCC only if you need more context or reasoning. The case against, for this feature, is equally concrete. PCC is iOS 27 and later and Apple-Intelligence-device-only, so you ship a second path anyway. The managed entitlement com.apple.developer.private-cloud-compute is application-gated, which is schedule risk. The daily cap is yours to design around but not to raise — Apple notes people “can upgrade their iCloud+ subscription to get more access,” an upsell you do not own, and requires you to surface quota state in UI rather than in a dismissible alert. And the consequential work has to run server-side regardless, because the phone may be off.

The decision rule that survives both positions: if the task must still happen while the phone is asleep, it is server work. If it is ranking or summarizing data already on the device, measure the on-device model first. Guard accordingly:

if #available(iOS 27.0, *) {
    let model = PrivateCloudComputeLanguageModel()
    if case .available = model.availability {
        let session = LanguageModelSession(model: model)
        // ContextOptions(reasoningLevel: .moderate) — Apple's suggested starting point
    }
}

For the server side, Opus 5.5 lists at $4 per million input tokens and $20 per million output, with cache reads at $0.20; fast mode is 2× standard and US-only inference is 1.1×. Those are the numbers to put against polling frequency before promising “every few hours” to anyone.

What App Review will interrogate, and a December 2 deadline

Guideline 2.5.19, added October 16, 2026, is the one that reshapes this category: “Don’t include any hidden, dormant, or undocumented features in your app; your app’s functionality should be clear to end users and App Review.” Apple’s news item that day framed it as targeting apps that “misrepresent their functionality during review and then add features after approval.”

An agent whose capabilities are defined by a server-side prompt, a tool registry and a classifier is, from the reviewer’s seat, an app whose functionality is not in the binary. The mitigation is also the product: build the approval gate as an enumerable taxonomy of action types with a per-type permission state, declared in the binary and in the App Store description, rather than as a model judgement call. The compliance artifact and the trust mechanism are the same artifact. Related text to read closely: 2.5.1 (public APIs, “indicate that integration in their app description”), 2.5.4 (background services only for listed purposes — “running an agent” is not among them), and 2.5.2, which forbids downloading “code which introduces or changes features or functionality.” Whether a server-delivered tool definition counts is not addressed by Apple anywhere I could find, and there is no published precedent; 2.5.19 raises the cost of guessing wrong.

Two more. Guideline 5.1.2(i) now says you “must clearly disclose where personal data will be shared with third parties, including with third-party AI, and obtain explicit permission before doing so” — a named obligation if the reasoning runs on someone else’s model. And 5.1.1(v) is the unresolved one: “An app may not store credentials or tokens to social networks off of the device and may only use such credentials or tokens to directly connect to the social network from the app itself while the app is in use.” A server-side agent holding OAuth tokens is exactly off-device storage, and “while the app is in use” is the opposite of a background agent. The clause says “social networks,” which plausibly excludes Gmail or Stripe, but the boundary is undefined and Apple has not clarified it. Ask App Review before you build on an assumption. Anthropic’s stated design — credentials handled so it “never directly sees your passwords or sign-in tokens” — suggests a broker or delegated-credential approach is worth evaluating for compliance reasons as much as security ones.

For context on the reviewer’s mindset, Apple wrote this on October 2, 2026, about Full Disk Access on macOS: “As AI agents become increasingly capable and autonomous, the risks associated with this level of access will grow substantially.” It is a macOS statement, so do not overclaim it — but it is Apple naming agent autonomy as the reason it is tightening consent.

Finally, the calendar. EU AI Act Article 50 has applied since August 2, 2026: systems must tell people they are interacting with an AI, and AI-generated or manipulated content needs machine-readable marking plus a detection mechanism. Generative systems already on the market have until December 2, 2026 to meet the marking and detection requirements, with penalties up to €15 million or 3% of worldwide annual turnover. An agent that drafts replies in someone’s voice and sends them under their name is squarely inside that. That deadline is four weeks out.