Less talking, more building: ๐— ๐˜‚๐—น๐˜๐—ถ-๐—”๐—ด๐—ฒ๐—ป๐˜ ๐—ฅ๐—ฒ๐˜€๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐—ณ๐—ฟ๐—ผ๐—บ...

@Aurimas_Gr
Aurimas Griciลซnas@Aurimas_Gr
19 views Nov 02, 2025 ~2 min read
Advertisement
1
Less talking, more building: ๐— ๐˜‚๐—น๐˜๐—ถ-๐—”๐—ด๐—ฒ๐—ป๐˜ ๐—ฅ๐—ฒ๐˜€๐—ฒ๐—ฎ๐—ฟ๐—ฐ๐—ต ๐—ฆ๐˜†๐˜€๐˜๐—ฒ๐—บ ๐—ณ๐—ฟ๐—ผ๐—บ ๐˜€๐—ฐ๐—ฟ๐—ฎ๐˜๐—ฐ๐—ต! ๐Ÿ‘‡

Some weeks ago I released an episode of my Newsletter and an update to the ๐—”๐—œ ๐—˜๐—ป๐—ด๐—ถ๐—ป๐—ฒ๐—ฒ๐—ฟ๐˜€ ๐—›๐—ฎ๐—ป๐—ฑ๐—ฏ๐—ผ๐—ผ๐—ธ GitHub repository.

There I implemented a Deep Research Agent from scratch without using any LLM Orchestration frameworks (using DeepSeek-R1 for some planning tasks).

In the project we implement the following Agentic topology:

๐Ÿญ. A user provides a query or topic to be researched.
๐Ÿฎ. A LLM creates an outline of the final report that it will be aiming for. It will be instructed to produce not more than a certain number of paragraphs.
๐Ÿฏ. Each of the paragraph description is fed into a research process separately to produce a comprehensive set of information to be used in report construction. Detailed description of the research process will be outlined in the next section.
๐Ÿฐ. All of the information will be fed into a summarisation step that will construct the final report including conclusion.
๐Ÿฑ. The report will then be delivered to the user in MarkDown form.

Each of the research steps are following given flow:

๐Ÿญ. Once we have the outline of each paragraph, it will be passed to a LLM to construct Web Search queries in an attempt to best enrich the information needed.
๐Ÿฎ. The LLM will output the search query and the reasoning behind it.
๐Ÿฏ. We will execute Web search against the query and retrieve top relevant results.
๐Ÿฐ. The results will be passed to the Reflection step where a LLM will reason about any missed nuances to try and come up with a search query that would enrich the initial results.
๐Ÿฑ. This process will be repeated for n times in an attempt to get the best set of information possible.

Detailed walkthrough Blog Post: newsletter.swirlai.com/p/building-deeโ€ฆ
GitHub with implementation code and Notebooks to follow: github.com/swirl-ai/ai-anโ€ฆ

Happy Building!

Be sure to leave a like or star if you find the content useful!
#AI #LLM #MachineLearning
Media image
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement