Skip to main content

Identity and auth for AI agents — drop-in MCP middleware

Project description

agentsid

Identity and auth for AI agents. Official Python SDK for agentsid.dev.

Install

pip install agentsid

Quick Start

from agentsid import AgentsID, create_mcp_middleware

aid = AgentsID(project_key="aid_proj_...")

result = await aid.register_agent(
    name="research-bot",
    on_behalf_of="user_123",
    permissions=["search_*", "save_memory"],
)

middleware = create_mcp_middleware(project_key="aid_proj_...")
allowed = await middleware.is_allowed(token, "save_memory")  # True

Links

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

agentsid-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

agentsid-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file agentsid-0.1.0.tar.gz.

File metadata

  • Download URL: agentsid-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for agentsid-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff23dbd7cd9e0b9f5d163f59e3da63273e656e120593352e097f3985fc5fee5a
MD5 ed16397a2c0dee2c61866bb24d6b5309
BLAKE2b-256 a87735ac0b748159ea168880bda3f1ea4873d8a238038b48f380a52ff099eb14

See more details on using hashes here.

File details

Details for the file agentsid-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentsid-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for agentsid-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed02c45b309d6ded0ec7c2a19f49d45017a8c3a54b50142bd4e4cdb928b3a592
MD5 fa958c58dd130631af890a1847e108c9
BLAKE2b-256 a10a8c8ee860c95549938ed6e8676de099ca1c0393a665dac3b87091f6056233

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