{"id":49579078,"url":"https://github.com/noopolis/spawnfile","last_synced_at":"2026-05-03T18:12:02.613Z","repository":{"id":346187216,"uuid":"1188348591","full_name":"noopolis/spawnfile","owner":"noopolis","description":"A spec and compiler for autonomous  agent runtimes. Write your agent once, compile for any runtime","archived":false,"fork":false,"pushed_at":"2026-05-02T16:19:08.000Z","size":3242,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-02T18:14:57.394Z","etag":null,"topics":["autonomous-agents","cli","compiler","discord-bot","docker","open-source","openclaw","slack-bot","spawnfile","telegram-bot","typescript","whatsapp"],"latest_commit_sha":null,"homepage":"https://spawnfile.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noopolis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-22T00:22:13.000Z","updated_at":"2026-05-02T16:19:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/noopolis/spawnfile","commit_stats":null,"previous_names":["noopolis/spawnfile"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/noopolis/spawnfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noopolis%2Fspawnfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noopolis%2Fspawnfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noopolis%2Fspawnfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noopolis%2Fspawnfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noopolis","download_url":"https://codeload.github.com/noopolis/spawnfile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noopolis%2Fspawnfile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32579237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autonomous-agents","cli","compiler","discord-bot","docker","open-source","openclaw","slack-bot","spawnfile","telegram-bot","typescript","whatsapp"],"created_at":"2026-05-03T18:12:01.905Z","updated_at":"2026-05-03T18:12:02.600Z","avatar_url":"https://github.com/noopolis.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spawnfile\n\n\u003e A spec and compiler for autonomous agent runtimes. Write your agent once, compile for any runtime.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/spawnfile\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/spawnfile?style=flat-square\u0026color=d4604a\u0026label=npm\" alt=\"npm\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/spawnfile\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/spawnfile?style=flat-square\u0026color=d4604a\" alt=\"downloads\"\u003e\u003c/a\u003e\n  \u003ca href=\"#from-source\"\u003e\u003cimg src=\"https://img.shields.io/node/v/spawnfile?style=flat-square\u0026color=d4604a\" alt=\"node\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/spawnfile?style=flat-square\u0026color=d4604a\" alt=\"MIT\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://spawnfile.com\"\u003e\u003cimg src=\"https://img.shields.io/website?url=https%3A%2F%2Fspawnfile.com\u0026style=flat-square\u0026label=spawnfile.com\u0026color=d4604a\" alt=\"website\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"website/public/new-claw-images.png\" alt=\"Spawnfile compiles one agent source into multiple runtimes\" width=\"420\" /\u003e\n\u003c/p\u003e\n\nSpawnfile is a **portable source format** for autonomous agents and teams. You write one canonical project — identity docs, skills, MCP connections, model and sandbox intent, team structure, and declared communication surfaces — and `spawnfile compile` lowers it into the runtime-specific config and workspace each adapter needs.\n\nIt's not a runtime-to-runtime translator. The compiler starts from the canonical source, emits each declared adapter's output, and reports per-capability support as `supported`, `degraded`, or `unsupported`.\n\nPairs with [**Moltnet**](https://moltnet.dev) as the first provider for `team.networks[]`, letting compiled agents share declared rooms, DMs, and history across runtimes without Spawnfile injecting its own message router.\n\n## Install\n\n```bash\nnpm install -g spawnfile\nspawnfile --help\n```\n\nNode.js 22+ required. See [source install](#from-source) for local development.\n\n## The happy path\n\n```bash\nspawnfile init                                   # scaffold an agent (defaults to openclaw)\nspawnfile validate                               # check the graph\nspawnfile view .                                 # read-only graph view; writes no files\nspawnfile compile                                # lower to runtime-native output\nspawnfile auth sync --profile dev --env-file .env\nspawnfile build  --tag my-agent                  # compile + docker build\nspawnfile run    --tag my-agent --auth-profile dev\n```\n\nCompiled output lands under `.spawn/` by default, including a `Dockerfile`, `entrypoint.sh`, `.env.example`, and a prebuilt `container/rootfs/` tree. `spawnfile build` uses the pinned runtime artifacts from `runtimes.yaml`; it does not rebuild runtimes from source.\n\n## Project structure\n\nA Spawnfile project is either an `agent` or a `team`.\n\n**Agent**\n\n```text\nmy-agent/\n├── Spawnfile\n├── IDENTITY.md         # who the agent is\n├── SOUL.md             # tone and personality\n├── AGENTS.md           # system prompt\n├── MEMORY.md           # long-lived memory\n├── HEARTBEAT.md        # periodic prompt for scheduled wakes\n├── skills/\n│   └── web_search/SKILL.md\n└── subagents/\n    └── researcher/Spawnfile\n```\n\n**Team**\n\n```text\nmy-team/\n├── Spawnfile\n├── TEAM.md\n├── shared/skills/...\n└── agents/\n    ├── orchestrator/Spawnfile\n    ├── researcher/Spawnfile\n    └── writer/Spawnfile\n```\n\nTeam members may target different runtimes; the compiler resolves each member independently. Subagents are internal helpers owned by a parent agent — not the same thing as team members. Team coordination is through shared declared agent surfaces and declared team networks, not a Spawnfile-owned router.\n\nNot every file is required. Spawnfile names the portable roles; adapters decide how to lower them into runtime-native surfaces. See [`specs/SPEC.md`](specs/SPEC.md) for the full shape.\n\n## Runtime support\n\nv0.1 targets autonomous agent runtimes that share a markdown workspace identity model.\n\n| Runtime   | Status        | Default | Surfaces                                      |\n|-----------|---------------|---------|-----------------------------------------------|\n| OpenClaw  | active        | ✅      | Discord, Telegram, WhatsApp, Slack            |\n| PicoClaw  | active        |         | Discord, Telegram, Slack (WhatsApp blocked)   |\n| TinyClaw  | active        |         | Discord, Telegram, WhatsApp (pairing-gated)   |\n| NullClaw  | exploratory   |         | No active adapter yet                         |\n| ZeroClaw  | exploratory   |         | No active adapter yet                         |\n\nEach adapter maps the portable schema into its native forms. The compiler reports a machine-readable `spawnfile-report.json` with the resolved graph, chosen runtimes, and capability outcomes (`supported`, `degraded`, `unsupported`). See [`specs/RUNTIMES.md`](specs/RUNTIMES.md) for the live matrix and pinned versions, or [`runtimes.yaml`](runtimes.yaml) for the registry source of truth.\n\n## Why\n\nAutonomous agent runtimes already share a meaningful core: markdown workspace identity, skill folders, MCP, model selection, sandboxing. Today that core is re-authored by hand for each runtime. Spawnfile makes it canonical so one source project can ship to any compatible runtime.\n\n## Docs\n\nHosted docs with rendered specs, runtime guides, and a capability matrix: **[spawnfile.com](https://spawnfile.com)** — start at [Introduction](https://spawnfile.com/introduction/), [Quickstart](https://spawnfile.com/quickstart/), or the [Runtimes overview](https://spawnfile.com/runtimes/overview/).\n\nThe source-of-truth specs live in this repo:\n\n- [`specs/INDEX.md`](specs/INDEX.md) — map of all specs\n- [`specs/SPEC.md`](specs/SPEC.md) — canonical source format\n- [`specs/COMPILER.md`](specs/COMPILER.md) — compiler architecture and adapter contract\n- [`specs/CONTAINERS.md`](specs/CONTAINERS.md) — container compilation\n- [`specs/RUNTIMES.md`](specs/RUNTIMES.md) — runtime registry and version pinning\n- [`specs/SURFACES.md`](specs/SURFACES.md) — messaging surface model\n- [`fixtures/`](fixtures/) — canonical example projects\n\n## From source\n\n```bash\ngit clone https://github.com/noopolis/spawnfile.git\ncd spawnfile\nnvm use\nnpm install\nnpm run build\nnpm link\n```\n\nTo clone pinned runtimes and generate reference blueprints:\n\n```bash\nnpm run runtimes:sync\n```\n\nFor local development without linking globally:\n\n```bash\nnpm run dev -- validate fixtures/single-agent\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for local setup, tests, and the runtime adapter contract.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n\n---\n\n**[spawnfile.com](https://spawnfile.com)** · **[github.com/noopolis/spawnfile](https://github.com/noopolis/spawnfile)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoopolis%2Fspawnfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoopolis%2Fspawnfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoopolis%2Fspawnfile/lists"}