Abid Ali Awan ba69bcab18 feat: add multi-agent research assistant with OpenAI Agents SDK and Olostep
Add implementation of a multi-agent research assistant using a manager agent to orchestrate judge, source research, and analyst agents. Includes workflow that leverages Olostep Answer API, escalates to search-with-scrape, and generates Markdown reports with sources. Added Jupyter notebook, example report, diagram image, and updated README with setup and flow documentation.
2026-05-11 16:16:48 +05:00
2026-05-11 15:17:25 +05:00
2026-05-11 15:17:25 +05:00

Multi-Agent Research Assistant

A Jupyter notebook that builds a multi-agent research assistant with the OpenAI Agents SDK and Olostep.

The workflow uses a manager agent to orchestrate a judge agent, source research agent, and analyst agent. It tries Olostep Answer API first, escalates to search-with-scrape when needed, and returns a polished Markdown research report with sources.

Flow

User question
    |
    v
Manager agent
    |
    +--> Olostep Answer API
    |        |
    |        v
    |    Judge agent
    |        |
    |        +--> Good enough --> Analyst agent --> Markdown report
    |        |
    |        +--> Needs more evidence
    |                 |
    |                 v
    |          Source research agent
    |                 |
    |                 +--> Search with Scrape
    |                 +--> Targeted Search
    |                 +--> Scrape selected URLs
    |                 |
    |                 v
    |          Analyst agent
    |                 |
    |                 v
    +----------> Markdown research report + sources

image.png

Setup

Create a .env file:

OPENAI_API_KEY=your_openai_api_key
OLOSTEP_API_KEY=your_olostep_api_key
RUN_LIVE_EXAMPLE=false

Open and run:

multi_agent_research_assistant_openai_agents_olostep.ipynb

Set RUN_LIVE_EXAMPLE=true to run the live example. The notebook prints an OpenAI trace URL for inspecting the agent workflow.

S
Description
No description provided
Readme Apache-2.0
520 KiB
Languages
Python 53.9%
Jupyter Notebook 45.4%
Dockerfile 0.7%