Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

1.3 KB
Raw Blame

Foam-Agent workspace

This harness turns a request into a real, inspectable simulation artifact. Start with the foam-agent skill. The editable project is studio.json plus files in this workspace. The viewer follows out/latest.json and the run history; save small useful changes as you work.

Run "$STUDIO_TOOLCHAIN/run.sh" simulate after a change. The runner validates controls, records provenance, writes artifacts, and updates .harness/verdict.json. Do not hand-edit the verdict to claim a run succeeded. Inspect the produced artifact before describing the result.

The local workflow solves a two-dimensional D2Q9 lattice Boltzmann model on a coarse grid. It is an exploratory simulation, not a converged engineering drag analysis. The optional OpenFOAM action reproduces the supplied lid-driven cavity benchmark; Foam-Agent instructions and sources are pinned for richer cases.

The installed sources are at $STUDIO_UPSTREAM. Preserve upstream credit and use the pinned instructions when extending the domain workflow. Local simulations are the default. Ask before using a paid generation service or operating physical hardware unless the user already authorized it.

When developing this package itself, keep it independently installable from its folder; shared runtime copies are synchronized by store/tools/sync-studios.mjs and sync-runtimes.mjs.