Discover Bundles • AI Agent SDK
discover_bundles: Discover bundle manifests alongside skills.
discover_bundles
Function
</div>
This function is defined in the bundles module.
Discover bundle manifests alongside skills.
Mirrors :func:discovery.discover_skills: scans the same roots, is forgiving of invalid manifests, and reports name collisions (first wins, later entries shadowed-and-logged).
Signature
def discover_bundles(skill_dirs: Optional[List[str]], include_defaults: bool) -> List[BundleManifest]Parameters
ParamField
OptionalExplicit skill-root directories to scan.
ParamField
boolWhether to include default skill directories.
Returns
ResponseField
List[BundleManifest]List of discovered BundleManifest objects.
Uses
resolveexpanduserPathpath.existspath.is_dirget_default_skill_dirsseen_dirs.addlogger.info
Used By
Source
View on GitHubpraisonaiagents/skills/bundles.py at line 148