Aida.AI - Integration Example with Skyfire SDK

Getting Started with Aida.AI

Aida.AI is an example application demonstrating how Skyfire SDK can integrate various AI models and services into a cohesive AI agent. It serves as a starting point for developers to understand the power of the Skyfire Platform. Using the Skyfire set of Receivers, Aida.AI can utilize different AI models like ChatGPT, Perplexity, and more.

How to Use Aida.AI

  1. Visit the Website: Go to Aida.AI and start chatting.
  2. Interact with the Agent: Conversed with Aida.AI to explore its capabilities.
  3. Try Example Prompts: Use the provided prompts to trigger different AI services.
Image description

Example Prompts

  • Search Dataset: Ask Aida.AI to search for datasets using Kaggle AI. You can download and analyze these datasets.

    • Example prompt: "Search dataset: baseball."
  • Random Image / Generate Image: Request Aida.AI to generate images. It uses Humor AI or ChatGPT to create unique images based on your descriptions.

    • Example prompt: "Generate an image: baby panda."
  • WebSearch and VideoSearch: Perform web and video searches using the integrated Gemini service.

    • Example prompts: "WebSearch: national parks", "VideoSearch: view the eclipse."
  • Tasklist: This experimental feature allows you to ask Aida.AI to generate a list of steps for completing specific tasks. Once you have the task list, you can execute those tasks by interacting with various AI providers available through Aida.AI.

    • Example prompt: "Tasklist: create a fairytale book."


How Aida.AI Integrated Skyfire SDK

1. Get Skyfire SDK

The Skyfire SDK provides a robust and efficient way to integrate Skyfire’s APIs into your applications. It is designed for server-side usage and is available as a Node.js package. For more information and installation instructions, visit the Skyfire SDK npm page.

2. Front-End Setup

At Aida.AI, we use Next.js for our front-end framework due to its flexibility, performance, and wide adoption in the developer community. We use Redux for state management and Tailwind CSS, along with Flowbite for building and styling our UI components.

3. SDK Integration

Since the Skyfire SDK is designed to be used server-side, we created a single API route in our Next.js application to handle all interactions with it. This approach keeps our API calls secure and efficient. You can find an example code of the API route here.