Metadata-Version: 2.5
Name: ccs-crewai
Version: 0.1.0
Summary: Cryptographic runtime receipts for CrewAI agents — signed Ed25519 audit evidence for every tool call. CCS (Correctover Conformance Shape) L1 + behavior receipts with pre-admission guardrails.
Project-URL: Homepage, https://github.com/DSHCorrectover/ccs-integrations
Project-URL: Documentation, https://github.com/DSHCorrectover/ccs-integrations/tree/main/adapters/ccs-crewai#readme
Project-URL: Issues, https://github.com/DSHCorrectover/ccs-integrations/issues
Project-URL: Conformance, https://github.com/DSHCorrectover/ccs-conformance-vectors
Author: Correctover / CCS Integrations
License-Expression: MIT
License-File: LICENSE
Keywords: agent-security,ai-agents,ai-security,audit-trail,compliance,crew-ai,crewai,cryptographic-receipts,ed25519,governance,guardrails,jcs,llm-security,multi-agent,non-repudiation,observability,owasp-asi,rfc8785,runtime-security,runtime-verification,signed-receipts,supply-chain-security,tamper-evidence,tool-call-validation,verifiable
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: cryptography>=41.0.0
Requires-Dist: jcs>=0.2.0
Provides-Extra: crewai
Requires-Dist: crewai>=0.100.0; extra == 'crewai'
Provides-Extra: dev
Requires-Dist: build>=1.0; extra == 'dev'
Requires-Dist: pytest>=7.0; extra == 'dev'
Description-Content-Type: text/markdown

# ccs-crewai

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

## Install

```bash
pip install ccs-crewai
```

## Quick start

```python
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

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

## License

MIT
