Skip to main content

sbo3l-crewai

CrewAI tool wrapping SBO3L. Drop into a CrewAI Agent's tool list to gate every payment intent through SBO3L's policy boundary.

⚠ DRAFT (T-1-3): depends on F-10 (sbo3l-sdk) merging + publishing.

Install

pip install sbo3l-crewai sbo3l-sdk crewai-tools

Quick start

from crewai_tools import BaseTool
from sbo3l_sdk import SBO3LClientSync, bearer
from sbo3l_crewai import sbo3l_tool

client = SBO3LClientSync("http://localhost:8730", auth=bearer("my-token"))
descriptor = sbo3l_tool(client=client)

class SBO3LPaymentTool(BaseTool):
    name: str = descriptor.name
    description: str = descriptor.description

    def _run(self, aprp_json: str) -> str:
        return descriptor.func(aprp_json)

Pass SBO3LPaymentTool() into a CrewAI Agent's tools=[...].

What it does

The CrewAI agent emits a tool call with a JSON-stringified APRP. Returns:

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

On deny, the agent sees deny_code and can self-correct or escalate.

License

MIT

Metadata

Release files for sbo3l-crewai 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-crewai 1.2.0
File Size Uploaded
sbo3l_crewai-1.2.0.tar.gz 4.7 kB Details

Built distribution (wheel)

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

Total release size: 9.3 kB

Release files / sbo3l_crewai-1.2.0.tar.gz

Download URL sbo3l_crewai-1.2.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f211ed8e90ac33bebc07e2d375a52fd903ab389973c963b5db990e30d0bec309
BLAKE2b-256 checksum
How to use checksums
6361d9bfbe2a0d6e0404133dee5cf77d4f6593a91f98c82b6bd388e6a4510125
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_crewai-1.2.0-py3-none-any.whl

Download URL sbo3l_crewai-1.2.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb7a45da7a86d7afa93888d325c90d980d524d1b4636a275c4630704bb08ffa9
BLAKE2b-256 checksum
How to use checksums
f546fcb03eb41479939f2183d3b0b4832f464f8d288c7c13c33df0d68419ffcc
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