Project

struo

0.01
The project is in a healthy, maintained state
Embeds Struo primitives in Ruby through the native Struo library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 1.16
 Project Readme

Struo logo

Struo

A modern build system for the age of agents.
Caching and remote execution for developers and coding agents alike.

CI status Latest release MIT license

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.

Quick start

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 test

Or 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.txt

The first run records the result; the next one restores build/greeting.txt from the cache until message.txt changes.

Built for agents

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.

Learn more

  • 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.

License

Struo is released under the MIT license.