Official Resources

Community

Contributing to OpenClaw

OpenClaw is open-source and welcomes contributions of all kinds — from bug fixes and documentation improvements to new features and integrations.

1

Fork & Clone

git clone https://github.com/your-username/openclaw.git
cd openclaw
git checkout -b feature/my-improvement
2

Set Up Dev Environment

python3 -m venv venv
source venv/bin/activate
pip install -e ".[dev]"   # Install with development extras
pre-commit install         # Set up code quality hooks
3

Run Tests

pytest tests/ -v           # Run all tests
pytest tests/unit/ -v      # Unit tests only (no API key required)
ruff check .               # Lint
mypy openclaw/             # Type checking
4

Submit a Pull Request

Push your branch and open a PR against main. Reference any related issues. All PRs require:

  • Tests for new functionality
  • Updated documentation if relevant
  • Passing CI checks
ToolDescriptionWhen to use
OllamaRun LLMs locallyPrivacy-first, offline usage
LangChainLLM application frameworkCustom app development
Pydantic AIType-safe LLM interactionsStructured data extraction
AutoGenMulti-agent conversationsComplex agent coordination
highlight.jsSyntax highlightingCode display in docs/UI
FastAPIPython web frameworkBuilding AI APIs with OpenClaw
🔗
See Also

Continue exploring the OpenClaw documentation: