Skip to main content

ccs-crewai

CCS (Correctover Conformance Shape) runtime receipts for CrewAI agents.

Install

pip install ccs-crewai

Quick start

from ccs_crewai import CCSConfig, CCSGuardrailProvider, PolicyDecision

def my_policy(tool_name, tool_args, runtime_context=None):
    if tool_name == "dangerous_tool":
        return PolicyDecision(allowed=False, reason="blocked by policy")
    return PolicyDecision.ALLOW

config = CCSConfig(
    seed=b"my-app-seed",
    issuer="my-agent",
    audience="audit-log",
    policy=my_policy,
)

provider = CCSGuardrailProvider(config)
result = provider.intercept_tool_call(
    tool_name="search",
    tool_args={"q": "hello"},
    runner=lambda: search_tool(q="hello"),
)

CLI verification

ccs-crewai-verify receipt.json
ccs-crewai-verify --chain receipt.json

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ccs_crewai-0.1.0-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ccs_crewai-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.12

File hashes

Hashes for ccs_crewai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e3cc85f4fabfd4c40dd1c379cde8df9a249abfe347f553177a4fae0d59450133
MD5 3e3d3a73cf4c6211903756b91d4e8b07
BLAKE2b-256 74fd193e73a4c936be9d388e670c688a5286e9ca3ed4233c66090cc537b87cc6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 file

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page