Contributing to traceAI
October 28, 2025 ยท View on GitHub
Thanks for your interest in contributing! ๐
Quick Start
-
Fork & Clone
git clone https://github.com/YOUR_USERNAME/traceAI.git cd traceAI -
Create a branch
git checkout -b feature/your-feature -
Make changes & test
-
Commit (use Conventional Commits)
git commit -m "feat: add xyz support" -
Push & open a PR
git push origin feature/your-feature
Development Setup
Python
cd python
poetry install # Install core
cd frameworks/openai # Work on specific framework
poetry install
pytest # Run tests
Code Quality: Black, isort, flake8, mypy
TypeScript
cd typescript
pnpm install # Install all packages
pnpm run build # Build
pnpm test # Run tests
Code Quality: ESLint, Prettier, TypeScript strict mode
Adding a New Framework
Python
mkdir python/frameworks/your-framework
cd python/frameworks/your-framework
Create structure:
traceai_your_framework/
โโโ __init__.py
โโโ instrumentation.py
โโโ version.py
tests/
examples/
pyproject.toml
CHANGELOG.md
README.md
TypeScript
mkdir typescript/packages/traceai_your_framework
Create structure similar to existing packages, then update pnpm-workspace.yaml.
Don't forget: Update main README with your new integration!
Guidelines
- โ Write tests for all changes
- โ Follow existing code style
- โ Update documentation
- โ Update CHANGELOG.md
- โ Keep PRs focused and small
Need Help?
- ๐ฌ Open a Discussion
- ๐ Report a Bug
- ๐ก Request a Feature
Happy Contributing! ๐