SDK · Swift

BeaconsSDK — Apple-native, end-to-end.

The Swift SDK is the native interface used by the macOS, iOS, iPadOS, and visionOS apps. It binds the Rust crypto core through Swift FFI and exposes a Swift Concurrency surface (async/await, actors, AsyncSequence).

Install

// Swift Package Manager
dependencies: [
  .package(url: "https://github.com/l1feai/beacons-swift", from: "0.1.0")
]

// CocoaPods
pod 'BeaconsSDK', '~> 0.1'

What you get

  • Swift Concurrency — async / await / actors
  • AsyncSequence for live audit and telemetry streams
  • Sendable + Codable for safe cross-actor passing
  • NetworkExtension entitlement support out of the box

Platforms: macOS 13+ · iOS 16+ · iPadOS 16+ · visionOS 1+ · watchOS 10+

swift — enroll a peer
import BeaconsSDK

let client = try await Client.fromEnvironment()

let fleet = Fleet("did:oas:acme:fleet:prod")
let me    = Did("did:oas:acme:agent:scribe-7")

let peer = try await client
    .fleet(fleet)
    .enroll(me)

print("admitted in \(peer.compositeVerdictDuration)")

Parity

Identical surface in every language.

Every Beacons SDK targets the same set of operations. Cryptographic primitives (Ed25519, HKDF-SHA256, Blake3) come from a shared Rust WASM module so signatures produced in one language verify identically in another. The conformance suite at beacons-conformance exercises cross-language vectors on every release.

Open a fleet

The mesh that fits agents and humans.

A `did:oas`-rooted private mesh that ships peer configurations to any device, anywhere, by policy — not by hand.

Open consoleRead the quickstart