Get All Paths • AI Agent SDK

get_all_paths: Get all PraisonAI data paths.

get_all_paths

Function

</div>

This function is defined in the paths module.

Get all PraisonAI data paths.

Signature

python
def get_all_paths() -> Dict[str, Path]

Returns

ResponseField Dict[str, Path]

Dictionary mapping path names to Path objects

Usage

python
>>> from praisonaiagents.paths import get_all_paths
    >>> paths = get_all_paths()
    >>> for name, path in paths.items():
    ...     print(f"{name}: {path}")

Uses

  • get_data_dir
  • get_config_dir
  • get_state_dir
  • get_sessions_dir
  • get_skills_dir
  • get_plugins_dir
  • get_mcp_dir
  • get_docs_dir
  • get_rules_dir
  • get_permissions_dir

Source

View on GitHub

praisonaiagents/paths.py at line 555