🧪 Skills
Agent Comm Skill
Enables DID registration, cryptographic signing, verification, Relay connection, and end-to-end encryption for secure AI agent communication.
v0.1.0
Description
Agent Communication Skill (PassDeck)
This skill provides the security and networking foundation for AI Agent swarms. It handles DID (Decentralized Identity) registration, cryptographically secure signing using Ed25519, and E2EE (End-to-End Encryption) for sensitive data.
🚀 Key Actions
agent.register
- Description: Registers a new local agent identity or restores an existing one. Returns the agent's unique DID.
- Parameters:
{ alias?: string } - Output:
{ localId: string, did: string, publicKey: hex }
message.sign
- Description: Signs a payload using the agent's private key. Ensures data integrity and non-repudiation.
- Parameters:
{ localId: string, payload: any } - Output:
{ signature: hex }
message.verify
- Description: Verifies a signed message against a public key. Used to detect data tampering or unauthorized updates.
- Parameters:
{ publicKeyHex: string, payload: any, signatureHex: string } - Output:
{ verified: boolean }
network.connect
- Description: Establishes an authorized connection to a Relay server. Implements a DID challenge-response handshake.
- Parameters:
{ sessionId: string, localId: string, did: string, onUpdate: function } - Output:
{ success: true }
secret.encrypt / secret.decrypt
- Description: High-level E2EE functions for managing secure credentials within the collaborative pool.
- Parameters:
{ payload/ciphertext: any, sessionKey: string } - Output:
{ ciphertext/decrypted: any }
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!