Files
task-69de7223f309a98be0007e09/README.md
T
2026-06-04 13:42:45 +00:00

999 B

Инструкция по установке и запуску

1. Установка deep-agents-from-scratch

# Clone the repository
git clone https://github.com/langchain-ai/deep-agents-from-scratch.git
cd deep-agents-from-scratch

# Install with uv (recommended)
uv sync

# Or install with pip
pip install -e .

2. Установка вашего агента

# Create your project directory
mkdir my_deep_agent
cd my_deep_agent

# Create the file structure as shown above

# Install dependencies
pip install -r requirements.txt

3. Запуск Ollama

# Pull the model
ollama pull llama3.2

# Start Ollama (if not running)
ollama serve

4. Запуск агента

# Run with default task
python -m deep_agent.run

# Run with custom task
python -m deep_agent.run "Find latest news about AI and save to ai_news.md"

# Specify export directory
python -m deep_agent.run --export-dir ./my_results "Research quantum computing"