A modern build system for the age of agents.
Caching and remote execution for developers and coding agents alike.
Documentation · Getting started · Blog · Changelog
Struo is Latin for "I build". Bring caching and remote execution to your builds, wherever you start:
| Start from | What Struo does |
|---|---|
| Your scripts | Makes existing automation cacheable and remotely executable with a few # struo header lines. |
| Your projects | Builds Cargo, Swift Package Manager, Xcode, Bazel, and other existing projects without migrating to a new build definition. |
| Your build graph | Declares typed targets in Struo's own language and composes them into one queryable graph. |
Developer experience comes first. Reliable, reproducible builds should fit your project, not require you to adopt the assumptions of an enterprise-scale build system.
Install Struo with mise:
mise use -g "github:tuist/struo@$(mise latest github:tuist/struo)"Point it at a project you already have:
cd path/to/project
struo query targets
struo build
struo testOr make a script cacheable by declaring what it reads and writes:
#!/usr/bin/env -S struo exec -- bash
# struo input "message.txt"
# struo output "build/greeting.txt"
mkdir -p build
cp message.txt build/greeting.txtThe first run records the result; the next one restores build/greeting.txt
from the cache until message.txt changes.
Every capability is reachable without reading prose docs. Agents discover
target kinds, pull runnable starters, validate drafts, and commit edits through
the struo mcp server, and every MCP tool has a matching struo query or
struo edit command so humans can reproduce what an agent did.
- Documentation: guides for every ecosystem and the full reference.
- SDKs: cache access from Rust, Swift, JavaScript, and Ruby.
- RFCs: design documents for the build graph and runtime.
Struo was previously called Once.
Struo is released under the MIT license.
