Development Guide
July 8, 2026 · View on GitHub
Setup
git clone https://github.com/OpenHands/software-agent-sdk.git
cd software-agent-sdk
make build
Code Quality
make format # Format code
make lint # Lint code
uv run pre-commit run --all-files # Run all checks
Pre-commit hooks run automatically on commit with type checking and linting.
Testing
uv run pytest # All tests
uv run pytest tests/sdk/ # SDK tests only
uv run pytest tests/tools/ # Tools tests only
Project Structure
software-agent-sdk/
├── openhands-sdk/ # Core SDK package
├── openhands-tools/ # Built-in tools
├── openhands-workspace/ # Workspace management
├── openhands-agent-server/ # Agent server
├── examples/ # Usage examples
└── tests/ # Test suites
Contributing
- Create a new branch
- Make your changes
- Run tests and checks
- Push and create a pull request
For questions, join our Slack community.