Welcome
We are thrilled that you have shown interest in the MAGIST project. We are currently in the process of building MAGIST. As a result, there might be issues or bugs that you encounter. If you encounter any issues, please report the issue on the MAGIST GitHub repository. We will try to resolve them as soon as possible. If you have a solution to the issue, you may create a pull request, and we will review it as soon as possible. With that out of the way, let's get started!
How it works?
We are using a powerful technique that ties together the decades of research that brilliant researchers have done. We are using a multi-agent approach to intelligently process real-world data and learn from it. To understand this, however, it is crucial to comprehend how we define general intelligence, as there are major discrepancies from source to source.
Our Goal
General intelligence is the ability of a machine to automatically acquire and train itself on a vast variety of data that it acquires from a large number of sources. It must also be able to make new predictions based on the data upon inquisition (direct or indirect). This machine may not start with any pre-trained models, data, etc.
Setup
MAGIST is a complex project, so a clean and efficient work space is essential. The entirety of this project was made in the following environment:
- PyCharm Professional
- Python 3.10.4
- Anaconda Environment
- Firefox Headless
Replicating this environment is crucial for stability and performance.
Complete Installation Guide
This project has many dependencies. Most can be installed using pip
. Some require OS-level package managers.
These instruction are for Linux-based systems. In particular for Ubuntu 20.04 LTS based operating systems. Other systems may have errors that may require debugging.
Linux (Ubuntu-based Systems)
First install Python 3
and pip
:
geckodriver
for headless Selenium searches:
Note: If you get an error regarding the geckodriver, you can install it manually by following the instructions here.
Install System Packages
Next, we need to install the system packages that MAGIST uses.
MongoDB
Next, we need to install MongoDB. This is a database that MAGIST uses to store its data.
If you get an error with the command above, you need to install gnupg
and then re-import the key.
sudo apt install gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
Next, we need to make the list file:
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
Reload the package list:
Finally install MongoDB:
Next, create a Python environment. There are 2 ways to do this: Anaconda or VEnv.
Anaconda
First install Anaconda from https://www.anaconda.com/. You will need to download the latest installer and then run the following commands:
Close and reopen all terminal windows.
Make the Anaconda environment:
Activate the environment in your current console. Note: You will have to do this every time you want to run MAGIST. Install MAGIST:VEnv
Make the environment in a designated location.
To activate it, you must travel to thatpath/bin/
and then run:
Install MAGIST:
Congratulations! You are all setup to script and use MAGIST
Enterprise Setup
Future versions of MAGIST will come with ElasticSearch as a powerful search alternative to MongoDB. The setup is a lot harder involving a separate server and more powerful computer hardware. A future section of this Wiki will cover Enterprise setup.