2026-06-04 19:34:46 +00:00
2026-06-04 19:19:46 +00:00
2026-06-04 19:18:51 +00:00
2026-06-04 19:18:57 +00:00
2026-06-02 07:03:41 +00:00
2026-06-04 19:19:09 +00:00
2026-06-04 19:19:15 +00:00
2026-06-04 19:19:21 +00:00
2026-06-04 19:19:28 +00:00
2026-06-04 19:19:34 +00:00
2026-06-04 19:19:40 +00:00

Deep Agent from Scratch

This repository contains a minimal implementation of a deep agent that can:

  1. Search the web using DuckDuckGo.
  2. Create virtual files in memory.
  3. Export the virtual files to the real file system.

The agent is built using the new LangChain 1.x and LangGraph 1.x APIs.

Prerequisites

  • Python 3.11 or newer
  • Ollama running locally with a model such as llama3.1
  • pip install -r requirements.txt

Running the Agent

python agent.py

The script will run the agent with a sample prompt, create a virtual file report.txt, and export it to the exported_files directory.

File Structure

  • agent.py Main implementation.
  • requirements.txt Python dependencies.
  • README.md This file.
S
Description
8. Самописный поисковый агент на основе deep agents from scratch
Readme MIT 133 KiB
Languages
Python 100%