main
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
flexharness-swift
The FlexHarness agent harness in Swift, to run inside Apple apps on Mac, iPad and iPhone without a Node process. It follows flexharness, the TypeScript harness, in design and formats, not by sharing code. That means the same tool catalog (search_tools, describe_tools, execute, results.get), the same declarations shown to the model, and the same event and transcript model. Its sibling is flexharness-rust. Both are checked against the same fixtures.
It grows from the FlexHarness target of swiftsupport: runAgent, Tool, LanguageModel and AnthropicModel.
Products
| Product | What it holds |
|---|---|
FlexHarness |
The agent loop, sessions behind a store protocol, the tool catalog, the permission hook |
FlexHarnessProviders |
Model providers: the AGL proxy (OpenAI Responses), Anthropic, OpenAI-compatible |
FlexHarnessUI |
The chat as SwiftUI views |
Status: empty. The v1 plan is in the AGL tickets.
Languages
Swift
100%