add README.md
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
## Инструкция по установке и запуску
|
||||
|
||||
### 1. Установка `deep-agents-from-scratch`
|
||||
|
||||
```bash
|
||||
# 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. Установка вашего агента
|
||||
|
||||
```bash
|
||||
# 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
|
||||
|
||||
```bash
|
||||
# Pull the model
|
||||
ollama pull llama3.2
|
||||
|
||||
# Start Ollama (if not running)
|
||||
ollama serve
|
||||
```
|
||||
|
||||
### 4. Запуск агента
|
||||
|
||||
```bash
|
||||
# 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"
|
||||
```
|
||||
Reference in New Issue
Block a user