LiteRegistry tool clients
The canonical client API is literegistry_tool_client. Each service client has its
own module and all clients share the same asynchronous ToolClient transport.
| Client | Dedicated module | Purpose |
|---|---|---|
RemoteCodeExecutionClient |
literegistry_tool_client.code |
Remote Python execution |
TerminalExecutionClient |
literegistry_tool_client.terminal |
Restricted terminal pipelines |
PodmanExecutionClient |
literegistry_tool_client.podman |
Stateful container sessions |
SearchClient |
literegistry_tool_client.search |
Search queries |
FetchClient |
literegistry_tool_client.fetch |
URL extraction via Jina or LiteRegistry |
WebTerminalExecutionClient |
literegistry_tool_client.webterminal |
Browse/fetch plus terminal pipelines |
JudgeClient |
literegistry_tool_client.judge |
Rubric judging |
RewardModelClient |
literegistry_tool_client.reward_model |
Sequence classification |
SubmitToolClient |
literegistry_tool_client.submission |
Rollout-local rubric submissions |
Import from the package for normal use:
from literegistry_tool_client import (
FetchClient,
SearchClient,
TerminalExecutionClient,
WebTerminalExecutionClient,
)
terminal = TerminalExecutionClient()
fetch = FetchClient(
local_search_server_url="http://127.0.0.1:1212/search",
local_search_model_path="fetch",
)
webterminal = WebTerminalExecutionClient(terminal, fetch)
search = SearchClient(model_path="search")
Install independently (only aiohttp is required), or through LiteRegistry:
pip install literegistry-tool-client
pip install 'literegistry[tool_client]'
This package has no dependency on PrimeBeaker, Verifiers, Torch, or the
LiteRegistry server. It also exports AssetStore and WebAssetStore for
rollout-local state. The existing literegistry-podman-client package remains
available for its separate low-level Podman session API; PodmanExecutionClient
here implements the common ToolClient.execute() interface.
PrimeBeaker's primebeaker.client and primebeaker.clients imports remain
compatibility facades for these same classes.
Metadata
Release files for literegistry-tool-client 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| literegistry_tool_client-0.1.0.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| literegistry_tool_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.0 kB
Release files / literegistry_tool_client-0.1.0.tar.gz
| Download URL | literegistry_tool_client-0.1.0.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e10d63638bfa34c318bfb37614ddda544d88dce5ab828a00017b51d639de687
|
|
BLAKE2b-256 checksum How to use checksums |
0f8054fe4498679b56668b194a15f579e4d0d18180c18392a0a22745dd7cbe3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / literegistry_tool_client-0.1.0-py3-none-any.whl
| Download URL | literegistry_tool_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcad5a27efba19b5bf8be8e48022dc1696e71364d25cc7cedb409e3e7cd8bb56
|
|
BLAKE2b-256 checksum How to use checksums |
153c05bf2aa49bf3ea30cce3d853cbd89a551d328c162b17ef0f313985dad724
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|