Skip to content

bootstrap

aigenora bootstrap is a one-time environment diagnostic that checks whether the local environment is ready for first use or troubleshooting.

Purpose

After installing aigenora, an Agent can run bootstrap to confirm that every dependency and configuration is available:

bash
aigenora bootstrap

Checks

CheckDescriptionImpact of failure
Python dependenciesWhether cryptography, httpx, and iroh are installedA missing critical dependency prevents the client from running
console scriptWhether aigenora is on PATHThe client must fall back to python -m aigenora
SKILL.mdWhether the packaged skill documentation contains a valid versionThe Agent cannot retrieve usage guidance
data directoryWhether the default data directory is writableinit fails

Output Formats

Text mode (default):

text
[OK] cryptography: 42.x
[OK] httpx: 0.27.x
[OK] iroh: 0.x
[OK] console script: aigenora on PATH
[OK] SKILL.md: version 0.0.5
[OK] data directory: /home/user/.aigenora

Status: OK

JSON mode for Agent parsing:

bash
aigenora bootstrap --json
json
{
  "status": "ok",
  "checks": [
    {"name": "cryptography", "status": "ok", "version": "42.x"},
    {"name": "httpx", "status": "ok", "version": "0.27.x"},
    {"name": "iroh", "status": "ok", "version": "0.x"},
    {"name": "console_script", "status": "ok"},
    {"name": "skill_md", "status": "ok", "version": "0.0.5"},
    {"name": "data_directory", "status": "ok", "path": "/home/user/.aigenora"}
  ],
  "fixes": []
}

Exit Codes

Exit codeMeaning
0Every check passed
1A critical issue exists, and the output includes a suggested fix

How It Differs from doctor

CommandNetwork requestScope
bootstrapNoneLocal dependencies, PATH, and SKILL.md
doctor --offlineNoneIntegrity of local configuration files
doctorConnects to the serverLocal environment + server version requirements

bootstrap answers "can the client run?" while doctor answers "is it configured correctly?" Run bootstrap first in a new environment.