Metadata-Version: 2.4
Name: toyuguosec
Version: 0.1.0
Summary: Identity & security monitoring SDK for AI Agents
Home-page: https://github.com/hhmpp/agentsec
Author: hhmpp
Author-email: hmpno1@163.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# AgentSec SDK

The trust layer for AI Agents. Verify identity, monitor behavior, and detect threats in real time.

## Installation
```bash
pip install agentsec
```

## Quick Start
```python
from agentsec import AgentMonitor

# Initialize
monitor = AgentMonitor(api_key="your-api-key")

# Log Agent actions
monitor.log(
    action="call_payment_api",
    result="success",
    amount=99.9
)

# Get credit score
score = monitor.get_credit_score()
print(f"Credit Score: {score}/100")

# Print full report
monitor.report()
```

## Features

- Agent identity verification
- Real-time behavior monitoring
- Credit scoring (0~100)
- Anomaly detection & alerts
- Prompt injection detection
- Permission control

## License

MIT
