Hosting KevinđŸ‘ș — The World’s first AI manager in Lightning AI

Ritesh Shergill
5 min readApr 24, 2024

In a previous post, I talked about creating Kevin, the world’s first AI manager by giving Mistral-7B-Instruct-v0.2 a personality.

The personality of a manager that ‘has your best interests at heart’ and always ‘watched out for you’.

If you didn’t get it yet, I am being sarcastic. Kevin is far from friendly.

Here’s a link to the article -

In continuation of that article, I will now enumerate how I went about deploying Kevin on Lightning AI, thus allowing a limited access to folks to chat with Kevin.

Why Lightning AI?

I was toying with the idea of deploying Kevin on AWS or GCP, but then I saw a few posts about Lightning AI on LinkedIn and decided to check it out.

As you know, I love exploring new tools and technologies

I registered with my email id and once my account was activated, I was given 15 credits to play around with and deploy to a single GPU instance —

(A T4 single GPU instance with 16 GB Memory and 8 vCPUS).

And as you can see, the cost is pretty reasonable.

Also, if you create a Studio on Lightning AI, you can make it public and people can check out your work in all its glory.

NOTE — Kevin isn’t public yet and won’t be for the time being

I loved the interface, found it cheaper than most other cloud vendors out there and decided to move ahead with hosting Kevin in Lightning AI.

So how did I go about it?

Deploying to Lightning AI

Once you have registered on Lightning AI and have been re-directed to your dashboard, click the button

To kickstart the process to start a new Studio.

I selected Code —

And clicked on Start.

I got options to choose from IDE like interfaces and Chose Visual Studio Code.

This is what it looks like —

Looks lovely, doesn’t it?

Now, on the right hand side you will see a menu and a big ‘Plus’ sign at the bottom. This is where Lightning AI really shines through.

The Plus sign allows you to add various plugins to create Interfaces/Web Apps etc.

This is what clicking the plus sign shows me —

I needed to create a Web App to expose Kevin’s backend interface so went to Web Apps and chose Streamlit —

That renders the Streamlit plugin along with the other menu items on the right —

Now, when I click on the Streamlit icon, it allows me to run the Streamlit code that I have written.

In my case, this is what the UI looks like when writing the code for Streamlit —

And you can easily run this using the Streamlit icon in the right —

Running the Streamlit app creates a playground instance with a temporary external URL to allow chatting with the bot.

Of course, if you want to host this, you need to reserve an IP and a domain and then point it to the reserved IP in Lightning AI.

Starting the Streamlit app shows me this interface —

You can click on the public link button to get a public URL to access the app.

The logs can show you any issues that you need to fix.

Pretty simple eh?

Other Features in Lightning AI

  1. Create and Share your Studios

2. Select templates with lots of rich information, guides, code etc to create your own studios

3. Access to educational Blogs, Papers and Tutorials to do stuff in Lighting AI

4. Data Processing, Training and Service services

5. Access to various Models

So obviously, there is so much that you can get done within Lightning AI with easy to use Interfaces and access to information on how to get it done.

Plus the pricing is pretty reasonable as well. What’s not to like?

Follow me Ritesh Shergill

for more articles on

đŸ‘šâ€đŸ’» Tech

đŸ‘©â€đŸŽ“ Career advice

đŸ“Č User Experience

🏆 Leadership

I also do

✅ Career Guidance counselling — https://topmate.io/ritesh_shergill/149890

✅ Mentor Startups as a Fractional CTO — https://topmate.io/ritesh_shergill/193786

--

--

Ritesh Shergill

Cybersec and Software Architecture Consultations | Career Guidance | Ex Vice President at JP Morgan Chase | Startup Mentor | Angel Investor | Author