In our last post, we introduced Meeting Memory, our reference agentic app for Apple platforms. The iPhone captures whiteboards, and the Mac answers questions across every meeting, with agents built in Railtracks for Swift.
This post puts those agents behind Siri.
On iOS and macOS 27.3, an app can give Siri a tool: an App Intent that Siri calls on its own judgement, with no fixed phrase. We followed the approach in A Swift agent as a Siri tool on 27.3, then extended it in three ways:
- Images in. Siri hands the app a photo, and the app summarizes and saves it.
- Work in the background. A Siri request runs the full save pipeline without opening the app.
- Images out. The app hands Siri a photo, and Siri passes it to another app.
Siri on macOS creating a new note with a summary and the whiteboard photo from Meeting Memory
Meeting Memory on Siri: What You Can Ask
On iPhone, you photograph a whiteboard and tell Siri to remember it. The app reads the board, links it to the right calendar meeting and saves it, and Siri reads back the title and action items. The app never opens.
On Mac, you ask Siri to prepare you for a meeting, by name or with it open in Calendar. The app answers with a briefing from earlier occurrences of that meeting, plus the newest whiteboard photo. Say “put that photo in a note”, and Siri does.
On both, you can ask about past meetings: “What did we decide about the launch date?” The app’s search agent answers.
| Tool | Platforms | Siri passes | Siri gets back |
|---|---|---|---|
| Remember Whiteboard | iOS | A photo, optionally a meeting | Title, summary, action items |
| Ask Meeting Memory | iOS, macOS | A question | The agent's answer and supporting whiteboards |
| Ask About a Meeting | iOS, macOS | A meeting title and start, optionally a question | A briefing and the newest whiteboard photo |
The Pattern: One Macro, One Description
The @AppIntent(.tool) macro makes an existing App Intent available to Siri as a tool. It is part of the Siri AI Developer Preview, and Apple’s Bringing custom actions and content to Siri covers the steps.
Each tool in Meeting Memory is a thin twin of an existing Shortcuts intent, and both call the same function:
@available(iOS 27.3, *)
@AppIntent(.tool)
struct WBiOSRememberWhiteboardToolIntent: AppIntent {
static let title: LocalizedStringResource = "Remember Whiteboard"
static let description = IntentDescription(
"Saves a photo of a whiteboard to a calendar meeting and reads its title, summary and action items. Without a meeting, uses the meeting that started last, whether it is still in progress or has ended."
)
@Parameter(title: "Photo", description: "A photo of the whiteboard.", supportedContentTypes: [.image])
var photo: IntentFile
@Parameter(title: "Meeting", description: "The meeting the whiteboard belongs to.")
var meeting: WBiOSMeetingEntity?
// ...
}
With no phrase to match, the title and IntentDescription decide when Siri calls the tool. We spent more time on descriptions than on code.
Three lessons from the Medium post held for us:
- Dependencies connect the tool to the app. Services registered at launch with
AppDependencyManagerare shared by the UI and the tools. - Availability keeps older systems working. Each tool is
@available(iOS 27.3, macOS 27.3, *)in its own file. On older systems, the regular intents, App Shortcuts and Spotlight still work. - Siri may not show what you return. Apple notes that with Siri AI the system “might not display” the dialog or snippet. So the dialog and value carry the full answer, with dates in full (“Thursday, November 12, 2026”) so they survive being passed to Calendar or Reminders.
The Siri code lives in WhiteboardApp/Shared/Intents and WhiteboardApp/iOS/Intents.
Extension A: Images In, From Siri to the Agent
The Medium post’s tool takes a question. Remember Whiteboard takes a photo, as an IntentFile, either attached to the request or open on screen.
Siri on iPhone, asked to save the whiteboard photo on screen to the current meeting in Meeting Memory
In testing, that file arrived in different forms: loaded data or a file reference, in HEIC, PNG or JPEG. So the intent tries each route in turn:
/// Tries, in order: each image type the file offers through `data(contentType:)`, the plain
/// `data` property, and the file URL with security-scoped access. Logs which path worked.
static func jpeg(from file: IntentFile) async -> Result
Image I/O then converts it to an upright JPEG of at most 4096 pixels, the same input the camera flow sends.
From there it is the camera pipeline: WBWhiteboardCaptureService summarizes and reads the board in parallel, uploads the photo to iCloud and saves the summary to Railengine. The privacy model is unchanged: the photo stays in iCloud, and Railengine stores only a reference.
The meeting is the one Siri picks from the request, or else the one that started most recently. Siri gets back a WBWhiteboardEntity with the title, summary and action items, ready to pass to Reminders.
Siri on iPhone confirming that Meeting Memory saved the whiteboard to the Photo App Design meeting
Extension B: Work in the Background, on a Deadline
Saving a whiteboard is slow: two model calls, an iCloud upload and a Railengine ingest, all while the app stays in the background.
iOS gives a background action about 30 seconds, so Meeting Memory sets its own 25-second deadline to leave time to answer:
let whiteboard = try await withDeadline(
seconds: WBIntentReply.waitSeconds, // 25
cancelsOnTimeout: false
) {
let record = try await save(jpeg: jpeg, to: target, device: device, meetingSync: meetingSync)
let whiteboard = WBWhiteboardEntity(record: record, meetingTitle: target.title)
await WBWhiteboardSpotlight.index([whiteboard])
return whiteboard
}
Two details of withDeadline matter:
- It stops waiting on time. A task-group race waits for every child, so slow work would hold Siri past the deadline.
withDeadlineruns the work in its own task and returns when time is up. - It doesn’t cancel the save. The photo may already be uploading. Siri says the whiteboard is still saving, and the save continues as long as the system lets the app run, Spotlight indexing included.
The background also means no prompts. A tool can’t ask for calendar access, so it checks first and, if needed, tells the user to open the app once and allow it. Every error works this way: Siri says what to do next, not what went wrong internally.
Extension C: Images Out, From the Agent Back to Siri
The Medium post returns text and typed entities. We wanted Ask About a Meeting to return the whiteboard itself, so it now returns a TransientAppEntity with the briefing text and the newest photo:
@available(iOS 27.3, macOS 27.3, *)
struct WBMeetingBriefingEntity: TransientAppEntity {
static let typeDisplayRepresentation = TypeDisplayRepresentation(name: "Meeting Briefing")
@Property(title: "Text", description: "The briefing: the meeting, then each whiteboard ...")
var text: String
@Property(title: "Whiteboard Photo", description: "A photo of the newest whiteboard from the meeting, as JPEG. Empty when it could not be loaded.")
var photo: IntentFile?
// ...
}
Each part of the result has a job:
- Value: the briefing entity, so Siri can pass the photo on.
- Dialog: the briefing text, which Siri always has.
- Snippet: a SwiftUI card with the photo above the text.
The photo shares the deadline. The briefing is built first, and the photo gets the time left, up to 8 seconds, since a photo not yet downloaded from iCloud could take longer than the whole request. It is resized to 1024 pixels. If it is late, the briefing goes out as text only.
Siri on macOS answering with a Meeting Memory briefing card, with the whiteboard photo above the text
The best part is what we didn’t build. Meeting Memory has no “save to Notes” feature, but the photo is a typed IntentFile, so Siri passes it on by itself:
Siri on macOS asked to put a summary and the photo into Notes, confirming the new note
The new note in Notes on macOS, with the summary and the whiteboard photo
The Medium post makes this point with calendar events; it works for images too.
What We Learned
- Write descriptions for a model. Siri picks tools and fills parameters from them. Say what each tool returns, not only what it does.
- Put the whole answer in the text. Siri decides what to show, so the snippet is a bonus.
- Budget time up front. Decide what must finish before Siri answers and what can finish after.
- Keep tools thin. They call the same functions as Shortcuts and the UI. The agents don’t know Siri exists.
- Place each tool deliberately. Remember Whiteboard is iOS-only, since the Mac never captures. The preview is still changing, so we test each tool on each platform.
It is still Swift end to end: built with Railtracks, fed by Railengine, observed in Conductr. Siri is one more way in.
Source Code and References
Meeting Memory is open source at RailtownAI/Meeting-Memory-Reference. The code in this post is at tag 0.1.1. The Siri tools are in WhiteboardApp/Shared/Intents/Tools and WhiteboardApp/iOS/Intents/Tools. The deadline helper is WBDeadline.swift.
- A Swift agent as a Siri tool on 27.3, the approach this post builds on
- From iPhone to Mac: What Agentic Apps Look Like on Apple Platforms, our previous post
- Railtracks Swift
- Apple: Siri AI Developer Preview
- Apple: Bringing custom actions and content to Siri
- Apple:
AppIntent,IntentDescription,AppDependencyManager,AppEntity,IntentDialog,ShowsSnippetView,AppShortcutsProvider - Apple:
IntentFile,TransientAppEntity, Image I/O