Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

HAAS Client SDKs

Public client SDKs for TensorBlock HAAS.

HAAS exposes agent harness runtimes through an HTTP API. This repository contains language-specific SDKs that wrap the run, polling, artifact, event, delivery, and extension APIs for application backends and pipelines.

SDKs

Future SDKs can live beside it, for example:

python/
typescript/
go/
java/

Python Install

pip install 'git+https://github.com/TensorBlock/haas-client.git#subdirectory=python'

Python Quick Start

from haas_client import HAASClient

client = HAASClient(
    base_url="https://haas.example.com",
    token="YOUR_HAAS_API_TOKEN",
)

run = client.run_and_wait(
    agent="codex",
    prompt="Hello world. Reply with a short greeting.",
    raise_on_failure=True,
)

print(run["result"]["final_message"])

About

Python client for TensorBlock HAAS.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages