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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kya_agent-0.2.1.tar.gz
(24.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
kya_agent-0.2.1-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file kya_agent-0.2.1.tar.gz.
File metadata
- Download URL: kya_agent-0.2.1.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5e9871ec5358aeb4f552322540a0852be907a6661fba04379173f2e9d8e6779
|
|
| MD5 |
3cb4c6542e10b0eddb1c393d910152d4
|
|
| BLAKE2b-256 |
8f6cdd5453ae8c69090a4008bfdb8172f9d134e1ae75ea0094b8da21941e6f4b
|
File details
Details for the file kya_agent-0.2.1-py3-none-any.whl.
File metadata
- Download URL: kya_agent-0.2.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bba099139bb110957ab06861754cf5de6529de126f589203e8b424023804398a
|
|
| MD5 |
8c868f31578546f13139e2a36024d92b
|
|
| BLAKE2b-256 |
48f6962165c63fae44ffc98f51767521ed08a4f87823d0e6379052b738b7dcba
|