Resources / Blocks SDKs

Developers

Agent Blocks SDKs

Python and TypeScript clients for the Agent Blocks API, delivered through a private registry or as files. They are never published to public PyPI or npm.

What you get

Two thin clients for the Blocks HTTP API, contract 1.0.0.

Python

reboundpad-blocks

Python 3.10 or later. Version 1.0.0. Typed package with a synchronous client built on httpx.

TypeScript

@reboundpad/blocks

TypeScript and JavaScript for Node 18 or later. Version 1.0.0. A fetch client with types included.

Both cover memory, knowledge, tools with approvals, guardrails and running a saved flow. They wrap the HTTP API by hand, so check the API version before upgrading.

Why private

  • ReboundPad is commercial software. The SDKs are licensed with it and are not open source.
  • You receive them through a private package registry that you or ReboundPad operate, or as a wheel and a tarball.
  • Packages are guarded against accidental public upload. The Python package carries a classifier that PyPI rejects, and the npm package refuses to publish to a public registry.
  • Your build and security teams keep the same review and pinning controls they use for internal packages.

Install

From your private registry:

pip install --index-url https://YOUR-PRIVATE-REGISTRY/simple/ reboundpad-blocks
npm install @reboundpad/blocks --registry https://YOUR-PRIVATE-REGISTRY/

Without a registry, from files we provide:

pip install reboundpad_blocks-1.0.0-py3-none-any.whl
npm install ./reboundpad-blocks-1.0.0.tgz

First calls

Python

from reboundpad_blocks import BlocksClient
client = BlocksClient("https://studio.example.internal", token=TOKEN)
print(client.catalog()["api_version"])
client.memory_write("demo", content="hello", kind="episodic")

TypeScript

import { BlocksClient } from "@reboundpad/blocks";
const client = new BlocksClient({ baseUrl: "https://studio.example.internal" });
await client.catalog();

For teams that publish internally

  • A release script checks that the three version numbers agree, builds the wheel, source archive and npm tarball, and publishes only to an HTTPS private registry.
  • It runs as a dry run unless you pass an explicit flag, and it never reads or stores credentials.
  • It refuses PyPI, TestPyPI and npmjs, and non-HTTPS URLs.
  • Registries such as AWS CodeArtifact, GitHub Packages and Artifactory follow the same steps with their own login.

Know the limits

The packages build, install into a clean environment and import. A real upload to a registry has not been run from our repository, and the clients have been checked against the API contract by hand rather than a customer deployment. Pre-built SDKs for other languages are not offered. The API itself is plain HTTP and OpenAPI, so any language can call it.

About Agent Blocks

Want the SDKs?

Ask for them as part of an evaluation or licence and say which registry you use.