Home
Documentation / stack

🏗️ Wallet4Agent — Technical Stack Overview

For developers building trusted AI Agents able to interact with persons, companies, services, and other agents

Wallet4Agent provides the trust layer that AI Agents need to operate safely in the real world.
This document explains the technical components, standards, and identity mechanisms behind the platform.


1. 🎯 Purpose of Wallet4Agent

AI Agents increasingly take actions, access data, and collaborate.
To do this safely, they must be able to:

Wallet4Agent provides AI Agents with:

Everything is standards‑based and interoperable.


2. 🧱 Architecture Overview

Wallet4Agent is built with three coordinated layers:

2.1 🖥️ MCP Server (Model Context Protocol)

2.2 👛 Identity Wallet

Manages:

2.3 🔐 Authorization & Verification Layer

Supports:

All complex cryptographic and identity logic stays in Wallet4Agent.
Your agent simply calls MCP tools.


3. 🆔 Identity Layer (DID & DID Documents)

Each AI Agent receives a Decentralized Identifier (DID) compliant with the W3C DID Core specification.

Wallet4Agent supports two DID methods:


3.1 🌐 did:web (DNS-based identity)

A DID anchored on a domain.

did:web:wallet4agent.com:<agent-id>

⭐ Characteristics:

🔗 DID:web specification:
https://www.w3.org/TR/did-spec-registries/#did-method-web


3.2 ⛓️ did:cheqd (ledger-based identity)

A DID anchored on the Cheqd decentralized ledger.

did:cheqd:<network>:<identifier>

⭐ Characteristics:

🔗 DID:cheqd specification:
https://docs.cheqd.io/identity/


4. 📄 DID Documents

Regardless of DID method, the DID Document exposes:

DID Documents are automatically updated when:

External agents and services use the DID Document to verify signatures, credentials, and linked proofs.


5. 🔗 Linked Verifiable Presentations (Linked VP)

Linked VP allows Wallet4Agent to publish verifiable credentials inside the DID Document as references.

Why this matters:

Supported formats:

Specification:
https://identity.foundation/linked-vp/spec/v1.0.0/


6. 🔐 Cryptography & Key Management

6.1 🗝️ Cloud KMS–backed keys (non-exportable)

Each agent has a dedicated cloud KMS key.

Used for:

Benefits:

6.2 🔑 Developer-supplied keys

Developers may register additional public JWKs:

Wallet4Agent stores the public keys; developers retain the private keys.


7. 🔑 Authentication Methods

Wallet4Agent supports three agent authentication flows:

7.1 🔹 Agent Personal Access Token (PAT)

Authorization: Bearer <agent_pat>

Simple and effective for development or local agents.

7.2 🔹 OAuth2 Client Credentials

Agent receives:

Then exchanges using:

grant_type=client_credentials

Ideal for most production requests.

7.3 🔹 OAuth2 private_key_jwt

Strongest method:

Useful for hardware-backed keys and enterprise infrastructures.


8. 🧾 Credential Issuance (OIDC4VCI)

Wallet4Agent handles complete credential issuance flows:

Supported formats:

Agents only call MCP tools — Wallet4Agent does all protocol-level work.


9. 🧪 Verification (OIDC4VP)

Wallet4Agent supports verification of:

Agents can:

The agent never sees sensitive tokens; only derived, safe claims are returned.


10. 📦 Credential Storage & Retrieval

Wallet4Agent stores credentials as attestations, including:

Agents can:


11. 🌐 OAuth Protected Resource Metadata

Published under:

/.well-known/oauth-protected-resource/mcp

Includes:

Enables automatic configuration by OAuth2 clients and gateways.


12. 🛡️ Responsible AI Features

Wallet4Agent supports human-in-the-loop requirements:

{
  "always_human_in_the_loop": true
}

Used for:


🧩 13. Summary for Developers

If you are an Agent developer, Wallet4Agent gives you:

Feature What you get
🆔 Agent identity DID + DID Document
🔑 Authentication Dev PAT, Agent PAT, OAuth2 Client Credentials, private_key_jwt
🔐 Cryptographic keys Cloud KMS signatures, non‑exportable
📜 Credential issuance Full OIDC4VCI support (SD‑JWT VC & VC JSON‑LD)
✅ Credential verification OIDC4VP with simple MCP tools and safe derived claims
👤 Human interaction QR code → wallet → verified attributes
🤝 Inter‑agent trust Ability to inspect credentials of other agents (when authorized)
⚙️ Configuration Auth mode, keys, policies all manageable via MCP
🛡️ Security KMS, OAuth2, DID rotation & key updates, role‑separated tokens

Your AI Agent becomes a verifiable digital entity, capable of participating in decentralized and regulated digital identity ecosystems while preserving security and accountability.


Maintainer: Wallet4Agent (Web3 Digital Wallet / Talao )
For feedback or additional documentation, use the contact channels on the Wallet4Agent website.

Standard Purpose Link
DID Core Core DID specification https://www.w3.org/TR/did-core/
Linked Verifiable Presentations Public VCs in DID Documents https://identity.foundation/linked-vp/spec/v1.0.0/
OIDC4VCI Credential issuance https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html
OIDC4VP Credential presentation https://openid.net/specs/openid-4-verifiable-presentations-1_0.html
W3C Verifiable Credentials VC Data Model https://www.w3.org/TR/vc-data-model-2.0/
SD-JWT VC (IETF) Selective disclosure credential format https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-12.html