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

0.4.10 • 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.

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
  • Light weight (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 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

Quickstart

Clone the Agentic Profile Express Github repo for an easy to use demo. This project can also be extended to create a production grade agentic service in the cloud.

Readme

Keywords

none

Package Sidebar

Install

npm i @agentic-profile/auth

Weekly Downloads

153

Version

0.4.10

License

MIT

Unpacked Size

288 kB

Total Files

53

Last publish

Collaborators

  • mikeprince