Skip to content

XpressAI/xai-multion

Repository files navigation

Component LibrariesProject Templates
DocsInstallTutorialsDeveloper GuidesContributeBlogDiscord

Xircuits Component Library to interface with MultiOn! Simplify browsing and session management in your workflows.

Xircuits Component Library for MultiOn

This library enables seamless integration of MultiOn browsing capabilities into your Xircuits workflows. It simplifies session creation, management, and advanced web browsing tasks using MultiOn's powerful API.

Table of Contents

Preview

The Example:

multion_example _png

The Result:

multion_example

Prerequisites

Before you begin, you will need the following:

  1. Python3.9+.
  2. Xircuits.
  3. MultiOn API

Main Xircuits Components

MultiOnLogin Component:

Authenticates using an API key and initializes a MultiOn client for session management and browsing tasks.

MultiOnLogin

MultiOnNewSession Component:

Creates a new MultiOn browsing session using a command, URL, and step configurations, while capturing the session's output and metadata.

MultiOnNewSession

MultiOnStepSession Component:

Continues a previously started session with a new command, enabling iterative browsing within the same session.

MultiOnStepSession

Try The Examples

We have provided an example workflow to help you get started with the MultiOn component library. Give it a try and see how you can create custom MultiOn components for your applications.

MultiOn Example

This example demonstrates how to authenticate with MultiOn using the MultiOnLogin component, create a new browsing session with the MultiOnNewSession component, and retrieve the session's output. The workflow navigates to Google, runs a query, and prints the screenshot URL and output message.

Installation

To use this component library, ensure that you have an existing Xircuits setup. You can then install the MultiOn library using the component library interface, or through the CLI using:

xircuits install multion

You can also do it manually by cloning and installing it:

# base Xircuits directory
git clone https://github.com/XpressAI/xai-multion xai_components/xai_multion
pip install -r xai_components/xai_multion/requirements.txt 

About

Browser agent component library for Xircuits.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages