Skip to content

Commit

Permalink
add docs for negotiation example
Browse files Browse the repository at this point in the history
  • Loading branch information
ejfitzgerald committed Feb 27, 2024
1 parent b8efcd5 commit 3bdc673
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions integrations/agent-negotiation/README.md
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
```

0 comments on commit 3bdc673

Please sign in to comment.