Spawnfile is a canonical source format and compiler for autonomous agent runtimes, currently at version 0.1.11. It allows developers to write one portable agent/team specification and compile it into configuration files for various agent runtimes. Key differentiators include a focus on identity, skills, MCP connections, and team structures, with per-capability support reporting (supported/degraded/unsupported). It requires Node.js >=22.0.0 and pairs with Moltnet for team networking. The compiler emits Dockerfile, entrypoint, and env files, and supports auth profiles for credential management. Release cadence is not specified but appears active on GitHub.
npm install spawnfileNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: import functions, validate a Spawnfile, view the graph, and compile to runtime output.
Upgrade Node.js to 22.0.0 or later.
Use 'spawnfile compile .' or specify a directory.
Review .spawn/output before deploying; never commit .env files.
Use 'docker run' based on compiled Dockerfile instead.
Run 'npm install -g spawnfile' to install globally.
Ensure package.json has `"type": "module"` or use .mjs extension.
Use dynamic import() or switch to ESM imports.