External interfaces
Fluid exposes two local client interfaces beyond its core dictation flow. A loopback HTTP API lets local tools use selected speech and text capabilities. The read-only FluidServe command-line interface lets coding agents and shell tools read finished meeting transcripts and saved summaries. Fluid also provides extended meeting capture, live captions, transcription, and summary workflows in the app.
Interface model
The interfaces keep local clients close to the same speech, text, and meeting data used by the app. The local API handles short request-and-response work. FluidServe reads completed meeting records. Meeting workflows guide a person from capture to review and later sharing.
This diagram shows how local requests and meeting recordings reach their useful results.
flowchart LR
Client[Local client] -->|HTTP on loopback| API[Local API]
API --> Router[Capability routes]
Router --> Speech[Speech and text services]
Router --> Activity[History and dictionary data]
Shell[Shell tool or coding agent] -->|Read-only command| Serve[FluidServe]
Serve --> Meetings[Finished meetings and saved summaries]
User --> Capture[Meeting capture workflow]
Capture --> Audio[Microphone and meeting audio]
Audio --> Live[Live captions]
Audio --> Transcript[Final transcript]
Transcript --> Review[Review, summaries, export, and history]
Review --> Meetings
Local client access
Local API boundary
The Local API is a local-only HTTP boundary for tools that run on the same Mac. Fluid starts it with the application when the feature is enabled. It listens on the loopback address, so it does not provide a general network service to other machines. Clients receive one HTTP response for each request.
The API is disabled by default and uses a configurable local port. It accepts JSON or raw request data and returns JSON for structured results and errors. Uploaded audio can arrive as a local file path, base64 data, or a binary request body. Fluid stores uploaded data as a temporary file and removes it after transcription. Request size and bounded audio processing limits keep a local client from turning a short inference request into an unbounded workload.
References: Sources/…/LocalAPIServer.swift• L5-20 Sources/…/LocalAPIServer.swift• L33-67 Sources/…/LocalAPIServer.swift• L97-109 Sources/…/LocalAPIModels.swift• L3-23 Sources/…/LocalAPIModels.swift• L34-87 Sources/…/LocalAPIAudioDecoder.swift• L4-6 Sources/…/LocalAPIAudioDecoder.swift• L57-73
Fluid capabilities
The route set gives local clients a small control and inference surface rather than a copy of the whole app. Clients can check service health, submit audio for transcription, send text for post-processing, read dictation history, and read or update dictionary data.
| Capability | Purpose |
|---|---|
| Health | Confirm that the local service is available and identify its app version. |
| Transcription | Turn a local audio file, encoded audio, or an audio request body into text with confidence and model information. |
| Post-processing | Apply Fluid text processing to supplied text and return the selected provider and model. |
| History | Read recent dictation results and their processing context. |
| Dictionary | Read or update replacement entries and custom speech words. |
The API uses the active speech model and Fluid text services. This lets an external client share the app’s current voice setup instead of creating a separate speech stack. Detailed routes and payloads are documented in Local API.
References: Sources/…/LocalAPIRouter.swift• L3-41 Sources/…/InferenceAPIController.swift• L4-25 Sources/…/InferenceAPIController.swift• L28-71 Sources/…/HistoryAPIController.swift• L3-47 Sources/…/DictionaryAPIController.swift• L3-12 Sources/…/ASRService.swift• L2658-2699
FluidServe command-line access
FluidServe is a read-only command-line interface for finished FluidVoice meetings. It reads saved meeting records on the same Mac, so it can serve a shell tool or coding agent without running a second meeting service or changing the app’s data.
Access is controlled by the meeting-sharing choice in FluidMeet settings. The interface exposes these broad actions:
| Command area | Purpose |
|---|---|
status | Show whether sharing is on and how many finished meetings are available. |
meet list | List recent meetings with identifiers, dates, length, speakers, titles, and current saved summaries. |
meet show | Read one transcript with speaker names and timestamps. It can limit the time range or return JSON. |
meet summary | Read saved summaries and mark those that no longer match the meeting as outdated. |
meet search | Find matching transcript lines across meetings. |
skill | Print the instructions that teach a coding agent how to use the interface. |
Meeting IDs can be shortened for normal use, and latest selects the newest finished meeting. The interface skips active or undecodable records. It also treats transcript and summary data as source material rather than instructions for an agent. Detailed command syntax is documented in FluidServe command-line interface.
References: Sources/…/FluidServeCommand.swift• L3-26 Sources/…/FluidServeCommand.swift• L28-81 Sources/…/FluidServeCommand.swift• L152-243 Sources/…/FluidServeMeetings.swift• L39-79 Sources/…/FluidServeMeetings.swift• L147-225 Sources/…/FluidServeSkill.swift• L37-81
Audio transcription workflows
Meeting capture and automatic detection
Meeting capture records a microphone-only or online-call session and turns it into a saved meeting. Automatic detection watches supported meeting apps and supported browser call pages for matching audio and meeting evidence. It offers a recording prompt but does not start recording without the person’s action.
The detector uses separate native-app and browser checks. It fails closed when app identity, window state, browser access, or audio state is unclear. It combines these signals within short time windows and avoids duplicate prompts for the same meeting evidence. A person can also choose a source and start a meeting manually. The recording setup keeps the microphone and meeting audio choices visible, checks permissions and storage, and allows browser detection to be enabled separately.
When a detected meeting is recorded, the app keeps following the meeting until its audio or window evidence ends. It can follow a matching relaunched app and ask whether the meeting ended while recording continues. Recent caption speech delays that question, and resumed call evidence withdraws it. Lock, sleep, and user-session changes clear transient detection state instead of guessing.
References: Sources/…/MeetingAppRegistry.swift• L3-68 Sources/…/MeetingAutoDetector.swift• L4-8 Sources/…/MeetingAutoDetector.swift• L190-246 Sources/…/MeetingAutoDetector.swift• L683-755 Sources/…/MeetingAutoDetector.swift• L790-856 Sources/…/MeetingAutoDetector.swift• L990-1061 Sources/…/MeetingAutoDetector.swift• L1063-1102 Sources/…/MeetingDetectionPrompt.swift• L74-169 Sources/…/MeetingRecordingSettingsSheet.swift• L387-477
Live meeting captions
Live meeting transcription provides captions while a meeting is being captured. It can follow the microphone track and, for online calls, the application-audio track so the meeting view can show speech as it arrives.
Live captions show neutral capture-source labels such as the local microphone side and the application-audio side. They are a temporary view of the current recording. The final offline transcript replaces them with speaker-aware results, and live text does not enter the saved transcript, copy action, or export. Caption speech also helps the meeting detector avoid asking about an end while people are still talking.
The live engines prepare their speech models before they accept audio. Shared model preparation is serialized when multiple tracks start together. If live transcription stops, its models are released before the later batch pipeline prepares its speech model.
Live captions can be unavailable or degraded when the platform or available memory cannot support them. The recording can still continue to its saved and batch-transcription path.
References: Sources/…/MeetingLiveModels.swift• L5-17 Sources/…/MeetingLiveModels.swift• L36-46 Sources/…/MeetingLiveModels.swift• L110-137 Sources/…/MeetingModelPreparationQueue.swift• L3-25 Sources/…/MeetingSessionCoordinator.swift• L448-466 Sources/…/MeetingSessionCoordinator.swift• L1985-2023 Sources/…/MeetingAutoDetector.swift• L990-1061 Sources/…/MeetingSessionCanvases.swift• L54-83 Sources/…/MeetingSessionCanvases.swift• L127-192
Final transcript processing
After capture stops, Fluid saves the audio and processes it into a final transcript. The processing flow can identify speakers, transcribe the tracks, combine the results on the meeting timeline, and record gaps when some audio has no safe text coverage.
The coordinator keeps meeting capture exclusive from other speech activity and moves the session through recording, stopping, processing, and completion states. If capture or processing stops unexpectedly, Fluid preserves a recoverable session and its audio when possible. A person can retry processing rather than lose the recording.
The result remains useful when processing fails or is interrupted. Fluid preserves recoverable audio so the person can retry transcription or open the captured files. A completed result supports speaker correction, text edits, copy, export, playback when audio remains, and history.
References: Sources/…/MeetingSessionCoordinator.swift• L5-15 Sources/…/MeetingSessionCoordinator.swift• L40-104 Sources/…/MeetingSessionCoordinator.swift• L343-560 Sources/…/MeetingSessionCoordinator.swift• L1597-1762 Sources/…/MeetingSessionCoordinator.swift• L1985-2023 Sources/…/MeetingSessionCanvases.swift• L196-300 Sources/…/MeetingSessionCanvases.swift• L342-421 Sources/…/MeetingSessionCanvases.swift• L679-720 Sources/…/MeetingSessionCanvases.swift• L857-960
File transcription
File transcription is the extended audio workflow for recordings that are not part of a live dictation session. A person selects or drops an audio or video file. Fluid prepares the active speech model, checks that the media type is supported, and produces a transcript with confidence and timing information.
The workflow shows progress while it works and keeps file selection separate from the result view. For supported audio on Apple silicon, a person can also enable speaker labels and choose an expected speaker count. That option is not available for video, and the workflow can still produce a normal transcript when speaker labeling is not used or cannot complete.
The workflow supports audio and video formats that macOS can decode. It uses a provider’s native file path when available. Otherwise it reads the recording in bounded sections and combines the results. The same bounded approach also limits memory use for long recordings and for uploaded audio sent through the local API.
References: Sources/…/MeetingTranscriptionView.swift• L43-132 Sources/…/MeetingTranscriptionView.swift• L137-301 Sources/…/MeetingTranscriptionView.swift• L304-330 Sources/…/LocalAPIAudioDecoder.swift• L4-6 Sources/…/LocalAPIAudioDecoder.swift• L8-54
Speaker-aware output
Speaker-aware transcription adds a second view of a recording: who spoke and when. The local meeting backend combines word-timed speech recognition with speaker activity so final transcript units can carry speaker assignments while keeping their source time ranges.
Speaker labels are an optional enhancement. The local Parakeet and Nemotron path supports all meeting track kinds and the supported Parakeet languages, but Nemotron has a bounded number of speaker slots in each analysis epoch. Speaker identity can continue across epochs through conservative matching, while uncertain overlaps remain ambiguous instead of receiving a forced label. If model preparation, audio reading, or label coverage is not reliable, the workflow falls back to a normal transcript or marks the affected coverage as failed rather than presenting misleading attribution. When speech has no usable word timings, Fluid emits one epoch-level utterance instead of inventing word times.
References: Sources/…/MeetingTranscriptionView.swift• L166-210 Sources/…/MeetingTranscriptionView.swift• L376-417 Sources/…/MeetingParakeetNemotronBackend.swift• L17-31 Sources/…/MeetingParakeetNemotronBackend.swift• L197-345 Sources/…/MeetingParakeetNemotronBackend.swift• L386-438 Sources/…/MeetingParakeetNemotronBackend.swift• L456-562 Sources/…/SpeakerDiarizationService.swift• L6-12 Sources/…/SpeakerDiarizationService.swift• L35-80
Transcript result handoff
Each completed file transcription becomes a result that can move through several local destinations. The person can read or select the text, copy it to the pasteboard, export plain text or JSON, and open it again from recent file-transcription history. Speaker segments, unlabeled time ranges, and any limits on speaker labeling travel with the saved result.
The result view reports basic duration and confidence data and shows a notice when speaker labeling has limits. Successful results enter a separate file-transcription history, where people can reopen or remove entries. Application search can select a history entry; the file-transcription view expands that entry and scrolls to its detail. Empty results do not create a history item. The main app exposes the workflow as File Transcription in its Use section.
References: Sources/…/MeetingTranscriptionView.swift• L100-116 Sources/…/MeetingTranscriptionView.swift• L332-436 Sources/…/MeetingTranscriptionView.swift• L438-583 Sources/…/MeetingTranscriptionView.swift• L718-758 Sources/…/FileTranscriptionHistoryStore.swift• L13-24 Sources/…/FileTranscriptionHistoryStore.swift• L144-180 Sources/…/ContentView.swift• L1367-1372
Meeting summaries
Meeting summaries turn a finished transcript into a shorter view of its content. A person can request an executive summary, detailed summary, action items, decisions, participants, topics, or a custom result. The summary remains tied to the transcript content and custom prompt that produced it.
Fluid supports verified external providers and an optional on-device model. External summaries send the transcript to the selected provider while keeping captured audio on the Mac. On-device summaries keep the transcript on the Mac and use a model that the Mac can support. Both paths treat the transcript as source material rather than instructions and reject invented facts, people, owners, or deadlines.
The app resolves a selected provider and model through the verified AI settings catalog before sending a request. It saves provider and model information with each result. It shows a saved summary only when its transcript content and custom prompt still match. A meeting title change does not make a current summary stale. Older saved summaries can be upgraded to the current content fingerprint before a rename. Transcript edits, speaker changes, or prompt changes still invalidate old output instead of presenting it as current. Current saved summaries are also available to FluidServe.
References: Sources/…/MeetingSummaryProvider.swift• L4-35 Sources/…/MeetingSummaryProvider.swift• L82-135 Sources/…/MeetingSummaryProvider.swift• L137-231 Sources/…/MeetingSummaryController.swift• L24-63 Sources/…/MeetingSummaryController.swift• L172-235 Sources/…/MeetingSummaryController.swift• L320-452 Sources/…/MeetingSessionCoordinator.swift• L1062-1091 Sources/…/MeetingSummaryView.swift• L92-175 Sources/…/MeetingSummaryView.swift• L316-394
Agent access
Meeting integrations let coding agents use FluidServe through a shared fluidmeet skill. Fluid can add or update the skill for Claude Code and Codex. For other agents, it copies instructions that tell the person how to add the same skill. Sharing stays on while at least one entitled agent remains.
The integration page checks the real command instead of treating a skill file as proof that access works. It leaves a skill from another source untouched and lets the person stop sharing when no managed agent still needs access. The command remains read-only, so an agent can read meeting data without changing or controlling the meeting recorder.
References: Sources/…/MeetingAgentIntegrations.swift• L5-10 Sources/…/MeetingAgentIntegrations.swift• L86-174 Sources/…/MeetingAgentIntegrations.swift• L193-245 Sources/…/MeetingAgentIntegrations.swift• L249-389 Sources/…/FluidServeSkill.swift• L3-34 Sources/…/FluidServeSkill.swift• L37-81 Sources/…/FluidServeSkillInstaller.swift• L3-5 Sources/…/FluidServeSkillInstaller.swift• L85-117 Sources/…/FluidServeSelfCheck.swift• L3-45
Related pages
- Local API describes the local server, routes, request forms, and capability controllers.
- FluidServe command-line interface describes the command syntax, output forms, and meeting access rules.
- Meeting transcription describes meeting capture, transcription, speaker labeling, summaries, and the meeting-focused user experience.
Change checklist
When these files or sections are changed, remember to consider these:
- Keep the loopback-only boundary and the API enablement behavior aligned between the server startup path and the client-facing API documentation.
- Keep route names, HTTP methods, request forms, and response shapes aligned between
LocalAPIRouterand each controller before changing a local client contract. - Keep the request byte limit, temporary-file lifecycle, audio chunk size, and ASR entry points aligned. A change in one layer can reject an upload or change how long audio is processed.
- Keep the FluidServe access switch, finished-meeting filter, ID resolution, and read-only behavior aligned between the command and the settings integration.
- Keep command output and skill instructions aligned. A command change can silently make an installed agent skill give wrong guidance.
- Keep saved-summary validity rules aligned between the app and FluidServe. Transcript content, speaker changes, and custom-prompt changes must not expose stale summaries. Title changes must not invalidate current content hashes.
- Keep summary provider verification, model selection, privacy destination, transcript-size limits, and incomplete-response handling aligned between settings, the summary request, and the saved result.
- Keep native and browser detection evidence, coincidence windows, prompt admission, end-of-meeting grace periods, speech-quiet checks, and fail-closed behavior aligned so a prompt does not identify the wrong call or stop it too soon.
- Keep automatic target selection separate from prompt consumption. Ambiguous source evidence must not select an arbitrary application.
- Keep transient disarm behavior aligned with lock, sleep, and fast-user-switch events. Detection must not infer that an active meeting ended from missing signals after a session change.
- Keep live model preparation serialized across concurrent meeting tracks and keep cancellation aligned with the live-engine stop path.
- Keep live-engine shutdown ahead of batch model preparation so the two workflows do not compete for model memory.
- Keep live caption source labels separate from saved speaker attribution. Live rows must not become copied, exported, or persisted transcript turns.
- Keep the meeting audio lease and coordinator state transitions aligned with capture start, stop, interruption recovery, retry, and other speech activity.
- Keep recoverable audio, processing attempts, sidecar references, transcript coverage gaps, and retry behavior aligned. A completed transcript must not publish a result that was not durably saved.
- Keep speaker-label controls, video restrictions, fallback notices, unlabeled ranges, and saved result fields aligned. A transcript can be readable while its speaker attribution is incomplete.
- Keep meeting history, search selection, expanded-detail navigation, summaries, and export formats able to represent newly added result metadata.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| Local API is disabled or its port is invalid | A local client cannot connect to Fluid. | Enable the service and use the configured loopback port. |
| Client connects from a non-loopback address | The connection is rejected. | Run the client on the same Mac and connect through 127.0.0.1, localhost, or ::1. |
| Request body exceeds the API limit | Fluid returns a payload-too-large error before inference. | Send a smaller request or use a suitable local file workflow. |
| FluidServe sharing is off | The command refuses meeting reads even when meeting files exist. | Turn on meeting access in FluidMeet settings > Integrations. |
| A meeting is still recording, processing, empty, or undecodable | FluidServe omits it from listings and cannot resolve it. | Wait for a finished transcript or use the app to inspect recovery state. |
| A command skill is missing, stale, or points to a moved tool | A coding agent cannot read meetings or calls the wrong path. | Re-add or update the skill from FluidMeet settings > Integrations. |
| Audio is unreadable, unsupported, or cannot be converted into bounded samples | The transcription request returns an error instead of text. | Supply a decodable file within the API or file-workflow boundary. |
| Live captioning lacks platform or memory support | Live captions remain unavailable while the meeting’s recorded or batch path can continue. | Check the live-caption availability state and use the later transcript. |
| Live model preparation is cancelled or cannot load | Live captions do not become ready for that track. | Let the meeting use its recorded or batch-transcription path. |
| The meeting detector cannot prove app, browser, window, or audio identity | No automatic prompt appears. | Start the meeting manually or restore the required macOS access. |
| Meeting evidence disappears during lock, sleep, or a user-session change | Detection state is cleared and no end or start decision is inferred. | Wait for fresh evidence or start the meeting manually. |
| The detected call ends while recent live captions still show speech | The “meeting ended?” question waits until the quiet period passes. | Stop the recording directly or wait for caption speech to become quiet. |
| A call resumes after an end signal or the app relaunches with a clear match | The end question is withdrawn or the detector follows the new process. | Keep the meeting recording active until the call truly ends. |
| Meeting capture loses a track or stops unexpectedly | The session becomes interrupted or degraded but can retain recoverable audio. | Review track health and retry processing when the session offers recovery. |
| Meeting processing is cancelled or its final save fails | The new transcript is not published as completed. | Use the recoverable session and retry processing. |
| Speaker diarization fails, exceeds the local model’s speaker capacity, or leaves too much audio without text | Fluid returns an ordinary transcript, ambiguous assignments, or a fallback notice for the affected coverage. | Treat speaker labels as optional and inspect the notice before using attribution. |
| A file produces no usable text | No file-history entry is created. | Check the source recording and transcription result before relying on history. |
| A transcript or custom prompt changes after a saved summary is made | The old summary is hidden from the app and FluidServe. | Generate a new summary for the current transcript or prompt. |
| The selected summary model is not verified, the transcript is too large, or the provider returns incomplete or empty output | Summary generation fails and the previous saved summary remains available. | Select a verified model, use a shorter transcript when needed, and retry with a suitable provider. |
Key files
| File | Why to read it |
|---|---|
| Sources/…/LocalAPIServer.swift | Shows the local trust boundary and request lifetime. |
| Sources/…/LocalAPIRouter.swift | Shows the public capability groups and route map. |
| Sources/…/InferenceAPIController.swift | Shows how local audio and text requests reach Fluid services. |
| Sources/…/LocalAPIAudioDecoder.swift | Shows how uploaded audio becomes bounded, temporary input for speech recognition. |
| Sources/…/FluidServeCommand.swift | Shows the command surface and its result and error contract. |
| Sources/…/FluidServeMeetings.swift | Shows the read-only meeting view exposed to local agents. |
| Sources/…/FluidServeSkill.swift | Shows the instructions shared with coding agents. |
| Sources/…/MeetingAppRegistry.swift | Shows which meeting apps and browser call pages can be recognized. |
| Sources/…/MeetingAutoDetector.swift | Shows how meeting evidence becomes a prompt, how the detector follows an active recording, and how it avoids guessing across transient system changes. |
| Sources/…/MeetingLiveModels.swift | Shows the boundary between temporary live captions and the saved transcript. |
| Sources/…/MeetingModelPreparationQueue.swift | Shows how concurrent live speech-model preparation is serialized and cancelled safely. |
| Sources/…/MeetingSessionCoordinator.swift | Shows the meeting lifecycle from exclusive capture through processing, recovery, and completion. |
| Sources/…/MeetingParakeetNemotronBackend.swift | Shows how local speech timing and speaker activity become speaker-aware meeting evidence. |
| Sources/…/MeetingSummaryProvider.swift | Shows the verified provider choices, local model route, and request rules for meeting summaries. |
| Sources/…/MeetingSummaryController.swift | Shows summary input identity, provider provenance, saved-summary validity, and local or remote generation. |
| Sources/…/MeetingTranscriptionView.swift | Shows meeting setup, history, recovery, and transcript actions. |
| Sources/…/MeetingSessionCanvases.swift | Shows live captions, processing progress, transcript review, and summary entry points. |
| Sources/…/MeetingSummaryView.swift | Shows summary selection, privacy destination, generation, and saved output. |
| Sources/…/MeetingAgentIntegrations.swift | Shows how local coding-agent access is enabled, checked, and stopped. |