Metadata-Version: 2.4
Name: llama-index-tools-multion
Version: 0.5.0
Summary: llama-index tools multion integration
Author-email: Your Name <you@example.com>
Maintainer: ajhofmann
License-Expression: MIT
License-File: LICENSE
Requires-Python: <4.0,>=3.9
Requires-Dist: llama-index-core<0.14,>=0.13.0
Requires-Dist: multion<0.4,>=0.3.11
Requires-Dist: pillow<11,>=10.2.0
Requires-Dist: pytesseract<0.4,>=0.3.10
Description-Content-Type: text/markdown

# MultiOn Tool

```bash
pip install llama-index-tools-multion
```

This tool connects to [MultiOn](https://www.multion.ai/) to enable your agent to easily
connect to the internet through your Chrome Web browser and act on your behalf

You will need to have the MultiOn chrome extension installed and a MultiOn account
to use this integration

## Usage

This tool has more a extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-multion/examples/multion.ipynb).

Here's an example usage of the MultionToolSpec.

```python
from llama_index.tools.multion import MultionToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

multion_tool = MultionToolSpec(api_key="your-multion-key")

agent = FunctionAgent(
    tools=multion_tool.to_tool_list(),
    llm=OpenAI(model="gpt-4.1"),
)

print(await agent.run("Can you read the latest tweets from my followers"))
print(await agent.run("What's the next thing on my google calendar?"))
```

`browse`: The core function that takes natural language instructions to pass to the web browser to execute

This loader is designed to be used as a way to load data as a Tool in a Agent.
