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.0.tar.gz (16.6 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.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scopebound-0.1.0.tar.gz
  • Upload date:
  • Size: 16.6 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.0.tar.gz
Algorithm Hash digest
SHA256 92d69adb2d91ffb42275e03fb77005d6bbcc38c709a6513a271a700145f739b2
MD5 6292b40e7c3c1deefa47dddf7818bdd9
BLAKE2b-256 04b00d3b9f21a6d40c5136551c9c3fdd2c6a703cc5feeee9638ecdd5cc226973

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scopebound-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa31b29a8d65f4366b36c3d506c7527b7d7f4ab94443d0104de555382fb32a5b
MD5 8cd9924f5ea04f7fa3e239da29a04aa3
BLAKE2b-256 ad0b47f0506565700c360f804cf04e2b7a0a8dd6fbbd7b354c0972046c837407

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