- Tutorials
- Scenario 1: Implementing a Single Agent Collection under mimik ai
Scenario 1: Implementing a Single Agent Collection under mimik ai
Objective
The objective of this tutorial is to demonstrate how to create an implementation of mimik ai that supports Single Agent Collection. A Single Agent Collection is a configuration of mimik ai that has a Coordinator Machine and a single Agent Machine. The Coordinator Machine accepts a prompt from a client and then passes the prompt on the Single Agent Collection for processing.
Intended Reader
The intended reader for this tutorial is a developer who is familiar with mimik technology and the mim OE runtime. The reader should have facility working with Linux and git
at the command line.
What You'll Be Doing
In this tutorial, you will create a Single Agent Collection that has a Coordinator Machine and a single Agent Machine. You'll create a working directory for your mimik ai activity. Then you will clone the Developer Guide documentation from GitHub. Finally, you will follow the instructions in the Developer Guide to create and run a Single Agent Collection.
What You'll Need
In order to successfully complete this tutorial, you will need the following:
- An instance of Visual Studio Code that has the REST Client extension installed.
- A program capable of reading markdown files.
- 2 Ubuntu 22.04 Desktop computers running the mim-OE-ai runtime. When using a
Raspberry Pi
for running Ubuntu, the minimum requirement is Raspberry Pi 4 and above with 8GB of RAM or more. For information on how to implement Raspberry Pi and get mim OE up and running on it, read here - An account on the mimik Developer Portal Console.
Creating a Single Agent Collection
Step 1: Create a working directory the mimik ai tutorial by typing the following command in the terminal:
mkdir mimik-ai && cd mimik-ai
Step 2: Get the mimik ai Developer Guide from GitHub. The mimik ai Developer Guide has the instructional content for mimik ai as well as the setup.http
file that you will use to implement the Single Agent Collection using the Visual Studio REST Client extension. Clone the mimik ai Developer Guide from GitHub by executing the following command in the terminal
git clone https://github.com/mimik-ai/mimik-ai-developer-guide.git
Step 3: Go to the mimik-ai-developer-guide
directory by executing the following command:
cd mimik-ai-developer-guide
Step 4: Follow the instructions in the mimik-ai-developer-guide
for a Single Agent Collection which is located in ReadMe file at:
01-single-agent-architecture/README.md