Skip to content
An M.Sc project on multi-agents AI using the Python module Pyke.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src Initial import of the project. Jan 27, 2012
README_fr.rst Add license information to the READMEs. Jan 27, 2012




We're both students at INP-ENSEEIHT, Toulouse, France.


We decided to release these sources as an example of code in the Artificial Intelligence field which uses the Pyke knowledge engine feature. Hopefully, this can help other people working with Pyke and who lack some example code.


This project was done as an assignment for computer science engineering students in last year of the standard 5-year French engineering cycle. It is NOT fully functionnal or working. The basics work, but there is room for improvement and we haven't had it run on "big" situations.


For this project, we had to build a multi-agents system. Agents communicate and each have their own knowledge base. They evolve in a universe, and can execute the following actions:

  • Move from one place to another
  • Take an object on the floor
  • Put an object down
  • Put an object in a box (which is also an object)
  • Fetch an object from a box
  • Give an object or a box to another agent
  • Ask another agent for information
  • Give some information to another agent


Official site :


This project is released under the DWTFYW Public License.


  • Required packages :
    • Python 2.6 or 2.7
    • Pyke 1.1 (probably works with newer versions)
  • In the Makefile, replace PYTHON=python with PYTHON=python2 if

    python 3 is installed (in Arch Linux for example).

  • Pyke environment :

    Pyke must be installed. You can find it on the sourceforge page, at the following address :


  • Run the tests :

    A series of basic tests is available in src/tests and is called through the make command. It is made of some basic situations to test the basic functionalities of the program.

  • Run a simulation :

    Launching a given simulation is done in file. The situation has to be entered in it and then executed with python, for example python

Something went wrong with that request. Please try again.