Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
SDK Documentation Generator
Generates MDX reference docs from Python source using griffe.
Usage
cd python
uv run --frozen --only-group docs-reference python scripts/generate-docs.py
How it works
- griffe extracts docstrings from
composio/**/*.py→ structured data generate-docs.pytransforms data → MDX files- Output written to
docs/content/reference/sdk-reference/python/
Configuration
- Expected classes:
EXPECTED_CLASSESdict maps class name → Composio property - Modules to search:
CLASS_MODULESlist - Decorators:
DECORATORS_TO_DOCUMENTlist
CI
.github/workflows/docs-sdk-reference-drift.yml regenerates the reference on PRs to next that change python/composio/** or this generator, and fails if the committed output differs. griffe is pinned in the docs-reference dependency group in python/pyproject.toml.