Skip to main content

Zero-trust identity and enforcement for AI agents

Project description

Scopebound Python SDK

Zero-trust identity and enforcement for AI agents.

Installation

pip install scopebound

Quickstart — LangChain

from scopebound import ScopeboundSDK, enforce
from langchain_core.tools import BaseTool

sb = ScopeboundSDK(base_url="http://localhost:8080")

@enforce(sb, role="invoice-processor")
class ReadInvoicesTool(BaseTool):
    name = "read_invoices"
    description = "Read invoices from the database"

    def _run(self, query: str) -> str:
        return "invoice data"

License

Apache-2.0

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

scopebound-0.1.1.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

scopebound-0.1.1-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file scopebound-0.1.1.tar.gz.

File metadata

  • Download URL: scopebound-0.1.1.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for scopebound-0.1.1.tar.gz
Algorithm Hash digest
SHA256 54ce46246bb9def6b0cfa2b80f3acea3a550323627ca76376cc441061978dc4a
MD5 9b514d76212676ae869fe5a3e9c28295
BLAKE2b-256 a5f9781ae46d9b2cfe1565473716ab12941855991fabc01afe0794907410a998

See more details on using hashes here.

File details

Details for the file scopebound-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: scopebound-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for scopebound-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bd38b0eb225b2047bb4d093fda2745bebfba1ea948ec7788cc76ff7869a4355
MD5 ee8e7ace0204969e8cca7473ef80b1e4
BLAKE2b-256 39d4a1a2ff00caabf0c52dfbffb0e5d20937f9d3551aaa1d317324d3cce55def

See more details on using hashes here.

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