praisonai docs api-md command generates a comprehensive API reference document (api.md) at the repository root, covering all public exports from praisonaiagents, praisonai, CLI commands, and TypeScript packages.
Quick Start
Commands
Generate API Reference
api.md at the repository root with all public API surfaces.
Expected Output:
Check Mode
api.md is up to date. Exits with code 1 if outdated.
Use Case: CI/CD pipelines to ensure API docs are current.
Expected Output (when current):
Print to Stdout
Generated Content
Theapi.md file includes:
Python Core SDK (praisonaiagents)
- Agents - Agent, Agents, AutoAgents, DeepResearchAgent, etc.
- Tools - BaseTool, FunctionTool, MCP, Tools
- Workflows - Workflow, WorkflowStep, Pipeline
- Memory - Memory, Session, Context
- Knowledge - Knowledge, RAG, Chunking
- Other - Handoff, Guardrails, Skills, Telemetry
Python Wrapper (praisonai)
- PraisonAI, Deploy, Recipe
- Re-exported praisonaiagents symbols
CLI Commands
Allpraisonai CLI commands with their subcommands and flags.
TypeScript SDK (praisonai-ts)
All exported classes, types, and functions from the TypeScript package.Output Format
The generatedapi.md follows OpenAI SDK-style formatting:
Contributing
When adding new public APIs:- Add the symbol to
__all__in the relevant__init__.py - Run
praisonai docs api-mdto regenerate - Commit both code changes and updated
api.md
Python API
Related
- CLI Reference - Complete CLI command tree
- Docs Management - Project documentation
- Examples - Code examples validation

