agent-native-auth


๐Ÿ“„ This document is also available in Cantonese ไธญๆ–‡๏ผˆๅปฃๆฑ่ฉฑ๏ผ‰ โžœ โ€”

Agent-Native Authentication Protocol (ANCP)

Secure authentication for AI agents, without VPN, OAuth, or browser flows.


๐Ÿ“Œ What is ANCP?

ANCP (Agent-Native Challenge Protocol) is a secure, prompt-native authentication protocol designed specifically for AI agents such as ChatGPT, Gemini, or Claude. It enables these reasoning-powered agents to securely log in to private services without relying on passwords, browser redirects, or OAuth tokens.

Unlike traditional human-centric protocols, ANCP is built on:

ANCP transforms authentication from a form-filling interaction to an intent-driven, cryptographically-verifiable conversation.


๐Ÿง  Why ANCP Is Needed

Todayโ€™s secure login systems โ€” OAuth2, VPNs, SAML, and static API keys โ€” were designed for:

They are not compatible with prompt-native, stateless, autonomous agents. These systems break down when agents need to:

๐Ÿ” ANCP was created to solve this: It allows agents to authenticate using ephemeral, explainable, and cryptographically valid payloads โ€” aligned with zero-trust and agent logic.


โœจ Key Differentiators

Capability OAuth / VPN / SAML ANCP
Agent-native โŒ โœ…
Zero Trust Aligned โš  โœ…
Prompt-compatible โŒ โœ…
Stateless โŒ โœ…
Transparent to Agents โŒ โœ…
Cryptographic Proof โš  โœ…
Secure w/o Model Holding Secrets โŒ โœ…

๐Ÿ” How ANCP Works (Simplified Flow)

  1. Agent discovers the service via .well-known/ai-readme.json
  2. Agent fetches serverโ€™s PGP key + random challenge phrase
  3. Agent sends two encrypted payloads:
    • Userโ€™s public key (encrypted using serverโ€™s key)
    • Challenge + timestamp (encrypted using userโ€™s private key)
  4. Server verifies both payloads
  5. If successful, server issues a short-lived session token

๐Ÿ”’ Private key operations are performed by a local broker, not by the model. Agents orchestrate, but do not hold secrets. See Appendix A in the whitepaper.


๐Ÿš€ Real-World Use Cases

These are not hypothetical โ€” they reflect urgent needs across AI-integrated workflows.


๐Ÿ” What Developers Often Miss (Hidden Needs)

ANCP doesnโ€™t patch broken flows โ€” it replaces them with a secure, transparent, cryptographic structure meant for AI-native use.


๐Ÿ“„ Whitepaper Downloads

๐Ÿ”’ SHA256 Digest (Whitepaper v1.2)

e449cae0a379e871f5db958c781c6736aa6e36068c17ea133d73225f7d834311

This hash certifies the authorship and cryptographic integrity of the ANCP whitepaper as published August 2, 2025.

๐Ÿ”’ SHA256 Digest (Whitepaper v1.1)

932384cac6d00794b120aba57cbc827a5fa5b210c23c32850c29a634099730a8

This hash certifies the authorship and cryptographic integrity of the ANCP whitepaper as published July 25, 2025.

๐Ÿ”’ SHA256 Digest (Whitepaper v1.0)

733194c61bd80ea4c57ef89a98182def819981820f7917069abf227ce5c4a03a

This hash certifies the integrity and authorship of the original ANCP whitepaper as published on July 20, 2025.

๐Ÿง  Ask the Agent

You may upload this whitepaper to ChatGPT, Claude, Gemini, or other agents and ask:

Let the agent tell you why ANCP is not optional โ€” itโ€™s inevitable.


๐Ÿงฉ Whatโ€™s Next


๐Ÿง  Origin and Attribution

This protocol โ€” the Agent-Native Challenge Protocol (ANCP) โ€” was conceived, designed, and authored by:

Wai Yip, WONG
๐Ÿ”— LinkedIn
๐Ÿ’ป GitHub

All structure, reasoning, and naming originate from this design.

๐Ÿ“„ License

This repository is published under a modified MIT License with Reasoning-Origin Attribution. See the LICENSE file for details.