CLI Reference¶
The nydus CLI is installed with pip install pynydus. Commands mirror the
Python SDK behavior but call the same engine and registry modules directly (they
are not implemented as thin wrappers around the Nydus class). LLM and
registry settings use environment variables (see Configuration).
spawn¶
Create an Egg from source artifacts. Reads a Nydusfile from the current
directory.
nydus spawn [OPTIONS]
Flag |
Default |
Description |
|---|---|---|
|
|
Output Egg path |
hatch¶
Deploy an Egg into a target runtime. Default mode is rebuild (generate
from structured modules). Use --passthrough to replay the egg’s archived
raw/ snapshot verbatim.
If --secrets is omitted and the egg has secrets, the command interactively
prompts for each secret value via stdin. Required secrets that are left empty
cause the command to abort.
Output is structured: standard artifacts (AGENTS.md, agent-card.json,
apm.yml, mcp.json) are written to the output root, and platform-specific
runtime files go into an agent/ subdirectory.
nydus hatch <EGG_PATH> [OPTIONS]
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Path to |
|
(required) |
Target: |
|
|
Output directory |
|
(none) |
|
|
|
Replay egg’s redacted |
|
|
Skip egg validation before hatching |
env¶
Generate a template .env from an Egg’s secret requirements.
nydus env <EGG_PATH> [OPTIONS]
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Path to |
|
|
Output |
inspect¶
Print Egg summary.
nydus inspect <EGG_PATH> [OPTIONS]
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Path to |
|
|
List all placeholders and occurrences |
|
|
Show pipeline log summary |
|
|
Skip per-standard schema validation |
extract¶
Extract standard artifacts from an Egg. Subcommands: mcp, skills, a2a,
apm, agents, specs, all.
nydus extract <SUBCOMMAND> -f <EGG_PATH> [-o <OUTPUT_DIR>]
Subcommand |
Default output |
Description |
|---|---|---|
|
|
Extract |
|
|
Extract |
|
|
Extract |
|
|
Extract |
|
|
Extract per-egg |
|
|
Extract embedded spec snapshots |
|
|
Extract all artifacts at once |
diff¶
Compare two Eggs section-by-section (manifest, skills, memory, secrets).
nydus diff <EGG_A> <EGG_B>
Flag |
Default |
Description |
|---|---|---|
|
(required) |
First |
|
(required) |
Second |
delete¶
Delete an Egg file.
nydus delete <EGG_PATH>
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Path to |
keygen¶
Generate an Ed25519 keypair for Egg signing.
nydus keygen [OPTIONS]
Flag |
Default |
Description |
|---|---|---|
|
|
Directory to write keys to |
push¶
Publish an Egg to the Nest registry.
nydus push <EGG_PATH> [OPTIONS]
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Path to |
|
(required) |
Registry name (e.g. |
|
(required) |
Version string |
|
(none) |
Author override |
pull¶
Download an Egg from the Nest registry.
nydus pull <NAME> [OPTIONS]
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Registry name |
|
(required) |
Version to pull |
|
|
Output path |
register¶
Register a new Nest account.
nydus register <USERNAME>
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Account username |
|
(prompted if omitted) |
Password (hidden prompt) |
login¶
Log in to Nest. Credentials stored at ~/.nydus/credentials.json.
nydus login <USERNAME>
Flag |
Default |
Description |
|---|---|---|
|
(required) |
Account username |
|
(prompted if omitted) |
Password (hidden prompt) |
logout¶
Remove stored Nest credentials.
nydus logout