KYA — Know Your Agent
An open standard for AI agent identity, compliance, and auditability.
What is KYA?
KYA defines a machine-readable Agent Card — a JSON document that declares who an AI agent is, what it can do, and how it has been audited. Think of it as a passport for AI agents.
Why?
- The EU AI Act requires conformity assessments for high-risk AI systems
- Enterprise procurement questionnaires ask "has your AI been audited?"
- Agent frameworks (MCP, LangChain, CrewAI) have no standard identity format
- No one can answer "what does this agent actually do?" in a verifiable way
KYA fills that gap.
Quick Start
pip install kya-agent
# Generate a skeleton agent card
kya init --agent-id "your-org/your-agent" --name "My Agent"
# Validate an agent card
kya validate agent-card.kya.json
# Score completeness
kya score agent-card.kya.json
Agent Card Example
{
"kya_version": "0.1",
"agent_id": "luciferforge/mcp-security-audit",
"name": "MCP Security Audit",
"version": "0.2.0",
"purpose": "Scans MCP servers for security vulnerabilities...",
"agent_type": "tool",
"owner": {
"name": "LuciferForge",
"contact": "luciferforge@proton.me"
},
"capabilities": {
"declared": [
{"name": "mcp_server_connection", "risk_level": "medium", "scope": "Read-only enumeration"}
],
"denied": ["code_execution", "data_exfiltration"]
},
"security": {
"last_audit": {"date": "2026-03-04", "score": 92, "tool": "mcp-security-audit v0.2.0"},
"injection_tested": true
},
"compliance": {
"frameworks": ["NIST-AI-RMF", "OWASP-LLM-Top-10"],
"risk_classification": "minimal",
"human_oversight": "human-above-the-loop"
}
}
Part of the LuciferForge Agent Safety Suite
| Package | Purpose |
|---|---|
| kya | Agent identity and compliance standard |
| mcp-security-audit | Security scanning for MCP servers |
| ai-injection-guard | Prompt injection detection (22 patterns) |
| ai-decision-tracer | Agent decision audit trails |
| ai-cost-guard | LLM budget enforcement |
| agent-safety-mcp | MCP server wrapping all safety tools |
License
MIT
Metadata
Release files for kya-agent 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| kya_agent-0.2.1.tar.gz | 24.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kya_agent-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.4 kB
Release files / kya_agent-0.2.1.tar.gz
| Download URL | kya_agent-0.2.1.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5e9871ec5358aeb4f552322540a0852be907a6661fba04379173f2e9d8e6779
|
|
BLAKE2b-256 checksum How to use checksums |
8f6cdd5453ae8c69090a4008bfdb8172f9d134e1ae75ea0094b8da21941e6f4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.2
|
Release files / kya_agent-0.2.1-py3-none-any.whl
| Download URL | kya_agent-0.2.1-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bba099139bb110957ab06861754cf5de6529de126f589203e8b424023804398a
|
|
BLAKE2b-256 checksum How to use checksums |
48f6962165c63fae44ffc98f51767521ed08a4f87823d0e6379052b738b7dcba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.2
|
Security for kya-agent 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.