Skip to main content

LlamaIndex tool wrapping SBO3L — gate every agent payment intent through SBO3L's policy boundary.

Project description

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

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

sbo3l_llamaindex-1.2.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

sbo3l_llamaindex-1.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file sbo3l_llamaindex-1.2.0.tar.gz.

File metadata

  • Download URL: sbo3l_llamaindex-1.2.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sbo3l_llamaindex-1.2.0.tar.gz
Algorithm Hash digest
SHA256 e39b1ee42815cceee1bbe8150ac95f4e68747f57a63a8af47f6b258df8dd5cd8
MD5 8b2b1cc49b98edcc2cb8eef331f64520
BLAKE2b-256 03b5da2e63ca39674b26836834558c55b539882540b309a11b467529954c25b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for sbo3l_llamaindex-1.2.0.tar.gz:

Publisher: integrations-publish.yml on B2JK-Industry/SBO3L-ethglobal-openagents-2026

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sbo3l_llamaindex-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sbo3l_llamaindex-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a99b06a1e792395e32661620a62e51457eb7728e1d8e69865f8bc607a535b73
MD5 ebc0c501c72895bf4cdef6511d3d8f02
BLAKE2b-256 7c6534ba5a078695241918756bc16765f7df03378b227bf3966f79b1609bfb40

See more details on using hashes here.

Provenance

The following attestation bundles were made for sbo3l_llamaindex-1.2.0-py3-none-any.whl:

Publisher: integrations-publish.yml on B2JK-Industry/SBO3L-ethglobal-openagents-2026

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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