-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8efcd5
commit 3bdc673
Showing
1 changed file
with
27 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,27 @@ | ||
# Agent based Negotiation | ||
|
||
This example is two locally running agents Alice and Bob. | ||
|
||
Periodically, Alice will start a negotiation with Bob. Bob will respond with a counter offer. This will continue until a deal is reached or the negotiation times out. | ||
|
||
This serves as an simple example of how to use the `Agent` class to create a simple negotiation. | ||
|
||
## Running the agents | ||
|
||
Install dependencies | ||
|
||
```bash | ||
poetry install | ||
``` | ||
|
||
Enter the poetry shell | ||
|
||
```bash | ||
poetry shell | ||
``` | ||
|
||
Start the agents | ||
|
||
```bash | ||
python3 main.py | ||
``` |