Skip to main content

Yaver SDK — embed P2P AI agent connectivity into your Python apps

Project description

Yaver Python SDK

Embed Yaver's P2P AI agent connectivity into your Python applications. Zero dependencies (stdlib only).

Install

pip install yaver

Quick Start

from yaver import YaverClient

client = YaverClient("http://localhost:18080", "your-auth-token")

# Create a task
task = client.create_task("Fix the login bug")
print(f"Task {task['id']} created")

# Stream output
for chunk in client.stream_output(task["id"]):
    print(chunk, end="")

# List all tasks
tasks = client.list_tasks()

Features

  • Task management: create, list, get, stop, delete, continue tasks
  • Output streaming: poll-based streaming with configurable interval
  • Auth client: validate tokens, list devices, manage settings via Convex backend
  • Verbosity control: set response detail level 0-10
  • Native mode: optional ctypes bindings via C shared library (libyaver.so)
  • Zero dependencies: uses only Python stdlib

Auth Client

from yaver import YaverAuthClient

auth = YaverAuthClient("your-token")
user = auth.validate_token()
devices = auth.list_devices()
settings = auth.get_settings()

Links

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

yaver-0.2.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

yaver-0.2.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file yaver-0.2.1.tar.gz.

File metadata

  • Download URL: yaver-0.2.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for yaver-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b55bd4557e915287f9dfde2d865272f51d7e55d874fcc2205dee543b954e69ca
MD5 f1746d3ce4319901e64a29944800240f
BLAKE2b-256 e4e707306df503605f9ec23e44bd31fdfaf20ea5971183109b1a59fd12e35419

See more details on using hashes here.

File details

Details for the file yaver-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: yaver-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for yaver-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df2567a3f1bc71c4fdef4ec87bfe97250de476dc367b636bf8d50ca67648d784
MD5 9603fff456a65f03f08c6b24fa6d2f93
BLAKE2b-256 a6045fa8a229b812bf7397593c5a26c3c43ffb71a5d60fb148e3dbb28b7e4d3b

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