Skip to main content

Lightweight Authentication for AI Agents

Project description

🔐 Encryptly

Give unbreakable trust to your AI agents.


🧠 What is Encryptly?

Encryptly is a powerful, developer-friendly authentication SDK that seamlessly integrates security into your multi-agent AI applications. It serves as the perfect security layer for your AI stack, providing JWT-based authentication and role-based access control that protects your agents from impersonation, unauthorized access, and malicious attacks.

With Encryptly, you can:

  • Secure agent authentication with JWT tokens and cryptographic verification
  • Prevent agent impersonation through robust identity validation
  • Control access with roles to ensure only authorized agents perform specific tasks
  • Protect inter-agent communication with signed messages and verification

⭐ Key Features

  • Universal Framework Support: Works with CrewAI, LangChain, and any custom AI framework
  • JWT Authentication: Industry-standard token-based authentication for agents
  • Role-Based Access Control: Define and enforce agent permissions and capabilities
  • Message Signing: Cryptographically sign and verify inter-agent communications
  • Simple Integration: Clean, consistent API with easy-to-use integrations
  • Framework-Agnostic Core: Use the same security features across different AI frameworks

🚀 Getting Started

Installation

pip install encryptly

Quick Start

from encryptly.vault import Encryptly
from encryptly.integrations import CrewAIIntegration

# Initialize Encryptly
vault = Encryptly()
crew_integration = CrewAIIntegration(vault)

# Secure your agents
data_analyst_token = crew_integration.secure_agent(
    "data_analyst_001", 
    "Data Analyst", 
    "DataAnalystAgent"
)

risk_advisor_token = crew_integration.secure_agent(
    "risk_advisor_001", 
    "Risk Advisor", 
    "RiskManagementAgent"
)

# Verify agent authentication
is_valid, agent_info = vault.verify(data_analyst_token)
if is_valid:
    print(f"Agent verified: {agent_info['agent_id']} ({agent_info['role']})")

# Secure inter-agent communication
message = "Request risk assessment for AAPL"
is_verified = crew_integration.verify_agent_communication(
    "data_analyst_001", 
    "risk_advisor_001", 
    message
)

📚 Documentation

We've created comprehensive documentation to help you get the most out of Encryptly:

  • Quick Start Guide: Get up and running in minutes
  • API Reference: Complete SDK documentation
  • Framework Integrations: CrewAI, LangChain, and custom frameworks
  • Security Best Practices: Protect your AI agents effectively
  • Use Cases & Examples: Real-world implementation patterns

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

encryptly-0.1.1.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

encryptly-0.1.1-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file encryptly-0.1.1.tar.gz.

File metadata

  • Download URL: encryptly-0.1.1.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for encryptly-0.1.1.tar.gz
Algorithm Hash digest
SHA256 103b6e634579cdc0bc0ea719361e16154e7dc46e74bec277b8c37a2e8687a769
MD5 00351ea2085f9d82fbe0b364410368ea
BLAKE2b-256 da99b6d34a6b654e65d1ee029a5913c8af40e10b82a713007a4213137e1a0261

See more details on using hashes here.

File details

Details for the file encryptly-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: encryptly-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for encryptly-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98047773944e4f13c432569ee69e461bc6044265c9f19e01797bb6c351b7376e
MD5 da53a0077f9f7325561aedafd38e2e59
BLAKE2b-256 2a8bb23a013e60f6f4cc7db98d39835035ee34f8d8b809bd5ef10cd952c51196

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page