Getting started with praisonai code

Note: Run these commands inside a local git repository on your machine.

Launch a terminal-native coding session

Unlike a generic chat window, praisonai code inspects your repository files directly, tracks a generous multi-step tool budget (read, grep, edit, test), and never opens a browser.

Start in any git repository with a clear, scoped prompt so the agent orients itself before touching code.

Example

# Interactive coding session in the current repo
praisonai code

# One-shot read-only architectural summary
praisonai code --model gpt-4o-mini "Explain where authentication middleware is wired"

Example explained

  • praisonai code — Starts an interactive terminal session grounded in your current working directory.
  • –model gpt-4o-mini — Selects a fast, low-cost model for repo exploration and Q&A.

Configure model and project instructions

Drop an AGENTS.md file in the repository root so every coding session inherits your build commands, style conventions, and forbidden directories automatically.

Example

# Check what repo rules and environment praisonai code sees
praisonai doctor
praisonai rules list

Example explained

  • praisonai doctor — Verifies API keys, Python environment, and CLI backends before running long edits.
  • praisonai rules list — Shows which AGENTS.md and project rule files are active for this workspace.

Common pitfall: starting from the wrong directory

Running praisonai code from your home folder lets the agent scan unrelated personal files and slows down glob/grep searches. Always cd into the project root first so path safety and git context stay scoped to one repository.

Reference: documentation