-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor agent example to show agents monitoring and updating inventory (#…
…32) * minor agent example * db file --------- Co-authored-by: Joshua Croft <[email protected]>
- Loading branch information
Showing
5 changed files
with
1,630 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Minimal multi-agent inventory monitoring | ||
|
||
This project demonstrates a simple example of supply level monitoring, and how two agents can work together to keep a supply level consistent. These agents are working as siloed monitors, one agent tracks a fuel level, and another add more fuel to the store. A third agent randomly takes some fuel. | ||
|
||
## Prerequisites | ||
- [Poetry](https://python-poetry.org/docs/#installation) installed on your machine | ||
|
||
## Dependencies | ||
- Python >= 3.10 | ||
- tiny_db >= 2.9.9 | ||
- uagents == 0.13.0 (compatible with Python >= 3.10, < 3.13) | ||
|
||
## Project Structure | ||
``` | ||
.inventory-monitoring | ||
├── README.md | ||
└── src | ||
├── db.json | ||
└── main.py | ||
``` | ||
|
||
|
||
|
||
## How run the project | ||
- git clone `https://github.com/fetchai/docs_examples.git` | ||
- Navigate to the cloned repo | ||
- in the root folder of the repo run `poetry install` | ||
- then `cd src && poetry run python main.py` |
Oops, something went wrong.