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

silverflow-0.1.3.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

silverflow-0.1.3-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file silverflow-0.1.3.tar.gz.

File metadata

  • Download URL: silverflow-0.1.3.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for silverflow-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b73aab80536d2994ffe57dda2b4185ec69d24e92fd168e5ed500bd3665e05e9f
MD5 a2f9f2d10505ed1d75391c9085532cf9
BLAKE2b-256 ebe98a19107766d12308eed20fb37c5e552bfec7d3c7cdddb48ad82e729a7374

See more details on using hashes here.

File details

Details for the file silverflow-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: silverflow-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for silverflow-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 55adaf10004f52ce45c153edad42f582da1f5ab4249b77753fdd6066e16e35b8
MD5 81b6ea803e90137cc62082375c5fd609
BLAKE2b-256 3d643a203d1637c8f015eeca7c634649feb3ce06ecdc1691e10c61efd8f6e1d3

See more details on using hashes here.

Supported by

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