1010 B
1010 B
AGENTS.md
Python SDK guidance for AI agents.
Scope
python/ contains the Python SDK, provider packages, tests, nox sessions, release scripts, and Python docs.
Skill Routing
- Use
python-sdkfor core SDK code underpython/composio/. - Use
python-providersforpython/providers/*. - Use
python-testingfor Ruff, mypy, pytest, nox, and Makefile verification. - Use
python-releasefor build, bump, and publishing workflow changes. - Use
cross-sdk-paritywhen matching TypeScript SDK behavior.
Setup
Run from python/:
make env
source .venv/bin/activate
Commands
make fmt
make chk
make tst
make snt
make type_inference
make build
Rules
- Use Ruff for formatting/linting and mypy for type checks.
- Add pytest coverage for behavior changes.
- Keep provider-specific changes under the relevant
python/providers/<provider>/package. - When bumping
composio-client, updatepython/pyproject.toml,python/setup.py, and rootuv.locktogether.