Python SDK for Fulcrum - Intelligent AI Governance Platform
Project description
Fulcrum Python SDK
Intelligent AI Governance for Enterprise Agents
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91fc88a89c4a41415c835fd7d605c4b9443a941886b6ae55fb6fdeb83fedfdba
|
|
| MD5 |
a9ff665febb62c249fa785034b233b25
|
|
| BLAKE2b-256 |
63ffab553279c6441b14750d1c3ff710f7718d33922cdda0764a4ce4417fc78a
|
File details
Details for the file fulcrum_governance-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fulcrum_governance-0.1.0-py3-none-any.whl
- Upload date:
- Size: 49.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
176b83db17716a7cbfa2eb4f26abd46faefffb2fcae6d6ac228efb72d9d92d49
|
|
| MD5 |
73097cfba0c8bdc42a7deeb789b991ad
|
|
| BLAKE2b-256 |
9e2abc7d74047bdea48cbdc890f751242a7f7ec0816168d4aab3086048cd8a6b
|