praisonai agent create writes a ready-to-run custom agent from a single line of description.
Quick Start
1
Interactive — one line to start
Run the command with no arguments and answer the prompts:You’ll see:
2
Scriptable — CI-friendly
Pass every answer as a flag and skip the prompts with
--yes:3
Run the agent you just made
Which preset should I pick?
Presets map to themode frontmatter that scopes what the agent may do.
Interactive default is
full. For anything that reviews code, choose read-only explicitly.How It Works
The command drafts a system prompt, writes the file, then re-parses it to confirm discovery can read it back. The written file re-parses losslessly through discovery:Configuration Options
Destination directories
- Project (default):
<git root or CWD>/.praisonai/agents/<name>.md - Global (
--global):~/.praisonai/agents/<name>.md
Common Patterns
Team of reviewers — create three read-only reviewers, then run them together via subagents:--force; without it the command refuses and prints the exact path:
--global agent is shadowed when a project agent shares its name. The command warns and names the shadowing path so you don’t run the wrong one. Resolve it by renaming or deleting one of the two files.
Best Practices
Start with read-only for anything reviewing code
Start with read-only for anything reviewing code
The file omits
mode for full, so an explicit read-only is the safest default for reviewers.Use --describe even in interactive mode
Use --describe even in interactive mode
A one-line description makes the drafted system prompt dramatically better than a bare name.
Prefer --global only for personal helpers
Prefer --global only for personal helpers
Same-named project agents take precedence for
run, so a global one silently loses to a project override.Keep names path-safe
Keep names path-safe
A name is a file stem, not a path. Avoid
/, \, ., and .. — the command rejects them before drafting, so you get fast, clear failures.Related
CLI Reference
Full command tree, including the
agent subcommands.External Agents
Custom agents in the coding CLI.

