Skip to main content

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
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()

Project details


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.4.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

lavague_server-0.0.4-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file lavague_server-0.0.4.tar.gz.

File metadata

  • Download URL: lavague_server-0.0.4.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/22.2.0

File hashes

Hashes for lavague_server-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2c24360bcd192f1e1c09f16bdbbb50f139424fa71533a2911b4b6bdae76c4fef
MD5 0dbe4f6b7170286f309089cb7590f6fe
BLAKE2b-256 915d17be31ada1b89e07cd98269b35bba0d62872958c6af1ce89f9a78a68d1a0

See more details on using hashes here.

File details

Details for the file lavague_server-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: lavague_server-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Darwin/22.2.0

File hashes

Hashes for lavague_server-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aa8e099cb244224621954ecfd805db9207333efbbcc33edb67b76e6b60376cfb
MD5 efca673cea859830b367f2cda16adc60
BLAKE2b-256 c0f80d143d531764365299b69b6fa022eb8e484e752f3ef5ad8370893c075d64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page