Find people for a role
find_people_for_roleRun the role's own search and save everyone it finds to the role. A role with a search plan (search_plan in get_role: the role's mix, tools and 3-6 searches read from its brief) runs every search in it: repos about the work, repos using the tools, profiles that say the job, and the tools' own maintainers (kept apart as builders). Each search is answered from AyHire's own index of people first and searched live on GitHub only where the index is thin or older than a month. Each person comes with why_found, source (index or GitHub just now) and a relevance (area fit, the brief's similarity, quality, feedback). Older roles run one search: people behind the top repos matching its words and language. role. People the role has already seen are left out, so each round brings new people (include_seen to bring them back); page 2 and on read the next repos. Returns everyone found with name, company, location, GitHub 'hireable' flag, followers, the matching repos they build and how much. To choose people yourself instead, use the search tools with role_id (search_people, find_people_behind_repos, search_commits) and add_people_to_role. Nothing is scored yet: call score_role_person for the people worth a closer look. Free (GitHub only). Pass query/language to search differently this time. For rounds that learn from your feedback (decide with reasons) and keep the plan's required constraints, use next_round.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page of matching repos (default 1) | |
| query | No | Override the search words for this run, e.g. 'vector database' (optional) | |
| role_id | Yes | ||
| language | No | Override the repo language for this run, e.g. 'Rust' (optional) | |
| location | No | Keep only people whose GitHub location is in one of these places: cities, countries or regions (Europe, US, North America, UK). Profile searches use GitHub's location filter, so local people are found, not just filtered; people there come first. | |
| include_seen | No | Also return people the role has already seen (default false) | |
| location_unknown | No | With location: people who list no location. auto (default) keeps them only when at least 3 people matched the places; include always keeps them after the matches; exclude never does. location_filter.note says when few or none matched. |