Categories
developer documentation v0.0.27
mimik Developer Documentation
  • Tutorials
  • Scenario 2: Implementing a Two Agent Collection under mimik ai

Scenario 2: Implementing a Two Agent Collection under mimik ai

Objective

The objective of this tutorial is to demonstrate how to create a Two Agent Collection scenario of mimik ai. A Two Agent Collection is a configuration of mimik ai that has a Coordinator Machine and an AMD/ARM Agent Machine and an Nvidia Orin Nano machine. The Coordinator Machine accepts a prompt from a client and then passes the prompt on the Two 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

This scenario builds on the work done in the previous scenario Setting Up and Running a Single Agent Collection. This scenario is one in which there are two Agent Machines. One of the Agent Machines was created in the previous scenario. The new Agent Machine is an Orin Jetson Nano device that you will add to the edge Service Mesh in this scenario. The figure below illustrates the physical architecture of this scenario.

Two Agent Collection

Again, we assume that you've done the Single Agent Collection tutorial described previously and have the content and source code cloned from the mimik-ai-developer-guide repo GitHub Repo..

Implementing the Two Agent Collection Scenario

Step 1: Go to the working directory created in the previous mimik ai tutorial. This directory contains the content and code for the various mimik ai tutorials. Type the following command in the terminal:

cd ./mimik-ai/mimik-ai-developer-guide

Step 2: Follow the instructions in the mimik-ai-developer-guide for a Two Agent Collection which is located in ReadMe file at:

02-nvidia-architecture/README.md

These instructions implement the Two Agent Collection scenario using a set of setup.http files that are executed in an instance of Visual Studio Code that has the REST Client Extension installed.

Was this article helpful?

© mimik technology, Inc. all rights reserved