Contributing¶
Thanks for your interest in contributing to Open Agent Search! This guide will get you up and running.
Development Setup¶
# Clone the repository
git clone https://github.com/Jayanth-MKV/open-agent-search.git
cd open-agent-search
# Install uv (if you haven't already)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Sync all dependencies (including dev tools)
uv sync --dev
Running the Server¶
# HTTP API + MCP
uv run open-agent-search
# With hot reload
uv run uvicorn open_agent_search.app:app --reload --host 0.0.0.0 --port 8000
# Standalone MCP (stdio)
uv run oas-mcp
Running Tests¶
Code Style¶
We use Ruff for linting and formatting:
Follow PEP 8 conventions and use type hints for all function signatures.
Adding Dependencies¶
Pull Request Process¶
- Fork the repo and create your branch from
main. - Add or update tests for any new functionality.
- Ensure
uv run ruff check .anduv run pytestpass. - Update documentation if you changed any public API or behaviour.
- Open a pull request with a clear description of your changes.
Reporting Issues¶
Use GitHub Issues. Include:
- Steps to reproduce
- Expected vs actual behaviour
- Python version and OS
License¶
By contributing, you agree that your contributions will be licensed under the MIT License.