Documentation for contributors to the Prebid Sales Agent codebase, maintained under Prebid.org.
git clone https://github.com/prebid/salesagent.git
cd salesagent
make setupSee Getting Started for prerequisites, manual setup, testing, and common operations.
- Architecture - System design and component overview
- Patterns Reference - Canonical examples for every key pattern (start here for new contributors)
- Contributing - Development workflows, testing, code style
- Structural Guards - Automated architecture enforcement tests
- Troubleshooting - Common development issues
- CLAUDE.md - Detailed development patterns and conventions
- Tests - Test suite and examples
- Source - Application source code
./run_all_tests.sh ci # Full suite: Docker + all 5 suites (DEFAULT)
./run_all_tests.sh quick # No Docker: unit + integration + integration_v2
# Both modes produce JSON reports in test-results/<ddmmyy_HHmm>/
# Manual pytest
uv run pytest tests/unit/ -x
uv run pytest tests/integration/ -x# Pre-commit hooks
pre-commit run --all-files
# Type checking
uv run mypy src/core/your_file.py --config-file=mypy.iniMigrations run automatically on startup. To run manually:
# Inside Docker
docker compose exec adcp-server python scripts/ops/migrate.py
# Or locally with uv
uv run python scripts/ops/migrate.py
# Create new migration
uv run alembic revision -m "description"