Server for Lavague agents
Project description
Agent Server for lavague
Setup LaVague Driver Server
Uses WebSockets to provide LaVague features to Agents.
pip install lavague-core lavague-server lavague-drivers-remote
from lavague.core import WorldModel, ActionEngine
from lavague.core.agents import WebAgent
from lavague.drivers.driverserver 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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lavague_server-0.0.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for lavague_server-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceae916aa56c70b83e7722c89f8063c7b58b0f01aafa88a09e10857976677a6a |
|
MD5 | 19b5fe43901f475b542fd2d436a9f112 |
|
BLAKE2b-256 | 341ed95c923a072b7e111f732834df48651ef5150cf7c27099f63cff2eabf90a |