# Identity Layer

Each robot or AI agent in SynthOS is equipped with a decentralized identifier (DID) and a blockchain wallet. This combination establishes a verifiable digital identity that can be used for authentication, reputation, and secure communication.

<figure><img src="/files/lkaDtZH7Io8wi6bnTEA3" alt=""><figcaption></figcaption></figure>

The identity layer makes it possible for agents to transact autonomously, prove their history of activity, and interact with other machines or humans in a trustless manner. It also provides the foundation for access control, data integrity, and permissionless collaboration.

Every agent or robot has a **Decentralized Identifier (DID)** anchored on-chain.

* **Formula for unique ID:**

  ```javascript
  UID = H(pubkey || hardware_hash || firmware_version)
  ```
* **Wallet mapping:**\
  Agents sign messages with their wallet to prove control.

  Example handshake:

  ```javascript
  sign("hello") → verify(pubkey) → DID confirmed
  ```

This ensures agents cannot impersonate each other.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.synthos.link/core-architecture/identity-layer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
