asterai CLI

Usage: asterai <command> [options]

Auth commands:
  asterai auth login <api-key>                     Authenticate to the Asterai registry
  asterai auth logout                              Clear authentication (logout)
  asterai auth status                              Show current authentication status and user

Environment commands:
  asterai env init <name> [-e]                     Create a new local environment (-e to edit)
  asterai env edit <name>                          Open environment in editor ($EDITOR or vi)
  asterai env run <name>                           Run the environment locally (Ctrl+C to stop)
  asterai env call <name> <component> <fn> [args]  Call a function in the given environment
  asterai env pull <name>                          Pull the environment <name> from the registry
  asterai env push <name>                          Push the local environment <name> to the registry
  asterai env inspect <name>                       Show components, env vars, and metadata
  asterai env add-component <env> <component>      Add a component to an environment
  asterai env remove-component <env> <component>   Remove a component from an environment
  asterai env set-var <name> --var NAME=VALUE      Set an env var (NAME= to clear)
  asterai env ls                                   List all environments you have write access to
  asterai env cp <source> <dest>                   Copy an environment to a new namespace:name
  asterai env rm <namespace:name>                  Delete local environment (-r for registry)

Component commands:
  asterai component init [name] [-l <language>]    Scaffold a new local WASM component project.
                                                   Supported languages: typescript (default), rust
  asterai component build                          Build the component (from project dir)
  asterai component pkg                            Package the component's WIT into a WASM package
  asterai component pull <name>                    Pull the component <name> from the registry
  asterai component push                           Push the current component (from project dir) to the registry
  asterai component ls                             List all components you have write access to
  asterai component rm <namespace:name>            Delete a local component and all its versions

Interactive terminal UIs (TUIs):
  asterai agents                                   Launch the agents TUI

Meta commands:
  -v, -V, --version                                Show version
