29 lines
559 B
Markdown
29 lines
559 B
Markdown
# Self-Correcting Agent Example
|
||
|
||
This repository demonstrates a minimal self‑correcting agent built with **LangGraph**.
|
||
The agent concatenates a greeting message and prints it at the end.
|
||
|
||
## Requirements
|
||
|
||
- Python 3.10+
|
||
- `langgraph` (added to `requirements.txt`)
|
||
|
||
Install dependencies:
|
||
|
||
```bash
|
||
pip install -r requirements.txt
|
||
```
|
||
|
||
## Running the Agent
|
||
|
||
```bash
|
||
python agent.py
|
||
```
|
||
|
||
You should see the output:
|
||
|
||
```
|
||
Hello World
|
||
```
|
||
|
||
The example ensures that imports from `langgraph.graph` work correctly and that the agent can be executed without errors. |