Skip to content

0.6.2

Latest

Choose a tag to compare

@christopherkarani christopherkarani released this 14 Aug 12:08
1872088

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 callTool results (#131 / #132)
  • callToolRaw returns the protocol envelope, including isError
  • Negotiated MCP-Protocol-Version is applied before notifications/initialized
  • MCPServer renamed to MCPServerConnection (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)
  • @Tool macro 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

  • callTool unwraps MCP content blocks. Use callToolRaw for the raw envelope.
  • Integrations is off unless you opt in: .package(..., from: "0.6.2", traits: ["Integrations"]).
  • Conduit is gone. There is no LLM.* / cloudProvider façade.

Install

.package(url: "https://github.com/christopherkarani/Swarm.git", from: "0.6.2")

Full Changelog: 0.6.1...0.6.2