Swift Guide
The Swift SDK targets Apple-platform agent experiences and native integrations.
Primary surfaces
forge-swift/Sources/ForgeCoreforge-swift/Sources/ForgeAgentforge-swift/Sources/ForgeIdentityforge-swift/Sources/ForgeAuthforge-swift/Sources/ForgeMCP
Choose Swift when
- you are building native Apple-platform agent experiences
- you need local runtime integration with identity-aware UI
- your product surface is iOS or macOS first
Use Swift when you need
- iOS and macOS-native runtime integration
- Apple-platform user experiences with strong local identity and runtime semantics
Baseline developer workflow
- start in
forge-swift - validate package tests with the expected Apple toolchain
- keep runtime contracts aligned with the release gate instead of relying on package shape
Useful verification commands
swift testpython3 tools/release_gate.py --root .
Current guidance
Swift participates in the same parity bar as the rest of Forge. Local platform constraints do not lower the contract.