Hi everyone,
I'd like to share ZenCODE, an open-source (MIT) coding agent I've been building in Swift 6. It runs in the terminal or as an Agent Client Protocol (ACP) agent inside editors, and it ships as a single native zen executable for macOS, Linux, and Windows via WSL (it also runs on a Raspberry Pi).
What may be interesting for Swift developers
- Xcode integration. ZenCODE connects to Xcode 27 over ACP as a coding agent. The optional
xcode-toolspackage bridges Xcode's own MCP server (xcrun mcpbridge), so the agent can useBuildProject,RunAllTests/RunSomeTests,GetBuildLog,RenderPreview, andDocumentationSearchon the open project instead of callingxcodebuilddirectly. - SwiftPM tools. The
swift-toolspackage runsswift buildandswift testwith arguments passed as argv, without shell interpretation, so the agent can build and test a package before it reports back. - Extensible in Swift. Optional tools are standalone SwiftPM packages written against a small
FeatureKit/ToolCoreAPI and compiled on your machine. The built-in Builder agent (/feature) can generate a new feature package for you, which then becomes a durable tool. - Sub-agents.
/plan,/goal, and/reviewsplit work across specialised sub-agents, each bound to the model you pick for that capability. While they run, they coordinate in a shared chat that you can join from the terminal (@coordinator,@all).
Models
Any OpenAI-compatible endpoint, a browser sign-in with an existing ChatGPT or Claude subscription, or a local DS4 model running in-process.
Status
The latest release is v3.1.0. The install scripts build from source with Swift 6.4 (macOS 26 on Apple silicon, or Linux/WSL, where the script can install the toolchain with Swiftly). Prebuilt archives are also available for macOS arm64 and Linux x86_64 / arm64; the Linux ones need the Swift 6.4 runtime. The test suite uses Swift Testing.
Repository, docs, and a short demo GIF: GitHub - gerardogrisolini/ZenCODE: Native-Swift coding agent for the terminal and ACP. One binary, no Node runtime — customizable tools, parallel agentic workflows with capability-based model bindings. macOS, Linux, and WSL, down to a Raspberry Pi. · GitHub
Feedback is very welcome, especially from people who work in Xcode or on Linux every day, and from anyone who would like to write a feature package.
Disclosure: I'm the author of ZenCODE.