.praisonai/agents/ and .praisonai/commands/ to extend the CLI without writing Python.
Quick Start
How discovery works
| Location | Scope |
|---|---|
~/.praisonai/agents/ / commands/ | User-global |
./.praisonai/agents/ / commands/ | Project (walks up to git root) |
Agent definitions
Files:.praisonai/agents/*.md or *.yaml
| Field | Description |
|---|---|
model | LLM model |
tools | Tool list |
role | Agent role |
goal | Agent goal |
instructions | System instructions |
| Markdown body | Becomes system_prompt when no instructions field |
Command templates
Files:.praisonai/commands/*.md
| Pattern | Behaviour |
|---|---|
$ARGUMENTS | Replaced with user input |
@path/to/file | Inlines file contents |
$(shell cmd) | Escaped — not executed (safety) |
Agent vs command vs skill vs rule
Slash commands
Custom commands auto-register in interactive mode asCommandKind.CUSTOM. Disable with SlashCommandHandler(discover_custom=False).
Python API
Best practices
Use project files for team sharing
Use project files for team sharing
Commit
.praisonai/agents/ and .praisonai/commands/ to git.Keep user-global files personal
Keep user-global files personal
Use
~/.praisonai/ for personal shortcuts that should not override team agents.Never rely on shell substitution
Never rely on shell substitution
$(...) is escaped deliberately — use @file for file content instead.Related
Run CLI
—agent and —command flags
Agent CLI
List and inspect custom agents
Command CLI
List and preview commands
Slash Commands
Interactive custom commands

