# roledesk configuration. `roles.yaml` is the one the app reads by default # (or $ROLEDESK_CONFIG, or `roledesk -c path`). Every key here is optional. # The SQLite file: roles, companies, subscriptions, applications, and the # job queue's own table. Not shared with newsdesk. database: roledesk.db # Any .py file in these directories defining a desk `Source` subclass is a # plugin. A plugin imports `desk` only. plugin_paths: - plugins # Workers per resource class. `http` is wide because a fetch is mostly waiting. workers: llm: 4 http: 8 cpu: 1 # Who answers when a job needs a model. See desk/tools/agent.py in ../news. agent: backend: auto # auto | api | claude_code | off # Title and description in, gate columns out (roledesk/jobs/extract.py). Off by # default: on the API backend every batch of 20 roles is a paid call. extract: enabled: false model: claude-haiku-4-5-20251001 # A role and each agent's intent as vectors, for the fit term of a score # (roledesk/jobs/embed.py). Needs sentence-transformers; without it `embed` # posts a notice and scores leave fit out. Changing the model re-embeds. embed: model: sentence-transformers/all-MiniLM-L6-v2 per_run: 50000 # Starter search agents, imported once into an empty `agents` table. Each gate # is {field, values, mode: require|prefer, weight}; fields are place, country, # remote, seniority, function, salary_min, currency, permit, languages and # company. weights default to {fit: 0.6, recency: 0.2, affinity: 0.2}. agents: - name: Berlin backend intent: Senior backend engineer, Python services and PostgreSQL. gates: - {field: place, values: [Berlin], mode: require} - {field: remote, values: [hybrid, remote], mode: prefer, weight: 0.2} # One block per plugin. Empty until the ats plugin lands. sources: {}