Skip to content

Use macOS 27's fm CLI as a free local LLM for housekeeping #340

Closed

Description

@currentbits

From the Apple research round: macOS 27 (Sept 2026) ships an fm CLI — on-device + Private Cloud Compute inference from the shell, no API keys, no account, no auth.

Solenta is Electron, so it cannot call Foundation Models directly, but it can shell out to fm for the unglamorous LLM work cloud agents should not bill for: memory consolidation summaries (#301), notification batching, thread titles, commit-message polish, kanban triage labels. Zero cost, zero keys, private by default; degrade gracefully off-Mac. A Mac-only moat cross-platform tools cannot match.

Activity

  1. added
    enhancement
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 17, 2026

    @currentbits
    OwnerAuthor

    Built on branch coder/use-macos-27-s-fm-cli-as-a-free-local-ll-78ef98 (not merged, not pushed).

    • 78096b5 electron/fm.js — best-effort one-shot prompt runner around the fm CLI. Returns null off-Mac, pre-macOS-27, on timeout and on non-zero exit, so every caller keeps its existing fallback. Deliberately not a providers.js entry: fm has no tool loop and no resumable session, so listing it there would surface it in the model picker as an agent it is not.
    • f3be813 + 1461fc4 — commit-message suggestion tries fm before resolving the provider, so a Mac with no billed CLI installed still gets a subject instead of "CLI is not installed".
    • ac52c3f + 19ca856 — thread auto-titles after the first completed assistant reply, via afterSuccessfulTurn in runner.js, fire-and-forget. Never overwrites a user-set title; the run-once marker is written only when a title actually lands.

    Verification: 1025 pass / 1 fail on the electron suite, the failure being the known web-integration reconnect baseline. npm run typecheck clean.

    Scope note: of the five targets in this issue, only commit messages were an existing billed LLM call. Notification batching and kanban triage do no LLM work today, and memory consolidation (#301) has no code yet — the seam will be there when it lands. Follow-up #366 tracks verifying the argv guess against the real CLI.

  3. added
    plan:done
    and removed
    plan:doing
    on Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions