Rewrite: hierarchical AI agent with LangChain + LM Studio

This commit is contained in:
2026-05-12 10:55:27 +03:00
parent 866d351696
commit 145d99aca0
3 changed files with 110 additions and 42 deletions
+22
View File
@@ -0,0 +1,22 @@
# AI-агент для планирования покупок
Иерархический AI-агент на LangChain + LM Studio.
## Требования
- Python 3.10+
- LM Studio на localhost:1234
## Запуск
```bash
pip install -r requirements.txt
export LM_STUDIO_API_BASE="http://localhost:1234/v1"
export LM_STUDIO_MODEL="your-model-name"
python agent.py
```
## Структура
- `agent.py` — главный агент + инструмент get_price с субагентом
- `requirements.txt` — зависимости