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
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
silverriver-0.1.35.tar.gz
(11.8 kB
view details)
Built Distribution
File details
Details for the file silverriver-0.1.35.tar.gz
.
File metadata
- Download URL: silverriver-0.1.35.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95fb4e97de304b1b5e160180b995c64ab7703d8f6467e60efc4eee26be23b5a1 |
|
MD5 | 973ae694b671693cb037f1b2bff6d983 |
|
BLAKE2b-256 | 99f9981898644b24761d8f69d358fbf84e8a0c23169ad3070658749e80733b96 |
File details
Details for the file silverriver-0.1.35-py3-none-any.whl
.
File metadata
- Download URL: silverriver-0.1.35-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ce1cea350f4ec240d1ebbb20b8d7f3b4efa95cc1765d7a84c02b6e9855d276 |
|
MD5 | 37ad52d14ba3e8ec26c95fe1c8e00979 |
|
BLAKE2b-256 | a4c62f36e305a72578c56bcc8ff30e24640d152518112442508e74d119fe6cd5 |