Contributing¶
Thank you for your interest in contributing to Reactive Agents!
Development Setup¶
# Clone the repository
git clone https://github.com/tylerjrbuell/reactive-agents
cd reactive-agents
# Install dependencies with Poetry
poetry install
# Activate virtual environment
poetry shell
Running Tests¶
# Run all tests
poetry run pytest
# Run with coverage
poetry run pytest --cov=reactive_agents
# Run specific test file
poetry run pytest reactive_agents/tests/unit/core/engine/test_execution_engine.py
# Run with verbose output
poetry run pytest -v
Code Quality¶
# Format code
poetry run black .
# Lint code
poetry run ruff check .
# Type checking
poetry run pyright
Priority Areas¶
See the Roadmap for current priorities. Key areas include:
- Streaming Support - Implementing streaming across all providers
- Strategy Completion - Completing PlanExecuteReflect and ReflectDecideAct strategies
- Test Coverage - Increasing coverage on critical components
- Documentation - Improving API documentation and examples
Pull Request Process¶
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Add tests for new functionality
- Run the test suite:
poetry run pytest - Commit with descriptive message
- Push and create a Pull Request
Commit Message Format¶
type: short description
Longer description if needed.
- Bullet points for multiple changes
- Another change
Types: feat, fix, docs, test, refactor, chore
Code Style¶
- Use type hints throughout
- Follow PEP 8 conventions
- Use Pydantic models for data structures
- Write docstrings in Google style
- Keep functions focused and testable