Skip to main content

sbo3l-llamaindex

LlamaIndex tool wrapping SBO3L. Drop into a LlamaIndex agent's tool list to gate every payment intent through SBO3L.

⚠ DRAFT (T-1-6): depends on F-10 (sbo3l-sdk).

Install

pip install sbo3l-llamaindex sbo3l-sdk llama-index-core

Quick start

from llama_index.core.tools import FunctionTool
from sbo3l_sdk import SBO3LClientSync, bearer
from sbo3l_llamaindex import sbo3l_tool

client = SBO3LClientSync("http://localhost:8730", auth=bearer("my-token"))
descriptor = sbo3l_tool(client=client)
tool = FunctionTool.from_defaults(
    fn=descriptor.func,
    name=descriptor.name,
    description=descriptor.description,
)
# Pass `tool` into a LlamaIndex agent's tool list (e.g. ReActAgent.from_tools).

Decision envelope

{
  "decision": "allow",
  "deny_code": null,
  "execution_ref": "kh-...",
  "audit_event_id": "evt-...",
  ...
}

On deny, the agent sees deny_code (e.g. policy.budget_exceeded).

License

MIT

Metadata

Release files for sbo3l-llamaindex 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sbo3l-llamaindex 1.2.0
File Size Uploaded
sbo3l_llamaindex-1.2.0.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sbo3l-llamaindex 1.2.0
File Interpreter ABI Platform
sbo3l_llamaindex-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / sbo3l_llamaindex-1.2.0.tar.gz

Download URL sbo3l_llamaindex-1.2.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e39b1ee42815cceee1bbe8150ac95f4e68747f57a63a8af47f6b258df8dd5cd8
BLAKE2b-256 checksum
How to use checksums
03b5da2e63ca39674b26836834558c55b539882540b309a11b467529954c25b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 2, 2026.

Transparency log

Release files / sbo3l_llamaindex-1.2.0-py3-none-any.whl

Download URL sbo3l_llamaindex-1.2.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a99b06a1e792395e32661620a62e51457eb7728e1d8e69865f8bc607a535b73
BLAKE2b-256 checksum
How to use checksums
7c6534ba5a078695241918756bc16765f7df03378b227bf3966f79b1609bfb40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page