Component Libraries •
Project Templates
Docs •
Install •
Tutorials •
Developer Guides •
Contribute •
Blog •
Discord
Xircuits Component Library to interface with MultiOn! Simplify browsing and session management in your workflows.
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.
Before you begin, you will need the following:
- Python3.9+.
- Xircuits.
- MultiOn API
Authenticates using an API key and initializes a MultiOn client for session management and browsing tasks.
Creates a new MultiOn browsing session using a command, URL, and step configurations, while capturing the session's output and metadata.
Continues a previously started session with a new command, enabling iterative browsing within the same session.
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.
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.
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