Skip to content
No description, website, or topics provided.
Python Dockerfile
Branch: master
Clone or download
slfrnkln and devjsc Simple Agent 2 (#1)
* Dockerfile CMD path changed

* Added to datamodels. Updated agents with new data "twentyfour". Chanegd ports to work with local OEF.

* transfer file added. Have agents which pass a transaction to one another on data transfer.

* Updated transfer protocol with a balance check. Will abort if not enough tokens.

* Added accept/decline logic to both client and server. Client now sorts proposals by price and accepts the cheapest. Now uses dictionary definitions properly.

* Changed File Structure to split Agent1 and Agent2. Updated file structure within scripts to accomodate changes.
Latest commit 634d9b4 Aug 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
workdir Simple Agent 2 (#1) Aug 2, 2019
.gitignore
Dockerfile
README.md Simple Agent 2 (#1) Aug 2, 2019
requirements.txt updated requirements, removed unused Jun 4, 2019

README.md

Simple Agents

Welcome to Fetch.AI Simple Agent repository. This is where you can see the most simple implementation of an Agent connecting to the OEF and making simple queries. Simple Agent 2 has an addition to the protocol that on top of making queries will set a price and transfer tokens from one agent to the other. This will require the ledger set up and running in order to work.

License

Fetch.AI Simple Agent is licensed under the Apache software license (see LICENSE file). Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either \express or implied.

Fetch.AI makes no representation or guarantee that this software (including any third-party libraries) will perform as intended or will be free of errors, bugs or faulty code. The software may fail which could completely or partially limit functionality or compromise computer systems. If you use or implement the ledger, you do so at your own risk. In no event will Fetch.AI be liable to any party for any damages whatsoever, even if it had been advised of the possibility of damage.

As such this codebase should be treated as experimental and does not contain all currently developed features. Fetch will be delivering regular updates.

Supported platforms

  • MacOS Darwin 10.13x and higher (64bit)
  • Ubuntu 18.04 (x86_64)

(We plan to support all major platforms in the future)

Getting Started

First of all both the OEF and Ledger are required to be running locally for the agents to work. For Agent 2 you are also required to have the ledger python api installed.

You can find information on how to install the OEF here.

Information on how to get started with the fetch ledger can be found here

To install the ledger api for python visit here.

Install the requirements.txt

pip3 install -r requirements.txt

You will find additional README files in the respective agent folders.

You can’t perform that action at this time.