Guides

Guide: build a sourcing agent

const pool = await tools.search_candidates({ skills, location });
const ranked = await tools.find_matches({ job_id, min_score: 0.7, limit: 25 });
for (const m of ranked) {
  if (await guardrail(m)) {
    await tools.submit_application({ candidate_id: m.candidate_id, job_id, source: "agent" });
  }
}