Highlights
Swarm 0.6.2 is the first published tag since 0.6.1. It includes the lean default graph, first-class Foundation Models, an OpenAI-compatible remote provider, MCP stdio + version negotiation, and durable/workflow hardening.
Providers
- OpenAI-compatible remote provider — streaming, tools, and structured outputs (#135)
- Cap unbounded OpenAI-compatible SSE buffers so long streams no longer drop tokens (#136)
- First-class Foundation Models provider with native tools and dynamic profiles (#112)
- Native structured outputs and multi-call capture in the FM provider (#128)
- Opt-in Foundation Models native session mode (experimental) (#127)
- Hard-remove Conduit — Foundation Models is the only built-in provider; inject custom backends via
InferenceProvider(#114)
MCP
- Stdio transport (spawn child servers), streamable HTTP version negotiation, and unwrapped
callToolresults (#131 / #132) callToolRawreturns the protocol envelope, includingisError- Negotiated
MCP-Protocol-Versionis applied beforenotifications/initialized MCPServerrenamed toMCPServerConnection(deprecated typealias kept)
Package graph
- Integrations trait is off by default — lean Swarm is core + Foundation Models (#115)
- HiveCore, Membrane, and ContextCore are in-tree
Sources/targets, linked only with Integrations (#117) - Default-on Macros trait, relaxed pins, orphan dependency removal (#132)
- Raise swift-syntax floor to 601 to block Xcode 26 600.0.1 prebuilts (#116)
Agents, workflows, memory
- Wire resilience policies into
Agent.run(#129) - Durable hardening: checkpoint pruning, stable workflow signatures, chaos tests (#134)
- Workflow correctness: environment propagation, merge semantics, edge-case errors (#122)
- Memory factory honesty: explicit persistence, real summarizer defaults, SwiftData migrations (#126)
- Download-on-demand embedding delivery + unified
EmbeddingProvider(#125) - Conversation history fidelity + token usage population (#123)
- Loud failures for trait-gated features and honest capability claims (#121)
Observability and tools
- OTLP/HTTP export + W3C trace propagation for
SwarmOpenTelemetry(#130) @Toolmacro diagnostics for unsupported types and real type parsing (#124)
Docs and examples
- First-hour trust repair for README samples and example demo modes (#119)
- WaxChat example with Integrations and demo-gated memory turns (#120)
Breaking / behavior changes
callToolunwraps MCP content blocks. UsecallToolRawfor the raw envelope.- Integrations is off unless you opt in:
.package(..., from: "0.6.2", traits: ["Integrations"]). - Conduit is gone. There is no
LLM.*/cloudProviderfaçade.
Install
.package(url: "https://github.com/christopherkarani/Swarm.git", from: "0.6.2")Full Changelog: 0.6.1...0.6.2