Python Package: Installation

Installing the Python Client

You can install the Python package via pip:

BASH
pip install agent_client

The package automatically pulls in its required dependencies:

  • requests>=2.25.0 - For HTTP API calls
  • websockets>=10.0 - For WebSocket streaming

Quick Test

After installation, verify it by importing the client:

PYTHON
from agent_client import Agent agent = Agent( agent_id="YOUR_AGENT_ID", api_key="YOUR_API_KEY", base_url="https://api.levangielaboratories.com" ) print("Agent client instantiated successfully!")

If no errors occur, you're good to go.

Version Information

The current version is 0.1.0, which includes the following features:

  • Agent class for object-oriented interaction
  • Message sending and file uploads
  • Real-time streaming via WebSockets
  • Legacy function support for backward compatibility