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.2.tar.gz (20.1 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.2-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scopebound-0.1.2.tar.gz
  • Upload date:
  • Size: 20.1 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.2.tar.gz
Algorithm Hash digest
SHA256 1663b7e0c0abe1bfeff513364d0639afa679c24d5a81c86e7b03c70ff1450203
MD5 342c3b203cc3ac100372ef434e0c8132
BLAKE2b-256 c73ae51a08c32e44549f99f26599244073d84308dc45f643af6d3b519e8c41be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scopebound-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a720af5fceaee3f7a184f44cc8ef6768012933e2547e4bdd2148c829311ac092
MD5 b95728ad81cb1e91a7fb458188ad4d1e
BLAKE2b-256 745b03f388fbdaf090d9f0140586592398db65c31c5a5f235f12361a03d0ed8f

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