BroadAI

A Multi-Agent Framework for building powerful & intelligent AI Systems

By harnessing a Multi-Agent Systems (MAS) approach, BroadAI makes building smart, efficient solutions easier. It works by using many specialized agents, each with their own skills, to tackle tasks together. BroadAI intelligently orchestrates an agentic AI workflow by choosing the best set of agents to accomplish any given task.

This approach makes AI systems more flexible, scalable, and effective. With BroadAI, you can create powerful and intelligent solutions that can handle complex challenges with ease.

multi-agent
mas-example
Custom & Published Agents used with BroadAI
Concept

What is BroadAI

As humans, we naturally tackle everyday tasks, from brewing coffee to cooking dinner or responding to emails, without thinking about the skills behind them. We instinctively apply a cognitive approach to achieve these tasks and reach bigger goals. We are multi-faceted beings, continuously using and learning new skills to achieve our goals and objectives.

BroadAI, inspired by this idea, is a framework developed in NodeJS and designed to build smarter Agentic AI systems using a Multi-Agent Systems (MAS) approach. It brings together specialized agents, each with unique skills, to work collaboratively. With BroadAI’s centralized management, the right agents are deployed to achieve any goal efficiently.

From an operational standpoint, your application sends user queries to an API endpoint, powered by the BroadAI MAS framework. This system dynamically engages multiple BroadAI Agents, each integrating with LLMs, APIs, or RAG infrastructure, to deliver optimized responses. The agent-based AI ensures better outcomes by activating the right skills based on the user's input. BroadAI also supports easy expansion by allowing new agents to be added from its agent store.

Stay Connected

Stay Informed

Don't miss out! Leave your contact info now to stay updated!

Value Proposition

Low-Code AI Automation and Scalability

BroadAI accelerates intelligent application development with its low-code, plug-and-play Multi-Agent Systems framework. Easily create and integrate ready-to-use agents from our Agent Store or build your own. Streamline AI development, minimize coding efforts, and empower your projects with scalable AI for faster deployment.

The BroadAI Framework serves two key user groups. Click on each of them to learn more:

  • Application Developer

    Goal: Develop user applications enhanced by AI capabilities

    Highly valuable to speed-up GenAI application development as developers can benefit from minimal coding requirements to build a complex agentic AI backed application.

    The BroadAI Multi-Agent System (MAS) makes it easy for developers to add AI to their applications. Built on NodeJS, this framework uses multiple agents working together to solve complex tasks.

    With BroadAI MAS framework, developers provide the Large Language Model (LLM) with access to a list of agents that could be already developed and published in the Agent Store, or could be built using BroadAI's Agentic framework.

    Example: An event concierge application helping it’s users to plan and book their itinerary across various vendors, such as Hotels, Airlines, Cabs, etc.

    To incorporate GenAI capabilities in your application using BroadAI MAS Framework:

    Get started with installating the broadai and broadai-agents npm packages.
    npm install broadai --save
    npm install broadai-agents --save
                                          
    Generate an App ID that will be used in BroadAI configuration. An application-specific App ID allows you isolate your configuration and monitor usage.
    Import the packages into your application code.
    import BroadAI from 'broadai';
    // e.g. install Researcher agent
    import researcher from 'broadai-agents/Researcher';
                                          
    Create BroadAI instance by providing an array of BroadAI Agents, and a BroadAI configuration in the constructor
    const ai = new BroadAI([ research.agent ], {
    /* ** (1) BroadAI Personality ** */
      "appid": "XXXXXXXX", // use APPID generated above
      
    /* ** (2) BroadAI Personality ** */
      "personality":{
        "name": "",                         // default: Sutradhar, meaning conductor
        "role": "",                         // default: analyst
        "pov": "first-person |or| third-person",  // default: first-person
      },
    
    /* ** (3) LLM Configuration ** */
      "llm": {
        "provider": "openai" | "azure-openai" | "google" | "anthropic",
        "model": "",
        "apikey": "",
        "other":{}  // provide hyperscaler-specific details
      },
    
    /* ** (4) Conversation History Configuration ** */
      "history": {
        "enabled": true,            // whether conversation history should be enabled
        "max_exchanges": 3          // number of Q & A exchanges that must be retained
      }
    });
                                          
    Register the agent by passing the BroadAI instance and agent configuration
    researcher.register(ai, agentConfig?);
                                          
    Finally, you must be able to call the go() method to respond to user's request.
    ai.go(user_request, conversations).then((response)=>{ 
      console.log(response);
    }).catch((err)=>console.log(err));
                                          
    where, conversations is an array of conversation history to allow contextual chat-like experience.
  • AI Agent Developer

    Goal: Develop and publish Agentic workflows

    Highly valuable for businesses to make plug-and-play agents using BroadAI framework. This will drive higher user adoption through AI applications.

    Agents are the backbone of the BroadAI framework, and we've made it simple to create and deploy them with a standardized approach. Think of it like a factory model, where expert agents are built once and can be reused across different BroadAI MAS applications.

    Whether you're designing an agent for your unique needs or contributing to our Agent Store for broader use, you'll enjoy a seamless and consistent experience in both developing and utilizing agents. Build once, use anywhere—unlock the power of scalable AI solutions with BroadAI.

    Example: Capability-specific agents, such as Hotel booking agent, Airlines booking agent, Cab service booking agent etc., can be developed using BroadAI Agentic framework (and published on Agent Store), which can be quickly integrated by application developers in their application using BroadAI MAS framework.

    To create an AI Agent using BroadAI Agentic Framework:

    Get started with installating the broadai npm package.
    npm install broadai --save
                                          
    Import only the agentic package into your application code as it provides all the tooling to create an Agent.
    const Agentic = require('broadai/agentic');
                                          
    BroadAI Agents are created as NodeJS module. On a high-level there are two important elements you should be aware of when creating your agent. These are:

    1. You must define the register method which must accept the broadAI instance and an optional agent configuration based on the requirement.

    2. You must define the agent through a standardized JSON structure describing its capabilities and skills.

    /* Create Agent module */
    module.exports = {
    
      register: (broadAI, agentConfig) =>{
        agentic = new Agentic(broadAI); // create Agentic instance
        config = agentConfig; // config
      }, 
    
      agent: {
        // read further
      }
    };
                                          
    The agent is a well-defined structure as shown below where the Researcher agent comprises of two skills, viz. researchTopic and findBusinesses, which further contains additional fields as shown in the exmaple below.
    module.exports = {
    
      register: (broadAI, agentConfig) =>{ /* refer previous code snippet */ }, 
      
      // shows an example of Researcher agent that provides two skills:
      // - researchTopic : that searches internet
      // - findBusinesses : that searches businesses in specific location
      
      agent: {
        "agent-name": "Researcher",
        "capability": "Looks up information using external information providers",
        "skills": [
          {
            "skill-name": "researchTopic",
            "objective": "Search internet for information about the given topic",
            "action": researchTopic,  // implemented later as a function
            "parameters": {
              "topic": "string | topic that must be researched"
            }
          },
          {
            "skill-name": "findBusinesses",
            "objective": "Search specific business type around a 10 mile radius of a given location",
            "action": findBusinesses,  // implemented later as a function
            "parameters": {
              "term": "string | business type, e.g. diner, coffee, tailor, etc.",
              "location": "string | address or landmark within a city and state"
            }
          }
        ]
      }
    
    };
                                          
    Finally, you must implement the functionality of the skills as functions where the parameters must match with the agent definition. These functions can utilize helper functions, such as createPrompt() to create an LLM prompt in a structured manner so that developers with basic GenAI training can write effective prompts, getGenAIResponse() to call the LLM in a simple step, and callExternalResource() to just as simply also call external API endpoints, for example for grounding your LLM prompts with contextual data.
    module.exports = {
    
      function researchTopic(topic) { 
        /* function definition */ 
      };
    
      function findBusinesses(term, location) { 
        /* function definition */ 
      };
    
      register: (broadAI, agentConfig) =>{ /* refer previous code snippet */ }, 
      agent: { /* refer previous code snippet */ }
    }
                                          
Agent Store

Ready-to-Use Agents