Skip to main content

SilverRiver SDK for advanced automation and AI-driven tasks

Project description

SilverRiver

SilverRiver is an SDK for advanced automation and AI-driven tasks.

Installation

You can install SilverRiver using pip:

pip install silverriver

Usage

Here's a basic example of how to use SilverRiver:

from silverriver.client import Crux
from silverriver.interfaces.chat import AgentChatInterface

# Initialize the Crux client
client = Crux(api_key="your_api_key_here")

# Create a chat interface (implement AgentChatInterface)
chat = YourChatImplementation()

# Create a browser session
browser_session, browser_obs, browser_meta = client.create_browser_session(start_url="https://www.example.com", chat=chat)

# Use the browser session to interact with web pages
# ...

# Get actions from the AI agent
observation = create_observation(browser_obs, chat.chat_history)
action = client.get_action(observation)

# Execute the action
browser_obs = browser_session.execute(action)

For more detailed examples and documentation, please refer to the example.py file in the source code.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

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

silverriver-0.1.34.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

silverriver-0.1.34-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file silverriver-0.1.34.tar.gz.

File metadata

  • Download URL: silverriver-0.1.34.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for silverriver-0.1.34.tar.gz
Algorithm Hash digest
SHA256 1c268095390896dd0df693172de97c4cd7f4a8bb8bc88e77571d73ea17e00d05
MD5 179283bee32d370ce84afcd2d7d14cc8
BLAKE2b-256 60dfcb794bfb8a5c4c435474efba0512eaf5124531e42c6ac5437ed36271c1bc

See more details on using hashes here.

File details

Details for the file silverriver-0.1.34-py3-none-any.whl.

File metadata

  • Download URL: silverriver-0.1.34-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for silverriver-0.1.34-py3-none-any.whl
Algorithm Hash digest
SHA256 f56ca0e48280bbfa34ca4b14de96acd078bb2396543ad4ad260a447ea3c52016
MD5 915e394eae5e7cddb7e6b93449c6a9ae
BLAKE2b-256 7abc58adff55de951e09bfdc02591d82e9e46241932bb9bfa45d2495e1d6cbd1

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