21 lines
488 B
Markdown
21 lines
488 B
Markdown
# LangGraph Agent with Memory and Tool Confirmation
|
|
|
|
This repository contains a simple LangGraph agent that:
|
|
|
|
* Keeps a memory of the conversation using `MemorySaver`.
|
|
* Pauses before calling any tool and asks the user for confirmation.
|
|
* Uses the `rich` library for pretty console output.
|
|
|
|
## Requirements
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
## Run
|
|
|
|
```bash
|
|
python agent_with_memory.py
|
|
```
|
|
|
|
The agent will prompt you for confirmation before each tool call. Type `exit` to quit. |