class RubyLLM::ResearchJob

A hosted, single-turn research task. RubyLLM.research_later returns a job immediately; wait polls it and message returns its report. The provider’s agent identity is separate from an inference model.

job = RubyLLM.research_later(question, provider: provider, agent: agent_id)
job.wait
puts job.message.content