Metadata-Version: 2.5
Name: okareo-vision
Version: 0.4.0
Summary: Simulate a customer against an agent that lives behind a web UI, with Okareo
Project-URL: Homepage, https://okareo.com
Project-URL: Documentation, https://docs.okareo.com/vision-simulation/introduction
Project-URL: Repository, https://github.com/okareo-ai/okareo-vision
Author-email: Okareo <info@okareo.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: agents,chatbot,evaluation,llm,okareo,simulation,testing,web ui
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Testing
Requires-Python: <3.13,>=3.10
Requires-Dist: aiohttp>=3.9
Requires-Dist: okareo>=0.0.155
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Description-Content-Type: text/markdown

# okareo-vision

[![PyPI](https://img.shields.io/pypi/v/okareo-vision?style=flat-square)](https://pypi.python.org/pypi/okareo-vision/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/okareo-vision?style=flat-square)](https://pypi.python.org/pypi/okareo-vision/)
[![PyPI - License](https://img.shields.io/pypi/l/okareo-vision?style=flat-square)](https://pypi.python.org/pypi/okareo-vision/)

---

**PyPI**: [pypi.org/project/okareo-vision](https://pypi.org/project/okareo-vision/)

Vision Simulation for [Okareo](https://okareo.com): simulate a customer in a real browser against an agent that lives behind a web UI. The simulated customer chats, clicks, types and scrolls the page turn by turn, and Okareo scores the whole flow.

## Installation

```sh
pip install okareo-vision
```

Python 3.10 to 3.12. Okareo drives the browser: one it hosts (`BrowserConfig(host="hosted")`) needs
nothing more on your machine, and the Chrome on your machine (`BrowserConfig(host="client_relay")`,
driven by Okareo through the relay) needs Google Chrome or Chromium installed there. Get your API token from [app.okareo.com](https://app.okareo.com) and set:

```sh
export OKAREO_API_KEY="<your-token>"
```

## Capabilities

| Area | Description | Docs |
|------|-------------|------|
| **Vision Simulation** | Simulated customers that read the screen and act on the page, from install to a first Run | [Vision Simulation →](https://docs.okareo.com/vision-simulation/introduction) |
| **Vision Targets** | Describe your page with `VisionTarget`: the URL, the secrets, the browser and where it runs; a Target is the page and holds no steps | [Vision Targets →](https://docs.okareo.com/vision-simulation/targets) |
| **Drivers** | Write the customer the simulation plays, every step on the page included: the sign-in and the way to the chat are turns of the conversation like any other | [Creating Drivers →](https://docs.okareo.com/simulation/drivers) |
| **Running Simulations** | Scenarios, turns, and how many conversations a Run holds | [Running Simulations →](https://docs.okareo.com/simulation/running-simulations) |
| **Checks** | Score each conversation against its expected result | [Checks →](https://docs.okareo.com/metrics/introduction) |

## Documentation

[Vision Simulation Guide](https://docs.okareo.com/vision-simulation/introduction) · [Getting Started, Guides & API Reference](https://docs.okareo.com/docs)

---

Licensed under Apache-2.0. Changes: [CHANGELOG.md](https://github.com/okareo-ai/okareo-vision/blob/main/CHANGELOG.md).
