Introduction
Spawnfile is a spec and compiler for autonomous agent runtimes — systems that host agents as long-lived services with markdown workspace identity.
The Problem
Section titled “The Problem”Every autonomous agent runtime has its own config format. If you build an agent on OpenClaw, you can’t run it on PicoClaw or TinyClaw without rewriting the config, restructuring the workspace, and re-wiring skills and MCP connections.
Your agent’s identity — its personality, instructions, skills, and tool connections — gets locked into one runtime’s conventions.
The Solution
Section titled “The Solution”Spawnfile gives you one canonical source format. You write a Spawnfile manifest and a set of markdown docs. The compiler generates the runtime-native config and workspace files each target expects.
kind: agentname: research-assistantruntime: openclaw
docs: soul: SOUL.md identity: IDENTITY.md system: AGENTS.md
skills: - ref: ./skills/web_search
execution: model: primary: provider: anthropic name: claude-sonnet-4-5 auth: method: claude-codeChange runtime: openclaw to runtime: picoclaw or runtime: tinyclaw, run spawnfile compile, and the compiler emits the right files for that runtime.
What Spawnfile Targets
Section titled “What Spawnfile Targets”Spawnfile targets autonomous agent runtimes — systems that:
- Run as long-lived services or daemons
- Use a markdown workspace as a first-class agent surface
- Expose a declarative configuration surface the compiler can emit to
This is not for coding assistants, chat CLIs, or one-shot tools. Those may share conventions like AGENTS.md, but they are not the long-lived host runtimes that Spawnfile compiles for.
Supported Runtimes
Section titled “Supported Runtimes”| Runtime | Language | Status |
|---|---|---|
| OpenClaw | Node.js | Active |
| PicoClaw | Go | Active |
| TinyClaw | Node.js | Active |
| NullClaw | Zig | Exploratory |
| ZeroClaw | Rust | Exploratory |
Open Source
Section titled “Open Source”Spawnfile is fully open source under the MIT license. Contributions and discussion are welcome on GitHub.