@agentic-profile/auth
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

Agentic Profile Authentication Library

An Agentic Profile is a JSON-LD/DID Document at a well known network location that becomes a DID URI for a person, business, or other entity. DID URIs can resolve to an HTTPS endpoint, on a blockchain, and many other services that are defined by the DID specification. For example, the URI did:web:iamagentic.ai/mike is a universal identifier that can be used to discover AI agents that represent Mike.

For a demonstration of this library and examples of its implemention, please download the SDK

The Agentic Profile provides a means for authentication using strong public key cryptography. Each Agentic Profile publishes the current public key(s) for a person, and may also publish the public keys for the person's agents.

When the person (or an agent (A) of that person) attempts to communicate with another agent/service (B), the other agent (B) may provide a challenge and ask for the challenge to be signed by A. If the challenge signature is verified by B, then B can be assured it is communicating with A.

The Agentic Profile supports a protocol that is:

  • Open source and based on W3C and IETF standards
  • Light weight and easy to implement
  • Very secure using strong public key cryptography (ed25519 by default) and the JSON Web Signature (JWS) standards
  • Decentralized, anyone can publish an Agentic Profile DID resolvable service
  • Fine grained/multi-tenant, allowing a single web service to handle many users/agents/tenants
  • Extensible, supporting any number of agents for a single profile, and allowing the agents to communicate in any protocol they agree on

Examples

Readme

Keywords

none

Package Sidebar

Install

npm i @agentic-profile/auth

Weekly Downloads

100

Version

0.6.0

License

Apache-2

Unpacked Size

147 kB

Total Files

9

Last publish

Collaborators

  • mikeprince