Files
task-69de7223f309a98be0007e09/README.md
T
2026-06-04 19:19:15 +00:00

29 lines
756 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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
```bash
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.