Skip to content
Development
Agent

struo

Tuist and [Struo](https://struo.run/) make scripts cacheable and bring caching to build systems that do not support it natively, without rewriting project sources or native build definitions. Struo support in Tuist is currently in canary; remote execution requires an enabled

From plugin
tuist
5.9k51 skills51 agents

Claude Code

$ npx -y skills add tuist/tuist --agent claude-code

Agent definition

struo.md

Tuist with Struo

Tuist and [Struo](https://struo.run/) make scripts cacheable and bring caching to build systems that do not support it natively, without rewriting project sources or native build definitions. Struo support in Tuist is currently in canary; remote execution requires an enabled account and available capacity. Shared action results and live run/action reporting bring these workflows into the same productivity platform as Tuist's Xcode, Gradle, Bazel, and Mix integrations.

One productivity platform, native depth

Embracing build-system diversity includes new action models, not just today's established toolchains. We believe Tuist is the best choice for organizations seeking one productivity platform across their build systems; the canary Struo integration extends that direction rather than introducing a disconnected productivity product.

For Struo, native depth means making existing work reusable, even when its build system has no native remote-cache integration. Keep the project and toolchain; Struo adds the action contract, Tuist shares compatible results, and live reporting exposes the work as it happens. Eligible graph command actions can also run on compatible Linux remote workers. See the [cross-build-system stance](/marketing-markdown/build-systems) for why one platform should embrace these workflows, not require a build-system migration.

What Struo already does

  • **Make scripts cacheable.** Declare a script's inputs, outputs, and relevant environment through Struo annotations. Struo records the result and restores the outputs when the same work is requested again. Existing automation becomes reusable rather than running from scratch on every invocation.
  • **Add caching around an existing build command.** A Struo wrapper can run a command such as `npm run build`, declare the source files and lockfile as inputs, and capture the generated directory as an output. The underlying build system does not need a native cache protocol, and the project's sources and native build definitions stay unchanged.
  • **Read existing project graphs.** For supported native projects, Struo discovers targets and dependencies from existing project files. You can try `struo query targets`, `struo build`, and `struo test` without rewriting the project into a new build language or creating `struo.toml` just for discovery.

Struo keeps the underlying compilers and SDKs. Its local cache works without a remote account; connect an infrastructure provider when those results should be shared across machines. Script annotations or wrapper configuration describe the action's inputs, outputs, and environment separately from the project's build definitions.

How Tuist augments it

  • **Reuse action results across people and environments.** The [Tuist provider](https://struo.run/docs/guide/infrastructure/tuist) connects Struo's declared actions to a shared cache. A developer, CI runner, or agent environment can restore a compatible result produced on another machine instead of only benefiting from its own local cache.
  • **Extend acceleration beyond native cache integrations.** Scripts and build systems without a native remote cache can use the same shared action-result infrastructure. [Remote execution](/en/docs-markdown/guides/features/runners/struo) runs eligible graph command actions on `linux/amd64` workers for accounts with execution enabled and capacity. It requires a compatible Struo client/server, the advertised worker image, and actions prepared for that environment.
  • **Follow work live.** Struo reports ordered run/action events to Tuist and prints a dashboard link as a run starts. The live view exposes recorded progress, cache decisions, and reported structured action errors; use CI logs for full command output. Tuist does not ingest Struo's raw action log stream.
  • **Use authenticated team infrastructure.** The provider binds the repository to a Tuist account/project in `struo.toml`, with developer login and documented token or OIDC automation flows. This is independent of whether CI runs on Tuist Runners.

Project first, environment second still applies: improve the action boundaries and reuse compatible outputs before moving cache misses to larger or remote machines.

First experiment

Follow [Struo getting started](https://struo.run/docs/guide/getting-started) to install [Struo 1.0.0](https://github.com/tuist/struo/releases/tag/1.0.0) or later and make one script cacheable, or discover a supported existing project's targets. For a build command without native caching, create a Struo wrapper with declared inputs and outputs while leaving the project's sources and native build definitions unchanged. Existing Once users should follow the [rename steps](/en/docs-markdown/guides/get-started/struo-project#upgrading-from-once), including the new executable, configuration, script headers, environment variables, and cold local cache.

Use [connecting a project](https://struo.run/docs/guide/infrastructure/connect) to bind the repository to a Tuist environment with the canary integration enabled:

struo connect --provider tuist --create

Configure the intended Tuist URL, account, and project using the provider documentation. Run the action on a first machine, then request the same work on a second authenticated machine whose local cache has never seen the result. Confirm that Struo restores the declared outputs from the shared cache and open the printed run URL to follow the action evidence.

Open infrastructure you can improve

Tuist combines open-source tooling with public infrastructure code. Inspect [Struo's implementation](https://github.com/tuist/struo) and the [Tuist infrastructure](https://github.com/tuist/tuist), report issues, and [contribute improvements](https://github.com/tuist/tuist/blob/main/CONTRIBUTING.md) to action handling, cache integration, and live reporting. The code gives your team a concrete way to help shape support for its scripts and native proj

Read more
@tuist
Ships withtuist

Tuist is a build platform for engineering teams and their coding agents. It works with Xcode, Gradle, Bazel, Elixir, and Rust builds. Features vary by toolchain: Rust compilation caching is experimental, and Once support is in canary.

5.9k13 skills51 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
5.9k
Star history of tuist/tuist on GitHub, a chart by star-history.com

Other agents on tuist.

about

about

Agent

Tuist is build infrastructure for engineering teams and coding agents. Shared infrastructure connects building, testing, and…

@tuist@tuistInstall Agent
blog

blog

Agent

Engineering articles from Tuist on build infrastructure, developer workflows, and coding agents, with product updates and…

@tuist@tuistInstall Agent
brand

brand

Agent

Official Tuist logos and wordmarks for referring to Tuist in documentation, integrations, presentations, and press.

@tuist@tuistInstall Agent
bazel-vs-gradle

bazel-vs-gradle

Agent

Bazel and Gradle both build JVM, Android, and multi-language projects, and many organizations run both: Gradle for Android apps…

@tuist@tuistInstall Agent
bazel

bazel

Agent

Tuist brings Bazel-native depth to one productivity platform for organizations with diverse build systems. Its remote action…

@tuist@tuistInstall Agent
elixir

elixir

Agent

Tuist brings Mix- and ExUnit-native depth to one productivity platform for organizations with diverse build systems. The…

@tuist@tuistInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc4w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react2w252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2w135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman2w119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about struo.

Which coding agents can use struo?
struo installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.