semvec/pypi-packages huggingface dataset:
lavague-server 0.0.4
Server for Lavague agents
License: Apache-2.0
Requires Python: <4.0.0,>=3.10.0
Keywords: LAM, action, automation, LLM, NLP, RAG, selenium, selenium

# Agent Server for lavague

## Setup LaVague Driver Server

Uses WebSockets to provide LaVague features to Agents.

```shell
pip install lavague-core lavague-server
```

```python
from lavague.core import WorldModel, ActionEngine
from lavague.core.agents import WebAgent
from lavague.server.driver import DriverServer
from lavague.server import AgentServer, AgentSession

def create_agent(session: AgentSession):
    world_model = WorldModel()
    driver = DriverServer(session)
    action_engine = ActionEngine(driver)
    return WebAgent(world_model, action_engine)

server = AgentServer(create_agent)
server.serve()
```