aix agent init

aix agent init

Create a new agent interactively

Synopsis

Create a new agent directory with a scaffolded AGENT.md file.

If [path] is provided, the agent is created in that directory. If no path is provided, a directory named after the agent is created.

The command is interactive and will prompt for details unless they are provided via flags.

Examples:

Interactive creation

aix agent init

Create in specific directory

aix agent init my-agent

Non-interactive creation

aix agent init my-agent –name my-agent –description “Review code”

Specify model

aix agent init review –name review –model claude-3-5-sonnet

aix agent init [path] [flags]

Options

  -d, --description string   short description
  -f, --force                overwrite existing file
  -h, --help                 help for init
      --model string         AI model to use
      --name string          agent name (required)

Options inherited from parent commands

      --log-file string     write logs to file in JSON format
      --log-format string   log format: text, json (default "text")
  -p, --platform strings    target platform(s): claude, opencode (default: all detected)
  -q, --quiet               suppress non-error output
  -v, --verbose count       increase verbosity level (e.g., -v, -vv)

SEE ALSO

Auto generated by spf13/cobra on 24-Jan-2026