SFML
A markup language for software factories, Terraform for agents
Working when we checked on .
What is SFML?
SFML is an open standard for a domain-specific language that describes how AI agents and humans interact in software-building workflows. It is aimed at engineering teams using agentic coding processes who want those workflows to be repeatable, sharable, and improvable, much like Terraform did for cloud deployments. Factories are defined as graphs of steps, each representing a human or agent action, with loops, budgets, and routing conditions. A reference CLI implementation is included that can lint and run factories using the Claude Agent SDK, saving progress so paused runs can be resumed.
SFML pricing
Pricing model: Free
Free, open source
SFML pros
- Open standard with a public specification hosted at sfml.craftmill.dev/spec
- Ships with an example implementation to lint and run a factory
- Graph-based factories support loops, budgets, and conditional routing between steps
- Run command uses the Claude Agent SDK and saves progress for resuming paused runs
- Conformance tests in the repository let users build their own SFML Runner
- Actively seeking collaborators via GitHub issues for feedback
SFML cons
- Early version, currently at v0.1
- The included CLI is a reference implementation, not a polished developer tool
- No pricing or support plans documented
Frequently asked questions about SFML
What is SFML?
SFML is an open standard for a domain specific language describing how agents and humans interact. It formalizes how a team or company builds software, making agentic coding processes repeatable, sharable, and improvable.
What problem does SFML solve?
It aims to do for agentic coding processes what Terraform did for cloud deployments: by turning workflows into code, they become repeatable and improvable instead of each engineer working in their own way.
How do you use SFML?
Clone the GitHub repository, install and build the example CLI, then lint a factory file and run it with a GitHub ticket URL. The run command uses the Claude Agent SDK and saves progress to a state file so paused runs can be resumed.
What is a factory in SFML?
A factory is a graph of steps. Each step represents a human or agent action, and the result of each step routes to the next step. Graphs can loop to allow feedback processes, and budgets can be set to keep loops under control.
What does the lint command do?
The lint command checks the factory file without running it, letting you validate the graph definition before executing it.
Can I build my own SFML Runner?
Yes. The repository includes conformance tests you can use to build your own runner, and the project welcomes pull requests linking to alternative implementations.
Who is SFML for?
It targets teams and companies using agentic coding processes, letting agentic optimizers improve the software factory while product builders focus on making the product.
What version is SFML at?
SFML is currently at v0.1 and is looking for collaborators to help improve the idea. Feedback can be provided via GitHub issues.
How mature is the provided CLI?
The CLI is a reference implementation, not a polished developer tool. It demonstrates linting and running factories but users are encouraged to build their own runners using the conformance tests.