Skip to main content

Python SDK for Fulcrum - Intelligent AI Governance Platform

Project description

Fulcrum Python SDK

Intelligent AI Governance for Enterprise Agents

PyPI version Python 3.9+ License

Installation

pip install fulcrum-governance

Quick Start

from fulcrum import FulcrumClient

# Initialize client
client = FulcrumClient(
    host="your-fulcrum-server:50051",
    api_key="your-api-key"
)

# Wrap agent executions in governance envelopes
with client.envelope(workflow_id="customer-support-bot") as env:
    # Check if action is allowed before executing
    if env.guard("send_email", input_text=user_message):
        # Action approved - proceed
        result = send_email(user_message)
        env.log("email_sent", {"recipient": email, "status": "success"})
    else:
        # Action blocked by policy
        env.log("action_blocked", {"reason": "policy_violation"})

Features

  • Policy Enforcement: Real-time governance checks before agent actions
  • Cost Tracking: Monitor and control LLM spending per workflow
  • Audit Trail: Complete execution history for compliance
  • Fail-Safe Modes: Configurable FAIL_OPEN or FAIL_CLOSED behavior

Documentation

Full documentation: https://docs.fulcrum.dev

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

fulcrum_governance-0.1.0.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

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

fulcrum_governance-0.1.0-py3-none-any.whl (49.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fulcrum_governance-0.1.0.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for fulcrum_governance-0.1.0.tar.gz
Algorithm Hash digest
SHA256 91fc88a89c4a41415c835fd7d605c4b9443a941886b6ae55fb6fdeb83fedfdba
MD5 a9ff665febb62c249fa785034b233b25
BLAKE2b-256 63ffab553279c6441b14750d1c3ff710f7718d33922cdda0764a4ce4417fc78a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fulcrum_governance-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 176b83db17716a7cbfa2eb4f26abd46faefffb2fcae6d6ac228efb72d9d92d49
MD5 73097cfba0c8bdc42a7deeb789b991ad
BLAKE2b-256 9e2abc7d74047bdea48cbdc890f751242a7f7ec0816168d4aab3086048cd8a6b

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