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.3.0.tar.gz (30.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.3.0-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scopebound-0.3.0.tar.gz
  • Upload date:
  • Size: 30.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.3.0.tar.gz
Algorithm Hash digest
SHA256 11f9d331c7135d3c8c44525ba20dcfd4f42aac0ca0f08c5f05eb89c2c3654af5
MD5 3d2a5ee348ec9d606f5bcf2f6137ebc3
BLAKE2b-256 693d0cd9c48ebc2a3d0e4060465b8242d22b462125af343e9059fac82becdfa3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scopebound-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 27.1 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f73a0ea43416e55ffad3b98dfea1c1da3c3f64da969980973c12ec1a61c76747
MD5 eb419dfa7c78d8aba75ce2c44d1af138
BLAKE2b-256 4412591899861e36048dc1f37e2314019b9b671900afaa88a1bd9a814c159a27

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