Getting Started
This guide assumes ato-cli v0.3 and LIFECYCLE_SPEC v1.2,
showing the shortest path to create and run a new Capsule.
Prerequisites
Section titled “Prerequisites”atocommand available- Local working directory with write access
- For signing: write access to
~/.capsule/keys
ato --helpato engine featuresEngine Setup
Section titled “Engine Setup”The standard procedure for Source runtime is ato setup --engine nacelle. For existing binaries, use ato engine register.
ato setup --engine nacelleato engine register --name nacelle --path /usr/local/bin/nacelle --defaultCreate a New Capsule
Section titled “Create a New Capsule”Use ato new for template generation. Available templates: python|node|hono|rust|go|shell.
ato new hello-capsule --template nodecd hello-capsuleMinimal capsule.toml (v0.2) example:
schema_version = "0.2"name = "hello-capsule"version = "0.1.0"type = "app"default_target = "cli"
[targets.cli]runtime = "source"entrypoint = "node index.js"Validate and Run
Section titled “Validate and Run”- Validate manifest -
ato validate .checks syntax/semantics/IPC conflicts. - Run capsule -
ato open .executesdefault_target. - Monitor process -
ato ps/ato logs/ato closefor management.
ato validate .ato open . --watchato open . -t cliato ps --allato logs --name hello-capsule --followPack and Sign
Section titled “Pack and Sign”For distribution, create a .capsule and sign with Ed25519 key. Signed artifacts can be reused in public flows or CI.
ato pack . --initato keygen --out ~/.capsule/keys/default.pemato sign ./dist/hello-capsule.capsule --key ~/.capsule/keys/default.pemNext Steps
Section titled “Next Steps”- For manifest and lifecycle details, see Core Concepts
- For command options, see CLI Reference
- For Store publication, see Publish Guideline
Source specs: ATO_CLI_SPEC v0.3, DRAFT_LIFECYCLE v1.2.