Metadata-Version: 2.5
Name: attestify-crewai
Version: 0.1.0
Summary: CrewAI tool integration for Attestify — governed AI loop execution, receipts, and audit trails
Project-URL: Homepage, https://attestifyos.com
Project-URL: Repository, https://github.com/attestifyagent/attestify-os
Project-URL: Documentation, https://attestifyos.com/docs
Project-URL: Bug Tracker, https://github.com/attestifyagent/attestify-os/issues
License: MIT
Keywords: ai-agents,attestify,crewai,governance,receipts,x402
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.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9
Requires-Dist: crewai>=0.28.0
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Description-Content-Type: text/markdown

# attestify-crewai

> Governed AI loop execution for [CrewAI](https://crewai.com) agents — signed receipts, audit trails, and x402 payments on Base.

## Installation

```bash
pip install attestify-crewai
```

## Quick Start

```python
from attestify_crewai import AttestifyToolset
from crewai import Agent, Task, Crew
import os

toolset = AttestifyToolset(api_key=os.environ["ATTESTIFY_API_KEY"])

researcher = Agent(
    role="Research Analyst",
    goal="Answer questions using governed Attestify agents",
    backstory="You route tasks through Attestify for auditable execution.",
    tools=toolset.tools(),
    verbose=True,
)

task = Task(
    description="Summarise the latest AI agent governance landscape",
    expected_output="A structured 3-paragraph summary with receipt ID",
    agent=researcher,
)

crew = Crew(agents=[researcher], tasks=[task])
result = crew.kickoff()
```

## Available Tools

| Tool | Description | Plan |
|---|---|---|
| `AttestifyRunLoop` | Submit a task to the governed loop router | All |
| `AttestifyGetDashboard` | Run count, quota, plan tier, recent receipts | Builder+ |
| `AttestifyGetRecentLoops` | List recent loop receipts | All |
| `AttestifyGetReceipt` | Retrieve a verified receipt by loop_id | All |
| `AttestifyGetControlTower` | Enterprise governance data & cross-tenant visibility | Enterprise |

## Links

- [Attestify OS](https://attestifyos.com)
- [Documentation](https://attestifyos.com/docs)
- [Get an API key](https://attestifyos.com/dashboard)
- [MCP Package](../../mcp-package/)
- [GitHub](https://github.com/attestifyagent/attestify-os)
